summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/web-sys/src')
-rw-r--r--vendor/web-sys/src/features/gen_AbortController.rs36
-rw-r--r--vendor/web-sys/src/features/gen_AbortSignal.rs35
-rw-r--r--vendor/web-sys/src/features/gen_AddEventListenerOptions.rs74
-rw-r--r--vendor/web-sys/src/features/gen_AesCbcParams.rs50
-rw-r--r--vendor/web-sys/src/features/gen_AesCtrParams.rs69
-rw-r--r--vendor/web-sys/src/features/gen_AesDerivedKeyParams.rs51
-rw-r--r--vendor/web-sys/src/features/gen_AesGcmParams.rs84
-rw-r--r--vendor/web-sys/src/features/gen_AesKeyAlgorithm.rs51
-rw-r--r--vendor/web-sys/src/features/gen_AesKeyGenParams.rs51
-rw-r--r--vendor/web-sys/src/features/gen_Algorithm.rs36
-rw-r--r--vendor/web-sys/src/features/gen_AlignSetting.rs14
-rw-r--r--vendor/web-sys/src/features/gen_AllowedBluetoothDevice.rs100
-rw-r--r--vendor/web-sys/src/features/gen_AllowedUsbDevice.rs95
-rw-r--r--vendor/web-sys/src/features/gen_AlphaOption.rs15
-rw-r--r--vendor/web-sys/src/features/gen_AnalyserNode.rs124
-rw-r--r--vendor/web-sys/src/features/gen_AnalyserOptions.rs148
-rw-r--r--vendor/web-sys/src/features/gen_AngleInstancedArrays.rs68
-rw-r--r--vendor/web-sys/src/features/gen_Animation.rs227
-rw-r--r--vendor/web-sys/src/features/gen_AnimationEffect.rs48
-rw-r--r--vendor/web-sys/src/features/gen_AnimationEvent.rs53
-rw-r--r--vendor/web-sys/src/features/gen_AnimationEventInit.rs129
-rw-r--r--vendor/web-sys/src/features/gen_AnimationPlayState.rs13
-rw-r--r--vendor/web-sys/src/features/gen_AnimationPlaybackEvent.rs46
-rw-r--r--vendor/web-sys/src/features/gen_AnimationPlaybackEventInit.rs112
-rw-r--r--vendor/web-sys/src/features/gen_AnimationPropertyDetails.rs94
-rw-r--r--vendor/web-sys/src/features/gen_AnimationPropertyValueDetails.rs84
-rw-r--r--vendor/web-sys/src/features/gen_AnimationTimeline.rs21
-rw-r--r--vendor/web-sys/src/features/gen_AssignedNodesOptions.rs44
-rw-r--r--vendor/web-sys/src/features/gen_AttestationConveyancePreference.rs12
-rw-r--r--vendor/web-sys/src/features/gen_Attr.rs63
-rw-r--r--vendor/web-sys/src/features/gen_AttributeNameValue.rs50
-rw-r--r--vendor/web-sys/src/features/gen_AudioBuffer.rs103
-rw-r--r--vendor/web-sys/src/features/gen_AudioBufferOptions.rs72
-rw-r--r--vendor/web-sys/src/features/gen_AudioBufferSourceNode.rs172
-rw-r--r--vendor/web-sys/src/features/gen_AudioBufferSourceOptions.rs120
-rw-r--r--vendor/web-sys/src/features/gen_AudioConfiguration.rs95
-rw-r--r--vendor/web-sys/src/features/gen_AudioContext.rs418
-rw-r--r--vendor/web-sys/src/features/gen_AudioContextOptions.rs44
-rw-r--r--vendor/web-sys/src/features/gen_AudioContextState.rs12
-rw-r--r--vendor/web-sys/src/features/gen_AudioData.rs163
-rw-r--r--vendor/web-sys/src/features/gen_AudioDataCopyToOptions.rs113
-rw-r--r--vendor/web-sys/src/features/gen_AudioDataInit.rs164
-rw-r--r--vendor/web-sys/src/features/gen_AudioDecoder.rs122
-rw-r--r--vendor/web-sys/src/features/gen_AudioDecoderConfig.rs113
-rw-r--r--vendor/web-sys/src/features/gen_AudioDecoderInit.rs67
-rw-r--r--vendor/web-sys/src/features/gen_AudioDecoderSupport.rs76
-rw-r--r--vendor/web-sys/src/features/gen_AudioDestinationNode.rs21
-rw-r--r--vendor/web-sys/src/features/gen_AudioEncoder.rs122
-rw-r--r--vendor/web-sys/src/features/gen_AudioEncoderConfig.rs111
-rw-r--r--vendor/web-sys/src/features/gen_AudioEncoderInit.rs67
-rw-r--r--vendor/web-sys/src/features/gen_AudioEncoderSupport.rs76
-rw-r--r--vendor/web-sys/src/features/gen_AudioListener.rs71
-rw-r--r--vendor/web-sys/src/features/gen_AudioNode.rs208
-rw-r--r--vendor/web-sys/src/features/gen_AudioNodeOptions.rs80
-rw-r--r--vendor/web-sys/src/features/gen_AudioParam.rs116
-rw-r--r--vendor/web-sys/src/features/gen_AudioParamMap.rs64
-rw-r--r--vendor/web-sys/src/features/gen_AudioProcessingEvent.rs37
-rw-r--r--vendor/web-sys/src/features/gen_AudioSampleFormat.rs21
-rw-r--r--vendor/web-sys/src/features/gen_AudioScheduledSourceNode.rs56
-rw-r--r--vendor/web-sys/src/features/gen_AudioStreamTrack.rs14
-rw-r--r--vendor/web-sys/src/features/gen_AudioTrack.rs64
-rw-r--r--vendor/web-sys/src/features/gen_AudioTrackList.rs79
-rw-r--r--vendor/web-sys/src/features/gen_AudioWorklet.rs14
-rw-r--r--vendor/web-sys/src/features/gen_AudioWorkletGlobalScope.rs46
-rw-r--r--vendor/web-sys/src/features/gen_AudioWorkletNode.rs64
-rw-r--r--vendor/web-sys/src/features/gen_AudioWorkletNodeOptions.rs148
-rw-r--r--vendor/web-sys/src/features/gen_AudioWorkletProcessor.rs39
-rw-r--r--vendor/web-sys/src/features/gen_AuthenticationExtensionsClientInputs.rs40
-rw-r--r--vendor/web-sys/src/features/gen_AuthenticationExtensionsClientOutputs.rs40
-rw-r--r--vendor/web-sys/src/features/gen_AuthenticatorAssertionResponse.rs35
-rw-r--r--vendor/web-sys/src/features/gen_AuthenticatorAttachment.rs11
-rw-r--r--vendor/web-sys/src/features/gen_AuthenticatorAttestationResponse.rs21
-rw-r--r--vendor/web-sys/src/features/gen_AuthenticatorResponse.rs21
-rw-r--r--vendor/web-sys/src/features/gen_AuthenticatorSelectionCriteria.rs80
-rw-r--r--vendor/web-sys/src/features/gen_AuthenticatorTransport.rs12
-rw-r--r--vendor/web-sys/src/features/gen_AutoKeyword.rs10
-rw-r--r--vendor/web-sys/src/features/gen_AutocompleteInfo.rs95
-rw-r--r--vendor/web-sys/src/features/gen_BarProp.rs28
-rw-r--r--vendor/web-sys/src/features/gen_BaseAudioContext.rs357
-rw-r--r--vendor/web-sys/src/features/gen_BaseComputedKeyframe.rs107
-rw-r--r--vendor/web-sys/src/features/gen_BaseKeyframe.rs90
-rw-r--r--vendor/web-sys/src/features/gen_BasePropertyIndexedKeyframe.rs72
-rw-r--r--vendor/web-sys/src/features/gen_BasicCardRequest.rs61
-rw-r--r--vendor/web-sys/src/features/gen_BasicCardResponse.rs126
-rw-r--r--vendor/web-sys/src/features/gen_BasicCardType.rs12
-rw-r--r--vendor/web-sys/src/features/gen_BatteryManager.rs98
-rw-r--r--vendor/web-sys/src/features/gen_BeforeUnloadEvent.rs28
-rw-r--r--vendor/web-sys/src/features/gen_BinaryType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_BiquadFilterNode.rs93
-rw-r--r--vendor/web-sys/src/features/gen_BiquadFilterOptions.rs151
-rw-r--r--vendor/web-sys/src/features/gen_BiquadFilterType.rs17
-rw-r--r--vendor/web-sys/src/features/gen_Blob.rs230
-rw-r--r--vendor/web-sys/src/features/gen_BlobEvent.rs40
-rw-r--r--vendor/web-sys/src/features/gen_BlobEventInit.rs92
-rw-r--r--vendor/web-sys/src/features/gen_BlobPropertyBag.rs58
-rw-r--r--vendor/web-sys/src/features/gen_BlockParsingOptions.rs44
-rw-r--r--vendor/web-sys/src/features/gen_Bluetooth.rs218
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothAdvertisingEvent.rs124
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothAdvertisingEventInit.rs251
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothCharacteristicProperties.rs117
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothDataFilterInit.rs74
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothDevice.rs224
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothLeScanFilterInit.rs137
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothManufacturerDataMap.rs98
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothPermissionDescriptor.rs134
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothPermissionResult.rs40
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothPermissionStorage.rs52
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothRemoteGattCharacteristic.rs277
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothRemoteGattDescriptor.rs93
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothRemoteGattServer.rs130
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothRemoteGattService.rs288
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothServiceDataMap.rs98
-rw-r--r--vendor/web-sys/src/features/gen_BluetoothUuid.rs95
-rw-r--r--vendor/web-sys/src/features/gen_BoxQuadOptions.rs58
-rw-r--r--vendor/web-sys/src/features/gen_BroadcastChannel.rs73
-rw-r--r--vendor/web-sys/src/features/gen_BrowserElementDownloadOptions.rs61
-rw-r--r--vendor/web-sys/src/features/gen_BrowserElementExecuteScriptOptions.rs54
-rw-r--r--vendor/web-sys/src/features/gen_BrowserFeedWriter.rs35
-rw-r--r--vendor/web-sys/src/features/gen_BrowserFindCaseSensitivity.rs11
-rw-r--r--vendor/web-sys/src/features/gen_BrowserFindDirection.rs11
-rw-r--r--vendor/web-sys/src/features/gen_ByteLengthQueuingStrategy.rs36
-rw-r--r--vendor/web-sys/src/features/gen_Cache.rs239
-rw-r--r--vendor/web-sys/src/features/gen_CacheBatchOperation.rs94
-rw-r--r--vendor/web-sys/src/features/gen_CacheQueryOptions.rs95
-rw-r--r--vendor/web-sys/src/features/gen_CacheStorage.rs81
-rw-r--r--vendor/web-sys/src/features/gen_CacheStorageNamespace.rs11
-rw-r--r--vendor/web-sys/src/features/gen_CanvasCaptureMediaStream.rs29
-rw-r--r--vendor/web-sys/src/features/gen_CanvasGradient.rs21
-rw-r--r--vendor/web-sys/src/features/gen_CanvasPattern.rs22
-rw-r--r--vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs1380
-rw-r--r--vendor/web-sys/src/features/gen_CanvasWindingRule.rs11
-rw-r--r--vendor/web-sys/src/features/gen_CaretChangedReason.rs16
-rw-r--r--vendor/web-sys/src/features/gen_CaretPosition.rs37
-rw-r--r--vendor/web-sys/src/features/gen_CaretStateChangedEventInit.rs213
-rw-r--r--vendor/web-sys/src/features/gen_CdataSection.rs14
-rw-r--r--vendor/web-sys/src/features/gen_ChannelCountMode.rs12
-rw-r--r--vendor/web-sys/src/features/gen_ChannelInterpretation.rs11
-rw-r--r--vendor/web-sys/src/features/gen_ChannelMergerNode.rs33
-rw-r--r--vendor/web-sys/src/features/gen_ChannelMergerOptions.rs97
-rw-r--r--vendor/web-sys/src/features/gen_ChannelSplitterNode.rs33
-rw-r--r--vendor/web-sys/src/features/gen_ChannelSplitterOptions.rs97
-rw-r--r--vendor/web-sys/src/features/gen_CharacterData.rs717
-rw-r--r--vendor/web-sys/src/features/gen_CheckerboardReason.rs11
-rw-r--r--vendor/web-sys/src/features/gen_CheckerboardReport.rs89
-rw-r--r--vendor/web-sys/src/features/gen_CheckerboardReportService.rs49
-rw-r--r--vendor/web-sys/src/features/gen_ChromeFilePropertyBag.rs87
-rw-r--r--vendor/web-sys/src/features/gen_ChromeWorker.rs21
-rw-r--r--vendor/web-sys/src/features/gen_Client.rs62
-rw-r--r--vendor/web-sys/src/features/gen_ClientQueryOptions.rs58
-rw-r--r--vendor/web-sys/src/features/gen_ClientRectsAndTexts.rs60
-rw-r--r--vendor/web-sys/src/features/gen_ClientType.rs14
-rw-r--r--vendor/web-sys/src/features/gen_Clients.rs53
-rw-r--r--vendor/web-sys/src/features/gen_Clipboard.rs62
-rw-r--r--vendor/web-sys/src/features/gen_ClipboardEvent.rs56
-rw-r--r--vendor/web-sys/src/features/gen_ClipboardEventInit.rs121
-rw-r--r--vendor/web-sys/src/features/gen_ClipboardItem.rs74
-rw-r--r--vendor/web-sys/src/features/gen_ClipboardItemOptions.rs58
-rw-r--r--vendor/web-sys/src/features/gen_ClipboardPermissionDescriptor.rs71
-rw-r--r--vendor/web-sys/src/features/gen_CloseEvent.rs53
-rw-r--r--vendor/web-sys/src/features/gen_CloseEventInit.rs122
-rw-r--r--vendor/web-sys/src/features/gen_CodecState.rs16
-rw-r--r--vendor/web-sys/src/features/gen_CollectedClientData.rs122
-rw-r--r--vendor/web-sys/src/features/gen_ColorSpaceConversion.rs11
-rw-r--r--vendor/web-sys/src/features/gen_Comment.rs28
-rw-r--r--vendor/web-sys/src/features/gen_CompositeOperation.rs12
-rw-r--r--vendor/web-sys/src/features/gen_CompositionEvent.rs121
-rw-r--r--vendor/web-sys/src/features/gen_CompositionEventInit.rs119
-rw-r--r--vendor/web-sys/src/features/gen_ComputedEffectTiming.rs239
-rw-r--r--vendor/web-sys/src/features/gen_ConnStatusDict.rs41
-rw-r--r--vendor/web-sys/src/features/gen_ConnectionType.rs16
-rw-r--r--vendor/web-sys/src/features/gen_ConsoleCounter.rs53
-rw-r--r--vendor/web-sys/src/features/gen_ConsoleCounterError.rs53
-rw-r--r--vendor/web-sys/src/features/gen_ConsoleEvent.rs298
-rw-r--r--vendor/web-sys/src/features/gen_ConsoleInstance.rs14
-rw-r--r--vendor/web-sys/src/features/gen_ConsoleInstanceOptions.rs123
-rw-r--r--vendor/web-sys/src/features/gen_ConsoleLevel.rs12
-rw-r--r--vendor/web-sys/src/features/gen_ConsoleLogLevel.rs27
-rw-r--r--vendor/web-sys/src/features/gen_ConsoleProfileEvent.rs58
-rw-r--r--vendor/web-sys/src/features/gen_ConsoleStackEntry.rs112
-rw-r--r--vendor/web-sys/src/features/gen_ConsoleTimerError.rs53
-rw-r--r--vendor/web-sys/src/features/gen_ConsoleTimerLogOrEnd.rs57
-rw-r--r--vendor/web-sys/src/features/gen_ConsoleTimerStart.rs40
-rw-r--r--vendor/web-sys/src/features/gen_ConstantSourceNode.rs83
-rw-r--r--vendor/web-sys/src/features/gen_ConstantSourceOptions.rs41
-rw-r--r--vendor/web-sys/src/features/gen_ConstrainBooleanParameters.rs53
-rw-r--r--vendor/web-sys/src/features/gen_ConstrainDomStringParameters.rs53
-rw-r--r--vendor/web-sys/src/features/gen_ConstrainDoubleRange.rs79
-rw-r--r--vendor/web-sys/src/features/gen_ConstrainLongRange.rs79
-rw-r--r--vendor/web-sys/src/features/gen_ContextAttributes2d.rs57
-rw-r--r--vendor/web-sys/src/features/gen_ConvertCoordinateOptions.rs59
-rw-r--r--vendor/web-sys/src/features/gen_ConvolverNode.rs63
-rw-r--r--vendor/web-sys/src/features/gen_ConvolverOptions.rs112
-rw-r--r--vendor/web-sys/src/features/gen_Coordinates.rs63
-rw-r--r--vendor/web-sys/src/features/gen_CountQueuingStrategy.rs36
-rw-r--r--vendor/web-sys/src/features/gen_Credential.rs28
-rw-r--r--vendor/web-sys/src/features/gen_CredentialCreationOptions.rs60
-rw-r--r--vendor/web-sys/src/features/gen_CredentialRequestOptions.rs60
-rw-r--r--vendor/web-sys/src/features/gen_CredentialsContainer.rs69
-rw-r--r--vendor/web-sys/src/features/gen_Crypto.rs49
-rw-r--r--vendor/web-sys/src/features/gen_CryptoKey.rs42
-rw-r--r--vendor/web-sys/src/features/gen_CryptoKeyPair.rs61
-rw-r--r--vendor/web-sys/src/features/gen_Csp.rs401
-rw-r--r--vendor/web-sys/src/features/gen_CspPolicies.rs44
-rw-r--r--vendor/web-sys/src/features/gen_CspReport.rs45
-rw-r--r--vendor/web-sys/src/features/gen_CspReportProperties.rs180
-rw-r--r--vendor/web-sys/src/features/gen_CssAnimation.rs21
-rw-r--r--vendor/web-sys/src/features/gen_CssBoxType.rs13
-rw-r--r--vendor/web-sys/src/features/gen_CssConditionRule.rs28
-rw-r--r--vendor/web-sys/src/features/gen_CssCounterStyleRule.rs168
-rw-r--r--vendor/web-sys/src/features/gen_CssFontFaceRule.rs22
-rw-r--r--vendor/web-sys/src/features/gen_CssFontFeatureValuesRule.rs42
-rw-r--r--vendor/web-sys/src/features/gen_CssGroupingRule.rs47
-rw-r--r--vendor/web-sys/src/features/gen_CssImportRule.rs37
-rw-r--r--vendor/web-sys/src/features/gen_CssKeyframeRule.rs36
-rw-r--r--vendor/web-sys/src/features/gen_CssKeyframesRule.rs58
-rw-r--r--vendor/web-sys/src/features/gen_CssMediaRule.rs22
-rw-r--r--vendor/web-sys/src/features/gen_CssNamespaceRule.rs28
-rw-r--r--vendor/web-sys/src/features/gen_CssPageRule.rs22
-rw-r--r--vendor/web-sys/src/features/gen_CssPseudoElement.rs29
-rw-r--r--vendor/web-sys/src/features/gen_CssRule.rs100
-rw-r--r--vendor/web-sys/src/features/gen_CssRuleList.rs37
-rw-r--r--vendor/web-sys/src/features/gen_CssStyleDeclaration.rs104
-rw-r--r--vendor/web-sys/src/features/gen_CssStyleRule.rs36
-rw-r--r--vendor/web-sys/src/features/gen_CssStyleSheet.rs55
-rw-r--r--vendor/web-sys/src/features/gen_CssStyleSheetParsingMode.rs12
-rw-r--r--vendor/web-sys/src/features/gen_CssSupportsRule.rs14
-rw-r--r--vendor/web-sys/src/features/gen_CssTransition.rs21
-rw-r--r--vendor/web-sys/src/features/gen_CustomElementRegistry.rs63
-rw-r--r--vendor/web-sys/src/features/gen_CustomEvent.rs78
-rw-r--r--vendor/web-sys/src/features/gen_CustomEventInit.rs92
-rw-r--r--vendor/web-sys/src/features/gen_DataTransfer.rs132
-rw-r--r--vendor/web-sys/src/features/gen_DataTransferItem.rs55
-rw-r--r--vendor/web-sys/src/features/gen_DataTransferItemList.rs66
-rw-r--r--vendor/web-sys/src/features/gen_DateTimeValue.rs93
-rw-r--r--vendor/web-sys/src/features/gen_DecoderDoctorNotification.rs143
-rw-r--r--vendor/web-sys/src/features/gen_DecoderDoctorNotificationType.rs16
-rw-r--r--vendor/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs80
-rw-r--r--vendor/web-sys/src/features/gen_DelayNode.rs41
-rw-r--r--vendor/web-sys/src/features/gen_DelayOptions.rs114
-rw-r--r--vendor/web-sys/src/features/gen_DeviceAcceleration.rs35
-rw-r--r--vendor/web-sys/src/features/gen_DeviceAccelerationInit.rs66
-rw-r--r--vendor/web-sys/src/features/gen_DeviceLightEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_DeviceLightEventInit.rs91
-rw-r--r--vendor/web-sys/src/features/gen_DeviceMotionEvent.rs63
-rw-r--r--vendor/web-sys/src/features/gen_DeviceMotionEventInit.rs149
-rw-r--r--vendor/web-sys/src/features/gen_DeviceOrientationEvent.rs148
-rw-r--r--vendor/web-sys/src/features/gen_DeviceOrientationEventInit.rs134
-rw-r--r--vendor/web-sys/src/features/gen_DeviceProximityEvent.rs53
-rw-r--r--vendor/web-sys/src/features/gen_DeviceProximityEventInit.rs117
-rw-r--r--vendor/web-sys/src/features/gen_DeviceRotationRate.rs35
-rw-r--r--vendor/web-sys/src/features/gen_DeviceRotationRateInit.rs66
-rw-r--r--vendor/web-sys/src/features/gen_DhKeyDeriveParams.rs53
-rw-r--r--vendor/web-sys/src/features/gen_DirectionSetting.rs12
-rw-r--r--vendor/web-sys/src/features/gen_Directory.rs52
-rw-r--r--vendor/web-sys/src/features/gen_DisplayMediaStreamConstraints.rs53
-rw-r--r--vendor/web-sys/src/features/gen_DisplayNameOptions.rs53
-rw-r--r--vendor/web-sys/src/features/gen_DisplayNameResult.rs54
-rw-r--r--vendor/web-sys/src/features/gen_DistanceModelType.rs12
-rw-r--r--vendor/web-sys/src/features/gen_DnsCacheDict.rs44
-rw-r--r--vendor/web-sys/src/features/gen_DnsCacheEntry.rs105
-rw-r--r--vendor/web-sys/src/features/gen_DnsLookupDict.rs71
-rw-r--r--vendor/web-sys/src/features/gen_Document.rs2988
-rw-r--r--vendor/web-sys/src/features/gen_DocumentFragment.rs500
-rw-r--r--vendor/web-sys/src/features/gen_DocumentTimeline.rs30
-rw-r--r--vendor/web-sys/src/features/gen_DocumentTimelineOptions.rs44
-rw-r--r--vendor/web-sys/src/features/gen_DocumentType.rs660
-rw-r--r--vendor/web-sys/src/features/gen_DomError.rs42
-rw-r--r--vendor/web-sys/src/features/gen_DomException.rs200
-rw-r--r--vendor/web-sys/src/features/gen_DomImplementation.rs78
-rw-r--r--vendor/web-sys/src/features/gen_DomMatrix.rs605
-rw-r--r--vendor/web-sys/src/features/gen_DomMatrixReadOnly.rs507
-rw-r--r--vendor/web-sys/src/features/gen_DomParser.rs33
-rw-r--r--vendor/web-sys/src/features/gen_DomPoint.rs125
-rw-r--r--vendor/web-sys/src/features/gen_DomPointInit.rs79
-rw-r--r--vendor/web-sys/src/features/gen_DomPointReadOnly.rs104
-rw-r--r--vendor/web-sys/src/features/gen_DomQuad.rs129
-rw-r--r--vendor/web-sys/src/features/gen_DomQuadInit.rs83
-rw-r--r--vendor/web-sys/src/features/gen_DomQuadJson.rs83
-rw-r--r--vendor/web-sys/src/features/gen_DomRect.rs110
-rw-r--r--vendor/web-sys/src/features/gen_DomRectInit.rs80
-rw-r--r--vendor/web-sys/src/features/gen_DomRectList.rs37
-rw-r--r--vendor/web-sys/src/features/gen_DomRectReadOnly.rs121
-rw-r--r--vendor/web-sys/src/features/gen_DomRequest.rs93
-rw-r--r--vendor/web-sys/src/features/gen_DomRequestReadyState.rs11
-rw-r--r--vendor/web-sys/src/features/gen_DomStringList.rs42
-rw-r--r--vendor/web-sys/src/features/gen_DomStringMap.rs35
-rw-r--r--vendor/web-sys/src/features/gen_DomTokenList.rs284
-rw-r--r--vendor/web-sys/src/features/gen_DomWindowResizeEventDetail.rs54
-rw-r--r--vendor/web-sys/src/features/gen_DragEvent.rs326
-rw-r--r--vendor/web-sys/src/features/gen_DragEventInit.rs493
-rw-r--r--vendor/web-sys/src/features/gen_DynamicsCompressorNode.rs80
-rw-r--r--vendor/web-sys/src/features/gen_DynamicsCompressorOptions.rs154
-rw-r--r--vendor/web-sys/src/features/gen_EcKeyAlgorithm.rs54
-rw-r--r--vendor/web-sys/src/features/gen_EcKeyGenParams.rs54
-rw-r--r--vendor/web-sys/src/features/gen_EcKeyImportParams.rs53
-rw-r--r--vendor/web-sys/src/features/gen_EcdhKeyDeriveParams.rs53
-rw-r--r--vendor/web-sys/src/features/gen_EcdsaParams.rs50
-rw-r--r--vendor/web-sys/src/features/gen_EffectTiming.rs154
-rw-r--r--vendor/web-sys/src/features/gen_Element.rs1952
-rw-r--r--vendor/web-sys/src/features/gen_ElementCreationOptions.rs54
-rw-r--r--vendor/web-sys/src/features/gen_ElementDefinitionOptions.rs44
-rw-r--r--vendor/web-sys/src/features/gen_EncodedAudioChunk.rs97
-rw-r--r--vendor/web-sys/src/features/gen_EncodedAudioChunkInit.rs111
-rw-r--r--vendor/web-sys/src/features/gen_EncodedAudioChunkMetadata.rs58
-rw-r--r--vendor/web-sys/src/features/gen_EncodedAudioChunkType.rs15
-rw-r--r--vendor/web-sys/src/features/gen_EncodedVideoChunk.rs97
-rw-r--r--vendor/web-sys/src/features/gen_EncodedVideoChunkInit.rs111
-rw-r--r--vendor/web-sys/src/features/gen_EncodedVideoChunkMetadata.rs97
-rw-r--r--vendor/web-sys/src/features/gen_EncodedVideoChunkType.rs15
-rw-r--r--vendor/web-sys/src/features/gen_EndingTypes.rs11
-rw-r--r--vendor/web-sys/src/features/gen_ErrorCallback.rs44
-rw-r--r--vendor/web-sys/src/features/gen_ErrorEvent.rs67
-rw-r--r--vendor/web-sys/src/features/gen_ErrorEventInit.rs152
-rw-r--r--vendor/web-sys/src/features/gen_Event.rs190
-rw-r--r--vendor/web-sys/src/features/gen_EventInit.rs78
-rw-r--r--vendor/web-sys/src/features/gen_EventListener.rs44
-rw-r--r--vendor/web-sys/src/features/gen_EventListenerOptions.rs44
-rw-r--r--vendor/web-sys/src/features/gen_EventModifierInit.rs324
-rw-r--r--vendor/web-sys/src/features/gen_EventSource.rs116
-rw-r--r--vendor/web-sys/src/features/gen_EventSourceInit.rs44
-rw-r--r--vendor/web-sys/src/features/gen_EventTarget.rs232
-rw-r--r--vendor/web-sys/src/features/gen_Exception.rs70
-rw-r--r--vendor/web-sys/src/features/gen_ExtBlendMinmax.rs24
-rw-r--r--vendor/web-sys/src/features/gen_ExtColorBufferFloat.rs14
-rw-r--r--vendor/web-sys/src/features/gen_ExtColorBufferHalfFloat.rs32
-rw-r--r--vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.rs114
-rw-r--r--vendor/web-sys/src/features/gen_ExtFragDepth.rs14
-rw-r--r--vendor/web-sys/src/features/gen_ExtSRgb.rs32
-rw-r--r--vendor/web-sys/src/features/gen_ExtShaderTextureLod.rs14
-rw-r--r--vendor/web-sys/src/features/gen_ExtTextureFilterAnisotropic.rs24
-rw-r--r--vendor/web-sys/src/features/gen_ExtTextureNorm16.rs48
-rw-r--r--vendor/web-sys/src/features/gen_ExtendableEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_ExtendableEventInit.rs78
-rw-r--r--vendor/web-sys/src/features/gen_ExtendableMessageEvent.rs67
-rw-r--r--vendor/web-sys/src/features/gen_ExtendableMessageEventInit.rs149
-rw-r--r--vendor/web-sys/src/features/gen_External.rs28
-rw-r--r--vendor/web-sys/src/features/gen_FakePluginMimeEntry.rs70
-rw-r--r--vendor/web-sys/src/features/gen_FakePluginTagInit.rs173
-rw-r--r--vendor/web-sys/src/features/gen_FetchEvent.rs51
-rw-r--r--vendor/web-sys/src/features/gen_FetchEventInit.rs127
-rw-r--r--vendor/web-sys/src/features/gen_FetchObserver.rs64
-rw-r--r--vendor/web-sys/src/features/gen_FetchReadableStreamReadDataArray.rs27
-rw-r--r--vendor/web-sys/src/features/gen_FetchReadableStreamReadDataDone.rs40
-rw-r--r--vendor/web-sys/src/features/gen_FetchState.rs14
-rw-r--r--vendor/web-sys/src/features/gen_File.rs116
-rw-r--r--vendor/web-sys/src/features/gen_FileCallback.rs44
-rw-r--r--vendor/web-sys/src/features/gen_FileList.rs37
-rw-r--r--vendor/web-sys/src/features/gen_FilePropertyBag.rs57
-rw-r--r--vendor/web-sys/src/features/gen_FileReader.rs192
-rw-r--r--vendor/web-sys/src/features/gen_FileReaderSync.rs68
-rw-r--r--vendor/web-sys/src/features/gen_FileSystem.rs29
-rw-r--r--vendor/web-sys/src/features/gen_FileSystemDirectoryEntry.rs246
-rw-r--r--vendor/web-sys/src/features/gen_FileSystemDirectoryReader.rs82
-rw-r--r--vendor/web-sys/src/features/gen_FileSystemEntriesCallback.rs44
-rw-r--r--vendor/web-sys/src/features/gen_FileSystemEntry.rs122
-rw-r--r--vendor/web-sys/src/features/gen_FileSystemEntryCallback.rs44
-rw-r--r--vendor/web-sys/src/features/gen_FileSystemFileEntry.rs76
-rw-r--r--vendor/web-sys/src/features/gen_FileSystemFlags.rs58
-rw-r--r--vendor/web-sys/src/features/gen_FillMode.rs14
-rw-r--r--vendor/web-sys/src/features/gen_FlashClassification.rs13
-rw-r--r--vendor/web-sys/src/features/gen_FlexLineGrowthState.rs12
-rw-r--r--vendor/web-sys/src/features/gen_FlowControlType.rs15
-rw-r--r--vendor/web-sys/src/features/gen_FocusEvent.rs40
-rw-r--r--vendor/web-sys/src/features/gen_FocusEventInit.rs124
-rw-r--r--vendor/web-sys/src/features/gen_FontFace.rs244
-rw-r--r--vendor/web-sys/src/features/gen_FontFaceDescriptors.rs156
-rw-r--r--vendor/web-sys/src/features/gen_FontFaceLoadStatus.rs13
-rw-r--r--vendor/web-sys/src/features/gen_FontFaceSet.rs171
-rw-r--r--vendor/web-sys/src/features/gen_FontFaceSetIterator.rs22
-rw-r--r--vendor/web-sys/src/features/gen_FontFaceSetIteratorResult.rs50
-rw-r--r--vendor/web-sys/src/features/gen_FontFaceSetLoadEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_FontFaceSetLoadEventInit.rs95
-rw-r--r--vendor/web-sys/src/features/gen_FontFaceSetLoadStatus.rs11
-rw-r--r--vendor/web-sys/src/features/gen_FormData.rs113
-rw-r--r--vendor/web-sys/src/features/gen_FrameType.rs13
-rw-r--r--vendor/web-sys/src/features/gen_FuzzingFunctions.rs35
-rw-r--r--vendor/web-sys/src/features/gen_GainNode.rs41
-rw-r--r--vendor/web-sys/src/features/gen_GainOptions.rs93
-rw-r--r--vendor/web-sys/src/features/gen_Gamepad.rs94
-rw-r--r--vendor/web-sys/src/features/gen_GamepadAxisMoveEvent.rs46
-rw-r--r--vendor/web-sys/src/features/gen_GamepadAxisMoveEventInit.rs122
-rw-r--r--vendor/web-sys/src/features/gen_GamepadButton.rs35
-rw-r--r--vendor/web-sys/src/features/gen_GamepadButtonEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_GamepadButtonEventInit.rs110
-rw-r--r--vendor/web-sys/src/features/gen_GamepadEvent.rs40
-rw-r--r--vendor/web-sys/src/features/gen_GamepadEventInit.rs96
-rw-r--r--vendor/web-sys/src/features/gen_GamepadHand.rs12
-rw-r--r--vendor/web-sys/src/features/gen_GamepadHapticActuator.rs33
-rw-r--r--vendor/web-sys/src/features/gen_GamepadHapticActuatorType.rs10
-rw-r--r--vendor/web-sys/src/features/gen_GamepadMappingType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_GamepadPose.rs70
-rw-r--r--vendor/web-sys/src/features/gen_GamepadServiceTest.rs127
-rw-r--r--vendor/web-sys/src/features/gen_Geolocation.rs89
-rw-r--r--vendor/web-sys/src/features/gen_GetNotificationOptions.rs40
-rw-r--r--vendor/web-sys/src/features/gen_GetRootNodeOptions.rs44
-rw-r--r--vendor/web-sys/src/features/gen_GetUserMediaRequest.rs71
-rw-r--r--vendor/web-sys/src/features/gen_Gpu.rs56
-rw-r--r--vendor/web-sys/src/features/gen_GpuAdapter.rs104
-rw-r--r--vendor/web-sys/src/features/gen_GpuAdapterInfo.rs62
-rw-r--r--vendor/web-sys/src/features/gen_GpuAddressMode.rs16
-rw-r--r--vendor/web-sys/src/features/gen_GpuAutoLayoutMode.rs14
-rw-r--r--vendor/web-sys/src/features/gen_GpuBindGroup.rs40
-rw-r--r--vendor/web-sys/src/features/gen_GpuBindGroupDescriptor.rs90
-rw-r--r--vendor/web-sys/src/features/gen_GpuBindGroupEntry.rs74
-rw-r--r--vendor/web-sys/src/features/gen_GpuBindGroupLayout.rs40
-rw-r--r--vendor/web-sys/src/features/gen_GpuBindGroupLayoutDescriptor.rs69
-rw-r--r--vendor/web-sys/src/features/gen_GpuBindGroupLayoutEntry.rs181
-rw-r--r--vendor/web-sys/src/features/gen_GpuBlendComponent.rs102
-rw-r--r--vendor/web-sys/src/features/gen_GpuBlendFactor.rs26
-rw-r--r--vendor/web-sys/src/features/gen_GpuBlendOperation.rs18
-rw-r--r--vendor/web-sys/src/features/gen_GpuBlendState.rs69
-rw-r--r--vendor/web-sys/src/features/gen_GpuBuffer.rs286
-rw-r--r--vendor/web-sys/src/features/gen_GpuBufferBinding.rs86
-rw-r--r--vendor/web-sys/src/features/gen_GpuBufferBindingLayout.rs96
-rw-r--r--vendor/web-sys/src/features/gen_GpuBufferBindingType.rs16
-rw-r--r--vendor/web-sys/src/features/gen_GpuBufferDescriptor.rs104
-rw-r--r--vendor/web-sys/src/features/gen_GpuBufferMapState.rs16
-rw-r--r--vendor/web-sys/src/features/gen_GpuCanvasAlphaMode.rs15
-rw-r--r--vendor/web-sys/src/features/gen_GpuCanvasConfiguration.rs131
-rw-r--r--vendor/web-sys/src/features/gen_GpuCanvasContext.rs64
-rw-r--r--vendor/web-sys/src/features/gen_GpuColorDict.rs102
-rw-r--r--vendor/web-sys/src/features/gen_GpuColorTargetState.rs90
-rw-r--r--vendor/web-sys/src/features/gen_GpuCommandBuffer.rs40
-rw-r--r--vendor/web-sys/src/features/gen_GpuCommandBufferDescriptor.rs53
-rw-r--r--vendor/web-sys/src/features/gen_GpuCommandEncoder.rs561
-rw-r--r--vendor/web-sys/src/features/gen_GpuCommandEncoderDescriptor.rs53
-rw-r--r--vendor/web-sys/src/features/gen_GpuCompareFunction.rs21
-rw-r--r--vendor/web-sys/src/features/gen_GpuCompilationInfo.rs29
-rw-r--r--vendor/web-sys/src/features/gen_GpuCompilationMessage.rs85
-rw-r--r--vendor/web-sys/src/features/gen_GpuCompilationMessageType.rs16
-rw-r--r--vendor/web-sys/src/features/gen_GpuComputePassDescriptor.rs74
-rw-r--r--vendor/web-sys/src/features/gen_GpuComputePassEncoder.rs237
-rw-r--r--vendor/web-sys/src/features/gen_GpuComputePassTimestampLocation.rs15
-rw-r--r--vendor/web-sys/src/features/gen_GpuComputePassTimestampWrite.rs103
-rw-r--r--vendor/web-sys/src/features/gen_GpuComputePipeline.rs52
-rw-r--r--vendor/web-sys/src/features/gen_GpuComputePipelineDescriptor.rs90
-rw-r--r--vendor/web-sys/src/features/gen_GpuCullMode.rs16
-rw-r--r--vendor/web-sys/src/features/gen_GpuDepthStencilState.rs243
-rw-r--r--vendor/web-sys/src/features/gen_GpuDevice.rs393
-rw-r--r--vendor/web-sys/src/features/gen_GpuDeviceDescriptor.rs96
-rw-r--r--vendor/web-sys/src/features/gen_GpuDeviceLostInfo.rs40
-rw-r--r--vendor/web-sys/src/features/gen_GpuDeviceLostReason.rs14
-rw-r--r--vendor/web-sys/src/features/gen_GpuError.rs29
-rw-r--r--vendor/web-sys/src/features/gen_GpuErrorFilter.rs16
-rw-r--r--vendor/web-sys/src/features/gen_GpuExtent3dDict.rs87
-rw-r--r--vendor/web-sys/src/features/gen_GpuExternalTexture.rs51
-rw-r--r--vendor/web-sys/src/features/gen_GpuExternalTextureBindingLayout.rs36
-rw-r--r--vendor/web-sys/src/features/gen_GpuExternalTextureDescriptor.rs68
-rw-r--r--vendor/web-sys/src/features/gen_GpuFeatureName.rs23
-rw-r--r--vendor/web-sys/src/features/gen_GpuFilterMode.rs15
-rw-r--r--vendor/web-sys/src/features/gen_GpuFragmentState.rs99
-rw-r--r--vendor/web-sys/src/features/gen_GpuFrontFace.rs15
-rw-r--r--vendor/web-sys/src/features/gen_GpuImageCopyBuffer.rs111
-rw-r--r--vendor/web-sys/src/features/gen_GpuImageCopyExternalImage.rs84
-rw-r--r--vendor/web-sys/src/features/gen_GpuImageCopyTexture.rs112
-rw-r--r--vendor/web-sys/src/features/gen_GpuImageCopyTextureTagged.rs133
-rw-r--r--vendor/web-sys/src/features/gen_GpuImageDataLayout.rs96
-rw-r--r--vendor/web-sys/src/features/gen_GpuIndexFormat.rs15
-rw-r--r--vendor/web-sys/src/features/gen_GpuInternalError.rs29
-rw-r--r--vendor/web-sys/src/features/gen_GpuLoadOp.rs15
-rw-r--r--vendor/web-sys/src/features/gen_GpuMipmapFilterMode.rs15
-rw-r--r--vendor/web-sys/src/features/gen_GpuMultisampleState.rs91
-rw-r--r--vendor/web-sys/src/features/gen_GpuObjectDescriptorBase.rs53
-rw-r--r--vendor/web-sys/src/features/gen_GpuOrigin2dDict.rs70
-rw-r--r--vendor/web-sys/src/features/gen_GpuOrigin3dDict.rs87
-rw-r--r--vendor/web-sys/src/features/gen_GpuOutOfMemoryError.rs29
-rw-r--r--vendor/web-sys/src/features/gen_GpuPipelineDescriptorBase.rs66
-rw-r--r--vendor/web-sys/src/features/gen_GpuPipelineLayout.rs40
-rw-r--r--vendor/web-sys/src/features/gen_GpuPipelineLayoutDescriptor.rs69
-rw-r--r--vendor/web-sys/src/features/gen_GpuPowerPreference.rs15
-rw-r--r--vendor/web-sys/src/features/gen_GpuPrimitiveState.rs145
-rw-r--r--vendor/web-sys/src/features/gen_GpuPrimitiveTopology.rs18
-rw-r--r--vendor/web-sys/src/features/gen_GpuProgrammableStage.rs73
-rw-r--r--vendor/web-sys/src/features/gen_GpuQuerySet.rs74
-rw-r--r--vendor/web-sys/src/features/gen_GpuQuerySetDescriptor.rs85
-rw-r--r--vendor/web-sys/src/features/gen_GpuQueryType.rs15
-rw-r--r--vendor/web-sys/src/features/gen_GpuQueue.rs699
-rw-r--r--vendor/web-sys/src/features/gen_GpuQueueDescriptor.rs53
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderBundle.rs40
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderBundleDescriptor.rs53
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderBundleEncoder.rs619
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderBundleEncoderDescriptor.rs154
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderPassColorAttachment.rs140
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderPassDepthStencilAttachment.rs222
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderPassDescriptor.rs158
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderPassEncoder.rs706
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderPassLayout.rs112
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderPassTimestampLocation.rs15
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderPassTimestampWrite.rs103
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderPipeline.rs52
-rw-r--r--vendor/web-sys/src/features/gen_GpuRenderPipelineDescriptor.rs175
-rw-r--r--vendor/web-sys/src/features/gen_GpuRequestAdapterOptions.rs79
-rw-r--r--vendor/web-sys/src/features/gen_GpuSampler.rs40
-rw-r--r--vendor/web-sys/src/features/gen_GpuSamplerBindingLayout.rs54
-rw-r--r--vendor/web-sys/src/features/gen_GpuSamplerBindingType.rs16
-rw-r--r--vendor/web-sys/src/features/gen_GpuSamplerDescriptor.rs270
-rw-r--r--vendor/web-sys/src/features/gen_GpuShaderModule.rs51
-rw-r--r--vendor/web-sys/src/features/gen_GpuShaderModuleCompilationHint.rs54
-rw-r--r--vendor/web-sys/src/features/gen_GpuShaderModuleDescriptor.rs86
-rw-r--r--vendor/web-sys/src/features/gen_GpuStencilFaceState.rs118
-rw-r--r--vendor/web-sys/src/features/gen_GpuStencilOperation.rs21
-rw-r--r--vendor/web-sys/src/features/gen_GpuStorageTextureAccess.rs14
-rw-r--r--vendor/web-sys/src/features/gen_GpuStorageTextureBindingLayout.rs92
-rw-r--r--vendor/web-sys/src/features/gen_GpuStoreOp.rs15
-rw-r--r--vendor/web-sys/src/features/gen_GpuSupportedFeatures.rs87
-rw-r--r--vendor/web-sys/src/features/gen_GpuSupportedLimits.rs359
-rw-r--r--vendor/web-sys/src/features/gen_GpuTexture.rs168
-rw-r--r--vendor/web-sys/src/features/gen_GpuTextureAspect.rs16
-rw-r--r--vendor/web-sys/src/features/gen_GpuTextureBindingLayout.rs101
-rw-r--r--vendor/web-sys/src/features/gen_GpuTextureDescriptor.rs189
-rw-r--r--vendor/web-sys/src/features/gen_GpuTextureDimension.rs16
-rw-r--r--vendor/web-sys/src/features/gen_GpuTextureFormat.rs107
-rw-r--r--vendor/web-sys/src/features/gen_GpuTextureSampleType.rs18
-rw-r--r--vendor/web-sys/src/features/gen_GpuTextureView.rs40
-rw-r--r--vendor/web-sys/src/features/gen_GpuTextureViewDescriptor.rs197
-rw-r--r--vendor/web-sys/src/features/gen_GpuTextureViewDimension.rs19
-rw-r--r--vendor/web-sys/src/features/gen_GpuUncapturedErrorEvent.rs45
-rw-r--r--vendor/web-sys/src/features/gen_GpuUncapturedErrorEventInit.rs113
-rw-r--r--vendor/web-sys/src/features/gen_GpuValidationError.rs29
-rw-r--r--vendor/web-sys/src/features/gen_GpuVertexAttribute.rs92
-rw-r--r--vendor/web-sys/src/features/gen_GpuVertexBufferLayout.rs96
-rw-r--r--vendor/web-sys/src/features/gen_GpuVertexFormat.rs43
-rw-r--r--vendor/web-sys/src/features/gen_GpuVertexState.rs94
-rw-r--r--vendor/web-sys/src/features/gen_GpuVertexStepMode.rs15
-rw-r--r--vendor/web-sys/src/features/gen_GridDeclaration.rs11
-rw-r--r--vendor/web-sys/src/features/gen_GridTrackState.rs12
-rw-r--r--vendor/web-sys/src/features/gen_GroupedHistoryEventInit.rs96
-rw-r--r--vendor/web-sys/src/features/gen_HalfOpenInfoDict.rs44
-rw-r--r--vendor/web-sys/src/features/gen_HardwareAcceleration.rs16
-rw-r--r--vendor/web-sys/src/features/gen_HashChangeEvent.rs103
-rw-r--r--vendor/web-sys/src/features/gen_HashChangeEventInit.rs106
-rw-r--r--vendor/web-sys/src/features/gen_Headers.rs72
-rw-r--r--vendor/web-sys/src/features/gen_HeadersGuardEnum.rs14
-rw-r--r--vendor/web-sys/src/features/gen_Hid.rs85
-rw-r--r--vendor/web-sys/src/features/gen_HidCollectionInfo.rs175
-rw-r--r--vendor/web-sys/src/features/gen_HidConnectionEvent.rs45
-rw-r--r--vendor/web-sys/src/features/gen_HidConnectionEventInit.rs114
-rw-r--r--vendor/web-sys/src/features/gen_HidDevice.rs188
-rw-r--r--vendor/web-sys/src/features/gen_HidDeviceFilter.rs116
-rw-r--r--vendor/web-sys/src/features/gen_HidDeviceRequestOptions.rs52
-rw-r--r--vendor/web-sys/src/features/gen_HidInputReportEvent.rs67
-rw-r--r--vendor/web-sys/src/features/gen_HidInputReportEventInit.rs154
-rw-r--r--vendor/web-sys/src/features/gen_HidReportInfo.rs74
-rw-r--r--vendor/web-sys/src/features/gen_HidReportItem.rs618
-rw-r--r--vendor/web-sys/src/features/gen_HidUnitSystem.rs20
-rw-r--r--vendor/web-sys/src/features/gen_HiddenPluginEventInit.rs78
-rw-r--r--vendor/web-sys/src/features/gen_History.rs118
-rw-r--r--vendor/web-sys/src/features/gen_HitRegionOptions.rs72
-rw-r--r--vendor/web-sys/src/features/gen_HkdfParams.rs83
-rw-r--r--vendor/web-sys/src/features/gen_HmacDerivedKeyParams.rs64
-rw-r--r--vendor/web-sys/src/features/gen_HmacImportParams.rs50
-rw-r--r--vendor/web-sys/src/features/gen_HmacKeyAlgorithm.rs67
-rw-r--r--vendor/web-sys/src/features/gen_HmacKeyGenParams.rs64
-rw-r--r--vendor/web-sys/src/features/gen_HtmlAllCollection.rs58
-rw-r--r--vendor/web-sys/src/features/gen_HtmlAnchorElement.rs351
-rw-r--r--vendor/web-sys/src/features/gen_HtmlAreaElement.rs295
-rw-r--r--vendor/web-sys/src/features/gen_HtmlAudioElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlBaseElement.rs42
-rw-r--r--vendor/web-sys/src/features/gen_HtmlBodyElement.rs294
-rw-r--r--vendor/web-sys/src/features/gen_HtmlBrElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlButtonElement.rs213
-rw-r--r--vendor/web-sys/src/features/gen_HtmlCanvasElement.rs128
-rw-r--r--vendor/web-sys/src/features/gen_HtmlCollection.rs53
-rw-r--r--vendor/web-sys/src/features/gen_HtmlDListElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlDataElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlDataListElement.rs22
-rw-r--r--vendor/web-sys/src/features/gen_HtmlDetailsElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlDialogElement.rs70
-rw-r--r--vendor/web-sys/src/features/gen_HtmlDirectoryElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlDivElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlDocument.rs482
-rw-r--r--vendor/web-sys/src/features/gen_HtmlElement.rs1528
-rw-r--r--vendor/web-sys/src/features/gen_HtmlEmbedElement.rs106
-rw-r--r--vendor/web-sys/src/features/gen_HtmlFieldSetElement.rs108
-rw-r--r--vendor/web-sys/src/features/gen_HtmlFontElement.rs56
-rw-r--r--vendor/web-sys/src/features/gen_HtmlFormControlsCollection.rs33
-rw-r--r--vendor/web-sys/src/features/gen_HtmlFormElement.rs197
-rw-r--r--vendor/web-sys/src/features/gen_HtmlFrameElement.rs142
-rw-r--r--vendor/web-sys/src/features/gen_HtmlFrameSetElement.rs238
-rw-r--r--vendor/web-sys/src/features/gen_HtmlHeadElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_HtmlHeadingElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlHrElement.rs84
-rw-r--r--vendor/web-sys/src/features/gen_HtmlHtmlElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlIFrameElement.rs242
-rw-r--r--vendor/web-sys/src/features/gen_HtmlImageElement.rs308
-rw-r--r--vendor/web-sys/src/features/gen_HtmlInputElement.rs708
-rw-r--r--vendor/web-sys/src/features/gen_HtmlLabelElement.rs43
-rw-r--r--vendor/web-sys/src/features/gen_HtmlLegendElement.rs36
-rw-r--r--vendor/web-sys/src/features/gen_HtmlLiElement.rs42
-rw-r--r--vendor/web-sys/src/features/gen_HtmlLinkElement.rs220
-rw-r--r--vendor/web-sys/src/features/gen_HtmlMapElement.rs36
-rw-r--r--vendor/web-sys/src/features/gen_HtmlMediaElement.rs477
-rw-r--r--vendor/web-sys/src/features/gen_HtmlMenuElement.rs56
-rw-r--r--vendor/web-sys/src/features/gen_HtmlMenuItemElement.rs112
-rw-r--r--vendor/web-sys/src/features/gen_HtmlMetaElement.rs70
-rw-r--r--vendor/web-sys/src/features/gen_HtmlMeterElement.rs106
-rw-r--r--vendor/web-sys/src/features/gen_HtmlModElement.rs42
-rw-r--r--vendor/web-sys/src/features/gen_HtmlOListElement.rs70
-rw-r--r--vendor/web-sys/src/features/gen_HtmlObjectElement.rs327
-rw-r--r--vendor/web-sys/src/features/gen_HtmlOptGroupElement.rs42
-rw-r--r--vendor/web-sys/src/features/gen_HtmlOptionElement.rs157
-rw-r--r--vendor/web-sys/src/features/gen_HtmlOptionsCollection.rs137
-rw-r--r--vendor/web-sys/src/features/gen_HtmlOutputElement.rs130
-rw-r--r--vendor/web-sys/src/features/gen_HtmlParagraphElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlParamElement.rs70
-rw-r--r--vendor/web-sys/src/features/gen_HtmlPictureElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_HtmlPreElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlProgressElement.rs57
-rw-r--r--vendor/web-sys/src/features/gen_HtmlQuoteElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlScriptElement.rs168
-rw-r--r--vendor/web-sys/src/features/gen_HtmlSelectElement.rs360
-rw-r--r--vendor/web-sys/src/features/gen_HtmlSlotElement.rs46
-rw-r--r--vendor/web-sys/src/features/gen_HtmlSourceElement.rs84
-rw-r--r--vendor/web-sys/src/features/gen_HtmlSpanElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_HtmlStyleElement.rs64
-rw-r--r--vendor/web-sys/src/features/gen_HtmlTableCaptionElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlTableCellElement.rs189
-rw-r--r--vendor/web-sys/src/features/gen_HtmlTableColElement.rs98
-rw-r--r--vendor/web-sys/src/features/gen_HtmlTableElement.rs277
-rw-r--r--vendor/web-sys/src/features/gen_HtmlTableRowElement.rs130
-rw-r--r--vendor/web-sys/src/features/gen_HtmlTableSectionElement.rs102
-rw-r--r--vendor/web-sys/src/features/gen_HtmlTemplateElement.rs22
-rw-r--r--vendor/web-sys/src/features/gen_HtmlTextAreaElement.rs381
-rw-r--r--vendor/web-sys/src/features/gen_HtmlTimeElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlTitleElement.rs28
-rw-r--r--vendor/web-sys/src/features/gen_HtmlTrackElement.rs117
-rw-r--r--vendor/web-sys/src/features/gen_HtmlUListElement.rs42
-rw-r--r--vendor/web-sys/src/features/gen_HtmlUnknownElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_HtmlVideoElement.rs78
-rw-r--r--vendor/web-sys/src/features/gen_HttpConnDict.rs44
-rw-r--r--vendor/web-sys/src/features/gen_HttpConnInfo.rs70
-rw-r--r--vendor/web-sys/src/features/gen_HttpConnectionElement.rs123
-rw-r--r--vendor/web-sys/src/features/gen_IdbCursor.rs103
-rw-r--r--vendor/web-sys/src/features/gen_IdbCursorDirection.rs13
-rw-r--r--vendor/web-sys/src/features/gen_IdbCursorWithValue.rs21
-rw-r--r--vendor/web-sys/src/features/gen_IdbDatabase.rs200
-rw-r--r--vendor/web-sys/src/features/gen_IdbFactory.rs89
-rw-r--r--vendor/web-sys/src/features/gen_IdbFileHandle.rs335
-rw-r--r--vendor/web-sys/src/features/gen_IdbFileMetadataParameters.rs57
-rw-r--r--vendor/web-sys/src/features/gen_IdbFileRequest.rs44
-rw-r--r--vendor/web-sys/src/features/gen_IdbIndex.rs230
-rw-r--r--vendor/web-sys/src/features/gen_IdbIndexParameters.rs72
-rw-r--r--vendor/web-sys/src/features/gen_IdbKeyRange.rs123
-rw-r--r--vendor/web-sys/src/features/gen_IdbLocaleAwareKeyRange.rs47
-rw-r--r--vendor/web-sys/src/features/gen_IdbMutableFile.rs80
-rw-r--r--vendor/web-sys/src/features/gen_IdbObjectStore.rs351
-rw-r--r--vendor/web-sys/src/features/gen_IdbObjectStoreParameters.rs61
-rw-r--r--vendor/web-sys/src/features/gen_IdbOpenDbOptions.rs62
-rw-r--r--vendor/web-sys/src/features/gen_IdbOpenDbRequest.rs42
-rw-r--r--vendor/web-sys/src/features/gen_IdbRequest.rs80
-rw-r--r--vendor/web-sys/src/features/gen_IdbRequestReadyState.rs11
-rw-r--r--vendor/web-sys/src/features/gen_IdbTransaction.rs110
-rw-r--r--vendor/web-sys/src/features/gen_IdbTransactionMode.rs14
-rw-r--r--vendor/web-sys/src/features/gen_IdbVersionChangeEvent.rs46
-rw-r--r--vendor/web-sys/src/features/gen_IdbVersionChangeEventInit.rs112
-rw-r--r--vendor/web-sys/src/features/gen_IdleDeadline.rs28
-rw-r--r--vendor/web-sys/src/features/gen_IdleRequestOptions.rs44
-rw-r--r--vendor/web-sys/src/features/gen_IirFilterNode.rs37
-rw-r--r--vendor/web-sys/src/features/gen_IirFilterOptions.rs111
-rw-r--r--vendor/web-sys/src/features/gen_ImageBitmap.rs35
-rw-r--r--vendor/web-sys/src/features/gen_ImageBitmapOptions.rs133
-rw-r--r--vendor/web-sys/src/features/gen_ImageBitmapRenderingContext.rs30
-rw-r--r--vendor/web-sys/src/features/gen_ImageCapture.rs86
-rw-r--r--vendor/web-sys/src/features/gen_ImageCaptureError.rs46
-rw-r--r--vendor/web-sys/src/features/gen_ImageCaptureErrorEvent.rs40
-rw-r--r--vendor/web-sys/src/features/gen_ImageCaptureErrorEventInit.rs96
-rw-r--r--vendor/web-sys/src/features/gen_ImageData.rs63
-rw-r--r--vendor/web-sys/src/features/gen_ImageDecodeOptions.rs78
-rw-r--r--vendor/web-sys/src/features/gen_ImageDecodeResult.rs72
-rw-r--r--vendor/web-sys/src/features/gen_ImageDecoder.rs134
-rw-r--r--vendor/web-sys/src/features/gen_ImageDecoderInit.rs173
-rw-r--r--vendor/web-sys/src/features/gen_ImageOrientation.rs11
-rw-r--r--vendor/web-sys/src/features/gen_ImageTrack.rs95
-rw-r--r--vendor/web-sys/src/features/gen_ImageTrackList.rs75
-rw-r--r--vendor/web-sys/src/features/gen_InputEvent.rs68
-rw-r--r--vendor/web-sys/src/features/gen_InputEventInit.rs188
-rw-r--r--vendor/web-sys/src/features/gen_InstallTriggerData.rs70
-rw-r--r--vendor/web-sys/src/features/gen_IntersectionObserver.rs85
-rw-r--r--vendor/web-sys/src/features/gen_IntersectionObserverEntry.rs67
-rw-r--r--vendor/web-sys/src/features/gen_IntersectionObserverEntryInit.rs116
-rw-r--r--vendor/web-sys/src/features/gen_IntersectionObserverInit.rs75
-rw-r--r--vendor/web-sys/src/features/gen_IntlUtils.rs48
-rw-r--r--vendor/web-sys/src/features/gen_IterableKeyAndValueResult.rs53
-rw-r--r--vendor/web-sys/src/features/gen_IterableKeyOrValueResult.rs53
-rw-r--r--vendor/web-sys/src/features/gen_IterationCompositeOperation.rs11
-rw-r--r--vendor/web-sys/src/features/gen_JsonWebKey.rs261
-rw-r--r--vendor/web-sys/src/features/gen_KeyAlgorithm.rs36
-rw-r--r--vendor/web-sys/src/features/gen_KeyEvent.rs905
-rw-r--r--vendor/web-sys/src/features/gen_KeyIdsInitData.rs36
-rw-r--r--vendor/web-sys/src/features/gen_KeyboardEvent.rs283
-rw-r--r--vendor/web-sys/src/features/gen_KeyboardEventInit.rs445
-rw-r--r--vendor/web-sys/src/features/gen_KeyframeEffect.rs154
-rw-r--r--vendor/web-sys/src/features/gen_KeyframeEffectOptions.rs190
-rw-r--r--vendor/web-sys/src/features/gen_L10nElement.rs120
-rw-r--r--vendor/web-sys/src/features/gen_L10nValue.rs57
-rw-r--r--vendor/web-sys/src/features/gen_LatencyMode.rs15
-rw-r--r--vendor/web-sys/src/features/gen_LifecycleCallbacks.rs95
-rw-r--r--vendor/web-sys/src/features/gen_LineAlignSetting.rs12
-rw-r--r--vendor/web-sys/src/features/gen_ListBoxObject.rs79
-rw-r--r--vendor/web-sys/src/features/gen_LocalMediaStream.rs21
-rw-r--r--vendor/web-sys/src/features/gen_LocaleInfo.rs58
-rw-r--r--vendor/web-sys/src/features/gen_Location.rs161
-rw-r--r--vendor/web-sys/src/features/gen_MediaCapabilities.rs36
-rw-r--r--vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.rs35
-rw-r--r--vendor/web-sys/src/features/gen_MediaConfiguration.rs55
-rw-r--r--vendor/web-sys/src/features/gen_MediaDecodingConfiguration.rs66
-rw-r--r--vendor/web-sys/src/features/gen_MediaDecodingType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_MediaDeviceInfo.rs50
-rw-r--r--vendor/web-sys/src/features/gen_MediaDeviceKind.rs12
-rw-r--r--vendor/web-sys/src/features/gen_MediaDevices.rs79
-rw-r--r--vendor/web-sys/src/features/gen_MediaElementAudioSourceNode.rs25
-rw-r--r--vendor/web-sys/src/features/gen_MediaElementAudioSourceOptions.rs42
-rw-r--r--vendor/web-sys/src/features/gen_MediaEncodingConfiguration.rs66
-rw-r--r--vendor/web-sys/src/features/gen_MediaEncodingType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_MediaEncryptedEvent.rs46
-rw-r--r--vendor/web-sys/src/features/gen_MediaError.rs46
-rw-r--r--vendor/web-sys/src/features/gen_MediaImage.rs82
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeyError.rs21
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeyMessageEvent.rs40
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeyMessageEventInit.rs111
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeyMessageType.rs13
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeyNeededEventInit.rs112
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeySession.rs139
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeySessionType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeyStatus.rs16
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeyStatusMap.rs55
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeySystemAccess.rs36
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeySystemConfiguration.rs144
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeySystemMediaCapability.rs61
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeySystemStatus.rs15
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeys.rs78
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeysPolicy.rs44
-rw-r--r--vendor/web-sys/src/features/gen_MediaKeysRequirement.rs12
-rw-r--r--vendor/web-sys/src/features/gen_MediaList.rs63
-rw-r--r--vendor/web-sys/src/features/gen_MediaMetadata.rs129
-rw-r--r--vendor/web-sys/src/features/gen_MediaMetadataInit.rs109
-rw-r--r--vendor/web-sys/src/features/gen_MediaPositionState.rs99
-rw-r--r--vendor/web-sys/src/features/gen_MediaQueryList.rs84
-rw-r--r--vendor/web-sys/src/features/gen_MediaQueryListEvent.rs46
-rw-r--r--vendor/web-sys/src/features/gen_MediaQueryListEventInit.rs108
-rw-r--r--vendor/web-sys/src/features/gen_MediaRecorder.rs206
-rw-r--r--vendor/web-sys/src/features/gen_MediaRecorderErrorEvent.rs33
-rw-r--r--vendor/web-sys/src/features/gen_MediaRecorderErrorEventInit.rs89
-rw-r--r--vendor/web-sys/src/features/gen_MediaRecorderOptions.rs95
-rw-r--r--vendor/web-sys/src/features/gen_MediaSession.rs127
-rw-r--r--vendor/web-sys/src/features/gen_MediaSessionAction.rs25
-rw-r--r--vendor/web-sys/src/features/gen_MediaSessionActionDetails.rs114
-rw-r--r--vendor/web-sys/src/features/gen_MediaSessionPlaybackState.rs16
-rw-r--r--vendor/web-sys/src/features/gen_MediaSource.rs160
-rw-r--r--vendor/web-sys/src/features/gen_MediaSourceEndOfStreamError.rs11
-rw-r--r--vendor/web-sys/src/features/gen_MediaSourceEnum.rs17
-rw-r--r--vendor/web-sys/src/features/gen_MediaSourceReadyState.rs12
-rw-r--r--vendor/web-sys/src/features/gen_MediaStream.rs136
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamAudioDestinationNode.rs41
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamAudioSourceNode.rs25
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamAudioSourceOptions.rs42
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamConstraints.rs100
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamError.rs35
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamEvent.rs40
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamEventInit.rs93
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamTrack.rs154
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamTrackEvent.rs33
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamTrackEventInit.rs89
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamTrackGenerator.rs54
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamTrackGeneratorInit.rs48
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamTrackProcessor.rs54
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamTrackProcessorInit.rs71
-rw-r--r--vendor/web-sys/src/features/gen_MediaStreamTrackState.rs11
-rw-r--r--vendor/web-sys/src/features/gen_MediaTrackConstraintSet.rs292
-rw-r--r--vendor/web-sys/src/features/gen_MediaTrackConstraints.rs309
-rw-r--r--vendor/web-sys/src/features/gen_MediaTrackSettings.rs173
-rw-r--r--vendor/web-sys/src/features/gen_MediaTrackSupportedConstraints.rs272
-rw-r--r--vendor/web-sys/src/features/gen_MessageChannel.rs37
-rw-r--r--vendor/web-sys/src/features/gen_MessageEvent.rs240
-rw-r--r--vendor/web-sys/src/features/gen_MessageEventInit.rs149
-rw-r--r--vendor/web-sys/src/features/gen_MessagePort.rs77
-rw-r--r--vendor/web-sys/src/features/gen_MidiAccess.rs51
-rw-r--r--vendor/web-sys/src/features/gen_MidiConnectionEvent.rs40
-rw-r--r--vendor/web-sys/src/features/gen_MidiConnectionEventInit.rs92
-rw-r--r--vendor/web-sys/src/features/gen_MidiInput.rs28
-rw-r--r--vendor/web-sys/src/features/gen_MidiInputMap.rs64
-rw-r--r--vendor/web-sys/src/features/gen_MidiMessageEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_MidiMessageEventInit.rs78
-rw-r--r--vendor/web-sys/src/features/gen_MidiOptions.rs57
-rw-r--r--vendor/web-sys/src/features/gen_MidiOutput.rs39
-rw-r--r--vendor/web-sys/src/features/gen_MidiOutputMap.rs64
-rw-r--r--vendor/web-sys/src/features/gen_MidiPort.rs94
-rw-r--r--vendor/web-sys/src/features/gen_MidiPortConnectionState.rs12
-rw-r--r--vendor/web-sys/src/features/gen_MidiPortDeviceState.rs11
-rw-r--r--vendor/web-sys/src/features/gen_MidiPortType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_MimeType.rs43
-rw-r--r--vendor/web-sys/src/features/gen_MimeTypeArray.rs53
-rw-r--r--vendor/web-sys/src/features/gen_MouseEvent.rs430
-rw-r--r--vendor/web-sys/src/features/gen_MouseEventInit.rs475
-rw-r--r--vendor/web-sys/src/features/gen_MouseScrollEvent.rs321
-rw-r--r--vendor/web-sys/src/features/gen_MozDebug.rs35
-rw-r--r--vendor/web-sys/src/features/gen_MutationEvent.rs174
-rw-r--r--vendor/web-sys/src/features/gen_MutationObserver.rs55
-rw-r--r--vendor/web-sys/src/features/gen_MutationObserverInit.rs180
-rw-r--r--vendor/web-sys/src/features/gen_MutationObservingInfo.rs198
-rw-r--r--vendor/web-sys/src/features/gen_MutationRecord.rs82
-rw-r--r--vendor/web-sys/src/features/gen_NamedNodeMap.rs101
-rw-r--r--vendor/web-sys/src/features/gen_NativeOsFileReadOptions.rs57
-rw-r--r--vendor/web-sys/src/features/gen_NativeOsFileWriteAtomicOptions.rs104
-rw-r--r--vendor/web-sys/src/features/gen_NavigationType.rs13
-rw-r--r--vendor/web-sys/src/features/gen_Navigator.rs539
-rw-r--r--vendor/web-sys/src/features/gen_NavigatorAutomationInformation.rs21
-rw-r--r--vendor/web-sys/src/features/gen_NetworkCommandOptions.rs688
-rw-r--r--vendor/web-sys/src/features/gen_NetworkInformation.rs36
-rw-r--r--vendor/web-sys/src/features/gen_NetworkResultOptions.rs556
-rw-r--r--vendor/web-sys/src/features/gen_Node.rs323
-rw-r--r--vendor/web-sys/src/features/gen_NodeFilter.rs44
-rw-r--r--vendor/web-sys/src/features/gen_NodeIterator.rs75
-rw-r--r--vendor/web-sys/src/features/gen_NodeList.rs37
-rw-r--r--vendor/web-sys/src/features/gen_Notification.rs191
-rw-r--r--vendor/web-sys/src/features/gen_NotificationBehavior.rs112
-rw-r--r--vendor/web-sys/src/features/gen_NotificationDirection.rs12
-rw-r--r--vendor/web-sys/src/features/gen_NotificationEvent.rs33
-rw-r--r--vendor/web-sys/src/features/gen_NotificationEventInit.rs93
-rw-r--r--vendor/web-sys/src/features/gen_NotificationOptions.rs123
-rw-r--r--vendor/web-sys/src/features/gen_NotificationPermission.rs12
-rw-r--r--vendor/web-sys/src/features/gen_ObserverCallback.rs44
-rw-r--r--vendor/web-sys/src/features/gen_OesElementIndexUint.rs14
-rw-r--r--vendor/web-sys/src/features/gen_OesStandardDerivatives.rs20
-rw-r--r--vendor/web-sys/src/features/gen_OesTextureFloat.rs14
-rw-r--r--vendor/web-sys/src/features/gen_OesTextureFloatLinear.rs14
-rw-r--r--vendor/web-sys/src/features/gen_OesTextureHalfFloat.rs20
-rw-r--r--vendor/web-sys/src/features/gen_OesTextureHalfFloatLinear.rs14
-rw-r--r--vendor/web-sys/src/features/gen_OesVertexArrayObject.rs61
-rw-r--r--vendor/web-sys/src/features/gen_OfflineAudioCompletionEvent.rs33
-rw-r--r--vendor/web-sys/src/features/gen_OfflineAudioCompletionEventInit.rs93
-rw-r--r--vendor/web-sys/src/features/gen_OfflineAudioContext.rs412
-rw-r--r--vendor/web-sys/src/features/gen_OfflineAudioContextOptions.rs72
-rw-r--r--vendor/web-sys/src/features/gen_OfflineResourceList.rs173
-rw-r--r--vendor/web-sys/src/features/gen_OffscreenCanvas.rs106
-rw-r--r--vendor/web-sys/src/features/gen_OpenWindowEventDetail.rs88
-rw-r--r--vendor/web-sys/src/features/gen_OptionalEffectTiming.rs154
-rw-r--r--vendor/web-sys/src/features/gen_OrientationLockType.rs17
-rw-r--r--vendor/web-sys/src/features/gen_OrientationType.rs13
-rw-r--r--vendor/web-sys/src/features/gen_OscillatorNode.rs115
-rw-r--r--vendor/web-sys/src/features/gen_OscillatorOptions.rs143
-rw-r--r--vendor/web-sys/src/features/gen_OscillatorType.rs14
-rw-r--r--vendor/web-sys/src/features/gen_OverSampleType.rs12
-rw-r--r--vendor/web-sys/src/features/gen_OvrMultiview2.rs48
-rw-r--r--vendor/web-sys/src/features/gen_PageTransitionEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_PageTransitionEventInit.rs112
-rw-r--r--vendor/web-sys/src/features/gen_PaintRequest.rs29
-rw-r--r--vendor/web-sys/src/features/gen_PaintRequestList.rs37
-rw-r--r--vendor/web-sys/src/features/gen_PaintWorkletGlobalScope.rs25
-rw-r--r--vendor/web-sys/src/features/gen_PannerNode.rs218
-rw-r--r--vendor/web-sys/src/features/gen_PannerOptions.rs320
-rw-r--r--vendor/web-sys/src/features/gen_PanningModelType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_ParityType.rs16
-rw-r--r--vendor/web-sys/src/features/gen_Path2d.rs176
-rw-r--r--vendor/web-sys/src/features/gen_PaymentAddress.rs98
-rw-r--r--vendor/web-sys/src/features/gen_PaymentComplete.rs12
-rw-r--r--vendor/web-sys/src/features/gen_PaymentMethodChangeEvent.rs46
-rw-r--r--vendor/web-sys/src/features/gen_PaymentMethodChangeEventInit.rs108
-rw-r--r--vendor/web-sys/src/features/gen_PaymentRequestUpdateEvent.rs42
-rw-r--r--vendor/web-sys/src/features/gen_PaymentRequestUpdateEventInit.rs78
-rw-r--r--vendor/web-sys/src/features/gen_PaymentResponse.rs96
-rw-r--r--vendor/web-sys/src/features/gen_Pbkdf2Params.rs87
-rw-r--r--vendor/web-sys/src/features/gen_PcImplIceConnectionState.rs16
-rw-r--r--vendor/web-sys/src/features/gen_PcImplIceGatheringState.rs12
-rw-r--r--vendor/web-sys/src/features/gen_PcImplSignalingState.rs16
-rw-r--r--vendor/web-sys/src/features/gen_PcObserverStateType.rs13
-rw-r--r--vendor/web-sys/src/features/gen_Performance.rs176
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceEntry.rs49
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceEntryEventInit.rs169
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceEntryFilterOptions.rs74
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceMark.rs14
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceMeasure.rs14
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceNavigation.rs53
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs92
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceObserver.rs43
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceObserverEntryList.rs60
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceObserverInit.rs57
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceResourceTiming.rs147
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceServerTiming.rs42
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceTiming.rs182
-rw-r--r--vendor/web-sys/src/features/gen_PeriodicWave.rs33
-rw-r--r--vendor/web-sys/src/features/gen_PeriodicWaveConstraints.rs44
-rw-r--r--vendor/web-sys/src/features/gen_PeriodicWaveOptions.rs70
-rw-r--r--vendor/web-sys/src/features/gen_PermissionDescriptor.rs38
-rw-r--r--vendor/web-sys/src/features/gen_PermissionName.rs13
-rw-r--r--vendor/web-sys/src/features/gen_PermissionState.rs12
-rw-r--r--vendor/web-sys/src/features/gen_PermissionStatus.rs36
-rw-r--r--vendor/web-sys/src/features/gen_Permissions.rs34
-rw-r--r--vendor/web-sys/src/features/gen_PlaneLayout.rs68
-rw-r--r--vendor/web-sys/src/features/gen_PlaybackDirection.rs13
-rw-r--r--vendor/web-sys/src/features/gen_Plugin.rs81
-rw-r--r--vendor/web-sys/src/features/gen_PluginArray.rs67
-rw-r--r--vendor/web-sys/src/features/gen_PluginCrashedEventInit.rs197
-rw-r--r--vendor/web-sys/src/features/gen_PointerEvent.rs109
-rw-r--r--vendor/web-sys/src/features/gen_PointerEventInit.rs643
-rw-r--r--vendor/web-sys/src/features/gen_PopStateEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_PopStateEventInit.rs91
-rw-r--r--vendor/web-sys/src/features/gen_PopupBlockedEvent.rs54
-rw-r--r--vendor/web-sys/src/features/gen_PopupBlockedEventInit.rs130
-rw-r--r--vendor/web-sys/src/features/gen_Position.rs29
-rw-r--r--vendor/web-sys/src/features/gen_PositionAlignSetting.rs13
-rw-r--r--vendor/web-sys/src/features/gen_PositionError.rs42
-rw-r--r--vendor/web-sys/src/features/gen_PositionOptions.rs78
-rw-r--r--vendor/web-sys/src/features/gen_PremultiplyAlpha.rs12
-rw-r--r--vendor/web-sys/src/features/gen_Presentation.rs38
-rw-r--r--vendor/web-sys/src/features/gen_PresentationAvailability.rs35
-rw-r--r--vendor/web-sys/src/features/gen_PresentationConnection.rs164
-rw-r--r--vendor/web-sys/src/features/gen_PresentationConnectionAvailableEvent.rs33
-rw-r--r--vendor/web-sys/src/features/gen_PresentationConnectionAvailableEventInit.rs93
-rw-r--r--vendor/web-sys/src/features/gen_PresentationConnectionBinaryType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_PresentationConnectionCloseEvent.rs40
-rw-r--r--vendor/web-sys/src/features/gen_PresentationConnectionCloseEventInit.rs107
-rw-r--r--vendor/web-sys/src/features/gen_PresentationConnectionClosedReason.rs12
-rw-r--r--vendor/web-sys/src/features/gen_PresentationConnectionList.rs38
-rw-r--r--vendor/web-sys/src/features/gen_PresentationConnectionState.rs13
-rw-r--r--vendor/web-sys/src/features/gen_PresentationReceiver.rs21
-rw-r--r--vendor/web-sys/src/features/gen_PresentationRequest.rs69
-rw-r--r--vendor/web-sys/src/features/gen_PresentationStyle.rs16
-rw-r--r--vendor/web-sys/src/features/gen_ProcessingInstruction.rs29
-rw-r--r--vendor/web-sys/src/features/gen_ProfileTimelineLayerRect.rs80
-rw-r--r--vendor/web-sys/src/features/gen_ProfileTimelineMarker.rs267
-rw-r--r--vendor/web-sys/src/features/gen_ProfileTimelineMessagePortOperationType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_ProfileTimelineStackFrame.rs133
-rw-r--r--vendor/web-sys/src/features/gen_ProfileTimelineWorkerOperationType.rs13
-rw-r--r--vendor/web-sys/src/features/gen_ProgressEvent.rs53
-rw-r--r--vendor/web-sys/src/features/gen_ProgressEventInit.rs122
-rw-r--r--vendor/web-sys/src/features/gen_PromiseNativeHandler.rs14
-rw-r--r--vendor/web-sys/src/features/gen_PromiseRejectionEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_PromiseRejectionEventInit.rs105
-rw-r--r--vendor/web-sys/src/features/gen_PublicKeyCredential.rs46
-rw-r--r--vendor/web-sys/src/features/gen_PublicKeyCredentialCreationOptions.rs185
-rw-r--r--vendor/web-sys/src/features/gen_PublicKeyCredentialDescriptor.rs69
-rw-r--r--vendor/web-sys/src/features/gen_PublicKeyCredentialEntity.rs49
-rw-r--r--vendor/web-sys/src/features/gen_PublicKeyCredentialParameters.rs52
-rw-r--r--vendor/web-sys/src/features/gen_PublicKeyCredentialRequestOptions.rs123
-rw-r--r--vendor/web-sys/src/features/gen_PublicKeyCredentialRpEntity.rs62
-rw-r--r--vendor/web-sys/src/features/gen_PublicKeyCredentialType.rs10
-rw-r--r--vendor/web-sys/src/features/gen_PublicKeyCredentialUserEntity.rs81
-rw-r--r--vendor/web-sys/src/features/gen_PushEncryptionKeyName.rs11
-rw-r--r--vendor/web-sys/src/features/gen_PushEvent.rs40
-rw-r--r--vendor/web-sys/src/features/gen_PushEventInit.rs91
-rw-r--r--vendor/web-sys/src/features/gen_PushManager.rs57
-rw-r--r--vendor/web-sys/src/features/gen_PushMessageData.rs43
-rw-r--r--vendor/web-sys/src/features/gen_PushPermissionState.rs12
-rw-r--r--vendor/web-sys/src/features/gen_PushSubscription.rs55
-rw-r--r--vendor/web-sys/src/features/gen_PushSubscriptionInit.rs105
-rw-r--r--vendor/web-sys/src/features/gen_PushSubscriptionJson.rs58
-rw-r--r--vendor/web-sys/src/features/gen_PushSubscriptionKeys.rs54
-rw-r--r--vendor/web-sys/src/features/gen_PushSubscriptionOptions.rs23
-rw-r--r--vendor/web-sys/src/features/gen_PushSubscriptionOptionsInit.rs61
-rw-r--r--vendor/web-sys/src/features/gen_QueuingStrategy.rs74
-rw-r--r--vendor/web-sys/src/features/gen_QueuingStrategyInit.rs40
-rw-r--r--vendor/web-sys/src/features/gen_RadioNodeList.rs28
-rw-r--r--vendor/web-sys/src/features/gen_Range.rs277
-rw-r--r--vendor/web-sys/src/features/gen_RcwnPerfStats.rs78
-rw-r--r--vendor/web-sys/src/features/gen_RcwnStatus.rs129
-rw-r--r--vendor/web-sys/src/features/gen_ReadableByteStreamController.rs70
-rw-r--r--vendor/web-sys/src/features/gen_ReadableStream.rs142
-rw-r--r--vendor/web-sys/src/features/gen_ReadableStreamByobReader.rs73
-rw-r--r--vendor/web-sys/src/features/gen_ReadableStreamByobRequest.rs61
-rw-r--r--vendor/web-sys/src/features/gen_ReadableStreamDefaultController.rs59
-rw-r--r--vendor/web-sys/src/features/gen_ReadableStreamDefaultReader.rs60
-rw-r--r--vendor/web-sys/src/features/gen_ReadableStreamGetReaderOptions.rs41
-rw-r--r--vendor/web-sys/src/features/gen_ReadableStreamIteratorOptions.rs44
-rw-r--r--vendor/web-sys/src/features/gen_ReadableStreamReadResult.rs53
-rw-r--r--vendor/web-sys/src/features/gen_ReadableStreamReaderMode.rs10
-rw-r--r--vendor/web-sys/src/features/gen_ReadableStreamType.rs10
-rw-r--r--vendor/web-sys/src/features/gen_ReadableWritablePair.rs61
-rw-r--r--vendor/web-sys/src/features/gen_RecordingState.rs12
-rw-r--r--vendor/web-sys/src/features/gen_ReferrerPolicy.rs18
-rw-r--r--vendor/web-sys/src/features/gen_RegisterRequest.rs61
-rw-r--r--vendor/web-sys/src/features/gen_RegisterResponse.rs112
-rw-r--r--vendor/web-sys/src/features/gen_RegisteredKey.rs91
-rw-r--r--vendor/web-sys/src/features/gen_RegistrationOptions.rs58
-rw-r--r--vendor/web-sys/src/features/gen_Request.rs196
-rw-r--r--vendor/web-sys/src/features/gen_RequestCache.rs15
-rw-r--r--vendor/web-sys/src/features/gen_RequestCredentials.rs12
-rw-r--r--vendor/web-sys/src/features/gen_RequestDestination.rs27
-rw-r--r--vendor/web-sys/src/features/gen_RequestDeviceOptions.rs99
-rw-r--r--vendor/web-sys/src/features/gen_RequestInit.rs220
-rw-r--r--vendor/web-sys/src/features/gen_RequestMediaKeySystemAccessNotification.rs57
-rw-r--r--vendor/web-sys/src/features/gen_RequestMode.rs13
-rw-r--r--vendor/web-sys/src/features/gen_RequestRedirect.rs12
-rw-r--r--vendor/web-sys/src/features/gen_ResizeObserver.rs80
-rw-r--r--vendor/web-sys/src/features/gen_ResizeObserverBoxOptions.rs16
-rw-r--r--vendor/web-sys/src/features/gen_ResizeObserverEntry.rs75
-rw-r--r--vendor/web-sys/src/features/gen_ResizeObserverOptions.rs54
-rw-r--r--vendor/web-sys/src/features/gen_ResizeObserverSize.rs40
-rw-r--r--vendor/web-sys/src/features/gen_ResizeQuality.rs13
-rw-r--r--vendor/web-sys/src/features/gen_Response.rs284
-rw-r--r--vendor/web-sys/src/features/gen_ResponseInit.rs75
-rw-r--r--vendor/web-sys/src/features/gen_ResponseType.rs15
-rw-r--r--vendor/web-sys/src/features/gen_RsaHashedImportParams.rs36
-rw-r--r--vendor/web-sys/src/features/gen_RsaOaepParams.rs49
-rw-r--r--vendor/web-sys/src/features/gen_RsaOtherPrimesInfo.rs64
-rw-r--r--vendor/web-sys/src/features/gen_RsaPssParams.rs54
-rw-r--r--vendor/web-sys/src/features/gen_RtcAnswerOptions.rs27
-rw-r--r--vendor/web-sys/src/features/gen_RtcBundlePolicy.rs12
-rw-r--r--vendor/web-sys/src/features/gen_RtcCertificate.rs21
-rw-r--r--vendor/web-sys/src/features/gen_RtcCertificateExpiration.rs44
-rw-r--r--vendor/web-sys/src/features/gen_RtcCodecStats.rs152
-rw-r--r--vendor/web-sys/src/features/gen_RtcConfiguration.rs114
-rw-r--r--vendor/web-sys/src/features/gen_RtcDataChannel.rs206
-rw-r--r--vendor/web-sys/src/features/gen_RtcDataChannelEvent.rs33
-rw-r--r--vendor/web-sys/src/features/gen_RtcDataChannelEventInit.rs93
-rw-r--r--vendor/web-sys/src/features/gen_RtcDataChannelInit.rs142
-rw-r--r--vendor/web-sys/src/features/gen_RtcDataChannelState.rs13
-rw-r--r--vendor/web-sys/src/features/gen_RtcDataChannelType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_RtcDegradationPreference.rs12
-rw-r--r--vendor/web-sys/src/features/gen_RtcFecParameters.rs40
-rw-r--r--vendor/web-sys/src/features/gen_RtcIceCandidate.rs71
-rw-r--r--vendor/web-sys/src/features/gen_RtcIceCandidateInit.rs71
-rw-r--r--vendor/web-sys/src/features/gen_RtcIceCandidatePairStats.rs306
-rw-r--r--vendor/web-sys/src/features/gen_RtcIceCandidateStats.rs174
-rw-r--r--vendor/web-sys/src/features/gen_RtcIceComponentStats.rs156
-rw-r--r--vendor/web-sys/src/features/gen_RtcIceConnectionState.rs16
-rw-r--r--vendor/web-sys/src/features/gen_RtcIceCredentialType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_RtcIceGatheringState.rs12
-rw-r--r--vendor/web-sys/src/features/gen_RtcIceServer.rs105
-rw-r--r--vendor/web-sys/src/features/gen_RtcIceTransportPolicy.rs11
-rw-r--r--vendor/web-sys/src/features/gen_RtcIdentityAssertion.rs53
-rw-r--r--vendor/web-sys/src/features/gen_RtcIdentityAssertionResult.rs56
-rw-r--r--vendor/web-sys/src/features/gen_RtcIdentityProvider.rs61
-rw-r--r--vendor/web-sys/src/features/gen_RtcIdentityProviderDetails.rs54
-rw-r--r--vendor/web-sys/src/features/gen_RtcIdentityProviderOptions.rs78
-rw-r--r--vendor/web-sys/src/features/gen_RtcIdentityProviderRegistrar.rs22
-rw-r--r--vendor/web-sys/src/features/gen_RtcIdentityValidationResult.rs58
-rw-r--r--vendor/web-sys/src/features/gen_RtcInboundRtpStreamStats.rs421
-rw-r--r--vendor/web-sys/src/features/gen_RtcLifecycleEvent.rs12
-rw-r--r--vendor/web-sys/src/features/gen_RtcMediaStreamStats.rs105
-rw-r--r--vendor/web-sys/src/features/gen_RtcMediaStreamTrackStats.rs309
-rw-r--r--vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.rs27
-rw-r--r--vendor/web-sys/src/features/gen_RtcOfferOptions.rs78
-rw-r--r--vendor/web-sys/src/features/gen_RtcOutboundRtpStreamStats.rs390
-rw-r--r--vendor/web-sys/src/features/gen_RtcPeerConnection.rs819
-rw-r--r--vendor/web-sys/src/features/gen_RtcPeerConnectionIceEvent.rs40
-rw-r--r--vendor/web-sys/src/features/gen_RtcPeerConnectionIceEventInit.rs96
-rw-r--r--vendor/web-sys/src/features/gen_RtcPriorityType.rs13
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtcpParameters.rs57
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpCodecParameters.rs112
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpContributingSource.rs72
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpEncodingParameters.rs165
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpHeaderExtensionParameters.rs70
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpParameters.rs89
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpReceiver.rs43
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpSender.rs74
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpSourceEntry.rs109
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpSourceEntryType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpSynchronizationSource.rs89
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpTransceiver.rs82
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpTransceiverDirection.rs13
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtpTransceiverInit.rs62
-rw-r--r--vendor/web-sys/src/features/gen_RtcRtxParameters.rs40
-rw-r--r--vendor/web-sys/src/features/gen_RtcSdpType.rs13
-rw-r--r--vendor/web-sys/src/features/gen_RtcSessionDescription.rs68
-rw-r--r--vendor/web-sys/src/features/gen_RtcSessionDescriptionInit.rs51
-rw-r--r--vendor/web-sys/src/features/gen_RtcSignalingState.rs15
-rw-r--r--vendor/web-sys/src/features/gen_RtcStats.rs71
-rw-r--r--vendor/web-sys/src/features/gen_RtcStatsIceCandidatePairState.rs15
-rw-r--r--vendor/web-sys/src/features/gen_RtcStatsIceCandidateType.rs13
-rw-r--r--vendor/web-sys/src/features/gen_RtcStatsReport.rs63
-rw-r--r--vendor/web-sys/src/features/gen_RtcStatsReportInternal.rs377
-rw-r--r--vendor/web-sys/src/features/gen_RtcStatsType.rs18
-rw-r--r--vendor/web-sys/src/features/gen_RtcTrackEvent.rs53
-rw-r--r--vendor/web-sys/src/features/gen_RtcTrackEventInit.rs152
-rw-r--r--vendor/web-sys/src/features/gen_RtcTransportStats.rs105
-rw-r--r--vendor/web-sys/src/features/gen_RtcdtmfSender.rs61
-rw-r--r--vendor/web-sys/src/features/gen_RtcdtmfToneChangeEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_RtcdtmfToneChangeEventInit.rs91
-rw-r--r--vendor/web-sys/src/features/gen_RtcrtpContributingSourceStats.rs105
-rw-r--r--vendor/web-sys/src/features/gen_RtcrtpStreamStats.rs305
-rw-r--r--vendor/web-sys/src/features/gen_Screen.rs122
-rw-r--r--vendor/web-sys/src/features/gen_ScreenColorGamut.rs12
-rw-r--r--vendor/web-sys/src/features/gen_ScreenLuminance.rs35
-rw-r--r--vendor/web-sys/src/features/gen_ScreenOrientation.rs61
-rw-r--r--vendor/web-sys/src/features/gen_ScriptProcessorNode.rs35
-rw-r--r--vendor/web-sys/src/features/gen_ScrollAreaEvent.rs171
-rw-r--r--vendor/web-sys/src/features/gen_ScrollBehavior.rs12
-rw-r--r--vendor/web-sys/src/features/gen_ScrollBoxObject.rs82
-rw-r--r--vendor/web-sys/src/features/gen_ScrollIntoViewOptions.rs74
-rw-r--r--vendor/web-sys/src/features/gen_ScrollLogicalPosition.rs13
-rw-r--r--vendor/web-sys/src/features/gen_ScrollOptions.rs45
-rw-r--r--vendor/web-sys/src/features/gen_ScrollRestoration.rs11
-rw-r--r--vendor/web-sys/src/features/gen_ScrollSetting.rs11
-rw-r--r--vendor/web-sys/src/features/gen_ScrollState.rs11
-rw-r--r--vendor/web-sys/src/features/gen_ScrollToOptions.rs71
-rw-r--r--vendor/web-sys/src/features/gen_ScrollViewChangeEventInit.rs92
-rw-r--r--vendor/web-sys/src/features/gen_SecurityPolicyViolationEvent.rs119
-rw-r--r--vendor/web-sys/src/features/gen_SecurityPolicyViolationEventDisposition.rs11
-rw-r--r--vendor/web-sys/src/features/gen_SecurityPolicyViolationEventInit.rs280
-rw-r--r--vendor/web-sys/src/features/gen_Selection.rs248
-rw-r--r--vendor/web-sys/src/features/gen_Serial.rs99
-rw-r--r--vendor/web-sys/src/features/gen_SerialInputSignals.rs123
-rw-r--r--vendor/web-sys/src/features/gen_SerialOptions.rs156
-rw-r--r--vendor/web-sys/src/features/gen_SerialOutputSignals.rs95
-rw-r--r--vendor/web-sys/src/features/gen_SerialPort.rs169
-rw-r--r--vendor/web-sys/src/features/gen_SerialPortFilter.rs78
-rw-r--r--vendor/web-sys/src/features/gen_SerialPortInfo.rs78
-rw-r--r--vendor/web-sys/src/features/gen_SerialPortRequestOptions.rs57
-rw-r--r--vendor/web-sys/src/features/gen_ServerSocketOptions.rs45
-rw-r--r--vendor/web-sys/src/features/gen_ServiceWorker.rs78
-rw-r--r--vendor/web-sys/src/features/gen_ServiceWorkerContainer.rs124
-rw-r--r--vendor/web-sys/src/features/gen_ServiceWorkerGlobalScope.rs158
-rw-r--r--vendor/web-sys/src/features/gen_ServiceWorkerRegistration.rs133
-rw-r--r--vendor/web-sys/src/features/gen_ServiceWorkerState.rs15
-rw-r--r--vendor/web-sys/src/features/gen_ServiceWorkerUpdateViaCache.rs12
-rw-r--r--vendor/web-sys/src/features/gen_ShadowRoot.rs127
-rw-r--r--vendor/web-sys/src/features/gen_ShadowRootInit.rs38
-rw-r--r--vendor/web-sys/src/features/gen_ShadowRootMode.rs11
-rw-r--r--vendor/web-sys/src/features/gen_ShareData.rs104
-rw-r--r--vendor/web-sys/src/features/gen_SharedWorker.rs61
-rw-r--r--vendor/web-sys/src/features/gen_SharedWorkerGlobalScope.rs42
-rw-r--r--vendor/web-sys/src/features/gen_SignResponse.rs112
-rw-r--r--vendor/web-sys/src/features/gen_SocketElement.rs110
-rw-r--r--vendor/web-sys/src/features/gen_SocketOptions.rs62
-rw-r--r--vendor/web-sys/src/features/gen_SocketReadyState.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SocketsDict.rs74
-rw-r--r--vendor/web-sys/src/features/gen_SourceBuffer.rs271
-rw-r--r--vendor/web-sys/src/features/gen_SourceBufferAppendMode.rs11
-rw-r--r--vendor/web-sys/src/features/gen_SourceBufferList.rs57
-rw-r--r--vendor/web-sys/src/features/gen_SpeechGrammar.rs49
-rw-r--r--vendor/web-sys/src/features/gen_SpeechGrammarList.rs86
-rw-r--r--vendor/web-sys/src/features/gen_SpeechRecognition.rs291
-rw-r--r--vendor/web-sys/src/features/gen_SpeechRecognitionAlternative.rs28
-rw-r--r--vendor/web-sys/src/features/gen_SpeechRecognitionError.rs47
-rw-r--r--vendor/web-sys/src/features/gen_SpeechRecognitionErrorCode.rs17
-rw-r--r--vendor/web-sys/src/features/gen_SpeechRecognitionErrorInit.rs109
-rw-r--r--vendor/web-sys/src/features/gen_SpeechRecognitionEvent.rs62
-rw-r--r--vendor/web-sys/src/features/gen_SpeechRecognitionEventInit.rs144
-rw-r--r--vendor/web-sys/src/features/gen_SpeechRecognitionResult.rs49
-rw-r--r--vendor/web-sys/src/features/gen_SpeechRecognitionResultList.rs42
-rw-r--r--vendor/web-sys/src/features/gen_SpeechSynthesis.rs85
-rw-r--r--vendor/web-sys/src/features/gen_SpeechSynthesisErrorCode.rs20
-rw-r--r--vendor/web-sys/src/features/gen_SpeechSynthesisErrorEvent.rs33
-rw-r--r--vendor/web-sys/src/features/gen_SpeechSynthesisErrorEventInit.rs175
-rw-r--r--vendor/web-sys/src/features/gen_SpeechSynthesisEvent.rs61
-rw-r--r--vendor/web-sys/src/features/gen_SpeechSynthesisEventInit.rs157
-rw-r--r--vendor/web-sys/src/features/gen_SpeechSynthesisUtterance.rs212
-rw-r--r--vendor/web-sys/src/features/gen_SpeechSynthesisVoice.rs49
-rw-r--r--vendor/web-sys/src/features/gen_StereoPannerNode.rs41
-rw-r--r--vendor/web-sys/src/features/gen_StereoPannerOptions.rs93
-rw-r--r--vendor/web-sys/src/features/gen_Storage.rs77
-rw-r--r--vendor/web-sys/src/features/gen_StorageEstimate.rs53
-rw-r--r--vendor/web-sys/src/features/gen_StorageEvent.rs170
-rw-r--r--vendor/web-sys/src/features/gen_StorageEventInit.rs156
-rw-r--r--vendor/web-sys/src/features/gen_StorageManager.rs35
-rw-r--r--vendor/web-sys/src/features/gen_StorageType.rs12
-rw-r--r--vendor/web-sys/src/features/gen_StreamPipeOptions.rs93
-rw-r--r--vendor/web-sys/src/features/gen_StyleRuleChangeEventInit.rs110
-rw-r--r--vendor/web-sys/src/features/gen_StyleSheet.rs72
-rw-r--r--vendor/web-sys/src/features/gen_StyleSheetApplicableStateChangeEventInit.rs113
-rw-r--r--vendor/web-sys/src/features/gen_StyleSheetChangeEventInit.rs113
-rw-r--r--vendor/web-sys/src/features/gen_StyleSheetList.rs37
-rw-r--r--vendor/web-sys/src/features/gen_SubmitEvent.rs40
-rw-r--r--vendor/web-sys/src/features/gen_SubmitEventInit.rs96
-rw-r--r--vendor/web-sys/src/features/gen_SubtleCrypto.rs640
-rw-r--r--vendor/web-sys/src/features/gen_SupportedType.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvcOutputMetadata.rs57
-rw-r--r--vendor/web-sys/src/features/gen_SvgAngle.rs103
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimateElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimateMotionElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimateTransformElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimatedAngle.rs30
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimatedBoolean.rs35
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimatedEnumeration.rs35
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimatedInteger.rs35
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimatedLength.rs30
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimatedLengthList.rs30
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimatedNumber.rs35
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimatedNumberList.rs30
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimatedPreserveAspectRatio.rs30
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimatedRect.rs30
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimatedString.rs35
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimatedTransformList.rs30
-rw-r--r--vendor/web-sys/src/features/gen_SvgAnimationElement.rs101
-rw-r--r--vendor/web-sys/src/features/gen_SvgBoundingBoxOptions.rs88
-rw-r--r--vendor/web-sys/src/features/gen_SvgCircleElement.rs38
-rw-r--r--vendor/web-sys/src/features/gen_SvgClipPathElement.rs30
-rw-r--r--vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs96
-rw-r--r--vendor/web-sys/src/features/gen_SvgDefsElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgDescElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgElement.rs1355
-rw-r--r--vendor/web-sys/src/features/gen_SvgEllipseElement.rs46
-rw-r--r--vendor/web-sys/src/features/gen_SvgFilterElement.rs70
-rw-r--r--vendor/web-sys/src/features/gen_SvgForeignObjectElement.rs46
-rw-r--r--vendor/web-sys/src/features/gen_SvgGeometryElement.rs40
-rw-r--r--vendor/web-sys/src/features/gen_SvgGradientElement.rs64
-rw-r--r--vendor/web-sys/src/features/gen_SvgGraphicsElement.rs113
-rw-r--r--vendor/web-sys/src/features/gen_SvgImageElement.rs62
-rw-r--r--vendor/web-sys/src/features/gen_SvgLength.rs127
-rw-r--r--vendor/web-sys/src/features/gen_SvgLengthList.rs92
-rw-r--r--vendor/web-sys/src/features/gen_SvgLineElement.rs46
-rw-r--r--vendor/web-sys/src/features/gen_SvgLinearGradientElement.rs46
-rw-r--r--vendor/web-sys/src/features/gen_SvgMarkerElement.rs127
-rw-r--r--vendor/web-sys/src/features/gen_SvgMaskElement.rs72
-rw-r--r--vendor/web-sys/src/features/gen_SvgMatrix.rs179
-rw-r--r--vendor/web-sys/src/features/gen_SvgMetadataElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgNumber.rs28
-rw-r--r--vendor/web-sys/src/features/gen_SvgNumberList.rs92
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathElement.rs37
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSeg.rs110
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegArcAbs.rs112
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegArcRel.rs112
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegClosePath.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicAbs.rs98
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicRel.rs98
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothAbs.rs70
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothRel.rs70
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticAbs.rs70
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticRel.rs70
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs42
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothRel.rs42
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegLinetoAbs.rs42
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalAbs.rs28
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalRel.rs28
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegLinetoRel.rs42
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalAbs.rs28
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalRel.rs28
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegList.rs43
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegMovetoAbs.rs42
-rw-r--r--vendor/web-sys/src/features/gen_SvgPathSegMovetoRel.rs42
-rw-r--r--vendor/web-sys/src/features/gen_SvgPatternElement.rs94
-rw-r--r--vendor/web-sys/src/features/gen_SvgPoint.rs50
-rw-r--r--vendor/web-sys/src/features/gen_SvgPointList.rs92
-rw-r--r--vendor/web-sys/src/features/gen_SvgPolygonElement.rs30
-rw-r--r--vendor/web-sys/src/features/gen_SvgPolylineElement.rs30
-rw-r--r--vendor/web-sys/src/features/gen_SvgPreserveAspectRatio.rs100
-rw-r--r--vendor/web-sys/src/features/gen_SvgRadialGradientElement.rs62
-rw-r--r--vendor/web-sys/src/features/gen_SvgRect.rs70
-rw-r--r--vendor/web-sys/src/features/gen_SvgRectElement.rs62
-rw-r--r--vendor/web-sys/src/features/gen_SvgScriptElement.rs50
-rw-r--r--vendor/web-sys/src/features/gen_SvgSetElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgStopElement.rs22
-rw-r--r--vendor/web-sys/src/features/gen_SvgStringList.rs92
-rw-r--r--vendor/web-sys/src/features/gen_SvgStyleElement.rs78
-rw-r--r--vendor/web-sys/src/features/gen_SvgSwitchElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgSymbolElement.rs61
-rw-r--r--vendor/web-sys/src/features/gen_SvgTextContentElement.rs129
-rw-r--r--vendor/web-sys/src/features/gen_SvgTextElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgTextPathElement.rs72
-rw-r--r--vendor/web-sys/src/features/gen_SvgTextPositioningElement.rs54
-rw-r--r--vendor/web-sys/src/features/gen_SvgTitleElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgTransform.rs109
-rw-r--r--vendor/web-sys/src/features/gen_SvgTransformList.rs123
-rw-r--r--vendor/web-sys/src/features/gen_SvgUnitTypes.rs28
-rw-r--r--vendor/web-sys/src/features/gen_SvgUseElement.rs54
-rw-r--r--vendor/web-sys/src/features/gen_SvgViewElement.rs58
-rw-r--r--vendor/web-sys/src/features/gen_SvgZoomAndPan.rs42
-rw-r--r--vendor/web-sys/src/features/gen_SvgaElement.rs136
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeBlendElement.rs148
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeColorMatrixElement.rs100
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeComponentTransferElement.rs62
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeCompositeElement.rs140
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeConvolveMatrixElement.rs168
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeDiffuseLightingElement.rs94
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeDisplacementMapElement.rs116
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeDistantLightElement.rs30
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeDropShadowElement.rs105
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeFloodElement.rs54
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeFuncAElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeFuncBElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeFuncGElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeFuncRElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeGaussianBlurElement.rs89
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeImageElement.rs70
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeMergeElement.rs54
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeMergeNodeElement.rs22
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeMorphologyElement.rs100
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeOffsetElement.rs78
-rw-r--r--vendor/web-sys/src/features/gen_SvgfePointLightElement.rs38
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeSpecularLightingElement.rs102
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeSpotLightElement.rs78
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeTileElement.rs62
-rw-r--r--vendor/web-sys/src/features/gen_SvgfeTurbulenceElement.rs128
-rw-r--r--vendor/web-sys/src/features/gen_SvggElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_SvgmPathElement.rs22
-rw-r--r--vendor/web-sys/src/features/gen_SvgsvgElement.rs263
-rw-r--r--vendor/web-sys/src/features/gen_SvgtSpanElement.rs14
-rw-r--r--vendor/web-sys/src/features/gen_TcpReadyState.rs13
-rw-r--r--vendor/web-sys/src/features/gen_TcpServerSocket.rs86
-rw-r--r--vendor/web-sys/src/features/gen_TcpServerSocketEvent.rs40
-rw-r--r--vendor/web-sys/src/features/gen_TcpServerSocketEventInit.rs93
-rw-r--r--vendor/web-sys/src/features/gen_TcpSocket.rs215
-rw-r--r--vendor/web-sys/src/features/gen_TcpSocketBinaryType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_TcpSocketErrorEvent.rs46
-rw-r--r--vendor/web-sys/src/features/gen_TcpSocketErrorEventInit.rs108
-rw-r--r--vendor/web-sys/src/features/gen_TcpSocketEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_TcpSocketEventInit.rs91
-rw-r--r--vendor/web-sys/src/features/gen_Text.rs329
-rw-r--r--vendor/web-sys/src/features/gen_TextDecodeOptions.rs41
-rw-r--r--vendor/web-sys/src/features/gen_TextDecoder.rs101
-rw-r--r--vendor/web-sys/src/features/gen_TextDecoderOptions.rs40
-rw-r--r--vendor/web-sys/src/features/gen_TextEncoder.rs42
-rw-r--r--vendor/web-sys/src/features/gen_TextMetrics.rs63
-rw-r--r--vendor/web-sys/src/features/gen_TextTrack.rs120
-rw-r--r--vendor/web-sys/src/features/gen_TextTrackCue.rs106
-rw-r--r--vendor/web-sys/src/features/gen_TextTrackCueList.rs37
-rw-r--r--vendor/web-sys/src/features/gen_TextTrackKind.rs14
-rw-r--r--vendor/web-sys/src/features/gen_TextTrackList.rs79
-rw-r--r--vendor/web-sys/src/features/gen_TextTrackMode.rs12
-rw-r--r--vendor/web-sys/src/features/gen_TimeEvent.rs57
-rw-r--r--vendor/web-sys/src/features/gen_TimeRanges.rs35
-rw-r--r--vendor/web-sys/src/features/gen_Touch.rs107
-rw-r--r--vendor/web-sys/src/features/gen_TouchEvent.rs272
-rw-r--r--vendor/web-sys/src/features/gen_TouchEventInit.rs375
-rw-r--r--vendor/web-sys/src/features/gen_TouchInit.rs215
-rw-r--r--vendor/web-sys/src/features/gen_TouchList.rs37
-rw-r--r--vendor/web-sys/src/features/gen_TrackEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_TrackEventInit.rs91
-rw-r--r--vendor/web-sys/src/features/gen_TransformStream.rs84
-rw-r--r--vendor/web-sys/src/features/gen_TransformStreamDefaultController.rs62
-rw-r--r--vendor/web-sys/src/features/gen_Transformer.rs104
-rw-r--r--vendor/web-sys/src/features/gen_TransitionEvent.rs53
-rw-r--r--vendor/web-sys/src/features/gen_TransitionEventInit.rs129
-rw-r--r--vendor/web-sys/src/features/gen_Transport.rs13
-rw-r--r--vendor/web-sys/src/features/gen_TreeBoxObject.rs184
-rw-r--r--vendor/web-sys/src/features/gen_TreeCellInfo.rs57
-rw-r--r--vendor/web-sys/src/features/gen_TreeView.rs160
-rw-r--r--vendor/web-sys/src/features/gen_TreeWalker.rs109
-rw-r--r--vendor/web-sys/src/features/gen_U2f.rs94
-rw-r--r--vendor/web-sys/src/features/gen_U2fClientData.rs71
-rw-r--r--vendor/web-sys/src/features/gen_UdpMessageEventInit.rs125
-rw-r--r--vendor/web-sys/src/features/gen_UdpOptions.rs129
-rw-r--r--vendor/web-sys/src/features/gen_UiEvent.rs162
-rw-r--r--vendor/web-sys/src/features/gen_UiEventInit.rs106
-rw-r--r--vendor/web-sys/src/features/gen_UnderlyingSink.rs92
-rw-r--r--vendor/web-sys/src/features/gen_UnderlyingSource.rs98
-rw-r--r--vendor/web-sys/src/features/gen_Url.rs213
-rw-r--r--vendor/web-sys/src/features/gen_UrlSearchParams.rs86
-rw-r--r--vendor/web-sys/src/features/gen_Usb.rs85
-rw-r--r--vendor/web-sys/src/features/gen_UsbAlternateInterface.rs99
-rw-r--r--vendor/web-sys/src/features/gen_UsbConfiguration.rs63
-rw-r--r--vendor/web-sys/src/features/gen_UsbConnectionEvent.rs45
-rw-r--r--vendor/web-sys/src/features/gen_UsbConnectionEventInit.rs114
-rw-r--r--vendor/web-sys/src/features/gen_UsbControlTransferParameters.rs141
-rw-r--r--vendor/web-sys/src/features/gen_UsbDevice.rs454
-rw-r--r--vendor/web-sys/src/features/gen_UsbDeviceFilter.rs162
-rw-r--r--vendor/web-sys/src/features/gen_UsbDeviceRequestOptions.rs52
-rw-r--r--vendor/web-sys/src/features/gen_UsbDirection.rs15
-rw-r--r--vendor/web-sys/src/features/gen_UsbEndpoint.rs80
-rw-r--r--vendor/web-sys/src/features/gen_UsbEndpointType.rs16
-rw-r--r--vendor/web-sys/src/features/gen_UsbInTransferResult.rs68
-rw-r--r--vendor/web-sys/src/features/gen_UsbInterface.rs78
-rw-r--r--vendor/web-sys/src/features/gen_UsbIsochronousInTransferPacket.rs68
-rw-r--r--vendor/web-sys/src/features/gen_UsbIsochronousInTransferResult.rs67
-rw-r--r--vendor/web-sys/src/features/gen_UsbIsochronousOutTransferPacket.rs68
-rw-r--r--vendor/web-sys/src/features/gen_UsbIsochronousOutTransferResult.rs42
-rw-r--r--vendor/web-sys/src/features/gen_UsbOutTransferResult.rs68
-rw-r--r--vendor/web-sys/src/features/gen_UsbPermissionDescriptor.rs71
-rw-r--r--vendor/web-sys/src/features/gen_UsbPermissionResult.rs40
-rw-r--r--vendor/web-sys/src/features/gen_UsbPermissionStorage.rs57
-rw-r--r--vendor/web-sys/src/features/gen_UsbRecipient.rs17
-rw-r--r--vendor/web-sys/src/features/gen_UsbRequestType.rs16
-rw-r--r--vendor/web-sys/src/features/gen_UsbTransferStatus.rs16
-rw-r--r--vendor/web-sys/src/features/gen_UserProximityEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_UserProximityEventInit.rs91
-rw-r--r--vendor/web-sys/src/features/gen_UserVerificationRequirement.rs12
-rw-r--r--vendor/web-sys/src/features/gen_ValidityState.rs91
-rw-r--r--vendor/web-sys/src/features/gen_ValueEvent.rs55
-rw-r--r--vendor/web-sys/src/features/gen_ValueEventInit.rs116
-rw-r--r--vendor/web-sys/src/features/gen_VideoColorPrimaries.rs16
-rw-r--r--vendor/web-sys/src/features/gen_VideoColorSpace.rs100
-rw-r--r--vendor/web-sys/src/features/gen_VideoColorSpaceInit.rs120
-rw-r--r--vendor/web-sys/src/features/gen_VideoConfiguration.rs105
-rw-r--r--vendor/web-sys/src/features/gen_VideoDecoder.rs122
-rw-r--r--vendor/web-sys/src/features/gen_VideoDecoderConfig.rs218
-rw-r--r--vendor/web-sys/src/features/gen_VideoDecoderInit.rs67
-rw-r--r--vendor/web-sys/src/features/gen_VideoDecoderSupport.rs76
-rw-r--r--vendor/web-sys/src/features/gen_VideoEncoder.rs138
-rw-r--r--vendor/web-sys/src/features/gen_VideoEncoderConfig.rs252
-rw-r--r--vendor/web-sys/src/features/gen_VideoEncoderEncodeOptions.rs57
-rw-r--r--vendor/web-sys/src/features/gen_VideoEncoderInit.rs67
-rw-r--r--vendor/web-sys/src/features/gen_VideoEncoderSupport.rs76
-rw-r--r--vendor/web-sys/src/features/gen_VideoFacingModeEnum.rs13
-rw-r--r--vendor/web-sys/src/features/gen_VideoFrame.rs455
-rw-r--r--vendor/web-sys/src/features/gen_VideoFrameBufferInit.rs247
-rw-r--r--vendor/web-sys/src/features/gen_VideoFrameCopyToOptions.rs72
-rw-r--r--vendor/web-sys/src/features/gen_VideoFrameInit.rs160
-rw-r--r--vendor/web-sys/src/features/gen_VideoMatrixCoefficients.rs17
-rw-r--r--vendor/web-sys/src/features/gen_VideoPixelFormat.rs22
-rw-r--r--vendor/web-sys/src/features/gen_VideoPlaybackQuality.rs42
-rw-r--r--vendor/web-sys/src/features/gen_VideoStreamTrack.rs14
-rw-r--r--vendor/web-sys/src/features/gen_VideoTrack.rs64
-rw-r--r--vendor/web-sys/src/features/gen_VideoTrackList.rs86
-rw-r--r--vendor/web-sys/src/features/gen_VideoTransferCharacteristics.rs16
-rw-r--r--vendor/web-sys/src/features/gen_VisibilityState.rs11
-rw-r--r--vendor/web-sys/src/features/gen_VoidCallback.rs44
-rw-r--r--vendor/web-sys/src/features/gen_VrDisplay.rs173
-rw-r--r--vendor/web-sys/src/features/gen_VrDisplayCapabilities.rs49
-rw-r--r--vendor/web-sys/src/features/gen_VrEye.rs11
-rw-r--r--vendor/web-sys/src/features/gen_VrEyeParameters.rs43
-rw-r--r--vendor/web-sys/src/features/gen_VrFieldOfView.rs42
-rw-r--r--vendor/web-sys/src/features/gen_VrFrameData.rs64
-rw-r--r--vendor/web-sys/src/features/gen_VrLayer.rs76
-rw-r--r--vendor/web-sys/src/features/gen_VrMockController.rs43
-rw-r--r--vendor/web-sys/src/features/gen_VrMockDisplay.rs68
-rw-r--r--vendor/web-sys/src/features/gen_VrPose.rs56
-rw-r--r--vendor/web-sys/src/features/gen_VrServiceTest.rs31
-rw-r--r--vendor/web-sys/src/features/gen_VrStageParameters.rs35
-rw-r--r--vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs35
-rw-r--r--vendor/web-sys/src/features/gen_VttCue.rs179
-rw-r--r--vendor/web-sys/src/features/gen_VttRegion.rs135
-rw-r--r--vendor/web-sys/src/features/gen_WakeLock.rs30
-rw-r--r--vendor/web-sys/src/features/gen_WakeLockSentinel.rs74
-rw-r--r--vendor/web-sys/src/features/gen_WakeLockType.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WatchAdvertisementsOptions.rs55
-rw-r--r--vendor/web-sys/src/features/gen_WaveShaperNode.rs63
-rw-r--r--vendor/web-sys/src/features/gen_WaveShaperOptions.rs111
-rw-r--r--vendor/web-sys/src/features/gen_WebGl2RenderingContext.rs8633
-rw-r--r--vendor/web-sys/src/features/gen_WebGlActiveInfo.rs35
-rw-r--r--vendor/web-sys/src/features/gen_WebGlBuffer.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WebGlContextAttributes.rs177
-rw-r--r--vendor/web-sys/src/features/gen_WebGlContextEvent.rs39
-rw-r--r--vendor/web-sys/src/features/gen_WebGlContextEventInit.rs95
-rw-r--r--vendor/web-sys/src/features/gen_WebGlFramebuffer.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WebGlPowerPreference.rs12
-rw-r--r--vendor/web-sys/src/features/gen_WebGlProgram.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WebGlQuery.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WebGlRenderbuffer.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WebGlRenderingContext.rs3169
-rw-r--r--vendor/web-sys/src/features/gen_WebGlSampler.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WebGlShader.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WebGlShaderPrecisionFormat.rs35
-rw-r--r--vendor/web-sys/src/features/gen_WebGlSync.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WebGlTexture.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WebGlTransformFeedback.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WebGlUniformLocation.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WebGlVertexArrayObject.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WebKitCssMatrix.rs244
-rw-r--r--vendor/web-sys/src/features/gen_WebSocket.rs230
-rw-r--r--vendor/web-sys/src/features/gen_WebSocketDict.rs44
-rw-r--r--vendor/web-sys/src/features/gen_WebSocketElement.rs129
-rw-r--r--vendor/web-sys/src/features/gen_WebglColorBufferFloat.rs32
-rw-r--r--vendor/web-sys/src/features/gen_WebglCompressedTextureAstc.rs135
-rw-r--r--vendor/web-sys/src/features/gen_WebglCompressedTextureAtc.rs28
-rw-r--r--vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs56
-rw-r--r--vendor/web-sys/src/features/gen_WebglCompressedTextureEtc1.rs20
-rw-r--r--vendor/web-sys/src/features/gen_WebglCompressedTexturePvrtc.rs32
-rw-r--r--vendor/web-sys/src/features/gen_WebglCompressedTextureS3tc.rs32
-rw-r--r--vendor/web-sys/src/features/gen_WebglCompressedTextureS3tcSrgb.rs32
-rw-r--r--vendor/web-sys/src/features/gen_WebglDebugRendererInfo.rs24
-rw-r--r--vendor/web-sys/src/features/gen_WebglDebugShaders.rs22
-rw-r--r--vendor/web-sys/src/features/gen_WebglDepthTexture.rs20
-rw-r--r--vendor/web-sys/src/features/gen_WebglDrawBuffers.rs159
-rw-r--r--vendor/web-sys/src/features/gen_WebglLoseContext.rs28
-rw-r--r--vendor/web-sys/src/features/gen_WebglMultiDraw.rs418
-rw-r--r--vendor/web-sys/src/features/gen_WebrtcGlobalStatisticsReport.rs44
-rw-r--r--vendor/web-sys/src/features/gen_WheelEvent.rs74
-rw-r--r--vendor/web-sys/src/features/gen_WheelEventInit.rs534
-rw-r--r--vendor/web-sys/src/features/gen_WidevineCdmManifest.rs152
-rw-r--r--vendor/web-sys/src/features/gen_Window.rs3425
-rw-r--r--vendor/web-sys/src/features/gen_WindowClient.rs43
-rw-r--r--vendor/web-sys/src/features/gen_Worker.rs96
-rw-r--r--vendor/web-sys/src/features/gen_WorkerDebuggerGlobalScope.rs135
-rw-r--r--vendor/web-sys/src/features/gen_WorkerGlobalScope.rs1348
-rw-r--r--vendor/web-sys/src/features/gen_WorkerLocation.rs77
-rw-r--r--vendor/web-sys/src/features/gen_WorkerNavigator.rs151
-rw-r--r--vendor/web-sys/src/features/gen_WorkerOptions.rs72
-rw-r--r--vendor/web-sys/src/features/gen_WorkerType.rs11
-rw-r--r--vendor/web-sys/src/features/gen_Worklet.rs33
-rw-r--r--vendor/web-sys/src/features/gen_WorkletGlobalScope.rs14
-rw-r--r--vendor/web-sys/src/features/gen_WorkletOptions.rs45
-rw-r--r--vendor/web-sys/src/features/gen_WritableStream.rs92
-rw-r--r--vendor/web-sys/src/features/gen_WritableStreamDefaultController.rs36
-rw-r--r--vendor/web-sys/src/features/gen_WritableStreamDefaultWriter.rs91
-rw-r--r--vendor/web-sys/src/features/gen_XPathExpression.rs47
-rw-r--r--vendor/web-sys/src/features/gen_XPathNsResolver.rs44
-rw-r--r--vendor/web-sys/src/features/gen_XPathResult.rs122
-rw-r--r--vendor/web-sys/src/features/gen_XmlDocument.rs35
-rw-r--r--vendor/web-sys/src/features/gen_XmlHttpRequest.rs340
-rw-r--r--vendor/web-sys/src/features/gen_XmlHttpRequestEventTarget.rs112
-rw-r--r--vendor/web-sys/src/features/gen_XmlHttpRequestResponseType.rs15
-rw-r--r--vendor/web-sys/src/features/gen_XmlHttpRequestUpload.rs14
-rw-r--r--vendor/web-sys/src/features/gen_XmlSerializer.rs29
-rw-r--r--vendor/web-sys/src/features/gen_XrBoundedReferenceSpace.rs29
-rw-r--r--vendor/web-sys/src/features/gen_XrEye.rs16
-rw-r--r--vendor/web-sys/src/features/gen_XrFrame.rs116
-rw-r--r--vendor/web-sys/src/features/gen_XrHand.rs41
-rw-r--r--vendor/web-sys/src/features/gen_XrHandJoint.rs38
-rw-r--r--vendor/web-sys/src/features/gen_XrHandedness.rs16
-rw-r--r--vendor/web-sys/src/features/gen_XrInputSource.rs101
-rw-r--r--vendor/web-sys/src/features/gen_XrInputSourceArray.rs41
-rw-r--r--vendor/web-sys/src/features/gen_XrInputSourceEvent.rs57
-rw-r--r--vendor/web-sys/src/features/gen_XrInputSourceEventInit.rs136
-rw-r--r--vendor/web-sys/src/features/gen_XrInputSourcesChangeEvent.rs67
-rw-r--r--vendor/web-sys/src/features/gen_XrInputSourcesChangeEventInit.rs161
-rw-r--r--vendor/web-sys/src/features/gen_XrJointPose.rs29
-rw-r--r--vendor/web-sys/src/features/gen_XrJointSpace.rs30
-rw-r--r--vendor/web-sys/src/features/gen_XrLayer.rs18
-rw-r--r--vendor/web-sys/src/features/gen_XrPermissionDescriptor.rs110
-rw-r--r--vendor/web-sys/src/features/gen_XrPermissionStatus.rs40
-rw-r--r--vendor/web-sys/src/features/gen_XrPose.rs65
-rw-r--r--vendor/web-sys/src/features/gen_XrReferenceSpace.rs55
-rw-r--r--vendor/web-sys/src/features/gen_XrReferenceSpaceEvent.rs57
-rw-r--r--vendor/web-sys/src/features/gen_XrReferenceSpaceEventInit.rs139
-rw-r--r--vendor/web-sys/src/features/gen_XrReferenceSpaceType.rs18
-rw-r--r--vendor/web-sys/src/features/gen_XrRenderState.rs63
-rw-r--r--vendor/web-sys/src/features/gen_XrRenderStateInit.rs139
-rw-r--r--vendor/web-sys/src/features/gen_XrRigidTransform.rs102
-rw-r--r--vendor/web-sys/src/features/gen_XrSession.rs378
-rw-r--r--vendor/web-sys/src/features/gen_XrSessionEvent.rs45
-rw-r--r--vendor/web-sys/src/features/gen_XrSessionEventInit.rs117
-rw-r--r--vendor/web-sys/src/features/gen_XrSessionInit.rs78
-rw-r--r--vendor/web-sys/src/features/gen_XrSessionMode.rs16
-rw-r--r--vendor/web-sys/src/features/gen_XrSessionSupportedPermissionDescriptor.rs68
-rw-r--r--vendor/web-sys/src/features/gen_XrSpace.rs18
-rw-r--r--vendor/web-sys/src/features/gen_XrSystem.rs80
-rw-r--r--vendor/web-sys/src/features/gen_XrTargetRayMode.rs16
-rw-r--r--vendor/web-sys/src/features/gen_XrView.rs75
-rw-r--r--vendor/web-sys/src/features/gen_XrViewerPose.rs29
-rw-r--r--vendor/web-sys/src/features/gen_XrViewport.rs62
-rw-r--r--vendor/web-sys/src/features/gen_XrVisibilityState.rs16
-rw-r--r--vendor/web-sys/src/features/gen_XrWebGlLayer.rs190
-rw-r--r--vendor/web-sys/src/features/gen_XrWebGlLayerInit.rs154
-rw-r--r--vendor/web-sys/src/features/gen_XsltProcessor.rs86
-rw-r--r--vendor/web-sys/src/features/gen_console.rs1615
-rw-r--r--vendor/web-sys/src/features/gen_css.rs29
-rw-r--r--vendor/web-sys/src/features/gen_gpu_buffer_usage.rs89
-rw-r--r--vendor/web-sys/src/features/gen_gpu_color_write.rs49
-rw-r--r--vendor/web-sys/src/features/gen_gpu_map_mode.rs25
-rw-r--r--vendor/web-sys/src/features/gen_gpu_shader_stage.rs33
-rw-r--r--vendor/web-sys/src/features/gen_gpu_texture_usage.rs49
-rw-r--r--vendor/web-sys/src/features/mod.rs9131
-rw-r--r--vendor/web-sys/src/lib.rs32
1524 files changed, 167258 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_AbortController.rs b/vendor/web-sys/src/features/gen_AbortController.rs
new file mode 100644
index 000000000..95776f74a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AbortController.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AbortController , typescript_type = "AbortController")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AbortController` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortController`*"]
+ pub type AbortController;
+ #[cfg(feature = "AbortSignal")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AbortController" , js_name = signal)]
+ #[doc = "Getter for the `signal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/signal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortController`, `AbortSignal`*"]
+ pub fn signal(this: &AbortController) -> AbortSignal;
+ #[wasm_bindgen(catch, constructor, js_class = "AbortController")]
+ #[doc = "The `new AbortController(..)` constructor, creating a new instance of `AbortController`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/AbortController)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortController`*"]
+ pub fn new() -> Result<AbortController, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "AbortController" , js_name = abort)]
+ #[doc = "The `abort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortController`*"]
+ pub fn abort(this: &AbortController);
+}
diff --git a/vendor/web-sys/src/features/gen_AbortSignal.rs b/vendor/web-sys/src/features/gen_AbortSignal.rs
new file mode 100644
index 000000000..081fa5c49
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AbortSignal.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = AbortSignal , typescript_type = "AbortSignal")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AbortSignal` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortSignal`*"]
+ pub type AbortSignal;
+ # [wasm_bindgen (structural , method , getter , js_class = "AbortSignal" , js_name = aborted)]
+ #[doc = "Getter for the `aborted` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/aborted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortSignal`*"]
+ pub fn aborted(this: &AbortSignal) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "AbortSignal" , js_name = onabort)]
+ #[doc = "Getter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortSignal`*"]
+ pub fn onabort(this: &AbortSignal) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "AbortSignal" , js_name = onabort)]
+ #[doc = "Setter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortSignal`*"]
+ pub fn set_onabort(this: &AbortSignal, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_AddEventListenerOptions.rs b/vendor/web-sys/src/features/gen_AddEventListenerOptions.rs
new file mode 100644
index 000000000..c2de0cad6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AddEventListenerOptions.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AddEventListenerOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AddEventListenerOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AddEventListenerOptions`*"]
+ pub type AddEventListenerOptions;
+}
+impl AddEventListenerOptions {
+ #[doc = "Construct a new `AddEventListenerOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AddEventListenerOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `capture` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AddEventListenerOptions`*"]
+ pub fn capture(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("capture"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `once` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AddEventListenerOptions`*"]
+ pub fn once(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("once"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `passive` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AddEventListenerOptions`*"]
+ pub fn passive(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("passive"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AddEventListenerOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AesCbcParams.rs b/vendor/web-sys/src/features/gen_AesCbcParams.rs
new file mode 100644
index 000000000..475d94981
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AesCbcParams.rs
@@ -0,0 +1,50 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesCbcParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AesCbcParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesCbcParams`*"]
+ pub type AesCbcParams;
+}
+impl AesCbcParams {
+ #[doc = "Construct a new `AesCbcParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesCbcParams`*"]
+ pub fn new(name: &str, iv: &::js_sys::Object) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.iv(iv);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesCbcParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iv` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesCbcParams`*"]
+ pub fn iv(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("iv"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AesCtrParams.rs b/vendor/web-sys/src/features/gen_AesCtrParams.rs
new file mode 100644
index 000000000..ec60d3fd4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AesCtrParams.rs
@@ -0,0 +1,69 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesCtrParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AesCtrParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesCtrParams`*"]
+ pub type AesCtrParams;
+}
+impl AesCtrParams {
+ #[doc = "Construct a new `AesCtrParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesCtrParams`*"]
+ pub fn new(name: &str, counter: &::js_sys::Object, length: u8) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.counter(counter);
+ ret.length(length);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesCtrParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `counter` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesCtrParams`*"]
+ pub fn counter(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("counter"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesCtrParams`*"]
+ pub fn length(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("length"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AesDerivedKeyParams.rs b/vendor/web-sys/src/features/gen_AesDerivedKeyParams.rs
new file mode 100644
index 000000000..46bcc59a4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AesDerivedKeyParams.rs
@@ -0,0 +1,51 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesDerivedKeyParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AesDerivedKeyParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesDerivedKeyParams`*"]
+ pub type AesDerivedKeyParams;
+}
+impl AesDerivedKeyParams {
+ #[doc = "Construct a new `AesDerivedKeyParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesDerivedKeyParams`*"]
+ pub fn new(name: &str, length: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.length(length);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesDerivedKeyParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesDerivedKeyParams`*"]
+ pub fn length(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("length"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AesGcmParams.rs b/vendor/web-sys/src/features/gen_AesGcmParams.rs
new file mode 100644
index 000000000..8f361d1f5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AesGcmParams.rs
@@ -0,0 +1,84 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesGcmParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AesGcmParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesGcmParams`*"]
+ pub type AesGcmParams;
+}
+impl AesGcmParams {
+ #[doc = "Construct a new `AesGcmParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesGcmParams`*"]
+ pub fn new(name: &str, iv: &::js_sys::Object) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.iv(iv);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesGcmParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `additionalData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesGcmParams`*"]
+ pub fn additional_data(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("additionalData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iv` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesGcmParams`*"]
+ pub fn iv(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("iv"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `tagLength` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesGcmParams`*"]
+ pub fn tag_length(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("tagLength"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AesKeyAlgorithm.rs b/vendor/web-sys/src/features/gen_AesKeyAlgorithm.rs
new file mode 100644
index 000000000..380782f05
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AesKeyAlgorithm.rs
@@ -0,0 +1,51 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesKeyAlgorithm)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AesKeyAlgorithm` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesKeyAlgorithm`*"]
+ pub type AesKeyAlgorithm;
+}
+impl AesKeyAlgorithm {
+ #[doc = "Construct a new `AesKeyAlgorithm`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesKeyAlgorithm`*"]
+ pub fn new(name: &str, length: u16) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.length(length);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesKeyAlgorithm`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesKeyAlgorithm`*"]
+ pub fn length(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("length"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AesKeyGenParams.rs b/vendor/web-sys/src/features/gen_AesKeyGenParams.rs
new file mode 100644
index 000000000..016d2b88f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AesKeyGenParams.rs
@@ -0,0 +1,51 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesKeyGenParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AesKeyGenParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesKeyGenParams`*"]
+ pub type AesKeyGenParams;
+}
+impl AesKeyGenParams {
+ #[doc = "Construct a new `AesKeyGenParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesKeyGenParams`*"]
+ pub fn new(name: &str, length: u16) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.length(length);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesKeyGenParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AesKeyGenParams`*"]
+ pub fn length(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("length"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Algorithm.rs b/vendor/web-sys/src/features/gen_Algorithm.rs
new file mode 100644
index 000000000..d0263e74f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Algorithm.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Algorithm)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Algorithm` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Algorithm`*"]
+ pub type Algorithm;
+}
+impl Algorithm {
+ #[doc = "Construct a new `Algorithm`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Algorithm`*"]
+ pub fn new(name: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Algorithm`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AlignSetting.rs b/vendor/web-sys/src/features/gen_AlignSetting.rs
new file mode 100644
index 000000000..b80070997
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AlignSetting.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `AlignSetting` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `AlignSetting`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum AlignSetting {
+ Start = "start",
+ Center = "center",
+ End = "end",
+ Left = "left",
+ Right = "right",
+}
diff --git a/vendor/web-sys/src/features/gen_AllowedBluetoothDevice.rs b/vendor/web-sys/src/features/gen_AllowedBluetoothDevice.rs
new file mode 100644
index 000000000..82f734e99
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AllowedBluetoothDevice.rs
@@ -0,0 +1,100 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AllowedBluetoothDevice)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AllowedBluetoothDevice` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AllowedBluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AllowedBluetoothDevice;
+}
+#[cfg(web_sys_unstable_apis)]
+impl AllowedBluetoothDevice {
+ #[doc = "Construct a new `AllowedBluetoothDevice`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AllowedBluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ allowed_services: &::wasm_bindgen::JsValue,
+ device_id: &str,
+ may_use_gatt: bool,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.allowed_services(allowed_services);
+ ret.device_id(device_id);
+ ret.may_use_gatt(may_use_gatt);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `allowedServices` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AllowedBluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn allowed_services(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("allowedServices"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `deviceId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AllowedBluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("deviceId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `mayUseGATT` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AllowedBluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn may_use_gatt(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mayUseGATT"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AllowedUsbDevice.rs b/vendor/web-sys/src/features/gen_AllowedUsbDevice.rs
new file mode 100644
index 000000000..b4b082f13
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AllowedUsbDevice.rs
@@ -0,0 +1,95 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AllowedUSBDevice)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AllowedUsbDevice` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AllowedUsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AllowedUsbDevice;
+}
+#[cfg(web_sys_unstable_apis)]
+impl AllowedUsbDevice {
+ #[doc = "Construct a new `AllowedUsbDevice`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AllowedUsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(product_id: u8, vendor_id: u8) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.product_id(product_id);
+ ret.vendor_id(vendor_id);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `productId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AllowedUsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn product_id(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("productId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `serialNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AllowedUsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn serial_number(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("serialNumber"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `vendorId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AllowedUsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn vendor_id(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("vendorId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AlphaOption.rs b/vendor/web-sys/src/features/gen_AlphaOption.rs
new file mode 100644
index 000000000..1984e555e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AlphaOption.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `AlphaOption` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `AlphaOption`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum AlphaOption {
+ Keep = "keep",
+ Discard = "discard",
+}
diff --git a/vendor/web-sys/src/features/gen_AnalyserNode.rs b/vendor/web-sys/src/features/gen_AnalyserNode.rs
new file mode 100644
index 000000000..a659b628c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AnalyserNode.rs
@@ -0,0 +1,124 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AnalyserNode , typescript_type = "AnalyserNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AnalyserNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub type AnalyserNode;
+ # [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = fftSize)]
+ #[doc = "Getter for the `fftSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/fftSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn fft_size(this: &AnalyserNode) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "AnalyserNode" , js_name = fftSize)]
+ #[doc = "Setter for the `fftSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/fftSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn set_fft_size(this: &AnalyserNode, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = frequencyBinCount)]
+ #[doc = "Getter for the `frequencyBinCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/frequencyBinCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn frequency_bin_count(this: &AnalyserNode) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = minDecibels)]
+ #[doc = "Getter for the `minDecibels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/minDecibels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn min_decibels(this: &AnalyserNode) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "AnalyserNode" , js_name = minDecibels)]
+ #[doc = "Setter for the `minDecibels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/minDecibels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn set_min_decibels(this: &AnalyserNode, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = maxDecibels)]
+ #[doc = "Getter for the `maxDecibels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/maxDecibels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn max_decibels(this: &AnalyserNode) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "AnalyserNode" , js_name = maxDecibels)]
+ #[doc = "Setter for the `maxDecibels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/maxDecibels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn set_max_decibels(this: &AnalyserNode, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = smoothingTimeConstant)]
+ #[doc = "Getter for the `smoothingTimeConstant` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/smoothingTimeConstant)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn smoothing_time_constant(this: &AnalyserNode) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "AnalyserNode" , js_name = smoothingTimeConstant)]
+ #[doc = "Setter for the `smoothingTimeConstant` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/smoothingTimeConstant)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn set_smoothing_time_constant(this: &AnalyserNode, value: f64);
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "AnalyserNode")]
+ #[doc = "The `new AnalyserNode(..)` constructor, creating a new instance of `AnalyserNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/AnalyserNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`, `BaseAudioContext`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<AnalyserNode, JsValue>;
+ #[cfg(all(feature = "AnalyserOptions", feature = "BaseAudioContext",))]
+ #[wasm_bindgen(catch, constructor, js_class = "AnalyserNode")]
+ #[doc = "The `new AnalyserNode(..)` constructor, creating a new instance of `AnalyserNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/AnalyserNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`, `AnalyserOptions`, `BaseAudioContext`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &AnalyserOptions,
+ ) -> Result<AnalyserNode, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "AnalyserNode" , js_name = getByteFrequencyData)]
+ #[doc = "The `getByteFrequencyData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getByteFrequencyData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn get_byte_frequency_data(this: &AnalyserNode, array: &mut [u8]);
+ # [wasm_bindgen (method , structural , js_class = "AnalyserNode" , js_name = getByteTimeDomainData)]
+ #[doc = "The `getByteTimeDomainData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getByteTimeDomainData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn get_byte_time_domain_data(this: &AnalyserNode, array: &mut [u8]);
+ # [wasm_bindgen (method , structural , js_class = "AnalyserNode" , js_name = getFloatFrequencyData)]
+ #[doc = "The `getFloatFrequencyData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatFrequencyData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn get_float_frequency_data(this: &AnalyserNode, array: &mut [f32]);
+ # [wasm_bindgen (method , structural , js_class = "AnalyserNode" , js_name = getFloatTimeDomainData)]
+ #[doc = "The `getFloatTimeDomainData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatTimeDomainData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
+ pub fn get_float_time_domain_data(this: &AnalyserNode, array: &mut [f32]);
+}
diff --git a/vendor/web-sys/src/features/gen_AnalyserOptions.rs b/vendor/web-sys/src/features/gen_AnalyserOptions.rs
new file mode 100644
index 000000000..a5a73c278
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AnalyserOptions.rs
@@ -0,0 +1,148 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnalyserOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AnalyserOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserOptions`*"]
+ pub type AnalyserOptions;
+}
+impl AnalyserOptions {
+ #[doc = "Construct a new `AnalyserOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserOptions`, `ChannelCountMode`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserOptions`, `ChannelInterpretation`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `fftSize` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserOptions`*"]
+ pub fn fft_size(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("fftSize"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `maxDecibels` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserOptions`*"]
+ pub fn max_decibels(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maxDecibels"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `minDecibels` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserOptions`*"]
+ pub fn min_decibels(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("minDecibels"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `smoothingTimeConstant` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserOptions`*"]
+ pub fn smoothing_time_constant(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("smoothingTimeConstant"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AnalyserOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AngleInstancedArrays.rs b/vendor/web-sys/src/features/gen_AngleInstancedArrays.rs
new file mode 100644
index 000000000..2fd99e723
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AngleInstancedArrays.rs
@@ -0,0 +1,68 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = ANGLE_instanced_arrays , typescript_type = "ANGLE_instanced_arrays")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AngleInstancedArrays` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
+ pub type AngleInstancedArrays;
+ # [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawArraysInstancedANGLE)]
+ #[doc = "The `drawArraysInstancedANGLE()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/drawArraysInstancedANGLE)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
+ pub fn draw_arrays_instanced_angle(
+ this: &AngleInstancedArrays,
+ mode: u32,
+ first: i32,
+ count: i32,
+ primcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE)]
+ #[doc = "The `drawElementsInstancedANGLE()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/drawElementsInstancedANGLE)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
+ pub fn draw_elements_instanced_angle_with_i32(
+ this: &AngleInstancedArrays,
+ mode: u32,
+ count: i32,
+ type_: u32,
+ offset: i32,
+ primcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE)]
+ #[doc = "The `drawElementsInstancedANGLE()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/drawElementsInstancedANGLE)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
+ pub fn draw_elements_instanced_angle_with_f64(
+ this: &AngleInstancedArrays,
+ mode: u32,
+ count: i32,
+ type_: u32,
+ offset: f64,
+ primcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = vertexAttribDivisorANGLE)]
+ #[doc = "The `vertexAttribDivisorANGLE()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/vertexAttribDivisorANGLE)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
+ pub fn vertex_attrib_divisor_angle(this: &AngleInstancedArrays, index: u32, divisor: u32);
+}
+impl AngleInstancedArrays {
+ #[doc = "The `ANGLE_instanced_arrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
+ pub const VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: u32 = 35070u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_Animation.rs b/vendor/web-sys/src/features/gen_Animation.rs
new file mode 100644
index 000000000..9862eab32
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Animation.rs
@@ -0,0 +1,227 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Animation , typescript_type = "Animation")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Animation` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub type Animation;
+ # [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn id(this: &Animation) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = id)]
+ #[doc = "Setter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn set_id(this: &Animation, value: &str);
+ #[cfg(feature = "AnimationEffect")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = effect)]
+ #[doc = "Getter for the `effect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/effect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`*"]
+ pub fn effect(this: &Animation) -> Option<AnimationEffect>;
+ #[cfg(feature = "AnimationEffect")]
+ # [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = effect)]
+ #[doc = "Setter for the `effect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/effect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`*"]
+ pub fn set_effect(this: &Animation, value: Option<&AnimationEffect>);
+ #[cfg(feature = "AnimationTimeline")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = timeline)]
+ #[doc = "Getter for the `timeline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/timeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationTimeline`*"]
+ pub fn timeline(this: &Animation) -> Option<AnimationTimeline>;
+ #[cfg(feature = "AnimationTimeline")]
+ # [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = timeline)]
+ #[doc = "Setter for the `timeline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/timeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationTimeline`*"]
+ pub fn set_timeline(this: &Animation, value: Option<&AnimationTimeline>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = startTime)]
+ #[doc = "Getter for the `startTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/startTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn start_time(this: &Animation) -> Option<f64>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = startTime)]
+ #[doc = "Setter for the `startTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/startTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn set_start_time(this: &Animation, value: Option<f64>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = currentTime)]
+ #[doc = "Getter for the `currentTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/currentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn current_time(this: &Animation) -> Option<f64>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = currentTime)]
+ #[doc = "Setter for the `currentTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/currentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn set_current_time(this: &Animation, value: Option<f64>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = playbackRate)]
+ #[doc = "Getter for the `playbackRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/playbackRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn playback_rate(this: &Animation) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = playbackRate)]
+ #[doc = "Setter for the `playbackRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/playbackRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn set_playback_rate(this: &Animation, value: f64);
+ #[cfg(feature = "AnimationPlayState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = playState)]
+ #[doc = "Getter for the `playState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/playState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationPlayState`*"]
+ pub fn play_state(this: &Animation) -> AnimationPlayState;
+ # [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = pending)]
+ #[doc = "Getter for the `pending` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/pending)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn pending(this: &Animation) -> bool;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Animation" , js_name = ready)]
+ #[doc = "Getter for the `ready` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/ready)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn ready(this: &Animation) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Animation" , js_name = finished)]
+ #[doc = "Getter for the `finished` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/finished)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn finished(this: &Animation) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = onfinish)]
+ #[doc = "Getter for the `onfinish` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/onfinish)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn onfinish(this: &Animation) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = onfinish)]
+ #[doc = "Setter for the `onfinish` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/onfinish)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn set_onfinish(this: &Animation, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Animation" , js_name = oncancel)]
+ #[doc = "Getter for the `oncancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/oncancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn oncancel(this: &Animation) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Animation" , js_name = oncancel)]
+ #[doc = "Setter for the `oncancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/oncancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn set_oncancel(this: &Animation, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "Animation")]
+ #[doc = "The `new Animation(..)` constructor, creating a new instance of `Animation`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/Animation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn new() -> Result<Animation, JsValue>;
+ #[cfg(feature = "AnimationEffect")]
+ #[wasm_bindgen(catch, constructor, js_class = "Animation")]
+ #[doc = "The `new Animation(..)` constructor, creating a new instance of `Animation`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/Animation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`*"]
+ pub fn new_with_effect(effect: Option<&AnimationEffect>) -> Result<Animation, JsValue>;
+ #[cfg(all(feature = "AnimationEffect", feature = "AnimationTimeline",))]
+ #[wasm_bindgen(catch, constructor, js_class = "Animation")]
+ #[doc = "The `new Animation(..)` constructor, creating a new instance of `Animation`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/Animation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`, `AnimationTimeline`*"]
+ pub fn new_with_effect_and_timeline(
+ effect: Option<&AnimationEffect>,
+ timeline: Option<&AnimationTimeline>,
+ ) -> Result<Animation, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Animation" , js_name = cancel)]
+ #[doc = "The `cancel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/cancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn cancel(this: &Animation);
+ # [wasm_bindgen (catch , method , structural , js_class = "Animation" , js_name = finish)]
+ #[doc = "The `finish()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/finish)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn finish(this: &Animation) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Animation" , js_name = pause)]
+ #[doc = "The `pause()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/pause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn pause(this: &Animation) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Animation" , js_name = play)]
+ #[doc = "The `play()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/play)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn play(this: &Animation) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Animation" , js_name = reverse)]
+ #[doc = "The `reverse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/reverse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn reverse(this: &Animation) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Animation" , js_name = updatePlaybackRate)]
+ #[doc = "The `updatePlaybackRate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/updatePlaybackRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Animation`*"]
+ pub fn update_playback_rate(this: &Animation, playback_rate: f64);
+}
diff --git a/vendor/web-sys/src/features/gen_AnimationEffect.rs b/vendor/web-sys/src/features/gen_AnimationEffect.rs
new file mode 100644
index 000000000..b57dc8ba4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AnimationEffect.rs
@@ -0,0 +1,48 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationEffect , typescript_type = "AnimationEffect")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AnimationEffect` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEffect`*"]
+ pub type AnimationEffect;
+ #[cfg(feature = "ComputedEffectTiming")]
+ # [wasm_bindgen (method , structural , js_class = "AnimationEffect" , js_name = getComputedTiming)]
+ #[doc = "The `getComputedTiming()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/getComputedTiming)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEffect`, `ComputedEffectTiming`*"]
+ pub fn get_computed_timing(this: &AnimationEffect) -> ComputedEffectTiming;
+ #[cfg(feature = "EffectTiming")]
+ # [wasm_bindgen (method , structural , js_class = "AnimationEffect" , js_name = getTiming)]
+ #[doc = "The `getTiming()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/getTiming)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEffect`, `EffectTiming`*"]
+ pub fn get_timing(this: &AnimationEffect) -> EffectTiming;
+ # [wasm_bindgen (catch , method , structural , js_class = "AnimationEffect" , js_name = updateTiming)]
+ #[doc = "The `updateTiming()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/updateTiming)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEffect`*"]
+ pub fn update_timing(this: &AnimationEffect) -> Result<(), JsValue>;
+ #[cfg(feature = "OptionalEffectTiming")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AnimationEffect" , js_name = updateTiming)]
+ #[doc = "The `updateTiming()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/updateTiming)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEffect`, `OptionalEffectTiming`*"]
+ pub fn update_timing_with_timing(
+ this: &AnimationEffect,
+ timing: &OptionalEffectTiming,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_AnimationEvent.rs b/vendor/web-sys/src/features/gen_AnimationEvent.rs
new file mode 100644
index 000000000..b18d8f91a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AnimationEvent.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = AnimationEvent , typescript_type = "AnimationEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AnimationEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEvent`*"]
+ pub type AnimationEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "AnimationEvent" , js_name = animationName)]
+ #[doc = "Getter for the `animationName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/animationName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEvent`*"]
+ pub fn animation_name(this: &AnimationEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "AnimationEvent" , js_name = elapsedTime)]
+ #[doc = "Getter for the `elapsedTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/elapsedTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEvent`*"]
+ pub fn elapsed_time(this: &AnimationEvent) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "AnimationEvent" , js_name = pseudoElement)]
+ #[doc = "Getter for the `pseudoElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/pseudoElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEvent`*"]
+ pub fn pseudo_element(this: &AnimationEvent) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "AnimationEvent")]
+ #[doc = "The `new AnimationEvent(..)` constructor, creating a new instance of `AnimationEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/AnimationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEvent`*"]
+ pub fn new(type_: &str) -> Result<AnimationEvent, JsValue>;
+ #[cfg(feature = "AnimationEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "AnimationEvent")]
+ #[doc = "The `new AnimationEvent(..)` constructor, creating a new instance of `AnimationEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/AnimationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEvent`, `AnimationEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &AnimationEventInit,
+ ) -> Result<AnimationEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_AnimationEventInit.rs b/vendor/web-sys/src/features/gen_AnimationEventInit.rs
new file mode 100644
index 000000000..163a55b43
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AnimationEventInit.rs
@@ -0,0 +1,129 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AnimationEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEventInit`*"]
+ pub type AnimationEventInit;
+}
+impl AnimationEventInit {
+ #[doc = "Construct a new `AnimationEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `animationName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEventInit`*"]
+ pub fn animation_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("animationName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `elapsedTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEventInit`*"]
+ pub fn elapsed_time(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("elapsedTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pseudoElement` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationEventInit`*"]
+ pub fn pseudo_element(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pseudoElement"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AnimationEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AnimationPlayState.rs b/vendor/web-sys/src/features/gen_AnimationPlayState.rs
new file mode 100644
index 000000000..690e5eee3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AnimationPlayState.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `AnimationPlayState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `AnimationPlayState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum AnimationPlayState {
+ Idle = "idle",
+ Running = "running",
+ Paused = "paused",
+ Finished = "finished",
+}
diff --git a/vendor/web-sys/src/features/gen_AnimationPlaybackEvent.rs b/vendor/web-sys/src/features/gen_AnimationPlaybackEvent.rs
new file mode 100644
index 000000000..336e49a06
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AnimationPlaybackEvent.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = AnimationPlaybackEvent , typescript_type = "AnimationPlaybackEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AnimationPlaybackEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*"]
+ pub type AnimationPlaybackEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "AnimationPlaybackEvent" , js_name = currentTime)]
+ #[doc = "Getter for the `currentTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/currentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*"]
+ pub fn current_time(this: &AnimationPlaybackEvent) -> Option<f64>;
+ # [wasm_bindgen (structural , method , getter , js_class = "AnimationPlaybackEvent" , js_name = timelineTime)]
+ #[doc = "Getter for the `timelineTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/timelineTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*"]
+ pub fn timeline_time(this: &AnimationPlaybackEvent) -> Option<f64>;
+ #[wasm_bindgen(catch, constructor, js_class = "AnimationPlaybackEvent")]
+ #[doc = "The `new AnimationPlaybackEvent(..)` constructor, creating a new instance of `AnimationPlaybackEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/AnimationPlaybackEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*"]
+ pub fn new(type_: &str) -> Result<AnimationPlaybackEvent, JsValue>;
+ #[cfg(feature = "AnimationPlaybackEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "AnimationPlaybackEvent")]
+ #[doc = "The `new AnimationPlaybackEvent(..)` constructor, creating a new instance of `AnimationPlaybackEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/AnimationPlaybackEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEvent`, `AnimationPlaybackEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &AnimationPlaybackEventInit,
+ ) -> Result<AnimationPlaybackEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_AnimationPlaybackEventInit.rs b/vendor/web-sys/src/features/gen_AnimationPlaybackEventInit.rs
new file mode 100644
index 000000000..2cdaf0702
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AnimationPlaybackEventInit.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationPlaybackEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AnimationPlaybackEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEventInit`*"]
+ pub type AnimationPlaybackEventInit;
+}
+impl AnimationPlaybackEventInit {
+ #[doc = "Construct a new `AnimationPlaybackEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `currentTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEventInit`*"]
+ pub fn current_time(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("currentTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timelineTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPlaybackEventInit`*"]
+ pub fn timeline_time(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timelineTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AnimationPlaybackEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AnimationPropertyDetails.rs b/vendor/web-sys/src/features/gen_AnimationPropertyDetails.rs
new file mode 100644
index 000000000..7cf81edd9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AnimationPropertyDetails.rs
@@ -0,0 +1,94 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationPropertyDetails)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AnimationPropertyDetails` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPropertyDetails`*"]
+ pub type AnimationPropertyDetails;
+}
+impl AnimationPropertyDetails {
+ #[doc = "Construct a new `AnimationPropertyDetails`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPropertyDetails`*"]
+ pub fn new(
+ property: &str,
+ running_on_compositor: bool,
+ values: &::wasm_bindgen::JsValue,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.property(property);
+ ret.running_on_compositor(running_on_compositor);
+ ret.values(values);
+ ret
+ }
+ #[doc = "Change the `property` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPropertyDetails`*"]
+ pub fn property(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("property"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `runningOnCompositor` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPropertyDetails`*"]
+ pub fn running_on_compositor(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("runningOnCompositor"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `values` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPropertyDetails`*"]
+ pub fn values(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("values"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `warning` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPropertyDetails`*"]
+ pub fn warning(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("warning"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AnimationPropertyValueDetails.rs b/vendor/web-sys/src/features/gen_AnimationPropertyValueDetails.rs
new file mode 100644
index 000000000..71b218c37
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AnimationPropertyValueDetails.rs
@@ -0,0 +1,84 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationPropertyValueDetails)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AnimationPropertyValueDetails` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPropertyValueDetails`*"]
+ pub type AnimationPropertyValueDetails;
+}
+impl AnimationPropertyValueDetails {
+ #[cfg(feature = "CompositeOperation")]
+ #[doc = "Construct a new `AnimationPropertyValueDetails`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPropertyValueDetails`, `CompositeOperation`*"]
+ pub fn new(composite: CompositeOperation, offset: f64) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.composite(composite);
+ ret.offset(offset);
+ ret
+ }
+ #[cfg(feature = "CompositeOperation")]
+ #[doc = "Change the `composite` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPropertyValueDetails`, `CompositeOperation`*"]
+ pub fn composite(&mut self, val: CompositeOperation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composite"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `easing` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPropertyValueDetails`*"]
+ pub fn easing(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("easing"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPropertyValueDetails`*"]
+ pub fn offset(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("offset"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationPropertyValueDetails`*"]
+ pub fn value(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AnimationTimeline.rs b/vendor/web-sys/src/features/gen_AnimationTimeline.rs
new file mode 100644
index 000000000..33c3fed39
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AnimationTimeline.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationTimeline , typescript_type = "AnimationTimeline")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AnimationTimeline` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationTimeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationTimeline`*"]
+ pub type AnimationTimeline;
+ # [wasm_bindgen (structural , method , getter , js_class = "AnimationTimeline" , js_name = currentTime)]
+ #[doc = "Getter for the `currentTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationTimeline/currentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnimationTimeline`*"]
+ pub fn current_time(this: &AnimationTimeline) -> Option<f64>;
+}
diff --git a/vendor/web-sys/src/features/gen_AssignedNodesOptions.rs b/vendor/web-sys/src/features/gen_AssignedNodesOptions.rs
new file mode 100644
index 000000000..69471ffaa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AssignedNodesOptions.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AssignedNodesOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AssignedNodesOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AssignedNodesOptions`*"]
+ pub type AssignedNodesOptions;
+}
+impl AssignedNodesOptions {
+ #[doc = "Construct a new `AssignedNodesOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AssignedNodesOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `flatten` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AssignedNodesOptions`*"]
+ pub fn flatten(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("flatten"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AssignedNodesOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AttestationConveyancePreference.rs b/vendor/web-sys/src/features/gen_AttestationConveyancePreference.rs
new file mode 100644
index 000000000..28ea13c46
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AttestationConveyancePreference.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `AttestationConveyancePreference` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `AttestationConveyancePreference`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum AttestationConveyancePreference {
+ None = "none",
+ Indirect = "indirect",
+ Direct = "direct",
+}
diff --git a/vendor/web-sys/src/features/gen_Attr.rs b/vendor/web-sys/src/features/gen_Attr.rs
new file mode 100644
index 000000000..6948e2427
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Attr.rs
@@ -0,0 +1,63 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = Attr , typescript_type = "Attr")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Attr` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
+ pub type Attr;
+ # [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = localName)]
+ #[doc = "Getter for the `localName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/localName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
+ pub fn local_name(this: &Attr) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
+ pub fn value(this: &Attr) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "Attr" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
+ pub fn set_value(this: &Attr, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
+ pub fn name(this: &Attr) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = namespaceURI)]
+ #[doc = "Getter for the `namespaceURI` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/namespaceURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
+ pub fn namespace_uri(this: &Attr) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = prefix)]
+ #[doc = "Getter for the `prefix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/prefix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
+ pub fn prefix(this: &Attr) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = specified)]
+ #[doc = "Getter for the `specified` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/specified)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
+ pub fn specified(this: &Attr) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_AttributeNameValue.rs b/vendor/web-sys/src/features/gen_AttributeNameValue.rs
new file mode 100644
index 000000000..d2088a9ed
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AttributeNameValue.rs
@@ -0,0 +1,50 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AttributeNameValue)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AttributeNameValue` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AttributeNameValue`*"]
+ pub type AttributeNameValue;
+}
+impl AttributeNameValue {
+ #[doc = "Construct a new `AttributeNameValue`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AttributeNameValue`*"]
+ pub fn new(name: &str, value: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.value(value);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AttributeNameValue`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AttributeNameValue`*"]
+ pub fn value(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioBuffer.rs b/vendor/web-sys/src/features/gen_AudioBuffer.rs
new file mode 100644
index 000000000..5f350bc6f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioBuffer.rs
@@ -0,0 +1,103 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioBuffer , typescript_type = "AudioBuffer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioBuffer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
+ pub type AudioBuffer;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioBuffer" , js_name = sampleRate)]
+ #[doc = "Getter for the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/sampleRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
+ pub fn sample_rate(this: &AudioBuffer) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioBuffer" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
+ pub fn length(this: &AudioBuffer) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioBuffer" , js_name = duration)]
+ #[doc = "Getter for the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/duration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
+ pub fn duration(this: &AudioBuffer) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioBuffer" , js_name = numberOfChannels)]
+ #[doc = "Getter for the `numberOfChannels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/numberOfChannels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
+ pub fn number_of_channels(this: &AudioBuffer) -> u32;
+ #[cfg(feature = "AudioBufferOptions")]
+ #[wasm_bindgen(catch, constructor, js_class = "AudioBuffer")]
+ #[doc = "The `new AudioBuffer(..)` constructor, creating a new instance of `AudioBuffer`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/AudioBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferOptions`*"]
+ pub fn new(options: &AudioBufferOptions) -> Result<AudioBuffer, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioBuffer" , js_name = copyFromChannel)]
+ #[doc = "The `copyFromChannel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyFromChannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
+ pub fn copy_from_channel(
+ this: &AudioBuffer,
+ destination: &mut [f32],
+ channel_number: i32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioBuffer" , js_name = copyFromChannel)]
+ #[doc = "The `copyFromChannel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyFromChannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
+ pub fn copy_from_channel_with_start_in_channel(
+ this: &AudioBuffer,
+ destination: &mut [f32],
+ channel_number: i32,
+ start_in_channel: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioBuffer" , js_name = copyToChannel)]
+ #[doc = "The `copyToChannel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyToChannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
+ pub fn copy_to_channel(
+ this: &AudioBuffer,
+ source: &[f32],
+ channel_number: i32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioBuffer" , js_name = copyToChannel)]
+ #[doc = "The `copyToChannel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyToChannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
+ pub fn copy_to_channel_with_start_in_channel(
+ this: &AudioBuffer,
+ source: &[f32],
+ channel_number: i32,
+ start_in_channel: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioBuffer" , js_name = getChannelData)]
+ #[doc = "The `getChannelData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/getChannelData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`*"]
+ pub fn get_channel_data(this: &AudioBuffer, channel: u32) -> Result<Vec<f32>, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioBufferOptions.rs b/vendor/web-sys/src/features/gen_AudioBufferOptions.rs
new file mode 100644
index 000000000..dfa7f46ed
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioBufferOptions.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioBufferOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioBufferOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferOptions`*"]
+ pub type AudioBufferOptions;
+}
+impl AudioBufferOptions {
+ #[doc = "Construct a new `AudioBufferOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferOptions`*"]
+ pub fn new(length: u32, sample_rate: f32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.length(length);
+ ret.sample_rate(sample_rate);
+ ret
+ }
+ #[doc = "Change the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferOptions`*"]
+ pub fn length(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("length"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `numberOfChannels` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferOptions`*"]
+ pub fn number_of_channels(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("numberOfChannels"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferOptions`*"]
+ pub fn sample_rate(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampleRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioBufferSourceNode.rs b/vendor/web-sys/src/features/gen_AudioBufferSourceNode.rs
new file mode 100644
index 000000000..e6cd32e1a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioBufferSourceNode.rs
@@ -0,0 +1,172 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioScheduledSourceNode , extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioBufferSourceNode , typescript_type = "AudioBufferSourceNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioBufferSourceNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub type AudioBufferSourceNode;
+ #[cfg(feature = "AudioBuffer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = buffer)]
+ #[doc = "Getter for the `buffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/buffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferSourceNode`*"]
+ pub fn buffer(this: &AudioBufferSourceNode) -> Option<AudioBuffer>;
+ #[cfg(feature = "AudioBuffer")]
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = buffer)]
+ #[doc = "Setter for the `buffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/buffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferSourceNode`*"]
+ pub fn set_buffer(this: &AudioBufferSourceNode, value: Option<&AudioBuffer>);
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = playbackRate)]
+ #[doc = "Getter for the `playbackRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/playbackRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioParam`*"]
+ pub fn playback_rate(this: &AudioBufferSourceNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = detune)]
+ #[doc = "Getter for the `detune` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/detune)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioParam`*"]
+ pub fn detune(this: &AudioBufferSourceNode) -> AudioParam;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = loop)]
+ #[doc = "Getter for the `loop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn loop_(this: &AudioBufferSourceNode) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = loop)]
+ #[doc = "Setter for the `loop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn set_loop(this: &AudioBufferSourceNode, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = loopStart)]
+ #[doc = "Getter for the `loopStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn loop_start(this: &AudioBufferSourceNode) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = loopStart)]
+ #[doc = "Setter for the `loopStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn set_loop_start(this: &AudioBufferSourceNode, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = loopEnd)]
+ #[doc = "Getter for the `loopEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn loop_end(this: &AudioBufferSourceNode) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = loopEnd)]
+ #[doc = "Setter for the `loopEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn set_loop_end(this: &AudioBufferSourceNode, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioBufferSourceNode" , js_name = onended)]
+ #[doc = "Getter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn onended(this: &AudioBufferSourceNode) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = onended)]
+ #[doc = "Setter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn set_onended(this: &AudioBufferSourceNode, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "AudioBufferSourceNode")]
+ #[doc = "The `new AudioBufferSourceNode(..)` constructor, creating a new instance of `AudioBufferSourceNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/AudioBufferSourceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `BaseAudioContext`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<AudioBufferSourceNode, JsValue>;
+ #[cfg(all(feature = "AudioBufferSourceOptions", feature = "BaseAudioContext",))]
+ #[wasm_bindgen(catch, constructor, js_class = "AudioBufferSourceNode")]
+ #[doc = "The `new AudioBufferSourceNode(..)` constructor, creating a new instance of `AudioBufferSourceNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/AudioBufferSourceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioBufferSourceOptions`, `BaseAudioContext`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &AudioBufferSourceOptions,
+ ) -> Result<AudioBufferSourceNode, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn start(this: &AudioBufferSourceNode) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn start_with_when(this: &AudioBufferSourceNode, when: f64) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn start_with_when_and_grain_offset(
+ this: &AudioBufferSourceNode,
+ when: f64,
+ grain_offset: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn start_with_when_and_grain_offset_and_grain_duration(
+ this: &AudioBufferSourceNode,
+ when: f64,
+ grain_offset: f64,
+ grain_duration: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn stop(this: &AudioBufferSourceNode) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`*"]
+ pub fn stop_with_when(this: &AudioBufferSourceNode, when: f64) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioBufferSourceOptions.rs b/vendor/web-sys/src/features/gen_AudioBufferSourceOptions.rs
new file mode 100644
index 000000000..e8a0f2f83
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioBufferSourceOptions.rs
@@ -0,0 +1,120 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioBufferSourceOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioBufferSourceOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceOptions`*"]
+ pub type AudioBufferSourceOptions;
+}
+impl AudioBufferSourceOptions {
+ #[doc = "Construct a new `AudioBufferSourceOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "AudioBuffer")]
+ #[doc = "Change the `buffer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferSourceOptions`*"]
+ pub fn buffer(&mut self, val: Option<&AudioBuffer>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("buffer"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detune` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceOptions`*"]
+ pub fn detune(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detune"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `loop` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceOptions`*"]
+ pub fn loop_(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("loop"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `loopEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceOptions`*"]
+ pub fn loop_end(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("loopEnd"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `loopStart` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceOptions`*"]
+ pub fn loop_start(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("loopStart"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `playbackRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceOptions`*"]
+ pub fn playback_rate(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("playbackRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AudioBufferSourceOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioConfiguration.rs b/vendor/web-sys/src/features/gen_AudioConfiguration.rs
new file mode 100644
index 000000000..600464d9b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioConfiguration.rs
@@ -0,0 +1,95 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioConfiguration)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioConfiguration` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioConfiguration`*"]
+ pub type AudioConfiguration;
+}
+impl AudioConfiguration {
+ #[doc = "Construct a new `AudioConfiguration`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioConfiguration`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bitrate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioConfiguration`*"]
+ pub fn bitrate(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bitrate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `channels` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioConfiguration`*"]
+ pub fn channels(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channels"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `contentType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioConfiguration`*"]
+ pub fn content_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("contentType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `samplerate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioConfiguration`*"]
+ pub fn samplerate(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("samplerate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AudioConfiguration {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioContext.rs b/vendor/web-sys/src/features/gen_AudioContext.rs
new file mode 100644
index 000000000..2fc35092c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioContext.rs
@@ -0,0 +1,418 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (vendor_prefix = webkit , extends = BaseAudioContext , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioContext , typescript_type = "AudioContext")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioContext` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
+ pub type AudioContext;
+ #[cfg(feature = "AudioDestinationNode")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioContext" , js_name = destination)]
+ #[doc = "Getter for the `destination` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/destination)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `AudioDestinationNode`*"]
+ pub fn destination(this: &AudioContext) -> AudioDestinationNode;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioContext" , js_name = sampleRate)]
+ #[doc = "Getter for the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/sampleRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
+ pub fn sample_rate(this: &AudioContext) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioContext" , js_name = currentTime)]
+ #[doc = "Getter for the `currentTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/currentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
+ pub fn current_time(this: &AudioContext) -> f64;
+ #[cfg(feature = "AudioListener")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioContext" , js_name = listener)]
+ #[doc = "Getter for the `listener` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/listener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `AudioListener`*"]
+ pub fn listener(this: &AudioContext) -> AudioListener;
+ #[cfg(feature = "AudioContextState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioContext" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `AudioContextState`*"]
+ pub fn state(this: &AudioContext) -> AudioContextState;
+ #[cfg(feature = "AudioWorklet")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "AudioContext" , js_name = audioWorklet)]
+ #[doc = "Getter for the `audioWorklet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/audioWorklet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `AudioWorklet`*"]
+ pub fn audio_worklet(this: &AudioContext) -> Result<AudioWorklet, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioContext" , js_name = onstatechange)]
+ #[doc = "Getter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
+ pub fn onstatechange(this: &AudioContext) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioContext" , js_name = onstatechange)]
+ #[doc = "Setter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
+ pub fn set_onstatechange(this: &AudioContext, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "AudioContext")]
+ #[doc = "The `new AudioContext(..)` constructor, creating a new instance of `AudioContext`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
+ pub fn new() -> Result<AudioContext, JsValue>;
+ #[cfg(feature = "AudioContextOptions")]
+ #[wasm_bindgen(catch, constructor, js_class = "AudioContext")]
+ #[doc = "The `new AudioContext(..)` constructor, creating a new instance of `AudioContext`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `AudioContextOptions`*"]
+ pub fn new_with_context_options(
+ context_options: &AudioContextOptions,
+ ) -> Result<AudioContext, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
+ pub fn close(this: &AudioContext) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlMediaElement", feature = "MediaElementAudioSourceNode",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createMediaElementSource)]
+ #[doc = "The `createMediaElementSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaElementSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `HtmlMediaElement`, `MediaElementAudioSourceNode`*"]
+ pub fn create_media_element_source(
+ this: &AudioContext,
+ media_element: &HtmlMediaElement,
+ ) -> Result<MediaElementAudioSourceNode, JsValue>;
+ #[cfg(feature = "MediaStreamAudioDestinationNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createMediaStreamDestination)]
+ #[doc = "The `createMediaStreamDestination()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaStreamDestination)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `MediaStreamAudioDestinationNode`*"]
+ pub fn create_media_stream_destination(
+ this: &AudioContext,
+ ) -> Result<MediaStreamAudioDestinationNode, JsValue>;
+ #[cfg(all(feature = "MediaStream", feature = "MediaStreamAudioSourceNode",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createMediaStreamSource)]
+ #[doc = "The `createMediaStreamSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaStreamSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `MediaStream`, `MediaStreamAudioSourceNode`*"]
+ pub fn create_media_stream_source(
+ this: &AudioContext,
+ media_stream: &MediaStream,
+ ) -> Result<MediaStreamAudioSourceNode, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = suspend)]
+ #[doc = "The `suspend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/suspend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
+ pub fn suspend(this: &AudioContext) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "AnalyserNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createAnalyser)]
+ #[doc = "The `createAnalyser()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createAnalyser)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`, `AudioContext`*"]
+ pub fn create_analyser(this: &AudioContext) -> Result<AnalyserNode, JsValue>;
+ #[cfg(feature = "BiquadFilterNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createBiquadFilter)]
+ #[doc = "The `createBiquadFilter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBiquadFilter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `BiquadFilterNode`*"]
+ pub fn create_biquad_filter(this: &AudioContext) -> Result<BiquadFilterNode, JsValue>;
+ #[cfg(feature = "AudioBuffer")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createBuffer)]
+ #[doc = "The `createBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioContext`*"]
+ pub fn create_buffer(
+ this: &AudioContext,
+ number_of_channels: u32,
+ length: u32,
+ sample_rate: f32,
+ ) -> Result<AudioBuffer, JsValue>;
+ #[cfg(feature = "AudioBufferSourceNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createBufferSource)]
+ #[doc = "The `createBufferSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBufferSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioContext`*"]
+ pub fn create_buffer_source(this: &AudioContext) -> Result<AudioBufferSourceNode, JsValue>;
+ #[cfg(feature = "ChannelMergerNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createChannelMerger)]
+ #[doc = "The `createChannelMerger()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelMerger)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ChannelMergerNode`*"]
+ pub fn create_channel_merger(this: &AudioContext) -> Result<ChannelMergerNode, JsValue>;
+ #[cfg(feature = "ChannelMergerNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createChannelMerger)]
+ #[doc = "The `createChannelMerger()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelMerger)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ChannelMergerNode`*"]
+ pub fn create_channel_merger_with_number_of_inputs(
+ this: &AudioContext,
+ number_of_inputs: u32,
+ ) -> Result<ChannelMergerNode, JsValue>;
+ #[cfg(feature = "ChannelSplitterNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createChannelSplitter)]
+ #[doc = "The `createChannelSplitter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelSplitter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ChannelSplitterNode`*"]
+ pub fn create_channel_splitter(this: &AudioContext) -> Result<ChannelSplitterNode, JsValue>;
+ #[cfg(feature = "ChannelSplitterNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createChannelSplitter)]
+ #[doc = "The `createChannelSplitter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelSplitter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ChannelSplitterNode`*"]
+ pub fn create_channel_splitter_with_number_of_outputs(
+ this: &AudioContext,
+ number_of_outputs: u32,
+ ) -> Result<ChannelSplitterNode, JsValue>;
+ #[cfg(feature = "ConstantSourceNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createConstantSource)]
+ #[doc = "The `createConstantSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createConstantSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ConstantSourceNode`*"]
+ pub fn create_constant_source(this: &AudioContext) -> Result<ConstantSourceNode, JsValue>;
+ #[cfg(feature = "ConvolverNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createConvolver)]
+ #[doc = "The `createConvolver()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createConvolver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ConvolverNode`*"]
+ pub fn create_convolver(this: &AudioContext) -> Result<ConvolverNode, JsValue>;
+ #[cfg(feature = "DelayNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createDelay)]
+ #[doc = "The `createDelay()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createDelay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `DelayNode`*"]
+ pub fn create_delay(this: &AudioContext) -> Result<DelayNode, JsValue>;
+ #[cfg(feature = "DelayNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createDelay)]
+ #[doc = "The `createDelay()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createDelay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `DelayNode`*"]
+ pub fn create_delay_with_max_delay_time(
+ this: &AudioContext,
+ max_delay_time: f64,
+ ) -> Result<DelayNode, JsValue>;
+ #[cfg(feature = "DynamicsCompressorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createDynamicsCompressor)]
+ #[doc = "The `createDynamicsCompressor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createDynamicsCompressor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `DynamicsCompressorNode`*"]
+ pub fn create_dynamics_compressor(
+ this: &AudioContext,
+ ) -> Result<DynamicsCompressorNode, JsValue>;
+ #[cfg(feature = "GainNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createGain)]
+ #[doc = "The `createGain()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createGain)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `GainNode`*"]
+ pub fn create_gain(this: &AudioContext) -> Result<GainNode, JsValue>;
+ #[cfg(feature = "IirFilterNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createIIRFilter)]
+ #[doc = "The `createIIRFilter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createIIRFilter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `IirFilterNode`*"]
+ pub fn create_iir_filter(
+ this: &AudioContext,
+ feedforward: &::wasm_bindgen::JsValue,
+ feedback: &::wasm_bindgen::JsValue,
+ ) -> Result<IirFilterNode, JsValue>;
+ #[cfg(feature = "OscillatorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createOscillator)]
+ #[doc = "The `createOscillator()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createOscillator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `OscillatorNode`*"]
+ pub fn create_oscillator(this: &AudioContext) -> Result<OscillatorNode, JsValue>;
+ #[cfg(feature = "PannerNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createPanner)]
+ #[doc = "The `createPanner()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createPanner)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `PannerNode`*"]
+ pub fn create_panner(this: &AudioContext) -> Result<PannerNode, JsValue>;
+ #[cfg(feature = "PeriodicWave")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createPeriodicWave)]
+ #[doc = "The `createPeriodicWave()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createPeriodicWave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `PeriodicWave`*"]
+ pub fn create_periodic_wave(
+ this: &AudioContext,
+ real: &mut [f32],
+ imag: &mut [f32],
+ ) -> Result<PeriodicWave, JsValue>;
+ #[cfg(all(feature = "PeriodicWave", feature = "PeriodicWaveConstraints",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createPeriodicWave)]
+ #[doc = "The `createPeriodicWave()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createPeriodicWave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `PeriodicWave`, `PeriodicWaveConstraints`*"]
+ pub fn create_periodic_wave_with_constraints(
+ this: &AudioContext,
+ real: &mut [f32],
+ imag: &mut [f32],
+ constraints: &PeriodicWaveConstraints,
+ ) -> Result<PeriodicWave, JsValue>;
+ #[cfg(feature = "ScriptProcessorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor)]
+ #[doc = "The `createScriptProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*"]
+ pub fn create_script_processor(this: &AudioContext) -> Result<ScriptProcessorNode, JsValue>;
+ #[cfg(feature = "ScriptProcessorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor)]
+ #[doc = "The `createScriptProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*"]
+ pub fn create_script_processor_with_buffer_size(
+ this: &AudioContext,
+ buffer_size: u32,
+ ) -> Result<ScriptProcessorNode, JsValue>;
+ #[cfg(feature = "ScriptProcessorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor)]
+ #[doc = "The `createScriptProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*"]
+ pub fn create_script_processor_with_buffer_size_and_number_of_input_channels(
+ this: &AudioContext,
+ buffer_size: u32,
+ number_of_input_channels: u32,
+ ) -> Result<ScriptProcessorNode, JsValue>;
+ #[cfg(feature = "ScriptProcessorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor)]
+ #[doc = "The `createScriptProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*"]
+ pub fn create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels(
+ this: &AudioContext,
+ buffer_size: u32,
+ number_of_input_channels: u32,
+ number_of_output_channels: u32,
+ ) -> Result<ScriptProcessorNode, JsValue>;
+ #[cfg(feature = "StereoPannerNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createStereoPanner)]
+ #[doc = "The `createStereoPanner()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createStereoPanner)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `StereoPannerNode`*"]
+ pub fn create_stereo_panner(this: &AudioContext) -> Result<StereoPannerNode, JsValue>;
+ #[cfg(feature = "WaveShaperNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = createWaveShaper)]
+ #[doc = "The `createWaveShaper()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createWaveShaper)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `WaveShaperNode`*"]
+ pub fn create_wave_shaper(this: &AudioContext) -> Result<WaveShaperNode, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = decodeAudioData)]
+ #[doc = "The `decodeAudioData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/decodeAudioData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
+ pub fn decode_audio_data(
+ this: &AudioContext,
+ audio_data: &::js_sys::ArrayBuffer,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = decodeAudioData)]
+ #[doc = "The `decodeAudioData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/decodeAudioData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
+ pub fn decode_audio_data_with_success_callback(
+ this: &AudioContext,
+ audio_data: &::js_sys::ArrayBuffer,
+ success_callback: &::js_sys::Function,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = decodeAudioData)]
+ #[doc = "The `decodeAudioData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/decodeAudioData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
+ pub fn decode_audio_data_with_success_callback_and_error_callback(
+ this: &AudioContext,
+ audio_data: &::js_sys::ArrayBuffer,
+ success_callback: &::js_sys::Function,
+ error_callback: &::js_sys::Function,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioContext" , js_name = resume)]
+ #[doc = "The `resume()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/resume)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`*"]
+ pub fn resume(this: &AudioContext) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioContextOptions.rs b/vendor/web-sys/src/features/gen_AudioContextOptions.rs
new file mode 100644
index 000000000..6583853de
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioContextOptions.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioContextOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioContextOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContextOptions`*"]
+ pub type AudioContextOptions;
+}
+impl AudioContextOptions {
+ #[doc = "Construct a new `AudioContextOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContextOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContextOptions`*"]
+ pub fn sample_rate(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampleRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AudioContextOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioContextState.rs b/vendor/web-sys/src/features/gen_AudioContextState.rs
new file mode 100644
index 000000000..95ab2ca1a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioContextState.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `AudioContextState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `AudioContextState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum AudioContextState {
+ Suspended = "suspended",
+ Running = "running",
+ Closed = "closed",
+}
diff --git a/vendor/web-sys/src/features/gen_AudioData.rs b/vendor/web-sys/src/features/gen_AudioData.rs
new file mode 100644
index 000000000..0bd91f4a9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioData.rs
@@ -0,0 +1,163 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioData , typescript_type = "AudioData")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioData` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AudioData;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioSampleFormat")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioData" , js_name = format)]
+ #[doc = "Getter for the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData/format)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`, `AudioSampleFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(this: &AudioData) -> Option<AudioSampleFormat>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioData" , js_name = sampleRate)]
+ #[doc = "Getter for the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData/sampleRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn sample_rate(this: &AudioData) -> f32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioData" , js_name = numberOfFrames)]
+ #[doc = "Getter for the `numberOfFrames` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData/numberOfFrames)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn number_of_frames(this: &AudioData) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioData" , js_name = numberOfChannels)]
+ #[doc = "Getter for the `numberOfChannels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData/numberOfChannels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn number_of_channels(this: &AudioData) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioData" , js_name = duration)]
+ #[doc = "Getter for the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData/duration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn duration(this: &AudioData) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioData" , js_name = timestamp)]
+ #[doc = "Getter for the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData/timestamp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn timestamp(this: &AudioData) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioDataInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "AudioData")]
+ #[doc = "The `new AudioData(..)` constructor, creating a new instance of `AudioData`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData/AudioData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`, `AudioDataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(init: &AudioDataInit) -> Result<AudioData, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioDataCopyToOptions")]
+ # [wasm_bindgen (method , structural , js_class = "AudioData" , js_name = allocationSize)]
+ #[doc = "The `allocationSize()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData/allocationSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`, `AudioDataCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn allocation_size(this: &AudioData, options: &AudioDataCopyToOptions) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "AudioData" , js_name = clone)]
+ #[doc = "The `clone()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData/clone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clone(this: &AudioData) -> AudioData;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "AudioData" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn close(this: &AudioData);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioDataCopyToOptions")]
+ # [wasm_bindgen (method , structural , js_class = "AudioData" , js_name = copyTo)]
+ #[doc = "The `copyTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData/copyTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`, `AudioDataCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_to_with_buffer_source(
+ this: &AudioData,
+ destination: &::js_sys::Object,
+ options: &AudioDataCopyToOptions,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioDataCopyToOptions")]
+ # [wasm_bindgen (method , structural , js_class = "AudioData" , js_name = copyTo)]
+ #[doc = "The `copyTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioData/copyTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`, `AudioDataCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_to_with_u8_array(
+ this: &AudioData,
+ destination: &mut [u8],
+ options: &AudioDataCopyToOptions,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_AudioDataCopyToOptions.rs b/vendor/web-sys/src/features/gen_AudioDataCopyToOptions.rs
new file mode 100644
index 000000000..b1d3d8fbd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioDataCopyToOptions.rs
@@ -0,0 +1,113 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioDataCopyToOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioDataCopyToOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AudioDataCopyToOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl AudioDataCopyToOptions {
+ #[doc = "Construct a new `AudioDataCopyToOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(plane_index: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.plane_index(plane_index);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioSampleFormat")]
+ #[doc = "Change the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataCopyToOptions`, `AudioSampleFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(&mut self, val: AudioSampleFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("format"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `frameCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn frame_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frameCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `frameOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn frame_offset(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frameOffset"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `planeIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn plane_index(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("planeIndex"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioDataInit.rs b/vendor/web-sys/src/features/gen_AudioDataInit.rs
new file mode 100644
index 000000000..8a7dc9422
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioDataInit.rs
@@ -0,0 +1,164 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioDataInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioDataInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AudioDataInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl AudioDataInit {
+ #[cfg(feature = "AudioSampleFormat")]
+ #[doc = "Construct a new `AudioDataInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataInit`, `AudioSampleFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ data: &::js_sys::Object,
+ format: AudioSampleFormat,
+ number_of_channels: u32,
+ number_of_frames: u32,
+ sample_rate: f32,
+ timestamp: f64,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.data(data);
+ ret.format(format);
+ ret.number_of_channels(number_of_channels);
+ ret.number_of_frames(number_of_frames);
+ ret.sample_rate(sample_rate);
+ ret.timestamp(timestamp);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioSampleFormat")]
+ #[doc = "Change the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataInit`, `AudioSampleFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(&mut self, val: AudioSampleFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("format"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `numberOfChannels` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn number_of_channels(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("numberOfChannels"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `numberOfFrames` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn number_of_frames(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("numberOfFrames"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn sample_rate(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampleRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioDecoder.rs b/vendor/web-sys/src/features/gen_AudioDecoder.rs
new file mode 100644
index 000000000..b448dc2f1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioDecoder.rs
@@ -0,0 +1,122 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioDecoder , typescript_type = "AudioDecoder")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioDecoder` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDecoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AudioDecoder;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "CodecState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioDecoder" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDecoder/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoder`, `CodecState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn state(this: &AudioDecoder) -> CodecState;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioDecoder" , js_name = decodeQueueSize)]
+ #[doc = "Getter for the `decodeQueueSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDecoder/decodeQueueSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn decode_queue_size(this: &AudioDecoder) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioDecoderInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "AudioDecoder")]
+ #[doc = "The `new AudioDecoder(..)` constructor, creating a new instance of `AudioDecoder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDecoder/AudioDecoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoder`, `AudioDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(init: &AudioDecoderInit) -> Result<AudioDecoder, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "AudioDecoder" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDecoder/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn close(this: &AudioDecoder);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioDecoderConfig")]
+ # [wasm_bindgen (method , structural , js_class = "AudioDecoder" , js_name = configure)]
+ #[doc = "The `configure()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDecoder/configure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoder`, `AudioDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn configure(this: &AudioDecoder, config: &AudioDecoderConfig);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "EncodedAudioChunk")]
+ # [wasm_bindgen (method , structural , js_class = "AudioDecoder" , js_name = decode)]
+ #[doc = "The `decode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDecoder/decode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoder`, `EncodedAudioChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn decode(this: &AudioDecoder, chunk: &EncodedAudioChunk);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "AudioDecoder" , js_name = flush)]
+ #[doc = "The `flush()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDecoder/flush)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn flush(this: &AudioDecoder) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioDecoderConfig")]
+ # [wasm_bindgen (static_method_of = AudioDecoder , js_class = "AudioDecoder" , js_name = isConfigSupported)]
+ #[doc = "The `isConfigSupported()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDecoder/isConfigSupported)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoder`, `AudioDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_config_supported(config: &AudioDecoderConfig) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "AudioDecoder" , js_name = reset)]
+ #[doc = "The `reset()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDecoder/reset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn reset(this: &AudioDecoder);
+}
diff --git a/vendor/web-sys/src/features/gen_AudioDecoderConfig.rs b/vendor/web-sys/src/features/gen_AudioDecoderConfig.rs
new file mode 100644
index 000000000..2ba30966f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioDecoderConfig.rs
@@ -0,0 +1,113 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioDecoderConfig)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioDecoderConfig` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AudioDecoderConfig;
+}
+#[cfg(web_sys_unstable_apis)]
+impl AudioDecoderConfig {
+ #[doc = "Construct a new `AudioDecoderConfig`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(codec: &str, number_of_channels: u32, sample_rate: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.codec(codec);
+ ret.number_of_channels(number_of_channels);
+ ret.sample_rate(sample_rate);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `codec` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn codec(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("codec"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `description` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn description(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("description"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `numberOfChannels` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn number_of_channels(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("numberOfChannels"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn sample_rate(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampleRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioDecoderInit.rs b/vendor/web-sys/src/features/gen_AudioDecoderInit.rs
new file mode 100644
index 000000000..d5149efd7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioDecoderInit.rs
@@ -0,0 +1,67 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioDecoderInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioDecoderInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AudioDecoderInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl AudioDecoderInit {
+ #[doc = "Construct a new `AudioDecoderInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(error: &::js_sys::Function, output: &::js_sys::Function) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.error(error);
+ ret.output(output);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn error(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `output` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn output(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("output"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioDecoderSupport.rs b/vendor/web-sys/src/features/gen_AudioDecoderSupport.rs
new file mode 100644
index 000000000..3640403e1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioDecoderSupport.rs
@@ -0,0 +1,76 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioDecoderSupport)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioDecoderSupport` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AudioDecoderSupport;
+}
+#[cfg(web_sys_unstable_apis)]
+impl AudioDecoderSupport {
+ #[doc = "Construct a new `AudioDecoderSupport`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioDecoderConfig")]
+ #[doc = "Change the `config` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderConfig`, `AudioDecoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn config(&mut self, val: &AudioDecoderConfig) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("config"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `supported` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn supported(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("supported"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for AudioDecoderSupport {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioDestinationNode.rs b/vendor/web-sys/src/features/gen_AudioDestinationNode.rs
new file mode 100644
index 000000000..a6f79cffc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioDestinationNode.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioDestinationNode , typescript_type = "AudioDestinationNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioDestinationNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDestinationNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDestinationNode`*"]
+ pub type AudioDestinationNode;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioDestinationNode" , js_name = maxChannelCount)]
+ #[doc = "Getter for the `maxChannelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDestinationNode/maxChannelCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDestinationNode`*"]
+ pub fn max_channel_count(this: &AudioDestinationNode) -> u32;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioEncoder.rs b/vendor/web-sys/src/features/gen_AudioEncoder.rs
new file mode 100644
index 000000000..244e99707
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioEncoder.rs
@@ -0,0 +1,122 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioEncoder , typescript_type = "AudioEncoder")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioEncoder` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AudioEncoder;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "CodecState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioEncoder" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioEncoder/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoder`, `CodecState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn state(this: &AudioEncoder) -> CodecState;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioEncoder" , js_name = encodeQueueSize)]
+ #[doc = "Getter for the `encodeQueueSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioEncoder/encodeQueueSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn encode_queue_size(this: &AudioEncoder) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioEncoderInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "AudioEncoder")]
+ #[doc = "The `new AudioEncoder(..)` constructor, creating a new instance of `AudioEncoder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioEncoder/AudioEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoder`, `AudioEncoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(init: &AudioEncoderInit) -> Result<AudioEncoder, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "AudioEncoder" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioEncoder/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn close(this: &AudioEncoder);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioEncoderConfig")]
+ # [wasm_bindgen (method , structural , js_class = "AudioEncoder" , js_name = configure)]
+ #[doc = "The `configure()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioEncoder/configure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoder`, `AudioEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn configure(this: &AudioEncoder, config: &AudioEncoderConfig);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioData")]
+ # [wasm_bindgen (method , structural , js_class = "AudioEncoder" , js_name = encode)]
+ #[doc = "The `encode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioEncoder/encode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioData`, `AudioEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn encode(this: &AudioEncoder, data: &AudioData);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "AudioEncoder" , js_name = flush)]
+ #[doc = "The `flush()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioEncoder/flush)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn flush(this: &AudioEncoder) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioEncoderConfig")]
+ # [wasm_bindgen (static_method_of = AudioEncoder , js_class = "AudioEncoder" , js_name = isConfigSupported)]
+ #[doc = "The `isConfigSupported()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioEncoder/isConfigSupported)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoder`, `AudioEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_config_supported(config: &AudioEncoderConfig) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "AudioEncoder" , js_name = reset)]
+ #[doc = "The `reset()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioEncoder/reset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn reset(this: &AudioEncoder);
+}
diff --git a/vendor/web-sys/src/features/gen_AudioEncoderConfig.rs b/vendor/web-sys/src/features/gen_AudioEncoderConfig.rs
new file mode 100644
index 000000000..49194678c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioEncoderConfig.rs
@@ -0,0 +1,111 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioEncoderConfig)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioEncoderConfig` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AudioEncoderConfig;
+}
+#[cfg(web_sys_unstable_apis)]
+impl AudioEncoderConfig {
+ #[doc = "Construct a new `AudioEncoderConfig`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(codec: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.codec(codec);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bitrate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bitrate(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bitrate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `codec` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn codec(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("codec"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `numberOfChannels` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn number_of_channels(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("numberOfChannels"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn sample_rate(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampleRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioEncoderInit.rs b/vendor/web-sys/src/features/gen_AudioEncoderInit.rs
new file mode 100644
index 000000000..dba313bb4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioEncoderInit.rs
@@ -0,0 +1,67 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioEncoderInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioEncoderInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AudioEncoderInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl AudioEncoderInit {
+ #[doc = "Construct a new `AudioEncoderInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(error: &::js_sys::Function, output: &::js_sys::Function) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.error(error);
+ ret.output(output);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn error(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `output` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn output(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("output"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioEncoderSupport.rs b/vendor/web-sys/src/features/gen_AudioEncoderSupport.rs
new file mode 100644
index 000000000..0c7987bc6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioEncoderSupport.rs
@@ -0,0 +1,76 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioEncoderSupport)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioEncoderSupport` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type AudioEncoderSupport;
+}
+#[cfg(web_sys_unstable_apis)]
+impl AudioEncoderSupport {
+ #[doc = "Construct a new `AudioEncoderSupport`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioEncoderConfig")]
+ #[doc = "Change the `config` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderConfig`, `AudioEncoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn config(&mut self, val: &AudioEncoderConfig) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("config"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `supported` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioEncoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn supported(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("supported"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for AudioEncoderSupport {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioListener.rs b/vendor/web-sys/src/features/gen_AudioListener.rs
new file mode 100644
index 000000000..1dfdfbeea
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioListener.rs
@@ -0,0 +1,71 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioListener , typescript_type = "AudioListener")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioListener` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
+ pub type AudioListener;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioListener" , js_name = dopplerFactor)]
+ #[doc = "Getter for the `dopplerFactor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/dopplerFactor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
+ pub fn doppler_factor(this: &AudioListener) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioListener" , js_name = dopplerFactor)]
+ #[doc = "Setter for the `dopplerFactor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/dopplerFactor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
+ pub fn set_doppler_factor(this: &AudioListener, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioListener" , js_name = speedOfSound)]
+ #[doc = "Getter for the `speedOfSound` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/speedOfSound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
+ pub fn speed_of_sound(this: &AudioListener) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioListener" , js_name = speedOfSound)]
+ #[doc = "Setter for the `speedOfSound` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/speedOfSound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
+ pub fn set_speed_of_sound(this: &AudioListener, value: f64);
+ # [wasm_bindgen (method , structural , js_class = "AudioListener" , js_name = setOrientation)]
+ #[doc = "The `setOrientation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setOrientation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
+ pub fn set_orientation(
+ this: &AudioListener,
+ x: f64,
+ y: f64,
+ z: f64,
+ x_up: f64,
+ y_up: f64,
+ z_up: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "AudioListener" , js_name = setPosition)]
+ #[doc = "The `setPosition()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
+ pub fn set_position(this: &AudioListener, x: f64, y: f64, z: f64);
+ # [wasm_bindgen (method , structural , js_class = "AudioListener" , js_name = setVelocity)]
+ #[doc = "The `setVelocity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setVelocity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
+ pub fn set_velocity(this: &AudioListener, x: f64, y: f64, z: f64);
+}
diff --git a/vendor/web-sys/src/features/gen_AudioNode.rs b/vendor/web-sys/src/features/gen_AudioNode.rs
new file mode 100644
index 000000000..bec7aa939
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioNode.rs
@@ -0,0 +1,208 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioNode , typescript_type = "AudioNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub type AudioNode;
+ #[cfg(feature = "BaseAudioContext")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioNode" , js_name = context)]
+ #[doc = "Getter for the `context` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/context)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`, `BaseAudioContext`*"]
+ pub fn context(this: &AudioNode) -> BaseAudioContext;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioNode" , js_name = numberOfInputs)]
+ #[doc = "Getter for the `numberOfInputs` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/numberOfInputs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub fn number_of_inputs(this: &AudioNode) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioNode" , js_name = numberOfOutputs)]
+ #[doc = "Getter for the `numberOfOutputs` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/numberOfOutputs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub fn number_of_outputs(this: &AudioNode) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioNode" , js_name = channelCount)]
+ #[doc = "Getter for the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub fn channel_count(this: &AudioNode) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioNode" , js_name = channelCount)]
+ #[doc = "Setter for the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub fn set_channel_count(this: &AudioNode, value: u32);
+ #[cfg(feature = "ChannelCountMode")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioNode" , js_name = channelCountMode)]
+ #[doc = "Getter for the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCountMode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`, `ChannelCountMode`*"]
+ pub fn channel_count_mode(this: &AudioNode) -> ChannelCountMode;
+ #[cfg(feature = "ChannelCountMode")]
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioNode" , js_name = channelCountMode)]
+ #[doc = "Setter for the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCountMode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`, `ChannelCountMode`*"]
+ pub fn set_channel_count_mode(this: &AudioNode, value: ChannelCountMode);
+ #[cfg(feature = "ChannelInterpretation")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioNode" , js_name = channelInterpretation)]
+ #[doc = "Getter for the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelInterpretation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`, `ChannelInterpretation`*"]
+ pub fn channel_interpretation(this: &AudioNode) -> ChannelInterpretation;
+ #[cfg(feature = "ChannelInterpretation")]
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioNode" , js_name = channelInterpretation)]
+ #[doc = "Setter for the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelInterpretation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`, `ChannelInterpretation`*"]
+ pub fn set_channel_interpretation(this: &AudioNode, value: ChannelInterpretation);
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = connect)]
+ #[doc = "The `connect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub fn connect_with_audio_node(
+ this: &AudioNode,
+ destination: &AudioNode,
+ ) -> Result<AudioNode, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = connect)]
+ #[doc = "The `connect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub fn connect_with_audio_node_and_output(
+ this: &AudioNode,
+ destination: &AudioNode,
+ output: u32,
+ ) -> Result<AudioNode, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = connect)]
+ #[doc = "The `connect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub fn connect_with_audio_node_and_output_and_input(
+ this: &AudioNode,
+ destination: &AudioNode,
+ output: u32,
+ input: u32,
+ ) -> Result<AudioNode, JsValue>;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = connect)]
+ #[doc = "The `connect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`, `AudioParam`*"]
+ pub fn connect_with_audio_param(
+ this: &AudioNode,
+ destination: &AudioParam,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = connect)]
+ #[doc = "The `connect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`, `AudioParam`*"]
+ pub fn connect_with_audio_param_and_output(
+ this: &AudioNode,
+ destination: &AudioParam,
+ output: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
+ #[doc = "The `disconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub fn disconnect(this: &AudioNode) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
+ #[doc = "The `disconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub fn disconnect_with_output(this: &AudioNode, output: u32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
+ #[doc = "The `disconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub fn disconnect_with_audio_node(
+ this: &AudioNode,
+ destination: &AudioNode,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
+ #[doc = "The `disconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub fn disconnect_with_audio_node_and_output(
+ this: &AudioNode,
+ destination: &AudioNode,
+ output: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
+ #[doc = "The `disconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`*"]
+ pub fn disconnect_with_audio_node_and_output_and_input(
+ this: &AudioNode,
+ destination: &AudioNode,
+ output: u32,
+ input: u32,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
+ #[doc = "The `disconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`, `AudioParam`*"]
+ pub fn disconnect_with_audio_param(
+ this: &AudioNode,
+ destination: &AudioParam,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioNode" , js_name = disconnect)]
+ #[doc = "The `disconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`, `AudioParam`*"]
+ pub fn disconnect_with_audio_param_and_output(
+ this: &AudioNode,
+ destination: &AudioParam,
+ output: u32,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioNodeOptions.rs b/vendor/web-sys/src/features/gen_AudioNodeOptions.rs
new file mode 100644
index 000000000..b898ea3fe
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioNodeOptions.rs
@@ -0,0 +1,80 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioNodeOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioNodeOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNodeOptions`*"]
+ pub type AudioNodeOptions;
+}
+impl AudioNodeOptions {
+ #[doc = "Construct a new `AudioNodeOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNodeOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNodeOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNodeOptions`, `ChannelCountMode`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNodeOptions`, `ChannelInterpretation`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AudioNodeOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioParam.rs b/vendor/web-sys/src/features/gen_AudioParam.rs
new file mode 100644
index 000000000..6cd0e1cd6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioParam.rs
@@ -0,0 +1,116 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioParam , typescript_type = "AudioParam")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioParam` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
+ pub type AudioParam;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioParam" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
+ pub fn value(this: &AudioParam) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioParam" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
+ pub fn set_value(this: &AudioParam, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioParam" , js_name = defaultValue)]
+ #[doc = "Getter for the `defaultValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/defaultValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
+ pub fn default_value(this: &AudioParam) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioParam" , js_name = minValue)]
+ #[doc = "Getter for the `minValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/minValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
+ pub fn min_value(this: &AudioParam) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioParam" , js_name = maxValue)]
+ #[doc = "Getter for the `maxValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/maxValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
+ pub fn max_value(this: &AudioParam) -> f32;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioParam" , js_name = cancelScheduledValues)]
+ #[doc = "The `cancelScheduledValues()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/cancelScheduledValues)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
+ pub fn cancel_scheduled_values(
+ this: &AudioParam,
+ start_time: f64,
+ ) -> Result<AudioParam, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioParam" , js_name = exponentialRampToValueAtTime)]
+ #[doc = "The `exponentialRampToValueAtTime()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/exponentialRampToValueAtTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
+ pub fn exponential_ramp_to_value_at_time(
+ this: &AudioParam,
+ value: f32,
+ end_time: f64,
+ ) -> Result<AudioParam, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioParam" , js_name = linearRampToValueAtTime)]
+ #[doc = "The `linearRampToValueAtTime()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/linearRampToValueAtTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
+ pub fn linear_ramp_to_value_at_time(
+ this: &AudioParam,
+ value: f32,
+ end_time: f64,
+ ) -> Result<AudioParam, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioParam" , js_name = setTargetAtTime)]
+ #[doc = "The `setTargetAtTime()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setTargetAtTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
+ pub fn set_target_at_time(
+ this: &AudioParam,
+ target: f32,
+ start_time: f64,
+ time_constant: f64,
+ ) -> Result<AudioParam, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioParam" , js_name = setValueAtTime)]
+ #[doc = "The `setValueAtTime()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setValueAtTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
+ pub fn set_value_at_time(
+ this: &AudioParam,
+ value: f32,
+ start_time: f64,
+ ) -> Result<AudioParam, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioParam" , js_name = setValueCurveAtTime)]
+ #[doc = "The `setValueCurveAtTime()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setValueCurveAtTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`*"]
+ pub fn set_value_curve_at_time(
+ this: &AudioParam,
+ values: &mut [f32],
+ start_time: f64,
+ duration: f64,
+ ) -> Result<AudioParam, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioParamMap.rs b/vendor/web-sys/src/features/gen_AudioParamMap.rs
new file mode 100644
index 000000000..043b0d1ff
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioParamMap.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioParamMap , typescript_type = "AudioParamMap")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioParamMap` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
+ pub type AudioParamMap;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioParamMap" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
+ pub fn size(this: &AudioParamMap) -> u32;
+ # [wasm_bindgen (method , structural , js_class = "AudioParamMap" , js_name = entries)]
+ #[doc = "The `entries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/entries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
+ pub fn entries(this: &AudioParamMap) -> ::js_sys::Iterator;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioParamMap" , js_name = forEach)]
+ #[doc = "The `forEach()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/forEach)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
+ pub fn for_each(this: &AudioParamMap, callback: &::js_sys::Function) -> Result<(), JsValue>;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (method , structural , js_class = "AudioParamMap" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `AudioParamMap`*"]
+ pub fn get(this: &AudioParamMap, key: &str) -> Option<AudioParam>;
+ # [wasm_bindgen (method , structural , js_class = "AudioParamMap" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
+ pub fn has(this: &AudioParamMap, key: &str) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "AudioParamMap" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
+ pub fn keys(this: &AudioParamMap) -> ::js_sys::Iterator;
+ # [wasm_bindgen (method , structural , js_class = "AudioParamMap" , js_name = values)]
+ #[doc = "The `values()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/values)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
+ pub fn values(this: &AudioParamMap) -> ::js_sys::Iterator;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioProcessingEvent.rs b/vendor/web-sys/src/features/gen_AudioProcessingEvent.rs
new file mode 100644
index 000000000..e1ed4bb01
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioProcessingEvent.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = AudioProcessingEvent , typescript_type = "AudioProcessingEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioProcessingEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioProcessingEvent`*"]
+ pub type AudioProcessingEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioProcessingEvent" , js_name = playbackTime)]
+ #[doc = "Getter for the `playbackTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent/playbackTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioProcessingEvent`*"]
+ pub fn playback_time(this: &AudioProcessingEvent) -> f64;
+ #[cfg(feature = "AudioBuffer")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "AudioProcessingEvent" , js_name = inputBuffer)]
+ #[doc = "Getter for the `inputBuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent/inputBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioProcessingEvent`*"]
+ pub fn input_buffer(this: &AudioProcessingEvent) -> Result<AudioBuffer, JsValue>;
+ #[cfg(feature = "AudioBuffer")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "AudioProcessingEvent" , js_name = outputBuffer)]
+ #[doc = "Getter for the `outputBuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent/outputBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioProcessingEvent`*"]
+ pub fn output_buffer(this: &AudioProcessingEvent) -> Result<AudioBuffer, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioSampleFormat.rs b/vendor/web-sys/src/features/gen_AudioSampleFormat.rs
new file mode 100644
index 000000000..544998904
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioSampleFormat.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `AudioSampleFormat` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `AudioSampleFormat`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum AudioSampleFormat {
+ U8 = "u8",
+ S16 = "s16",
+ S32 = "s32",
+ F32 = "f32",
+ U8Planar = "u8-planar",
+ S16Planar = "s16-planar",
+ S32Planar = "s32-planar",
+ F32Planar = "f32-planar",
+}
diff --git a/vendor/web-sys/src/features/gen_AudioScheduledSourceNode.rs b/vendor/web-sys/src/features/gen_AudioScheduledSourceNode.rs
new file mode 100644
index 000000000..3d7644e12
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioScheduledSourceNode.rs
@@ -0,0 +1,56 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioScheduledSourceNode , typescript_type = "AudioScheduledSourceNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioScheduledSourceNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
+ pub type AudioScheduledSourceNode;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioScheduledSourceNode" , js_name = onended)]
+ #[doc = "Getter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
+ pub fn onended(this: &AudioScheduledSourceNode) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioScheduledSourceNode" , js_name = onended)]
+ #[doc = "Setter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
+ pub fn set_onended(this: &AudioScheduledSourceNode, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
+ pub fn start(this: &AudioScheduledSourceNode) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
+ pub fn start_with_when(this: &AudioScheduledSourceNode, when: f64) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
+ pub fn stop(this: &AudioScheduledSourceNode) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
+ pub fn stop_with_when(this: &AudioScheduledSourceNode, when: f64) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioStreamTrack.rs b/vendor/web-sys/src/features/gen_AudioStreamTrack.rs
new file mode 100644
index 000000000..3c6eed631
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioStreamTrack.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = MediaStreamTrack , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioStreamTrack , typescript_type = "AudioStreamTrack")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioStreamTrack` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioStreamTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioStreamTrack`*"]
+ pub type AudioStreamTrack;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioTrack.rs b/vendor/web-sys/src/features/gen_AudioTrack.rs
new file mode 100644
index 000000000..7e1c9600d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioTrack.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioTrack , typescript_type = "AudioTrack")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioTrack` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
+ pub type AudioTrack;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
+ pub fn id(this: &AudioTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , js_name = kind)]
+ #[doc = "Getter for the `kind` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/kind)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
+ pub fn kind(this: &AudioTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
+ pub fn label(this: &AudioTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , js_name = language)]
+ #[doc = "Getter for the `language` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/language)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
+ pub fn language(this: &AudioTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , js_name = enabled)]
+ #[doc = "Getter for the `enabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/enabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
+ pub fn enabled(this: &AudioTrack) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioTrack" , js_name = enabled)]
+ #[doc = "Setter for the `enabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/enabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
+ pub fn set_enabled(this: &AudioTrack, value: bool);
+ #[cfg(feature = "SourceBuffer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , js_name = sourceBuffer)]
+ #[doc = "Getter for the `sourceBuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/sourceBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrack`, `SourceBuffer`*"]
+ pub fn source_buffer(this: &AudioTrack) -> Option<SourceBuffer>;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioTrackList.rs b/vendor/web-sys/src/features/gen_AudioTrackList.rs
new file mode 100644
index 000000000..44632432c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioTrackList.rs
@@ -0,0 +1,79 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioTrackList , typescript_type = "AudioTrackList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioTrackList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
+ pub type AudioTrackList;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioTrackList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
+ pub fn length(this: &AudioTrackList) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioTrackList" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
+ pub fn onchange(this: &AudioTrackList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioTrackList" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
+ pub fn set_onchange(this: &AudioTrackList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioTrackList" , js_name = onaddtrack)]
+ #[doc = "Getter for the `onaddtrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onaddtrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
+ pub fn onaddtrack(this: &AudioTrackList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioTrackList" , js_name = onaddtrack)]
+ #[doc = "Setter for the `onaddtrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onaddtrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
+ pub fn set_onaddtrack(this: &AudioTrackList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioTrackList" , js_name = onremovetrack)]
+ #[doc = "Getter for the `onremovetrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onremovetrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
+ pub fn onremovetrack(this: &AudioTrackList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioTrackList" , js_name = onremovetrack)]
+ #[doc = "Setter for the `onremovetrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onremovetrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrackList`*"]
+ pub fn set_onremovetrack(this: &AudioTrackList, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "AudioTrack")]
+ # [wasm_bindgen (method , structural , js_class = "AudioTrackList" , js_name = getTrackById)]
+ #[doc = "The `getTrackById()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/getTrackById)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrack`, `AudioTrackList`*"]
+ pub fn get_track_by_id(this: &AudioTrackList, id: &str) -> Option<AudioTrack>;
+ #[cfg(feature = "AudioTrack")]
+ #[wasm_bindgen(method, structural, js_class = "AudioTrackList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrack`, `AudioTrackList`*"]
+ pub fn get(this: &AudioTrackList, index: u32) -> Option<AudioTrack>;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioWorklet.rs b/vendor/web-sys/src/features/gen_AudioWorklet.rs
new file mode 100644
index 000000000..c160c5004
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioWorklet.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Worklet , extends = :: js_sys :: Object , js_name = AudioWorklet , typescript_type = "AudioWorklet")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioWorklet` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorklet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorklet`*"]
+ pub type AudioWorklet;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioWorkletGlobalScope.rs b/vendor/web-sys/src/features/gen_AudioWorkletGlobalScope.rs
new file mode 100644
index 000000000..4057aeaa1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioWorkletGlobalScope.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = WorkletGlobalScope , extends = :: js_sys :: Object , js_name = AudioWorkletGlobalScope , typescript_type = "AudioWorkletGlobalScope")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioWorkletGlobalScope` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*"]
+ pub type AudioWorkletGlobalScope;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioWorkletGlobalScope" , js_name = currentFrame)]
+ #[doc = "Getter for the `currentFrame` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/currentFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*"]
+ pub fn current_frame(this: &AudioWorkletGlobalScope) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioWorkletGlobalScope" , js_name = currentTime)]
+ #[doc = "Getter for the `currentTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/currentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*"]
+ pub fn current_time(this: &AudioWorkletGlobalScope) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioWorkletGlobalScope" , js_name = sampleRate)]
+ #[doc = "Getter for the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/sampleRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*"]
+ pub fn sample_rate(this: &AudioWorkletGlobalScope) -> f32;
+ # [wasm_bindgen (method , structural , js_class = "AudioWorkletGlobalScope" , js_name = registerProcessor)]
+ #[doc = "The `registerProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/registerProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*"]
+ pub fn register_processor(
+ this: &AudioWorkletGlobalScope,
+ name: &str,
+ processor_ctor: &::js_sys::Function,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_AudioWorkletNode.rs b/vendor/web-sys/src/features/gen_AudioWorkletNode.rs
new file mode 100644
index 000000000..989bab544
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioWorkletNode.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioWorkletNode , typescript_type = "AudioWorkletNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioWorkletNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNode`*"]
+ pub type AudioWorkletNode;
+ #[cfg(feature = "AudioParamMap")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "AudioWorkletNode" , js_name = parameters)]
+ #[doc = "Getter for the `parameters` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/parameters)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`, `AudioWorkletNode`*"]
+ pub fn parameters(this: &AudioWorkletNode) -> Result<AudioParamMap, JsValue>;
+ #[cfg(feature = "MessagePort")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "AudioWorkletNode" , js_name = port)]
+ #[doc = "Getter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNode`, `MessagePort`*"]
+ pub fn port(this: &AudioWorkletNode) -> Result<MessagePort, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "AudioWorkletNode" , js_name = onprocessorerror)]
+ #[doc = "Getter for the `onprocessorerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/onprocessorerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNode`*"]
+ pub fn onprocessorerror(this: &AudioWorkletNode) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "AudioWorkletNode" , js_name = onprocessorerror)]
+ #[doc = "Setter for the `onprocessorerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/onprocessorerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNode`*"]
+ pub fn set_onprocessorerror(this: &AudioWorkletNode, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "AudioWorkletNode")]
+ #[doc = "The `new AudioWorkletNode(..)` constructor, creating a new instance of `AudioWorkletNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/AudioWorkletNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNode`, `BaseAudioContext`*"]
+ pub fn new(context: &BaseAudioContext, name: &str) -> Result<AudioWorkletNode, JsValue>;
+ #[cfg(all(feature = "AudioWorkletNodeOptions", feature = "BaseAudioContext",))]
+ #[wasm_bindgen(catch, constructor, js_class = "AudioWorkletNode")]
+ #[doc = "The `new AudioWorkletNode(..)` constructor, creating a new instance of `AudioWorkletNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/AudioWorkletNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNode`, `AudioWorkletNodeOptions`, `BaseAudioContext`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ name: &str,
+ options: &AudioWorkletNodeOptions,
+ ) -> Result<AudioWorkletNode, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_AudioWorkletNodeOptions.rs b/vendor/web-sys/src/features/gen_AudioWorkletNodeOptions.rs
new file mode 100644
index 000000000..e97330a36
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioWorkletNodeOptions.rs
@@ -0,0 +1,148 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioWorkletNodeOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioWorkletNodeOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNodeOptions`*"]
+ pub type AudioWorkletNodeOptions;
+}
+impl AudioWorkletNodeOptions {
+ #[doc = "Construct a new `AudioWorkletNodeOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNodeOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNodeOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNodeOptions`, `ChannelCountMode`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNodeOptions`, `ChannelInterpretation`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `numberOfInputs` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNodeOptions`*"]
+ pub fn number_of_inputs(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("numberOfInputs"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `numberOfOutputs` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNodeOptions`*"]
+ pub fn number_of_outputs(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("numberOfOutputs"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `outputChannelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNodeOptions`*"]
+ pub fn output_channel_count(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("outputChannelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `processorOptions` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNodeOptions`*"]
+ pub fn processor_options(&mut self, val: Option<&::js_sys::Object>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("processorOptions"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AudioWorkletNodeOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AudioWorkletProcessor.rs b/vendor/web-sys/src/features/gen_AudioWorkletProcessor.rs
new file mode 100644
index 000000000..8a537cd1a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AudioWorkletProcessor.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioWorkletProcessor , typescript_type = "AudioWorkletProcessor")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AudioWorkletProcessor` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletProcessor`*"]
+ pub type AudioWorkletProcessor;
+ #[cfg(feature = "MessagePort")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "AudioWorkletProcessor" , js_name = port)]
+ #[doc = "Getter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletProcessor`, `MessagePort`*"]
+ pub fn port(this: &AudioWorkletProcessor) -> Result<MessagePort, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "AudioWorkletProcessor")]
+ #[doc = "The `new AudioWorkletProcessor(..)` constructor, creating a new instance of `AudioWorkletProcessor`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor/AudioWorkletProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletProcessor`*"]
+ pub fn new() -> Result<AudioWorkletProcessor, JsValue>;
+ #[cfg(feature = "AudioWorkletNodeOptions")]
+ #[wasm_bindgen(catch, constructor, js_class = "AudioWorkletProcessor")]
+ #[doc = "The `new AudioWorkletProcessor(..)` constructor, creating a new instance of `AudioWorkletProcessor`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor/AudioWorkletProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorkletNodeOptions`, `AudioWorkletProcessor`*"]
+ pub fn new_with_options(
+ options: &AudioWorkletNodeOptions,
+ ) -> Result<AudioWorkletProcessor, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientInputs.rs b/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientInputs.rs
new file mode 100644
index 000000000..cde43d20c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientInputs.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticationExtensionsClientInputs)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AuthenticationExtensionsClientInputs` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsClientInputs`*"]
+ pub type AuthenticationExtensionsClientInputs;
+}
+impl AuthenticationExtensionsClientInputs {
+ #[doc = "Construct a new `AuthenticationExtensionsClientInputs`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsClientInputs`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `appid` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsClientInputs`*"]
+ pub fn appid(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("appid"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AuthenticationExtensionsClientInputs {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientOutputs.rs b/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientOutputs.rs
new file mode 100644
index 000000000..4b59b3214
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientOutputs.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticationExtensionsClientOutputs)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AuthenticationExtensionsClientOutputs` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsClientOutputs`*"]
+ pub type AuthenticationExtensionsClientOutputs;
+}
+impl AuthenticationExtensionsClientOutputs {
+ #[doc = "Construct a new `AuthenticationExtensionsClientOutputs`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsClientOutputs`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `appid` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsClientOutputs`*"]
+ pub fn appid(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("appid"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AuthenticationExtensionsClientOutputs {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AuthenticatorAssertionResponse.rs b/vendor/web-sys/src/features/gen_AuthenticatorAssertionResponse.rs
new file mode 100644
index 000000000..dd6e10e7f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AuthenticatorAssertionResponse.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AuthenticatorResponse , extends = :: js_sys :: Object , js_name = AuthenticatorAssertionResponse , typescript_type = "AuthenticatorAssertionResponse")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AuthenticatorAssertionResponse` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*"]
+ pub type AuthenticatorAssertionResponse;
+ # [wasm_bindgen (structural , method , getter , js_class = "AuthenticatorAssertionResponse" , js_name = authenticatorData)]
+ #[doc = "Getter for the `authenticatorData` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/authenticatorData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*"]
+ pub fn authenticator_data(this: &AuthenticatorAssertionResponse) -> ::js_sys::ArrayBuffer;
+ # [wasm_bindgen (structural , method , getter , js_class = "AuthenticatorAssertionResponse" , js_name = signature)]
+ #[doc = "Getter for the `signature` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/signature)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*"]
+ pub fn signature(this: &AuthenticatorAssertionResponse) -> ::js_sys::ArrayBuffer;
+ # [wasm_bindgen (structural , method , getter , js_class = "AuthenticatorAssertionResponse" , js_name = userHandle)]
+ #[doc = "Getter for the `userHandle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/userHandle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*"]
+ pub fn user_handle(this: &AuthenticatorAssertionResponse) -> Option<::js_sys::ArrayBuffer>;
+}
diff --git a/vendor/web-sys/src/features/gen_AuthenticatorAttachment.rs b/vendor/web-sys/src/features/gen_AuthenticatorAttachment.rs
new file mode 100644
index 000000000..f0776410d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AuthenticatorAttachment.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `AuthenticatorAttachment` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `AuthenticatorAttachment`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum AuthenticatorAttachment {
+ Platform = "platform",
+ CrossPlatform = "cross-platform",
+}
diff --git a/vendor/web-sys/src/features/gen_AuthenticatorAttestationResponse.rs b/vendor/web-sys/src/features/gen_AuthenticatorAttestationResponse.rs
new file mode 100644
index 000000000..364ebc23b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AuthenticatorAttestationResponse.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AuthenticatorResponse , extends = :: js_sys :: Object , js_name = AuthenticatorAttestationResponse , typescript_type = "AuthenticatorAttestationResponse")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AuthenticatorAttestationResponse` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAttestationResponse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorAttestationResponse`*"]
+ pub type AuthenticatorAttestationResponse;
+ # [wasm_bindgen (structural , method , getter , js_class = "AuthenticatorAttestationResponse" , js_name = attestationObject)]
+ #[doc = "Getter for the `attestationObject` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAttestationResponse/attestationObject)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorAttestationResponse`*"]
+ pub fn attestation_object(this: &AuthenticatorAttestationResponse) -> ::js_sys::ArrayBuffer;
+}
diff --git a/vendor/web-sys/src/features/gen_AuthenticatorResponse.rs b/vendor/web-sys/src/features/gen_AuthenticatorResponse.rs
new file mode 100644
index 000000000..2aa5468b2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AuthenticatorResponse.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticatorResponse , typescript_type = "AuthenticatorResponse")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AuthenticatorResponse` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorResponse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorResponse`*"]
+ pub type AuthenticatorResponse;
+ # [wasm_bindgen (structural , method , getter , js_class = "AuthenticatorResponse" , js_name = clientDataJSON)]
+ #[doc = "Getter for the `clientDataJSON` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorResponse/clientDataJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorResponse`*"]
+ pub fn client_data_json(this: &AuthenticatorResponse) -> ::js_sys::ArrayBuffer;
+}
diff --git a/vendor/web-sys/src/features/gen_AuthenticatorSelectionCriteria.rs b/vendor/web-sys/src/features/gen_AuthenticatorSelectionCriteria.rs
new file mode 100644
index 000000000..1e4b5e900
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AuthenticatorSelectionCriteria.rs
@@ -0,0 +1,80 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticatorSelectionCriteria)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AuthenticatorSelectionCriteria` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorSelectionCriteria`*"]
+ pub type AuthenticatorSelectionCriteria;
+}
+impl AuthenticatorSelectionCriteria {
+ #[doc = "Construct a new `AuthenticatorSelectionCriteria`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorSelectionCriteria`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "AuthenticatorAttachment")]
+ #[doc = "Change the `authenticatorAttachment` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorAttachment`, `AuthenticatorSelectionCriteria`*"]
+ pub fn authenticator_attachment(&mut self, val: AuthenticatorAttachment) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("authenticatorAttachment"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `requireResidentKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorSelectionCriteria`*"]
+ pub fn require_resident_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("requireResidentKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "UserVerificationRequirement")]
+ #[doc = "Change the `userVerification` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorSelectionCriteria`, `UserVerificationRequirement`*"]
+ pub fn user_verification(&mut self, val: UserVerificationRequirement) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("userVerification"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AuthenticatorSelectionCriteria {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_AuthenticatorTransport.rs b/vendor/web-sys/src/features/gen_AuthenticatorTransport.rs
new file mode 100644
index 000000000..edafe5e11
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AuthenticatorTransport.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `AuthenticatorTransport` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `AuthenticatorTransport`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum AuthenticatorTransport {
+ Usb = "usb",
+ Nfc = "nfc",
+ Ble = "ble",
+}
diff --git a/vendor/web-sys/src/features/gen_AutoKeyword.rs b/vendor/web-sys/src/features/gen_AutoKeyword.rs
new file mode 100644
index 000000000..d45de7a41
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AutoKeyword.rs
@@ -0,0 +1,10 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `AutoKeyword` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `AutoKeyword`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum AutoKeyword {
+ Auto = "auto",
+}
diff --git a/vendor/web-sys/src/features/gen_AutocompleteInfo.rs b/vendor/web-sys/src/features/gen_AutocompleteInfo.rs
new file mode 100644
index 000000000..42150b51b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_AutocompleteInfo.rs
@@ -0,0 +1,95 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AutocompleteInfo)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `AutocompleteInfo` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AutocompleteInfo`*"]
+ pub type AutocompleteInfo;
+}
+impl AutocompleteInfo {
+ #[doc = "Construct a new `AutocompleteInfo`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AutocompleteInfo`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `addressType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AutocompleteInfo`*"]
+ pub fn address_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("addressType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `contactType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AutocompleteInfo`*"]
+ pub fn contact_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("contactType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `fieldName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AutocompleteInfo`*"]
+ pub fn field_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("fieldName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `section` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AutocompleteInfo`*"]
+ pub fn section(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("section"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for AutocompleteInfo {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BarProp.rs b/vendor/web-sys/src/features/gen_BarProp.rs
new file mode 100644
index 000000000..de029dcbc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BarProp.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BarProp , typescript_type = "BarProp")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BarProp` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BarProp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BarProp`*"]
+ pub type BarProp;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "BarProp" , js_name = visible)]
+ #[doc = "Getter for the `visible` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BarProp/visible)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BarProp`*"]
+ pub fn visible(this: &BarProp) -> Result<bool, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "BarProp" , js_name = visible)]
+ #[doc = "Setter for the `visible` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BarProp/visible)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BarProp`*"]
+ pub fn set_visible(this: &BarProp, value: bool) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_BaseAudioContext.rs b/vendor/web-sys/src/features/gen_BaseAudioContext.rs
new file mode 100644
index 000000000..9f18ee241
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BaseAudioContext.rs
@@ -0,0 +1,357 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BaseAudioContext , typescript_type = "BaseAudioContext")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BaseAudioContext` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"]
+ pub type BaseAudioContext;
+ #[cfg(feature = "AudioDestinationNode")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BaseAudioContext" , js_name = destination)]
+ #[doc = "Getter for the `destination` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/destination)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDestinationNode`, `BaseAudioContext`*"]
+ pub fn destination(this: &BaseAudioContext) -> AudioDestinationNode;
+ # [wasm_bindgen (structural , method , getter , js_class = "BaseAudioContext" , js_name = sampleRate)]
+ #[doc = "Getter for the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/sampleRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"]
+ pub fn sample_rate(this: &BaseAudioContext) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "BaseAudioContext" , js_name = currentTime)]
+ #[doc = "Getter for the `currentTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/currentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"]
+ pub fn current_time(this: &BaseAudioContext) -> f64;
+ #[cfg(feature = "AudioListener")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BaseAudioContext" , js_name = listener)]
+ #[doc = "Getter for the `listener` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/listener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioListener`, `BaseAudioContext`*"]
+ pub fn listener(this: &BaseAudioContext) -> AudioListener;
+ #[cfg(feature = "AudioContextState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BaseAudioContext" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContextState`, `BaseAudioContext`*"]
+ pub fn state(this: &BaseAudioContext) -> AudioContextState;
+ #[cfg(feature = "AudioWorklet")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "BaseAudioContext" , js_name = audioWorklet)]
+ #[doc = "Getter for the `audioWorklet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/audioWorklet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorklet`, `BaseAudioContext`*"]
+ pub fn audio_worklet(this: &BaseAudioContext) -> Result<AudioWorklet, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "BaseAudioContext" , js_name = onstatechange)]
+ #[doc = "Getter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"]
+ pub fn onstatechange(this: &BaseAudioContext) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "BaseAudioContext" , js_name = onstatechange)]
+ #[doc = "Setter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"]
+ pub fn set_onstatechange(this: &BaseAudioContext, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "AnalyserNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createAnalyser)]
+ #[doc = "The `createAnalyser()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createAnalyser)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`, `BaseAudioContext`*"]
+ pub fn create_analyser(this: &BaseAudioContext) -> Result<AnalyserNode, JsValue>;
+ #[cfg(feature = "BiquadFilterNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createBiquadFilter)]
+ #[doc = "The `createBiquadFilter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createBiquadFilter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `BiquadFilterNode`*"]
+ pub fn create_biquad_filter(this: &BaseAudioContext) -> Result<BiquadFilterNode, JsValue>;
+ #[cfg(feature = "AudioBuffer")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createBuffer)]
+ #[doc = "The `createBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `BaseAudioContext`*"]
+ pub fn create_buffer(
+ this: &BaseAudioContext,
+ number_of_channels: u32,
+ length: u32,
+ sample_rate: f32,
+ ) -> Result<AudioBuffer, JsValue>;
+ #[cfg(feature = "AudioBufferSourceNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createBufferSource)]
+ #[doc = "The `createBufferSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createBufferSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `BaseAudioContext`*"]
+ pub fn create_buffer_source(this: &BaseAudioContext) -> Result<AudioBufferSourceNode, JsValue>;
+ #[cfg(feature = "ChannelMergerNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelMerger)]
+ #[doc = "The `createChannelMerger()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelMerger)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelMergerNode`*"]
+ pub fn create_channel_merger(this: &BaseAudioContext) -> Result<ChannelMergerNode, JsValue>;
+ #[cfg(feature = "ChannelMergerNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelMerger)]
+ #[doc = "The `createChannelMerger()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelMerger)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelMergerNode`*"]
+ pub fn create_channel_merger_with_number_of_inputs(
+ this: &BaseAudioContext,
+ number_of_inputs: u32,
+ ) -> Result<ChannelMergerNode, JsValue>;
+ #[cfg(feature = "ChannelSplitterNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelSplitter)]
+ #[doc = "The `createChannelSplitter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelSplitter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelSplitterNode`*"]
+ pub fn create_channel_splitter(this: &BaseAudioContext)
+ -> Result<ChannelSplitterNode, JsValue>;
+ #[cfg(feature = "ChannelSplitterNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelSplitter)]
+ #[doc = "The `createChannelSplitter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelSplitter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelSplitterNode`*"]
+ pub fn create_channel_splitter_with_number_of_outputs(
+ this: &BaseAudioContext,
+ number_of_outputs: u32,
+ ) -> Result<ChannelSplitterNode, JsValue>;
+ #[cfg(feature = "ConstantSourceNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createConstantSource)]
+ #[doc = "The `createConstantSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createConstantSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ConstantSourceNode`*"]
+ pub fn create_constant_source(this: &BaseAudioContext) -> Result<ConstantSourceNode, JsValue>;
+ #[cfg(feature = "ConvolverNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createConvolver)]
+ #[doc = "The `createConvolver()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createConvolver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ConvolverNode`*"]
+ pub fn create_convolver(this: &BaseAudioContext) -> Result<ConvolverNode, JsValue>;
+ #[cfg(feature = "DelayNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createDelay)]
+ #[doc = "The `createDelay()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createDelay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `DelayNode`*"]
+ pub fn create_delay(this: &BaseAudioContext) -> Result<DelayNode, JsValue>;
+ #[cfg(feature = "DelayNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createDelay)]
+ #[doc = "The `createDelay()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createDelay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `DelayNode`*"]
+ pub fn create_delay_with_max_delay_time(
+ this: &BaseAudioContext,
+ max_delay_time: f64,
+ ) -> Result<DelayNode, JsValue>;
+ #[cfg(feature = "DynamicsCompressorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createDynamicsCompressor)]
+ #[doc = "The `createDynamicsCompressor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createDynamicsCompressor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `DynamicsCompressorNode`*"]
+ pub fn create_dynamics_compressor(
+ this: &BaseAudioContext,
+ ) -> Result<DynamicsCompressorNode, JsValue>;
+ #[cfg(feature = "GainNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createGain)]
+ #[doc = "The `createGain()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createGain)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `GainNode`*"]
+ pub fn create_gain(this: &BaseAudioContext) -> Result<GainNode, JsValue>;
+ #[cfg(feature = "IirFilterNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createIIRFilter)]
+ #[doc = "The `createIIRFilter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createIIRFilter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `IirFilterNode`*"]
+ pub fn create_iir_filter(
+ this: &BaseAudioContext,
+ feedforward: &::wasm_bindgen::JsValue,
+ feedback: &::wasm_bindgen::JsValue,
+ ) -> Result<IirFilterNode, JsValue>;
+ #[cfg(feature = "OscillatorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createOscillator)]
+ #[doc = "The `createOscillator()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createOscillator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `OscillatorNode`*"]
+ pub fn create_oscillator(this: &BaseAudioContext) -> Result<OscillatorNode, JsValue>;
+ #[cfg(feature = "PannerNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createPanner)]
+ #[doc = "The `createPanner()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createPanner)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `PannerNode`*"]
+ pub fn create_panner(this: &BaseAudioContext) -> Result<PannerNode, JsValue>;
+ #[cfg(feature = "PeriodicWave")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createPeriodicWave)]
+ #[doc = "The `createPeriodicWave()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createPeriodicWave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `PeriodicWave`*"]
+ pub fn create_periodic_wave(
+ this: &BaseAudioContext,
+ real: &mut [f32],
+ imag: &mut [f32],
+ ) -> Result<PeriodicWave, JsValue>;
+ #[cfg(all(feature = "PeriodicWave", feature = "PeriodicWaveConstraints",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createPeriodicWave)]
+ #[doc = "The `createPeriodicWave()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createPeriodicWave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `PeriodicWave`, `PeriodicWaveConstraints`*"]
+ pub fn create_periodic_wave_with_constraints(
+ this: &BaseAudioContext,
+ real: &mut [f32],
+ imag: &mut [f32],
+ constraints: &PeriodicWaveConstraints,
+ ) -> Result<PeriodicWave, JsValue>;
+ #[cfg(feature = "ScriptProcessorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor)]
+ #[doc = "The `createScriptProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ScriptProcessorNode`*"]
+ pub fn create_script_processor(this: &BaseAudioContext)
+ -> Result<ScriptProcessorNode, JsValue>;
+ #[cfg(feature = "ScriptProcessorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor)]
+ #[doc = "The `createScriptProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ScriptProcessorNode`*"]
+ pub fn create_script_processor_with_buffer_size(
+ this: &BaseAudioContext,
+ buffer_size: u32,
+ ) -> Result<ScriptProcessorNode, JsValue>;
+ #[cfg(feature = "ScriptProcessorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor)]
+ #[doc = "The `createScriptProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ScriptProcessorNode`*"]
+ pub fn create_script_processor_with_buffer_size_and_number_of_input_channels(
+ this: &BaseAudioContext,
+ buffer_size: u32,
+ number_of_input_channels: u32,
+ ) -> Result<ScriptProcessorNode, JsValue>;
+ #[cfg(feature = "ScriptProcessorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor)]
+ #[doc = "The `createScriptProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ScriptProcessorNode`*"]
+ pub fn create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels(
+ this: &BaseAudioContext,
+ buffer_size: u32,
+ number_of_input_channels: u32,
+ number_of_output_channels: u32,
+ ) -> Result<ScriptProcessorNode, JsValue>;
+ #[cfg(feature = "StereoPannerNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createStereoPanner)]
+ #[doc = "The `createStereoPanner()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createStereoPanner)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `StereoPannerNode`*"]
+ pub fn create_stereo_panner(this: &BaseAudioContext) -> Result<StereoPannerNode, JsValue>;
+ #[cfg(feature = "WaveShaperNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = createWaveShaper)]
+ #[doc = "The `createWaveShaper()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createWaveShaper)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `WaveShaperNode`*"]
+ pub fn create_wave_shaper(this: &BaseAudioContext) -> Result<WaveShaperNode, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = decodeAudioData)]
+ #[doc = "The `decodeAudioData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"]
+ pub fn decode_audio_data(
+ this: &BaseAudioContext,
+ audio_data: &::js_sys::ArrayBuffer,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = decodeAudioData)]
+ #[doc = "The `decodeAudioData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"]
+ pub fn decode_audio_data_with_success_callback(
+ this: &BaseAudioContext,
+ audio_data: &::js_sys::ArrayBuffer,
+ success_callback: &::js_sys::Function,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = decodeAudioData)]
+ #[doc = "The `decodeAudioData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"]
+ pub fn decode_audio_data_with_success_callback_and_error_callback(
+ this: &BaseAudioContext,
+ audio_data: &::js_sys::ArrayBuffer,
+ success_callback: &::js_sys::Function,
+ error_callback: &::js_sys::Function,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "BaseAudioContext" , js_name = resume)]
+ #[doc = "The `resume()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/resume)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"]
+ pub fn resume(this: &BaseAudioContext) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_BaseComputedKeyframe.rs b/vendor/web-sys/src/features/gen_BaseComputedKeyframe.rs
new file mode 100644
index 000000000..eba64eee2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BaseComputedKeyframe.rs
@@ -0,0 +1,107 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BaseComputedKeyframe)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BaseComputedKeyframe` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseComputedKeyframe`*"]
+ pub type BaseComputedKeyframe;
+}
+impl BaseComputedKeyframe {
+ #[doc = "Construct a new `BaseComputedKeyframe`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseComputedKeyframe`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "CompositeOperation")]
+ #[doc = "Change the `composite` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseComputedKeyframe`, `CompositeOperation`*"]
+ pub fn composite(&mut self, val: Option<CompositeOperation>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composite"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `easing` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseComputedKeyframe`*"]
+ pub fn easing(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("easing"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseComputedKeyframe`*"]
+ pub fn offset(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("offset"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `simulateComputeValuesFailure` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseComputedKeyframe`*"]
+ pub fn simulate_compute_values_failure(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("simulateComputeValuesFailure"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `computedOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseComputedKeyframe`*"]
+ pub fn computed_offset(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("computedOffset"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for BaseComputedKeyframe {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BaseKeyframe.rs b/vendor/web-sys/src/features/gen_BaseKeyframe.rs
new file mode 100644
index 000000000..aef901284
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BaseKeyframe.rs
@@ -0,0 +1,90 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BaseKeyframe)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BaseKeyframe` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseKeyframe`*"]
+ pub type BaseKeyframe;
+}
+impl BaseKeyframe {
+ #[doc = "Construct a new `BaseKeyframe`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseKeyframe`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "CompositeOperation")]
+ #[doc = "Change the `composite` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseKeyframe`, `CompositeOperation`*"]
+ pub fn composite(&mut self, val: Option<CompositeOperation>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composite"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `easing` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseKeyframe`*"]
+ pub fn easing(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("easing"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseKeyframe`*"]
+ pub fn offset(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("offset"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `simulateComputeValuesFailure` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseKeyframe`*"]
+ pub fn simulate_compute_values_failure(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("simulateComputeValuesFailure"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for BaseKeyframe {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BasePropertyIndexedKeyframe.rs b/vendor/web-sys/src/features/gen_BasePropertyIndexedKeyframe.rs
new file mode 100644
index 000000000..b6dbdf025
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BasePropertyIndexedKeyframe.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BasePropertyIndexedKeyframe)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BasePropertyIndexedKeyframe` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasePropertyIndexedKeyframe`*"]
+ pub type BasePropertyIndexedKeyframe;
+}
+impl BasePropertyIndexedKeyframe {
+ #[doc = "Construct a new `BasePropertyIndexedKeyframe`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasePropertyIndexedKeyframe`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `composite` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasePropertyIndexedKeyframe`*"]
+ pub fn composite(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composite"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `easing` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasePropertyIndexedKeyframe`*"]
+ pub fn easing(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("easing"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasePropertyIndexedKeyframe`*"]
+ pub fn offset(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("offset"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for BasePropertyIndexedKeyframe {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BasicCardRequest.rs b/vendor/web-sys/src/features/gen_BasicCardRequest.rs
new file mode 100644
index 000000000..a0e60aa8c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BasicCardRequest.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BasicCardRequest)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BasicCardRequest` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasicCardRequest`*"]
+ pub type BasicCardRequest;
+}
+impl BasicCardRequest {
+ #[doc = "Construct a new `BasicCardRequest`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasicCardRequest`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `supportedNetworks` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasicCardRequest`*"]
+ pub fn supported_networks(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("supportedNetworks"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `supportedTypes` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasicCardRequest`*"]
+ pub fn supported_types(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("supportedTypes"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for BasicCardRequest {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BasicCardResponse.rs b/vendor/web-sys/src/features/gen_BasicCardResponse.rs
new file mode 100644
index 000000000..b005d718c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BasicCardResponse.rs
@@ -0,0 +1,126 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BasicCardResponse)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BasicCardResponse` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasicCardResponse`*"]
+ pub type BasicCardResponse;
+}
+impl BasicCardResponse {
+ #[doc = "Construct a new `BasicCardResponse`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasicCardResponse`*"]
+ pub fn new(card_number: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.card_number(card_number);
+ ret
+ }
+ #[cfg(feature = "PaymentAddress")]
+ #[doc = "Change the `billingAddress` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasicCardResponse`, `PaymentAddress`*"]
+ pub fn billing_address(&mut self, val: Option<&PaymentAddress>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("billingAddress"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cardNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasicCardResponse`*"]
+ pub fn card_number(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cardNumber"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cardSecurityCode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasicCardResponse`*"]
+ pub fn card_security_code(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cardSecurityCode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cardholderName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasicCardResponse`*"]
+ pub fn cardholder_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cardholderName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `expiryMonth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasicCardResponse`*"]
+ pub fn expiry_month(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("expiryMonth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `expiryYear` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BasicCardResponse`*"]
+ pub fn expiry_year(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("expiryYear"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BasicCardType.rs b/vendor/web-sys/src/features/gen_BasicCardType.rs
new file mode 100644
index 000000000..2a7b1c7be
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BasicCardType.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `BasicCardType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `BasicCardType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum BasicCardType {
+ Credit = "credit",
+ Debit = "debit",
+ Prepaid = "prepaid",
+}
diff --git a/vendor/web-sys/src/features/gen_BatteryManager.rs b/vendor/web-sys/src/features/gen_BatteryManager.rs
new file mode 100644
index 000000000..1098d5c1f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BatteryManager.rs
@@ -0,0 +1,98 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BatteryManager , typescript_type = "BatteryManager")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BatteryManager` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub type BatteryManager;
+ # [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = charging)]
+ #[doc = "Getter for the `charging` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/charging)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub fn charging(this: &BatteryManager) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = chargingTime)]
+ #[doc = "Getter for the `chargingTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/chargingTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub fn charging_time(this: &BatteryManager) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = dischargingTime)]
+ #[doc = "Getter for the `dischargingTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/dischargingTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub fn discharging_time(this: &BatteryManager) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = level)]
+ #[doc = "Getter for the `level` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/level)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub fn level(this: &BatteryManager) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = onchargingchange)]
+ #[doc = "Getter for the `onchargingchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub fn onchargingchange(this: &BatteryManager) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "BatteryManager" , js_name = onchargingchange)]
+ #[doc = "Setter for the `onchargingchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub fn set_onchargingchange(this: &BatteryManager, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = onchargingtimechange)]
+ #[doc = "Getter for the `onchargingtimechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingtimechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub fn onchargingtimechange(this: &BatteryManager) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "BatteryManager" , js_name = onchargingtimechange)]
+ #[doc = "Setter for the `onchargingtimechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingtimechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub fn set_onchargingtimechange(this: &BatteryManager, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = ondischargingtimechange)]
+ #[doc = "Getter for the `ondischargingtimechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/ondischargingtimechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub fn ondischargingtimechange(this: &BatteryManager) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "BatteryManager" , js_name = ondischargingtimechange)]
+ #[doc = "Setter for the `ondischargingtimechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/ondischargingtimechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub fn set_ondischargingtimechange(this: &BatteryManager, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "BatteryManager" , js_name = onlevelchange)]
+ #[doc = "Getter for the `onlevelchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onlevelchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub fn onlevelchange(this: &BatteryManager) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "BatteryManager" , js_name = onlevelchange)]
+ #[doc = "Setter for the `onlevelchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onlevelchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BatteryManager`*"]
+ pub fn set_onlevelchange(this: &BatteryManager, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_BeforeUnloadEvent.rs b/vendor/web-sys/src/features/gen_BeforeUnloadEvent.rs
new file mode 100644
index 000000000..981323ed0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BeforeUnloadEvent.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = BeforeUnloadEvent , typescript_type = "BeforeUnloadEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BeforeUnloadEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BeforeUnloadEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BeforeUnloadEvent`*"]
+ pub type BeforeUnloadEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "BeforeUnloadEvent" , js_name = returnValue)]
+ #[doc = "Getter for the `returnValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BeforeUnloadEvent/returnValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BeforeUnloadEvent`*"]
+ pub fn return_value(this: &BeforeUnloadEvent) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "BeforeUnloadEvent" , js_name = returnValue)]
+ #[doc = "Setter for the `returnValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BeforeUnloadEvent/returnValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BeforeUnloadEvent`*"]
+ pub fn set_return_value(this: &BeforeUnloadEvent, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_BinaryType.rs b/vendor/web-sys/src/features/gen_BinaryType.rs
new file mode 100644
index 000000000..d7ee13baf
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BinaryType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `BinaryType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `BinaryType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum BinaryType {
+ Blob = "blob",
+ Arraybuffer = "arraybuffer",
+}
diff --git a/vendor/web-sys/src/features/gen_BiquadFilterNode.rs b/vendor/web-sys/src/features/gen_BiquadFilterNode.rs
new file mode 100644
index 000000000..5c0dd01b7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BiquadFilterNode.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = BiquadFilterNode , typescript_type = "BiquadFilterNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BiquadFilterNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterNode`*"]
+ pub type BiquadFilterNode;
+ #[cfg(feature = "BiquadFilterType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BiquadFilterNode" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterNode`, `BiquadFilterType`*"]
+ pub fn type_(this: &BiquadFilterNode) -> BiquadFilterType;
+ #[cfg(feature = "BiquadFilterType")]
+ # [wasm_bindgen (structural , method , setter , js_class = "BiquadFilterNode" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterNode`, `BiquadFilterType`*"]
+ pub fn set_type(this: &BiquadFilterNode, value: BiquadFilterType);
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BiquadFilterNode" , js_name = frequency)]
+ #[doc = "Getter for the `frequency` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/frequency)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*"]
+ pub fn frequency(this: &BiquadFilterNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BiquadFilterNode" , js_name = detune)]
+ #[doc = "Getter for the `detune` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/detune)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*"]
+ pub fn detune(this: &BiquadFilterNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BiquadFilterNode" , js_name = Q)]
+ #[doc = "Getter for the `Q` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/Q)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*"]
+ pub fn q(this: &BiquadFilterNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BiquadFilterNode" , js_name = gain)]
+ #[doc = "Getter for the `gain` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/gain)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*"]
+ pub fn gain(this: &BiquadFilterNode) -> AudioParam;
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "BiquadFilterNode")]
+ #[doc = "The `new BiquadFilterNode(..)` constructor, creating a new instance of `BiquadFilterNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/BiquadFilterNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `BiquadFilterNode`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<BiquadFilterNode, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "BiquadFilterOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "BiquadFilterNode")]
+ #[doc = "The `new BiquadFilterNode(..)` constructor, creating a new instance of `BiquadFilterNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/BiquadFilterNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `BiquadFilterNode`, `BiquadFilterOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &BiquadFilterOptions,
+ ) -> Result<BiquadFilterNode, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "BiquadFilterNode" , js_name = getFrequencyResponse)]
+ #[doc = "The `getFrequencyResponse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/getFrequencyResponse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterNode`*"]
+ pub fn get_frequency_response(
+ this: &BiquadFilterNode,
+ frequency_hz: &mut [f32],
+ mag_response: &mut [f32],
+ phase_response: &mut [f32],
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_BiquadFilterOptions.rs b/vendor/web-sys/src/features/gen_BiquadFilterOptions.rs
new file mode 100644
index 000000000..af051cb2c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BiquadFilterOptions.rs
@@ -0,0 +1,151 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BiquadFilterOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BiquadFilterOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterOptions`*"]
+ pub type BiquadFilterOptions;
+}
+impl BiquadFilterOptions {
+ #[doc = "Construct a new `BiquadFilterOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterOptions`, `ChannelCountMode`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterOptions`, `ChannelInterpretation`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `Q` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterOptions`*"]
+ pub fn q(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("Q"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detune` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterOptions`*"]
+ pub fn detune(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detune"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `frequency` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterOptions`*"]
+ pub fn frequency(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frequency"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `gain` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterOptions`*"]
+ pub fn gain(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("gain"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "BiquadFilterType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterOptions`, `BiquadFilterType`*"]
+ pub fn type_(&mut self, val: BiquadFilterType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for BiquadFilterOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BiquadFilterType.rs b/vendor/web-sys/src/features/gen_BiquadFilterType.rs
new file mode 100644
index 000000000..21743d5f9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BiquadFilterType.rs
@@ -0,0 +1,17 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `BiquadFilterType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `BiquadFilterType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum BiquadFilterType {
+ Lowpass = "lowpass",
+ Highpass = "highpass",
+ Bandpass = "bandpass",
+ Lowshelf = "lowshelf",
+ Highshelf = "highshelf",
+ Peaking = "peaking",
+ Notch = "notch",
+ Allpass = "allpass",
+}
diff --git a/vendor/web-sys/src/features/gen_Blob.rs b/vendor/web-sys/src/features/gen_Blob.rs
new file mode 100644
index 000000000..3300b57d6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Blob.rs
@@ -0,0 +1,230 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Blob , typescript_type = "Blob")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Blob` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub type Blob;
+ # [wasm_bindgen (structural , method , getter , js_class = "Blob" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn size(this: &Blob) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "Blob" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn type_(this: &Blob) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "Blob")]
+ #[doc = "The `new Blob(..)` constructor, creating a new instance of `Blob`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn new() -> Result<Blob, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Blob")]
+ #[doc = "The `new Blob(..)` constructor, creating a new instance of `Blob`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn new_with_buffer_source_sequence(
+ blob_parts: &::wasm_bindgen::JsValue,
+ ) -> Result<Blob, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Blob")]
+ #[doc = "The `new Blob(..)` constructor, creating a new instance of `Blob`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn new_with_u8_array_sequence(
+ blob_parts: &::wasm_bindgen::JsValue,
+ ) -> Result<Blob, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Blob")]
+ #[doc = "The `new Blob(..)` constructor, creating a new instance of `Blob`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn new_with_blob_sequence(blob_parts: &::wasm_bindgen::JsValue) -> Result<Blob, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Blob")]
+ #[doc = "The `new Blob(..)` constructor, creating a new instance of `Blob`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn new_with_str_sequence(blob_parts: &::wasm_bindgen::JsValue) -> Result<Blob, JsValue>;
+ #[cfg(feature = "BlobPropertyBag")]
+ #[wasm_bindgen(catch, constructor, js_class = "Blob")]
+ #[doc = "The `new Blob(..)` constructor, creating a new instance of `Blob`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `BlobPropertyBag`*"]
+ pub fn new_with_buffer_source_sequence_and_options(
+ blob_parts: &::wasm_bindgen::JsValue,
+ options: &BlobPropertyBag,
+ ) -> Result<Blob, JsValue>;
+ #[cfg(feature = "BlobPropertyBag")]
+ #[wasm_bindgen(catch, constructor, js_class = "Blob")]
+ #[doc = "The `new Blob(..)` constructor, creating a new instance of `Blob`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `BlobPropertyBag`*"]
+ pub fn new_with_u8_array_sequence_and_options(
+ blob_parts: &::wasm_bindgen::JsValue,
+ options: &BlobPropertyBag,
+ ) -> Result<Blob, JsValue>;
+ #[cfg(feature = "BlobPropertyBag")]
+ #[wasm_bindgen(catch, constructor, js_class = "Blob")]
+ #[doc = "The `new Blob(..)` constructor, creating a new instance of `Blob`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `BlobPropertyBag`*"]
+ pub fn new_with_blob_sequence_and_options(
+ blob_parts: &::wasm_bindgen::JsValue,
+ options: &BlobPropertyBag,
+ ) -> Result<Blob, JsValue>;
+ #[cfg(feature = "BlobPropertyBag")]
+ #[wasm_bindgen(catch, constructor, js_class = "Blob")]
+ #[doc = "The `new Blob(..)` constructor, creating a new instance of `Blob`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `BlobPropertyBag`*"]
+ pub fn new_with_str_sequence_and_options(
+ blob_parts: &::wasm_bindgen::JsValue,
+ options: &BlobPropertyBag,
+ ) -> Result<Blob, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Blob" , js_name = arrayBuffer)]
+ #[doc = "The `arrayBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/arrayBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn array_buffer(this: &Blob) -> ::js_sys::Promise;
+ # [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
+ #[doc = "The `slice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn slice(this: &Blob) -> Result<Blob, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
+ #[doc = "The `slice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn slice_with_i32(this: &Blob, start: i32) -> Result<Blob, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
+ #[doc = "The `slice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn slice_with_f64(this: &Blob, start: f64) -> Result<Blob, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
+ #[doc = "The `slice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn slice_with_i32_and_i32(this: &Blob, start: i32, end: i32) -> Result<Blob, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
+ #[doc = "The `slice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn slice_with_f64_and_i32(this: &Blob, start: f64, end: i32) -> Result<Blob, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
+ #[doc = "The `slice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn slice_with_i32_and_f64(this: &Blob, start: i32, end: f64) -> Result<Blob, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
+ #[doc = "The `slice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn slice_with_f64_and_f64(this: &Blob, start: f64, end: f64) -> Result<Blob, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
+ #[doc = "The `slice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn slice_with_i32_and_i32_and_content_type(
+ this: &Blob,
+ start: i32,
+ end: i32,
+ content_type: &str,
+ ) -> Result<Blob, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
+ #[doc = "The `slice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn slice_with_f64_and_i32_and_content_type(
+ this: &Blob,
+ start: f64,
+ end: i32,
+ content_type: &str,
+ ) -> Result<Blob, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
+ #[doc = "The `slice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn slice_with_i32_and_f64_and_content_type(
+ this: &Blob,
+ start: i32,
+ end: f64,
+ content_type: &str,
+ ) -> Result<Blob, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Blob" , js_name = slice)]
+ #[doc = "The `slice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn slice_with_f64_and_f64_and_content_type(
+ this: &Blob,
+ start: f64,
+ end: f64,
+ content_type: &str,
+ ) -> Result<Blob, JsValue>;
+ #[cfg(feature = "ReadableStream")]
+ # [wasm_bindgen (method , structural , js_class = "Blob" , js_name = stream)]
+ #[doc = "The `stream()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/stream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `ReadableStream`*"]
+ pub fn stream(this: &Blob) -> ReadableStream;
+ # [wasm_bindgen (method , structural , js_class = "Blob" , js_name = text)]
+ #[doc = "The `text()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`*"]
+ pub fn text(this: &Blob) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_BlobEvent.rs b/vendor/web-sys/src/features/gen_BlobEvent.rs
new file mode 100644
index 000000000..2274dde0e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BlobEvent.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = BlobEvent , typescript_type = "BlobEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BlobEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlobEvent`*"]
+ pub type BlobEvent;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BlobEvent" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `BlobEvent`*"]
+ pub fn data(this: &BlobEvent) -> Option<Blob>;
+ #[wasm_bindgen(catch, constructor, js_class = "BlobEvent")]
+ #[doc = "The `new BlobEvent(..)` constructor, creating a new instance of `BlobEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent/BlobEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlobEvent`*"]
+ pub fn new(type_: &str) -> Result<BlobEvent, JsValue>;
+ #[cfg(feature = "BlobEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "BlobEvent")]
+ #[doc = "The `new BlobEvent(..)` constructor, creating a new instance of `BlobEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent/BlobEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlobEvent`, `BlobEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &BlobEventInit,
+ ) -> Result<BlobEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_BlobEventInit.rs b/vendor/web-sys/src/features/gen_BlobEventInit.rs
new file mode 100644
index 000000000..10d381013
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BlobEventInit.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BlobEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BlobEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlobEventInit`*"]
+ pub type BlobEventInit;
+}
+impl BlobEventInit {
+ #[doc = "Construct a new `BlobEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlobEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlobEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlobEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlobEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Blob")]
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `BlobEventInit`*"]
+ pub fn data(&mut self, val: Option<&Blob>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for BlobEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BlobPropertyBag.rs b/vendor/web-sys/src/features/gen_BlobPropertyBag.rs
new file mode 100644
index 000000000..e7d1f6f5a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BlobPropertyBag.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BlobPropertyBag)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BlobPropertyBag` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlobPropertyBag`*"]
+ pub type BlobPropertyBag;
+}
+impl BlobPropertyBag {
+ #[doc = "Construct a new `BlobPropertyBag`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlobPropertyBag`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "EndingTypes")]
+ #[doc = "Change the `endings` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlobPropertyBag`, `EndingTypes`*"]
+ pub fn endings(&mut self, val: EndingTypes) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("endings"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlobPropertyBag`*"]
+ pub fn type_(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for BlobPropertyBag {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BlockParsingOptions.rs b/vendor/web-sys/src/features/gen_BlockParsingOptions.rs
new file mode 100644
index 000000000..9e0e4dbee
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BlockParsingOptions.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BlockParsingOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BlockParsingOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlockParsingOptions`*"]
+ pub type BlockParsingOptions;
+}
+impl BlockParsingOptions {
+ #[doc = "Construct a new `BlockParsingOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlockParsingOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `blockScriptCreated` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BlockParsingOptions`*"]
+ pub fn block_script_created(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("blockScriptCreated"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for BlockParsingOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Bluetooth.rs b/vendor/web-sys/src/features/gen_Bluetooth.rs
new file mode 100644
index 000000000..826ee01af
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Bluetooth.rs
@@ -0,0 +1,218 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Bluetooth , typescript_type = "Bluetooth")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Bluetooth` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type Bluetooth;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "Bluetooth" , js_name = onavailabilitychanged)]
+ #[doc = "Getter for the `onavailabilitychanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/onavailabilitychanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onavailabilitychanged(this: &Bluetooth) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "Bluetooth" , js_name = onavailabilitychanged)]
+ #[doc = "Setter for the `onavailabilitychanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/onavailabilitychanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onavailabilitychanged(this: &Bluetooth, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothDevice")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Bluetooth" , js_name = referringDevice)]
+ #[doc = "Getter for the `referringDevice` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/referringDevice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`, `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn referring_device(this: &Bluetooth) -> Option<BluetoothDevice>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "Bluetooth" , js_name = onadvertisementreceived)]
+ #[doc = "Getter for the `onadvertisementreceived` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/onadvertisementreceived)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onadvertisementreceived(this: &Bluetooth) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "Bluetooth" , js_name = onadvertisementreceived)]
+ #[doc = "Setter for the `onadvertisementreceived` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/onadvertisementreceived)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onadvertisementreceived(this: &Bluetooth, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "Bluetooth" , js_name = ongattserverdisconnected)]
+ #[doc = "Getter for the `ongattserverdisconnected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/ongattserverdisconnected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn ongattserverdisconnected(this: &Bluetooth) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "Bluetooth" , js_name = ongattserverdisconnected)]
+ #[doc = "Setter for the `ongattserverdisconnected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/ongattserverdisconnected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_ongattserverdisconnected(this: &Bluetooth, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "Bluetooth" , js_name = oncharacteristicvaluechanged)]
+ #[doc = "Getter for the `oncharacteristicvaluechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/oncharacteristicvaluechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn oncharacteristicvaluechanged(this: &Bluetooth) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "Bluetooth" , js_name = oncharacteristicvaluechanged)]
+ #[doc = "Setter for the `oncharacteristicvaluechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/oncharacteristicvaluechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_oncharacteristicvaluechanged(this: &Bluetooth, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "Bluetooth" , js_name = onserviceadded)]
+ #[doc = "Getter for the `onserviceadded` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/onserviceadded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onserviceadded(this: &Bluetooth) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "Bluetooth" , js_name = onserviceadded)]
+ #[doc = "Setter for the `onserviceadded` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/onserviceadded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onserviceadded(this: &Bluetooth, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "Bluetooth" , js_name = onservicechanged)]
+ #[doc = "Getter for the `onservicechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/onservicechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onservicechanged(this: &Bluetooth) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "Bluetooth" , js_name = onservicechanged)]
+ #[doc = "Setter for the `onservicechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/onservicechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onservicechanged(this: &Bluetooth, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "Bluetooth" , js_name = onserviceremoved)]
+ #[doc = "Getter for the `onserviceremoved` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/onserviceremoved)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onserviceremoved(this: &Bluetooth) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "Bluetooth" , js_name = onserviceremoved)]
+ #[doc = "Setter for the `onserviceremoved` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/onserviceremoved)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onserviceremoved(this: &Bluetooth, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "Bluetooth" , js_name = getAvailability)]
+ #[doc = "The `getAvailability()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/getAvailability)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_availability(this: &Bluetooth) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "Bluetooth" , js_name = getDevices)]
+ #[doc = "The `getDevices()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/getDevices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_devices(this: &Bluetooth) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "RequestDeviceOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Bluetooth" , js_name = requestDevice)]
+ #[doc = "The `requestDevice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/requestDevice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`, `RequestDeviceOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_device(this: &Bluetooth, options: &RequestDeviceOptions) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothAdvertisingEvent.rs b/vendor/web-sys/src/features/gen_BluetoothAdvertisingEvent.rs
new file mode 100644
index 000000000..5919467c2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothAdvertisingEvent.rs
@@ -0,0 +1,124 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = BluetoothAdvertisingEvent , typescript_type = "BluetoothAdvertisingEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothAdvertisingEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdvertisingEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothAdvertisingEvent;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothDevice")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothAdvertisingEvent" , js_name = device)]
+ #[doc = "Getter for the `device` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdvertisingEvent/device)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEvent`, `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device(this: &BluetoothAdvertisingEvent) -> BluetoothDevice;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothAdvertisingEvent" , js_name = uuids)]
+ #[doc = "Getter for the `uuids` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdvertisingEvent/uuids)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn uuids(this: &BluetoothAdvertisingEvent) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothAdvertisingEvent" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdvertisingEvent/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn name(this: &BluetoothAdvertisingEvent) -> Option<String>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothAdvertisingEvent" , js_name = appearance)]
+ #[doc = "Getter for the `appearance` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdvertisingEvent/appearance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn appearance(this: &BluetoothAdvertisingEvent) -> Option<u16>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothAdvertisingEvent" , js_name = txPower)]
+ #[doc = "Getter for the `txPower` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdvertisingEvent/txPower)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn tx_power(this: &BluetoothAdvertisingEvent) -> Option<i8>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothAdvertisingEvent" , js_name = rssi)]
+ #[doc = "Getter for the `rssi` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdvertisingEvent/rssi)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn rssi(this: &BluetoothAdvertisingEvent) -> Option<i8>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothManufacturerDataMap")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothAdvertisingEvent" , js_name = manufacturerData)]
+ #[doc = "Getter for the `manufacturerData` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdvertisingEvent/manufacturerData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEvent`, `BluetoothManufacturerDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn manufacturer_data(this: &BluetoothAdvertisingEvent) -> BluetoothManufacturerDataMap;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothServiceDataMap")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothAdvertisingEvent" , js_name = serviceData)]
+ #[doc = "Getter for the `serviceData` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdvertisingEvent/serviceData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEvent`, `BluetoothServiceDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn service_data(this: &BluetoothAdvertisingEvent) -> BluetoothServiceDataMap;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothAdvertisingEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "BluetoothAdvertisingEvent")]
+ #[doc = "The `new BluetoothAdvertisingEvent(..)` constructor, creating a new instance of `BluetoothAdvertisingEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdvertisingEvent/BluetoothAdvertisingEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEvent`, `BluetoothAdvertisingEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ type_: &str,
+ init: &BluetoothAdvertisingEventInit,
+ ) -> Result<BluetoothAdvertisingEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothAdvertisingEventInit.rs b/vendor/web-sys/src/features/gen_BluetoothAdvertisingEventInit.rs
new file mode 100644
index 000000000..cee141adc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothAdvertisingEventInit.rs
@@ -0,0 +1,251 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BluetoothAdvertisingEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothAdvertisingEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothAdvertisingEventInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl BluetoothAdvertisingEventInit {
+ #[cfg(feature = "BluetoothDevice")]
+ #[doc = "Construct a new `BluetoothAdvertisingEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`, `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(device: &BluetoothDevice) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.device(device);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `appearance` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn appearance(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("appearance"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothDevice")]
+ #[doc = "Change the `device` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`, `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device(&mut self, val: &BluetoothDevice) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("device"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothManufacturerDataMap")]
+ #[doc = "Change the `manufacturerData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`, `BluetoothManufacturerDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn manufacturer_data(&mut self, val: &BluetoothManufacturerDataMap) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("manufacturerData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `rssi` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn rssi(&mut self, val: i8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("rssi"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothServiceDataMap")]
+ #[doc = "Change the `serviceData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`, `BluetoothServiceDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn service_data(&mut self, val: &BluetoothServiceDataMap) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("serviceData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `txPower` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn tx_power(&mut self, val: i8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("txPower"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `uuids` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothAdvertisingEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn uuids(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("uuids"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothCharacteristicProperties.rs b/vendor/web-sys/src/features/gen_BluetoothCharacteristicProperties.rs
new file mode 100644
index 000000000..0c301b030
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothCharacteristicProperties.rs
@@ -0,0 +1,117 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BluetoothCharacteristicProperties , typescript_type = "BluetoothCharacteristicProperties")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothCharacteristicProperties` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothCharacteristicProperties;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothCharacteristicProperties" , js_name = broadcast)]
+ #[doc = "Getter for the `broadcast` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/broadcast)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn broadcast(this: &BluetoothCharacteristicProperties) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothCharacteristicProperties" , js_name = read)]
+ #[doc = "Getter for the `read` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/read)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn read(this: &BluetoothCharacteristicProperties) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothCharacteristicProperties" , js_name = writeWithoutResponse)]
+ #[doc = "Getter for the `writeWithoutResponse` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/writeWithoutResponse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_without_response(this: &BluetoothCharacteristicProperties) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothCharacteristicProperties" , js_name = write)]
+ #[doc = "Getter for the `write` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write(this: &BluetoothCharacteristicProperties) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothCharacteristicProperties" , js_name = notify)]
+ #[doc = "Getter for the `notify` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/notify)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn notify(this: &BluetoothCharacteristicProperties) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothCharacteristicProperties" , js_name = indicate)]
+ #[doc = "Getter for the `indicate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/indicate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn indicate(this: &BluetoothCharacteristicProperties) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothCharacteristicProperties" , js_name = authenticatedSignedWrites)]
+ #[doc = "Getter for the `authenticatedSignedWrites` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/authenticatedSignedWrites)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn authenticated_signed_writes(this: &BluetoothCharacteristicProperties) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothCharacteristicProperties" , js_name = reliableWrite)]
+ #[doc = "Getter for the `reliableWrite` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/reliableWrite)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn reliable_write(this: &BluetoothCharacteristicProperties) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothCharacteristicProperties" , js_name = writableAuxiliaries)]
+ #[doc = "Getter for the `writableAuxiliaries` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/writableAuxiliaries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn writable_auxiliaries(this: &BluetoothCharacteristicProperties) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothDataFilterInit.rs b/vendor/web-sys/src/features/gen_BluetoothDataFilterInit.rs
new file mode 100644
index 000000000..e8908b1c6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothDataFilterInit.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BluetoothDataFilterInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothDataFilterInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDataFilterInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothDataFilterInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl BluetoothDataFilterInit {
+ #[doc = "Construct a new `BluetoothDataFilterInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDataFilterInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `dataPrefix` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDataFilterInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data_prefix(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dataPrefix"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `mask` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDataFilterInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn mask(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("mask"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for BluetoothDataFilterInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothDevice.rs b/vendor/web-sys/src/features/gen_BluetoothDevice.rs
new file mode 100644
index 000000000..95dfae1a0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothDevice.rs
@@ -0,0 +1,224 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BluetoothDevice , typescript_type = "BluetoothDevice")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothDevice` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothDevice;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothDevice" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn id(this: &BluetoothDevice) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothDevice" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn name(this: &BluetoothDevice) -> Option<String>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothRemoteGattServer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothDevice" , js_name = gatt)]
+ #[doc = "Getter for the `gatt` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/gatt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`, `BluetoothRemoteGattServer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn gatt(this: &BluetoothDevice) -> Option<BluetoothRemoteGattServer>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothDevice" , js_name = watchingAdvertisements)]
+ #[doc = "Getter for the `watchingAdvertisements` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/watchingAdvertisements)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn watching_advertisements(this: &BluetoothDevice) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothDevice" , js_name = onadvertisementreceived)]
+ #[doc = "Getter for the `onadvertisementreceived` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/onadvertisementreceived)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onadvertisementreceived(this: &BluetoothDevice) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "BluetoothDevice" , js_name = onadvertisementreceived)]
+ #[doc = "Setter for the `onadvertisementreceived` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/onadvertisementreceived)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onadvertisementreceived(this: &BluetoothDevice, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothDevice" , js_name = ongattserverdisconnected)]
+ #[doc = "Getter for the `ongattserverdisconnected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/ongattserverdisconnected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn ongattserverdisconnected(this: &BluetoothDevice) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "BluetoothDevice" , js_name = ongattserverdisconnected)]
+ #[doc = "Setter for the `ongattserverdisconnected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/ongattserverdisconnected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_ongattserverdisconnected(this: &BluetoothDevice, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothDevice" , js_name = oncharacteristicvaluechanged)]
+ #[doc = "Getter for the `oncharacteristicvaluechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/oncharacteristicvaluechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn oncharacteristicvaluechanged(this: &BluetoothDevice) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "BluetoothDevice" , js_name = oncharacteristicvaluechanged)]
+ #[doc = "Setter for the `oncharacteristicvaluechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/oncharacteristicvaluechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_oncharacteristicvaluechanged(
+ this: &BluetoothDevice,
+ value: Option<&::js_sys::Function>,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothDevice" , js_name = onserviceadded)]
+ #[doc = "Getter for the `onserviceadded` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/onserviceadded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onserviceadded(this: &BluetoothDevice) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "BluetoothDevice" , js_name = onserviceadded)]
+ #[doc = "Setter for the `onserviceadded` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/onserviceadded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onserviceadded(this: &BluetoothDevice, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothDevice" , js_name = onservicechanged)]
+ #[doc = "Getter for the `onservicechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/onservicechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onservicechanged(this: &BluetoothDevice) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "BluetoothDevice" , js_name = onservicechanged)]
+ #[doc = "Setter for the `onservicechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/onservicechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onservicechanged(this: &BluetoothDevice, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothDevice" , js_name = onserviceremoved)]
+ #[doc = "Getter for the `onserviceremoved` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/onserviceremoved)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onserviceremoved(this: &BluetoothDevice) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "BluetoothDevice" , js_name = onserviceremoved)]
+ #[doc = "Setter for the `onserviceremoved` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/onserviceremoved)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onserviceremoved(this: &BluetoothDevice, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothDevice" , js_name = watchAdvertisements)]
+ #[doc = "The `watchAdvertisements()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/watchAdvertisements)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn watch_advertisements(this: &BluetoothDevice) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "WatchAdvertisementsOptions")]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothDevice" , js_name = watchAdvertisements)]
+ #[doc = "The `watchAdvertisements()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/watchAdvertisements)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`, `WatchAdvertisementsOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn watch_advertisements_with_options(
+ this: &BluetoothDevice,
+ options: &WatchAdvertisementsOptions,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothLeScanFilterInit.rs b/vendor/web-sys/src/features/gen_BluetoothLeScanFilterInit.rs
new file mode 100644
index 000000000..4e8a4cb26
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothLeScanFilterInit.rs
@@ -0,0 +1,137 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BluetoothLEScanFilterInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothLeScanFilterInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothLeScanFilterInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothLeScanFilterInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl BluetoothLeScanFilterInit {
+ #[doc = "Construct a new `BluetoothLeScanFilterInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothLeScanFilterInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `manufacturerData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothLeScanFilterInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn manufacturer_data(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("manufacturerData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothLeScanFilterInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `namePrefix` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothLeScanFilterInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn name_prefix(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("namePrefix"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `serviceData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothLeScanFilterInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn service_data(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("serviceData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `services` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothLeScanFilterInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn services(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("services"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for BluetoothLeScanFilterInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothManufacturerDataMap.rs b/vendor/web-sys/src/features/gen_BluetoothManufacturerDataMap.rs
new file mode 100644
index 000000000..0c0aba9fa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothManufacturerDataMap.rs
@@ -0,0 +1,98 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BluetoothManufacturerDataMap , typescript_type = "BluetoothManufacturerDataMap")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothManufacturerDataMap` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothManufacturerDataMap;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothManufacturerDataMap" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn size(this: &BluetoothManufacturerDataMap) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothManufacturerDataMap" , js_name = entries)]
+ #[doc = "The `entries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/entries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn entries(this: &BluetoothManufacturerDataMap) -> ::js_sys::Iterator;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (catch , method , structural , js_class = "BluetoothManufacturerDataMap" , js_name = forEach)]
+ #[doc = "The `forEach()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/forEach)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn for_each(
+ this: &BluetoothManufacturerDataMap,
+ callback: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothManufacturerDataMap" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get(this: &BluetoothManufacturerDataMap, key: u16) -> Option<::js_sys::DataView>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothManufacturerDataMap" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn has(this: &BluetoothManufacturerDataMap, key: u16) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothManufacturerDataMap" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn keys(this: &BluetoothManufacturerDataMap) -> ::js_sys::Iterator;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothManufacturerDataMap" , js_name = values)]
+ #[doc = "The `values()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/values)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn values(this: &BluetoothManufacturerDataMap) -> ::js_sys::Iterator;
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothPermissionDescriptor.rs b/vendor/web-sys/src/features/gen_BluetoothPermissionDescriptor.rs
new file mode 100644
index 000000000..9f5f22af9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothPermissionDescriptor.rs
@@ -0,0 +1,134 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BluetoothPermissionDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothPermissionDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothPermissionDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl BluetoothPermissionDescriptor {
+ #[cfg(feature = "PermissionName")]
+ #[doc = "Construct a new `BluetoothPermissionDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionDescriptor`, `PermissionName`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(name: PermissionName) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "PermissionName")]
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionDescriptor`, `PermissionName`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn name(&mut self, val: PermissionName) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `acceptAllDevices` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn accept_all_devices(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("acceptAllDevices"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `deviceId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("deviceId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `filters` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn filters(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("filters"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `optionalServices` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn optional_services(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("optionalServices"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothPermissionResult.rs b/vendor/web-sys/src/features/gen_BluetoothPermissionResult.rs
new file mode 100644
index 000000000..68bc1a244
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothPermissionResult.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = PermissionStatus , extends = EventTarget , extends = :: js_sys :: Object , js_name = BluetoothPermissionResult , typescript_type = "BluetoothPermissionResult")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothPermissionResult` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothPermissionResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothPermissionResult;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothPermissionResult" , js_name = devices)]
+ #[doc = "Getter for the `devices` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothPermissionResult/devices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn devices(this: &BluetoothPermissionResult) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "BluetoothPermissionResult" , js_name = devices)]
+ #[doc = "Setter for the `devices` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothPermissionResult/devices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_devices(this: &BluetoothPermissionResult, value: &::wasm_bindgen::JsValue);
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothPermissionStorage.rs b/vendor/web-sys/src/features/gen_BluetoothPermissionStorage.rs
new file mode 100644
index 000000000..28aab60d2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothPermissionStorage.rs
@@ -0,0 +1,52 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BluetoothPermissionStorage)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothPermissionStorage` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionStorage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothPermissionStorage;
+}
+#[cfg(web_sys_unstable_apis)]
+impl BluetoothPermissionStorage {
+ #[doc = "Construct a new `BluetoothPermissionStorage`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionStorage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(allowed_devices: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.allowed_devices(allowed_devices);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `allowedDevices` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothPermissionStorage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn allowed_devices(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("allowedDevices"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothRemoteGattCharacteristic.rs b/vendor/web-sys/src/features/gen_BluetoothRemoteGattCharacteristic.rs
new file mode 100644
index 000000000..7858ac35a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothRemoteGattCharacteristic.rs
@@ -0,0 +1,277 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BluetoothRemoteGATTCharacteristic , typescript_type = "BluetoothRemoteGATTCharacteristic")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothRemoteGattCharacteristic` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothRemoteGattCharacteristic;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothRemoteGattService")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = service)]
+ #[doc = "Getter for the `service` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/service)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`, `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn service(this: &BluetoothRemoteGattCharacteristic) -> BluetoothRemoteGattService;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = uuid)]
+ #[doc = "Getter for the `uuid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/uuid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn uuid(this: &BluetoothRemoteGattCharacteristic) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothCharacteristicProperties")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = properties)]
+ #[doc = "Getter for the `properties` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/properties)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`, `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn properties(
+ this: &BluetoothRemoteGattCharacteristic,
+ ) -> BluetoothCharacteristicProperties;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn value(this: &BluetoothRemoteGattCharacteristic) -> Option<::js_sys::DataView>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = oncharacteristicvaluechanged)]
+ #[doc = "Getter for the `oncharacteristicvaluechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/oncharacteristicvaluechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn oncharacteristicvaluechanged(
+ this: &BluetoothRemoteGattCharacteristic,
+ ) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = oncharacteristicvaluechanged)]
+ #[doc = "Setter for the `oncharacteristicvaluechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/oncharacteristicvaluechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_oncharacteristicvaluechanged(
+ this: &BluetoothRemoteGattCharacteristic,
+ value: Option<&::js_sys::Function>,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = getDescriptor)]
+ #[doc = "The `getDescriptor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_descriptor_with_str(
+ this: &BluetoothRemoteGattCharacteristic,
+ descriptor: &str,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = getDescriptor)]
+ #[doc = "The `getDescriptor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_descriptor_with_u32(
+ this: &BluetoothRemoteGattCharacteristic,
+ descriptor: u32,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = getDescriptors)]
+ #[doc = "The `getDescriptors()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptors)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_descriptors(this: &BluetoothRemoteGattCharacteristic) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = getDescriptors)]
+ #[doc = "The `getDescriptors()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptors)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_descriptors_with_str(
+ this: &BluetoothRemoteGattCharacteristic,
+ descriptor: &str,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = getDescriptors)]
+ #[doc = "The `getDescriptors()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptors)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_descriptors_with_u32(
+ this: &BluetoothRemoteGattCharacteristic,
+ descriptor: u32,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = readValue)]
+ #[doc = "The `readValue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/readValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn read_value(this: &BluetoothRemoteGattCharacteristic) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = startNotifications)]
+ #[doc = "The `startNotifications()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/startNotifications)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn start_notifications(this: &BluetoothRemoteGattCharacteristic) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = stopNotifications)]
+ #[doc = "The `stopNotifications()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/stopNotifications)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stop_notifications(this: &BluetoothRemoteGattCharacteristic) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValue)]
+ #[doc = "The `writeValue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_value_with_buffer_source(
+ this: &BluetoothRemoteGattCharacteristic,
+ value: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValue)]
+ #[doc = "The `writeValue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_value_with_u8_array(
+ this: &BluetoothRemoteGattCharacteristic,
+ value: &mut [u8],
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValueWithResponse)]
+ #[doc = "The `writeValueWithResponse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValueWithResponse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_value_with_response_with_buffer_source(
+ this: &BluetoothRemoteGattCharacteristic,
+ value: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValueWithResponse)]
+ #[doc = "The `writeValueWithResponse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValueWithResponse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_value_with_response_with_u8_array(
+ this: &BluetoothRemoteGattCharacteristic,
+ value: &mut [u8],
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValueWithoutResponse)]
+ #[doc = "The `writeValueWithoutResponse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValueWithoutResponse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_value_without_response_with_buffer_source(
+ this: &BluetoothRemoteGattCharacteristic,
+ value: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValueWithoutResponse)]
+ #[doc = "The `writeValueWithoutResponse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValueWithoutResponse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_value_without_response_with_u8_array(
+ this: &BluetoothRemoteGattCharacteristic,
+ value: &mut [u8],
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothRemoteGattDescriptor.rs b/vendor/web-sys/src/features/gen_BluetoothRemoteGattDescriptor.rs
new file mode 100644
index 000000000..14375523a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothRemoteGattDescriptor.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BluetoothRemoteGATTDescriptor , typescript_type = "BluetoothRemoteGATTDescriptor")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothRemoteGattDescriptor` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTDescriptor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothRemoteGattDescriptor;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothRemoteGattCharacteristic")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTDescriptor" , js_name = characteristic)]
+ #[doc = "Getter for the `characteristic` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTDescriptor/characteristic)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`, `BluetoothRemoteGattDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn characteristic(
+ this: &BluetoothRemoteGattDescriptor,
+ ) -> BluetoothRemoteGattCharacteristic;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTDescriptor" , js_name = uuid)]
+ #[doc = "Getter for the `uuid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTDescriptor/uuid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn uuid(this: &BluetoothRemoteGattDescriptor) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTDescriptor" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTDescriptor/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn value(this: &BluetoothRemoteGattDescriptor) -> Option<::js_sys::DataView>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTDescriptor" , js_name = readValue)]
+ #[doc = "The `readValue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTDescriptor/readValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn read_value(this: &BluetoothRemoteGattDescriptor) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTDescriptor" , js_name = writeValue)]
+ #[doc = "The `writeValue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTDescriptor/writeValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_value_with_buffer_source(
+ this: &BluetoothRemoteGattDescriptor,
+ value: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTDescriptor" , js_name = writeValue)]
+ #[doc = "The `writeValue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTDescriptor/writeValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_value_with_u8_array(
+ this: &BluetoothRemoteGattDescriptor,
+ value: &mut [u8],
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothRemoteGattServer.rs b/vendor/web-sys/src/features/gen_BluetoothRemoteGattServer.rs
new file mode 100644
index 000000000..76e8d833d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothRemoteGattServer.rs
@@ -0,0 +1,130 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BluetoothRemoteGATTServer , typescript_type = "BluetoothRemoteGATTServer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothRemoteGattServer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattServer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothRemoteGattServer;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothDevice")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTServer" , js_name = device)]
+ #[doc = "Getter for the `device` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/device)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`, `BluetoothRemoteGattServer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device(this: &BluetoothRemoteGattServer) -> BluetoothDevice;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTServer" , js_name = connected)]
+ #[doc = "Getter for the `connected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/connected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattServer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn connected(this: &BluetoothRemoteGattServer) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTServer" , js_name = connect)]
+ #[doc = "The `connect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/connect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattServer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn connect(this: &BluetoothRemoteGattServer) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTServer" , js_name = disconnect)]
+ #[doc = "The `disconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/disconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattServer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn disconnect(this: &BluetoothRemoteGattServer);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTServer" , js_name = getPrimaryService)]
+ #[doc = "The `getPrimaryService()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/getPrimaryService)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattServer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_primary_service_with_str(
+ this: &BluetoothRemoteGattServer,
+ service: &str,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTServer" , js_name = getPrimaryService)]
+ #[doc = "The `getPrimaryService()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/getPrimaryService)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattServer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_primary_service_with_u32(
+ this: &BluetoothRemoteGattServer,
+ service: u32,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTServer" , js_name = getPrimaryServices)]
+ #[doc = "The `getPrimaryServices()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/getPrimaryServices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattServer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_primary_services(this: &BluetoothRemoteGattServer) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTServer" , js_name = getPrimaryServices)]
+ #[doc = "The `getPrimaryServices()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/getPrimaryServices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattServer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_primary_services_with_str(
+ this: &BluetoothRemoteGattServer,
+ service: &str,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTServer" , js_name = getPrimaryServices)]
+ #[doc = "The `getPrimaryServices()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/getPrimaryServices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattServer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_primary_services_with_u32(
+ this: &BluetoothRemoteGattServer,
+ service: u32,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothRemoteGattService.rs b/vendor/web-sys/src/features/gen_BluetoothRemoteGattService.rs
new file mode 100644
index 000000000..852c88b1c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothRemoteGattService.rs
@@ -0,0 +1,288 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BluetoothRemoteGATTService , typescript_type = "BluetoothRemoteGATTService")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothRemoteGattService` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothRemoteGattService;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "BluetoothDevice")]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTService" , js_name = device)]
+ #[doc = "Getter for the `device` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/device)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothDevice`, `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device(this: &BluetoothRemoteGattService) -> BluetoothDevice;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTService" , js_name = uuid)]
+ #[doc = "Getter for the `uuid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/uuid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn uuid(this: &BluetoothRemoteGattService) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTService" , js_name = isPrimary)]
+ #[doc = "Getter for the `isPrimary` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/isPrimary)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_primary(this: &BluetoothRemoteGattService) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTService" , js_name = oncharacteristicvaluechanged)]
+ #[doc = "Getter for the `oncharacteristicvaluechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/oncharacteristicvaluechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn oncharacteristicvaluechanged(
+ this: &BluetoothRemoteGattService,
+ ) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "BluetoothRemoteGATTService" , js_name = oncharacteristicvaluechanged)]
+ #[doc = "Setter for the `oncharacteristicvaluechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/oncharacteristicvaluechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_oncharacteristicvaluechanged(
+ this: &BluetoothRemoteGattService,
+ value: Option<&::js_sys::Function>,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTService" , js_name = onserviceadded)]
+ #[doc = "Getter for the `onserviceadded` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/onserviceadded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onserviceadded(this: &BluetoothRemoteGattService) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "BluetoothRemoteGATTService" , js_name = onserviceadded)]
+ #[doc = "Setter for the `onserviceadded` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/onserviceadded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onserviceadded(
+ this: &BluetoothRemoteGattService,
+ value: Option<&::js_sys::Function>,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTService" , js_name = onservicechanged)]
+ #[doc = "Getter for the `onservicechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/onservicechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onservicechanged(this: &BluetoothRemoteGattService) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "BluetoothRemoteGATTService" , js_name = onservicechanged)]
+ #[doc = "Setter for the `onservicechanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/onservicechanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onservicechanged(
+ this: &BluetoothRemoteGattService,
+ value: Option<&::js_sys::Function>,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTService" , js_name = onserviceremoved)]
+ #[doc = "Getter for the `onserviceremoved` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/onserviceremoved)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onserviceremoved(this: &BluetoothRemoteGattService) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "BluetoothRemoteGATTService" , js_name = onserviceremoved)]
+ #[doc = "Setter for the `onserviceremoved` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/onserviceremoved)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onserviceremoved(
+ this: &BluetoothRemoteGattService,
+ value: Option<&::js_sys::Function>,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTService" , js_name = getCharacteristic)]
+ #[doc = "The `getCharacteristic()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getCharacteristic)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_characteristic_with_str(
+ this: &BluetoothRemoteGattService,
+ characteristic: &str,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTService" , js_name = getCharacteristic)]
+ #[doc = "The `getCharacteristic()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getCharacteristic)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_characteristic_with_u32(
+ this: &BluetoothRemoteGattService,
+ characteristic: u32,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTService" , js_name = getCharacteristics)]
+ #[doc = "The `getCharacteristics()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getCharacteristics)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_characteristics(this: &BluetoothRemoteGattService) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTService" , js_name = getCharacteristics)]
+ #[doc = "The `getCharacteristics()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getCharacteristics)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_characteristics_with_str(
+ this: &BluetoothRemoteGattService,
+ characteristic: &str,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTService" , js_name = getCharacteristics)]
+ #[doc = "The `getCharacteristics()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getCharacteristics)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_characteristics_with_u32(
+ this: &BluetoothRemoteGattService,
+ characteristic: u32,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTService" , js_name = getIncludedService)]
+ #[doc = "The `getIncludedService()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getIncludedService)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_included_service_with_str(
+ this: &BluetoothRemoteGattService,
+ service: &str,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTService" , js_name = getIncludedService)]
+ #[doc = "The `getIncludedService()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getIncludedService)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_included_service_with_u32(
+ this: &BluetoothRemoteGattService,
+ service: u32,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTService" , js_name = getIncludedServices)]
+ #[doc = "The `getIncludedServices()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getIncludedServices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_included_services(this: &BluetoothRemoteGattService) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTService" , js_name = getIncludedServices)]
+ #[doc = "The `getIncludedServices()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getIncludedServices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_included_services_with_str(
+ this: &BluetoothRemoteGattService,
+ service: &str,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTService" , js_name = getIncludedServices)]
+ #[doc = "The `getIncludedServices()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getIncludedServices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattService`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_included_services_with_u32(
+ this: &BluetoothRemoteGattService,
+ service: u32,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothServiceDataMap.rs b/vendor/web-sys/src/features/gen_BluetoothServiceDataMap.rs
new file mode 100644
index 000000000..c378eb0bd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothServiceDataMap.rs
@@ -0,0 +1,98 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BluetoothServiceDataMap , typescript_type = "BluetoothServiceDataMap")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothServiceDataMap` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothServiceDataMap;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "BluetoothServiceDataMap" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn size(this: &BluetoothServiceDataMap) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothServiceDataMap" , js_name = entries)]
+ #[doc = "The `entries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/entries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn entries(this: &BluetoothServiceDataMap) -> ::js_sys::Iterator;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (catch , method , structural , js_class = "BluetoothServiceDataMap" , js_name = forEach)]
+ #[doc = "The `forEach()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/forEach)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn for_each(
+ this: &BluetoothServiceDataMap,
+ callback: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothServiceDataMap" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get(this: &BluetoothServiceDataMap, key: &str) -> Option<::js_sys::DataView>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothServiceDataMap" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn has(this: &BluetoothServiceDataMap, key: &str) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothServiceDataMap" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn keys(this: &BluetoothServiceDataMap) -> ::js_sys::Iterator;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "BluetoothServiceDataMap" , js_name = values)]
+ #[doc = "The `values()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/values)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn values(this: &BluetoothServiceDataMap) -> ::js_sys::Iterator;
+}
diff --git a/vendor/web-sys/src/features/gen_BluetoothUuid.rs b/vendor/web-sys/src/features/gen_BluetoothUuid.rs
new file mode 100644
index 000000000..65e150535
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BluetoothUuid.rs
@@ -0,0 +1,95 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BluetoothUUID , typescript_type = "BluetoothUUID")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BluetoothUuid` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothUUID)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothUuid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type BluetoothUuid;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (static_method_of = BluetoothUuid , js_class = "BluetoothUUID" , js_name = canonicalUUID)]
+ #[doc = "The `canonicalUUID()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothUUID/canonicalUUID)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothUuid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn canonical_uuid(alias: u32) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (static_method_of = BluetoothUuid , js_class = "BluetoothUUID" , js_name = getCharacteristic)]
+ #[doc = "The `getCharacteristic()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothUUID/getCharacteristic)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothUuid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_characteristic_with_str(name: &str) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (static_method_of = BluetoothUuid , js_class = "BluetoothUUID" , js_name = getCharacteristic)]
+ #[doc = "The `getCharacteristic()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothUUID/getCharacteristic)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothUuid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_characteristic_with_u32(name: u32) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (static_method_of = BluetoothUuid , js_class = "BluetoothUUID" , js_name = getDescriptor)]
+ #[doc = "The `getDescriptor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothUUID/getDescriptor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothUuid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_descriptor_with_str(name: &str) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (static_method_of = BluetoothUuid , js_class = "BluetoothUUID" , js_name = getDescriptor)]
+ #[doc = "The `getDescriptor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothUUID/getDescriptor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothUuid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_descriptor_with_u32(name: u32) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (static_method_of = BluetoothUuid , js_class = "BluetoothUUID" , js_name = getService)]
+ #[doc = "The `getService()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothUUID/getService)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothUuid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_service_with_str(name: &str) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (static_method_of = BluetoothUuid , js_class = "BluetoothUUID" , js_name = getService)]
+ #[doc = "The `getService()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothUUID/getService)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BluetoothUuid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_service_with_u32(name: u32) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_BoxQuadOptions.rs b/vendor/web-sys/src/features/gen_BoxQuadOptions.rs
new file mode 100644
index 000000000..ce23e22fb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BoxQuadOptions.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BoxQuadOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BoxQuadOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BoxQuadOptions`*"]
+ pub type BoxQuadOptions;
+}
+impl BoxQuadOptions {
+ #[doc = "Construct a new `BoxQuadOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BoxQuadOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "CssBoxType")]
+ #[doc = "Change the `box` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BoxQuadOptions`, `CssBoxType`*"]
+ pub fn box_(&mut self, val: CssBoxType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("box"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `relativeTo` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BoxQuadOptions`*"]
+ pub fn relative_to(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("relativeTo"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for BoxQuadOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BroadcastChannel.rs b/vendor/web-sys/src/features/gen_BroadcastChannel.rs
new file mode 100644
index 000000000..1706b659e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BroadcastChannel.rs
@@ -0,0 +1,73 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BroadcastChannel , typescript_type = "BroadcastChannel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BroadcastChannel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
+ pub type BroadcastChannel;
+ # [wasm_bindgen (structural , method , getter , js_class = "BroadcastChannel" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
+ pub fn name(this: &BroadcastChannel) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "BroadcastChannel" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
+ pub fn onmessage(this: &BroadcastChannel) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "BroadcastChannel" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
+ pub fn set_onmessage(this: &BroadcastChannel, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "BroadcastChannel" , js_name = onmessageerror)]
+ #[doc = "Getter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
+ pub fn onmessageerror(this: &BroadcastChannel) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "BroadcastChannel" , js_name = onmessageerror)]
+ #[doc = "Setter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
+ pub fn set_onmessageerror(this: &BroadcastChannel, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "BroadcastChannel")]
+ #[doc = "The `new BroadcastChannel(..)` constructor, creating a new instance of `BroadcastChannel`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/BroadcastChannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
+ pub fn new(channel: &str) -> Result<BroadcastChannel, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "BroadcastChannel" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
+ pub fn close(this: &BroadcastChannel);
+ # [wasm_bindgen (catch , method , structural , js_class = "BroadcastChannel" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"]
+ pub fn post_message(
+ this: &BroadcastChannel,
+ message: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_BrowserElementDownloadOptions.rs b/vendor/web-sys/src/features/gen_BrowserElementDownloadOptions.rs
new file mode 100644
index 000000000..73882917b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BrowserElementDownloadOptions.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BrowserElementDownloadOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BrowserElementDownloadOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BrowserElementDownloadOptions`*"]
+ pub type BrowserElementDownloadOptions;
+}
+impl BrowserElementDownloadOptions {
+ #[doc = "Construct a new `BrowserElementDownloadOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BrowserElementDownloadOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `filename` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BrowserElementDownloadOptions`*"]
+ pub fn filename(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("filename"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `referrer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BrowserElementDownloadOptions`*"]
+ pub fn referrer(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("referrer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for BrowserElementDownloadOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BrowserElementExecuteScriptOptions.rs b/vendor/web-sys/src/features/gen_BrowserElementExecuteScriptOptions.rs
new file mode 100644
index 000000000..358360ca4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BrowserElementExecuteScriptOptions.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BrowserElementExecuteScriptOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BrowserElementExecuteScriptOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BrowserElementExecuteScriptOptions`*"]
+ pub type BrowserElementExecuteScriptOptions;
+}
+impl BrowserElementExecuteScriptOptions {
+ #[doc = "Construct a new `BrowserElementExecuteScriptOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BrowserElementExecuteScriptOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BrowserElementExecuteScriptOptions`*"]
+ pub fn origin(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("origin"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `url` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BrowserElementExecuteScriptOptions`*"]
+ pub fn url(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("url"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for BrowserElementExecuteScriptOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_BrowserFeedWriter.rs b/vendor/web-sys/src/features/gen_BrowserFeedWriter.rs
new file mode 100644
index 000000000..8e0ad3646
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BrowserFeedWriter.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BrowserFeedWriter , typescript_type = "BrowserFeedWriter")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `BrowserFeedWriter` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BrowserFeedWriter`*"]
+ pub type BrowserFeedWriter;
+ #[wasm_bindgen(catch, constructor, js_class = "BrowserFeedWriter")]
+ #[doc = "The `new BrowserFeedWriter(..)` constructor, creating a new instance of `BrowserFeedWriter`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter/BrowserFeedWriter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BrowserFeedWriter`*"]
+ pub fn new() -> Result<BrowserFeedWriter, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "BrowserFeedWriter" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BrowserFeedWriter`*"]
+ pub fn close(this: &BrowserFeedWriter);
+ # [wasm_bindgen (method , structural , js_class = "BrowserFeedWriter" , js_name = writeContent)]
+ #[doc = "The `writeContent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter/writeContent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BrowserFeedWriter`*"]
+ pub fn write_content(this: &BrowserFeedWriter);
+}
diff --git a/vendor/web-sys/src/features/gen_BrowserFindCaseSensitivity.rs b/vendor/web-sys/src/features/gen_BrowserFindCaseSensitivity.rs
new file mode 100644
index 000000000..8191347df
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BrowserFindCaseSensitivity.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `BrowserFindCaseSensitivity` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `BrowserFindCaseSensitivity`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum BrowserFindCaseSensitivity {
+ CaseSensitive = "case-sensitive",
+ CaseInsensitive = "case-insensitive",
+}
diff --git a/vendor/web-sys/src/features/gen_BrowserFindDirection.rs b/vendor/web-sys/src/features/gen_BrowserFindDirection.rs
new file mode 100644
index 000000000..d5b8b4678
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_BrowserFindDirection.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `BrowserFindDirection` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `BrowserFindDirection`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum BrowserFindDirection {
+ Forward = "forward",
+ Backward = "backward",
+}
diff --git a/vendor/web-sys/src/features/gen_ByteLengthQueuingStrategy.rs b/vendor/web-sys/src/features/gen_ByteLengthQueuingStrategy.rs
new file mode 100644
index 000000000..c29737f53
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ByteLengthQueuingStrategy.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ByteLengthQueuingStrategy , typescript_type = "ByteLengthQueuingStrategy")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ByteLengthQueuingStrategy` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ByteLengthQueuingStrategy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ByteLengthQueuingStrategy`*"]
+ pub type ByteLengthQueuingStrategy;
+ # [wasm_bindgen (structural , method , getter , js_class = "ByteLengthQueuingStrategy" , js_name = highWaterMark)]
+ #[doc = "Getter for the `highWaterMark` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ByteLengthQueuingStrategy/highWaterMark)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ByteLengthQueuingStrategy`*"]
+ pub fn high_water_mark(this: &ByteLengthQueuingStrategy) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "ByteLengthQueuingStrategy" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ByteLengthQueuingStrategy/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ByteLengthQueuingStrategy`*"]
+ pub fn size(this: &ByteLengthQueuingStrategy) -> ::js_sys::Function;
+ #[cfg(feature = "QueuingStrategyInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "ByteLengthQueuingStrategy")]
+ #[doc = "The `new ByteLengthQueuingStrategy(..)` constructor, creating a new instance of `ByteLengthQueuingStrategy`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ByteLengthQueuingStrategy/ByteLengthQueuingStrategy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ByteLengthQueuingStrategy`, `QueuingStrategyInit`*"]
+ pub fn new(init: &QueuingStrategyInit) -> Result<ByteLengthQueuingStrategy, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_Cache.rs b/vendor/web-sys/src/features/gen_Cache.rs
new file mode 100644
index 000000000..3526097c0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Cache.rs
@@ -0,0 +1,239 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Cache , typescript_type = "Cache")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Cache` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`*"]
+ pub type Cache;
+ #[cfg(feature = "Request")]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
+ pub fn add_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`*"]
+ pub fn add_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = addAll)]
+ #[doc = "The `addAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/addAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`*"]
+ pub fn add_all_with_request_sequence(
+ this: &Cache,
+ requests: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = addAll)]
+ #[doc = "The `addAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/addAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`*"]
+ pub fn add_all_with_str_sequence(
+ this: &Cache,
+ requests: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "Request")]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = delete)]
+ #[doc = "The `delete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
+ pub fn delete_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = delete)]
+ #[doc = "The `delete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`*"]
+ pub fn delete_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
+ #[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = delete)]
+ #[doc = "The `delete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*"]
+ pub fn delete_with_request_and_options(
+ this: &Cache,
+ request: &Request,
+ options: &CacheQueryOptions,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "CacheQueryOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = delete)]
+ #[doc = "The `delete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*"]
+ pub fn delete_with_str_and_options(
+ this: &Cache,
+ request: &str,
+ options: &CacheQueryOptions,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`*"]
+ pub fn keys(this: &Cache) -> ::js_sys::Promise;
+ #[cfg(feature = "Request")]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
+ pub fn keys_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`*"]
+ pub fn keys_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
+ #[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*"]
+ pub fn keys_with_request_and_options(
+ this: &Cache,
+ request: &Request,
+ options: &CacheQueryOptions,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "CacheQueryOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*"]
+ pub fn keys_with_str_and_options(
+ this: &Cache,
+ request: &str,
+ options: &CacheQueryOptions,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "Request")]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = match)]
+ #[doc = "The `match()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
+ pub fn match_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = match)]
+ #[doc = "The `match()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`*"]
+ pub fn match_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
+ #[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = match)]
+ #[doc = "The `match()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*"]
+ pub fn match_with_request_and_options(
+ this: &Cache,
+ request: &Request,
+ options: &CacheQueryOptions,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "CacheQueryOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = match)]
+ #[doc = "The `match()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*"]
+ pub fn match_with_str_and_options(
+ this: &Cache,
+ request: &str,
+ options: &CacheQueryOptions,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = matchAll)]
+ #[doc = "The `matchAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`*"]
+ pub fn match_all(this: &Cache) -> ::js_sys::Promise;
+ #[cfg(feature = "Request")]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = matchAll)]
+ #[doc = "The `matchAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
+ pub fn match_all_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = matchAll)]
+ #[doc = "The `matchAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`*"]
+ pub fn match_all_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
+ #[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = matchAll)]
+ #[doc = "The `matchAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*"]
+ pub fn match_all_with_request_and_options(
+ this: &Cache,
+ request: &Request,
+ options: &CacheQueryOptions,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "CacheQueryOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = matchAll)]
+ #[doc = "The `matchAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*"]
+ pub fn match_all_with_str_and_options(
+ this: &Cache,
+ request: &str,
+ options: &CacheQueryOptions,
+ ) -> ::js_sys::Promise;
+ #[cfg(all(feature = "Request", feature = "Response",))]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = put)]
+ #[doc = "The `put()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/put)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`, `Response`*"]
+ pub fn put_with_request(
+ this: &Cache,
+ request: &Request,
+ response: &Response,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "Response")]
+ # [wasm_bindgen (method , structural , js_class = "Cache" , js_name = put)]
+ #[doc = "The `put()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/put)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Cache`, `Response`*"]
+ pub fn put_with_str(this: &Cache, request: &str, response: &Response) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_CacheBatchOperation.rs b/vendor/web-sys/src/features/gen_CacheBatchOperation.rs
new file mode 100644
index 000000000..8caf88112
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CacheBatchOperation.rs
@@ -0,0 +1,94 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CacheBatchOperation)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CacheBatchOperation` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheBatchOperation`*"]
+ pub type CacheBatchOperation;
+}
+impl CacheBatchOperation {
+ #[doc = "Construct a new `CacheBatchOperation`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheBatchOperation`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "CacheQueryOptions")]
+ #[doc = "Change the `options` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheBatchOperation`, `CacheQueryOptions`*"]
+ pub fn options(&mut self, val: &CacheQueryOptions) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("options"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Request")]
+ #[doc = "Change the `request` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheBatchOperation`, `Request`*"]
+ pub fn request(&mut self, val: &Request) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("request"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Response")]
+ #[doc = "Change the `response` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheBatchOperation`, `Response`*"]
+ pub fn response(&mut self, val: &Response) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("response"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheBatchOperation`*"]
+ pub fn type_(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for CacheBatchOperation {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CacheQueryOptions.rs b/vendor/web-sys/src/features/gen_CacheQueryOptions.rs
new file mode 100644
index 000000000..061fc4964
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CacheQueryOptions.rs
@@ -0,0 +1,95 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CacheQueryOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CacheQueryOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheQueryOptions`*"]
+ pub type CacheQueryOptions;
+}
+impl CacheQueryOptions {
+ #[doc = "Construct a new `CacheQueryOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheQueryOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `cacheName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheQueryOptions`*"]
+ pub fn cache_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cacheName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ignoreMethod` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheQueryOptions`*"]
+ pub fn ignore_method(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ignoreMethod"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ignoreSearch` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheQueryOptions`*"]
+ pub fn ignore_search(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ignoreSearch"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ignoreVary` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheQueryOptions`*"]
+ pub fn ignore_vary(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ignoreVary"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for CacheQueryOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CacheStorage.rs b/vendor/web-sys/src/features/gen_CacheStorage.rs
new file mode 100644
index 000000000..46e9a8b57
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CacheStorage.rs
@@ -0,0 +1,81 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CacheStorage , typescript_type = "CacheStorage")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CacheStorage` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheStorage`*"]
+ pub type CacheStorage;
+ # [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = delete)]
+ #[doc = "The `delete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/delete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheStorage`*"]
+ pub fn delete(this: &CacheStorage, cache_name: &str) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheStorage`*"]
+ pub fn has(this: &CacheStorage, cache_name: &str) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheStorage`*"]
+ pub fn keys(this: &CacheStorage) -> ::js_sys::Promise;
+ #[cfg(feature = "Request")]
+ # [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = match)]
+ #[doc = "The `match()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheStorage`, `Request`*"]
+ pub fn match_with_request(this: &CacheStorage, request: &Request) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = match)]
+ #[doc = "The `match()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheStorage`*"]
+ pub fn match_with_str(this: &CacheStorage, request: &str) -> ::js_sys::Promise;
+ #[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
+ # [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = match)]
+ #[doc = "The `match()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheQueryOptions`, `CacheStorage`, `Request`*"]
+ pub fn match_with_request_and_options(
+ this: &CacheStorage,
+ request: &Request,
+ options: &CacheQueryOptions,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "CacheQueryOptions")]
+ # [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = match)]
+ #[doc = "The `match()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheQueryOptions`, `CacheStorage`*"]
+ pub fn match_with_str_and_options(
+ this: &CacheStorage,
+ request: &str,
+ options: &CacheQueryOptions,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "CacheStorage" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheStorage`*"]
+ pub fn open(this: &CacheStorage, cache_name: &str) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_CacheStorageNamespace.rs b/vendor/web-sys/src/features/gen_CacheStorageNamespace.rs
new file mode 100644
index 000000000..ace039c44
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CacheStorageNamespace.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `CacheStorageNamespace` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `CacheStorageNamespace`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum CacheStorageNamespace {
+ Content = "content",
+ Chrome = "chrome",
+}
diff --git a/vendor/web-sys/src/features/gen_CanvasCaptureMediaStream.rs b/vendor/web-sys/src/features/gen_CanvasCaptureMediaStream.rs
new file mode 100644
index 000000000..050555cda
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CanvasCaptureMediaStream.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = MediaStream , extends = EventTarget , extends = :: js_sys :: Object , js_name = CanvasCaptureMediaStream , typescript_type = "CanvasCaptureMediaStream")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CanvasCaptureMediaStream` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasCaptureMediaStream`*"]
+ pub type CanvasCaptureMediaStream;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasCaptureMediaStream" , js_name = canvas)]
+ #[doc = "Getter for the `canvas` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStream/canvas)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasCaptureMediaStream`, `HtmlCanvasElement`*"]
+ pub fn canvas(this: &CanvasCaptureMediaStream) -> HtmlCanvasElement;
+ # [wasm_bindgen (method , structural , js_class = "CanvasCaptureMediaStream" , js_name = requestFrame)]
+ #[doc = "The `requestFrame()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStream/requestFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasCaptureMediaStream`*"]
+ pub fn request_frame(this: &CanvasCaptureMediaStream);
+}
diff --git a/vendor/web-sys/src/features/gen_CanvasGradient.rs b/vendor/web-sys/src/features/gen_CanvasGradient.rs
new file mode 100644
index 000000000..007a39b71
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CanvasGradient.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CanvasGradient , typescript_type = "CanvasGradient")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CanvasGradient` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasGradient)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasGradient`*"]
+ pub type CanvasGradient;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasGradient" , js_name = addColorStop)]
+ #[doc = "The `addColorStop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasGradient/addColorStop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasGradient`*"]
+ pub fn add_color_stop(this: &CanvasGradient, offset: f32, color: &str) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_CanvasPattern.rs b/vendor/web-sys/src/features/gen_CanvasPattern.rs
new file mode 100644
index 000000000..5ff06e260
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CanvasPattern.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CanvasPattern , typescript_type = "CanvasPattern")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CanvasPattern` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`*"]
+ pub type CanvasPattern;
+ #[cfg(feature = "SvgMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "CanvasPattern" , js_name = setTransform)]
+ #[doc = "The `setTransform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern/setTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `SvgMatrix`*"]
+ pub fn set_transform(this: &CanvasPattern, matrix: &SvgMatrix);
+}
diff --git a/vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs b/vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs
new file mode 100644
index 000000000..886090b1d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs
@@ -0,0 +1,1380 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CanvasRenderingContext2D , typescript_type = "CanvasRenderingContext2D")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CanvasRenderingContext2d` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub type CanvasRenderingContext2d;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = canvas)]
+ #[doc = "Getter for the `canvas` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/canvas)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*"]
+ pub fn canvas(this: &CanvasRenderingContext2d) -> Option<HtmlCanvasElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = globalAlpha)]
+ #[doc = "Getter for the `globalAlpha` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalAlpha)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn global_alpha(this: &CanvasRenderingContext2d) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = globalAlpha)]
+ #[doc = "Setter for the `globalAlpha` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalAlpha)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_global_alpha(this: &CanvasRenderingContext2d, value: f64);
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "CanvasRenderingContext2D" , js_name = globalCompositeOperation)]
+ #[doc = "Getter for the `globalCompositeOperation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn global_composite_operation(this: &CanvasRenderingContext2d) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "CanvasRenderingContext2D" , js_name = globalCompositeOperation)]
+ #[doc = "Setter for the `globalCompositeOperation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_global_composite_operation(
+ this: &CanvasRenderingContext2d,
+ value: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = strokeStyle)]
+ #[doc = "Getter for the `strokeStyle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeStyle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn stroke_style(this: &CanvasRenderingContext2d) -> ::wasm_bindgen::JsValue;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = strokeStyle)]
+ #[doc = "Setter for the `strokeStyle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeStyle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_stroke_style(this: &CanvasRenderingContext2d, value: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = fillStyle)]
+ #[doc = "Getter for the `fillStyle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn fill_style(this: &CanvasRenderingContext2d) -> ::wasm_bindgen::JsValue;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = fillStyle)]
+ #[doc = "Setter for the `fillStyle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_fill_style(this: &CanvasRenderingContext2d, value: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = filter)]
+ #[doc = "Getter for the `filter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn filter(this: &CanvasRenderingContext2d) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = filter)]
+ #[doc = "Setter for the `filter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_filter(this: &CanvasRenderingContext2d, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = imageSmoothingEnabled)]
+ #[doc = "Getter for the `imageSmoothingEnabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn image_smoothing_enabled(this: &CanvasRenderingContext2d) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = imageSmoothingEnabled)]
+ #[doc = "Setter for the `imageSmoothingEnabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_image_smoothing_enabled(this: &CanvasRenderingContext2d, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = lineWidth)]
+ #[doc = "Getter for the `lineWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn line_width(this: &CanvasRenderingContext2d) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = lineWidth)]
+ #[doc = "Setter for the `lineWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_line_width(this: &CanvasRenderingContext2d, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = lineCap)]
+ #[doc = "Getter for the `lineCap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn line_cap(this: &CanvasRenderingContext2d) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = lineCap)]
+ #[doc = "Setter for the `lineCap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_line_cap(this: &CanvasRenderingContext2d, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = lineJoin)]
+ #[doc = "Getter for the `lineJoin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn line_join(this: &CanvasRenderingContext2d) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = lineJoin)]
+ #[doc = "Setter for the `lineJoin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_line_join(this: &CanvasRenderingContext2d, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = miterLimit)]
+ #[doc = "Getter for the `miterLimit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/miterLimit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn miter_limit(this: &CanvasRenderingContext2d) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = miterLimit)]
+ #[doc = "Setter for the `miterLimit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/miterLimit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_miter_limit(this: &CanvasRenderingContext2d, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = lineDashOffset)]
+ #[doc = "Getter for the `lineDashOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn line_dash_offset(this: &CanvasRenderingContext2d) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = lineDashOffset)]
+ #[doc = "Setter for the `lineDashOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_line_dash_offset(this: &CanvasRenderingContext2d, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = shadowOffsetX)]
+ #[doc = "Getter for the `shadowOffsetX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn shadow_offset_x(this: &CanvasRenderingContext2d) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = shadowOffsetX)]
+ #[doc = "Setter for the `shadowOffsetX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_shadow_offset_x(this: &CanvasRenderingContext2d, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = shadowOffsetY)]
+ #[doc = "Getter for the `shadowOffsetY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn shadow_offset_y(this: &CanvasRenderingContext2d) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = shadowOffsetY)]
+ #[doc = "Setter for the `shadowOffsetY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_shadow_offset_y(this: &CanvasRenderingContext2d, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = shadowBlur)]
+ #[doc = "Getter for the `shadowBlur` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowBlur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn shadow_blur(this: &CanvasRenderingContext2d) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = shadowBlur)]
+ #[doc = "Setter for the `shadowBlur` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowBlur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_shadow_blur(this: &CanvasRenderingContext2d, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = shadowColor)]
+ #[doc = "Getter for the `shadowColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn shadow_color(this: &CanvasRenderingContext2d) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = shadowColor)]
+ #[doc = "Setter for the `shadowColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_shadow_color(this: &CanvasRenderingContext2d, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = font)]
+ #[doc = "Getter for the `font` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/font)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn font(this: &CanvasRenderingContext2d) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = font)]
+ #[doc = "Setter for the `font` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/font)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_font(this: &CanvasRenderingContext2d, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = textAlign)]
+ #[doc = "Getter for the `textAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn text_align(this: &CanvasRenderingContext2d) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = textAlign)]
+ #[doc = "Setter for the `textAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_text_align(this: &CanvasRenderingContext2d, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = textBaseline)]
+ #[doc = "Getter for the `textBaseline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textBaseline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn text_baseline(this: &CanvasRenderingContext2d) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CanvasRenderingContext2D" , js_name = textBaseline)]
+ #[doc = "Setter for the `textBaseline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textBaseline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_text_baseline(this: &CanvasRenderingContext2d, value: &str);
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawWindow)]
+ #[doc = "The `drawWindow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawWindow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Window`*"]
+ pub fn draw_window(
+ this: &CanvasRenderingContext2d,
+ window: &Window,
+ x: f64,
+ y: f64,
+ w: f64,
+ h: f64,
+ bg_color: &str,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawWindow)]
+ #[doc = "The `drawWindow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawWindow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Window`*"]
+ pub fn draw_window_with_flags(
+ this: &CanvasRenderingContext2d,
+ window: &Window,
+ x: f64,
+ y: f64,
+ w: f64,
+ h: f64,
+ bg_color: &str,
+ flags: u32,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlImageElement`*"]
+ pub fn draw_image_with_html_image_element(
+ this: &CanvasRenderingContext2d,
+ image: &HtmlImageElement,
+ dx: f64,
+ dy: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "SvgImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `SvgImageElement`*"]
+ pub fn draw_image_with_svg_image_element(
+ this: &CanvasRenderingContext2d,
+ image: &SvgImageElement,
+ dx: f64,
+ dy: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*"]
+ pub fn draw_image_with_html_canvas_element(
+ this: &CanvasRenderingContext2d,
+ image: &HtmlCanvasElement,
+ dx: f64,
+ dy: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlVideoElement`*"]
+ pub fn draw_image_with_html_video_element(
+ this: &CanvasRenderingContext2d,
+ image: &HtmlVideoElement,
+ dx: f64,
+ dy: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageBitmap`*"]
+ pub fn draw_image_with_image_bitmap(
+ this: &CanvasRenderingContext2d,
+ image: &ImageBitmap,
+ dx: f64,
+ dy: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "OffscreenCanvas")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `OffscreenCanvas`*"]
+ pub fn draw_image_with_offscreen_canvas(
+ this: &CanvasRenderingContext2d,
+ image: &OffscreenCanvas,
+ dx: f64,
+ dy: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_image_with_video_frame(
+ this: &CanvasRenderingContext2d,
+ image: &VideoFrame,
+ dx: f64,
+ dy: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlImageElement`*"]
+ pub fn draw_image_with_html_image_element_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &HtmlImageElement,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "SvgImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `SvgImageElement`*"]
+ pub fn draw_image_with_svg_image_element_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &SvgImageElement,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*"]
+ pub fn draw_image_with_html_canvas_element_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &HtmlCanvasElement,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlVideoElement`*"]
+ pub fn draw_image_with_html_video_element_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &HtmlVideoElement,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageBitmap`*"]
+ pub fn draw_image_with_image_bitmap_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &ImageBitmap,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "OffscreenCanvas")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `OffscreenCanvas`*"]
+ pub fn draw_image_with_offscreen_canvas_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &OffscreenCanvas,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_image_with_video_frame_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &VideoFrame,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlImageElement`*"]
+ pub fn draw_image_with_html_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &HtmlImageElement,
+ sx: f64,
+ sy: f64,
+ sw: f64,
+ sh: f64,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "SvgImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `SvgImageElement`*"]
+ pub fn draw_image_with_svg_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &SvgImageElement,
+ sx: f64,
+ sy: f64,
+ sw: f64,
+ sh: f64,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*"]
+ pub fn draw_image_with_html_canvas_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &HtmlCanvasElement,
+ sx: f64,
+ sy: f64,
+ sw: f64,
+ sh: f64,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlVideoElement`*"]
+ pub fn draw_image_with_html_video_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &HtmlVideoElement,
+ sx: f64,
+ sy: f64,
+ sw: f64,
+ sh: f64,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageBitmap`*"]
+ pub fn draw_image_with_image_bitmap_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &ImageBitmap,
+ sx: f64,
+ sy: f64,
+ sw: f64,
+ sh: f64,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "OffscreenCanvas")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `OffscreenCanvas`*"]
+ pub fn draw_image_with_offscreen_canvas_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &OffscreenCanvas,
+ sx: f64,
+ sy: f64,
+ sw: f64,
+ sh: f64,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage)]
+ #[doc = "The `drawImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_image_with_video_frame_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh(
+ this: &CanvasRenderingContext2d,
+ image: &VideoFrame,
+ sx: f64,
+ sy: f64,
+ sw: f64,
+ sh: f64,
+ dx: f64,
+ dy: f64,
+ dw: f64,
+ dh: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = beginPath)]
+ #[doc = "The `beginPath()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/beginPath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn begin_path(this: &CanvasRenderingContext2d);
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip)]
+ #[doc = "The `clip()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn clip(this: &CanvasRenderingContext2d);
+ #[cfg(feature = "CanvasWindingRule")]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip)]
+ #[doc = "The `clip()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`*"]
+ pub fn clip_with_canvas_winding_rule(
+ this: &CanvasRenderingContext2d,
+ winding: CanvasWindingRule,
+ );
+ #[cfg(feature = "Path2d")]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip)]
+ #[doc = "The `clip()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*"]
+ pub fn clip_with_path_2d(this: &CanvasRenderingContext2d, path: &Path2d);
+ #[cfg(all(feature = "CanvasWindingRule", feature = "Path2d",))]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip)]
+ #[doc = "The `clip()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`, `Path2d`*"]
+ pub fn clip_with_path_2d_and_winding(
+ this: &CanvasRenderingContext2d,
+ path: &Path2d,
+ winding: CanvasWindingRule,
+ );
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill)]
+ #[doc = "The `fill()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn fill(this: &CanvasRenderingContext2d);
+ #[cfg(feature = "CanvasWindingRule")]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill)]
+ #[doc = "The `fill()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`*"]
+ pub fn fill_with_canvas_winding_rule(
+ this: &CanvasRenderingContext2d,
+ winding: CanvasWindingRule,
+ );
+ #[cfg(feature = "Path2d")]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill)]
+ #[doc = "The `fill()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*"]
+ pub fn fill_with_path_2d(this: &CanvasRenderingContext2d, path: &Path2d);
+ #[cfg(all(feature = "CanvasWindingRule", feature = "Path2d",))]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill)]
+ #[doc = "The `fill()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`, `Path2d`*"]
+ pub fn fill_with_path_2d_and_winding(
+ this: &CanvasRenderingContext2d,
+ path: &Path2d,
+ winding: CanvasWindingRule,
+ );
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath)]
+ #[doc = "The `isPointInPath()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn is_point_in_path_with_f64(this: &CanvasRenderingContext2d, x: f64, y: f64) -> bool;
+ #[cfg(feature = "CanvasWindingRule")]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath)]
+ #[doc = "The `isPointInPath()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`*"]
+ pub fn is_point_in_path_with_f64_and_canvas_winding_rule(
+ this: &CanvasRenderingContext2d,
+ x: f64,
+ y: f64,
+ winding: CanvasWindingRule,
+ ) -> bool;
+ #[cfg(feature = "Path2d")]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath)]
+ #[doc = "The `isPointInPath()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*"]
+ pub fn is_point_in_path_with_path_2d_and_f64(
+ this: &CanvasRenderingContext2d,
+ path: &Path2d,
+ x: f64,
+ y: f64,
+ ) -> bool;
+ #[cfg(all(feature = "CanvasWindingRule", feature = "Path2d",))]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath)]
+ #[doc = "The `isPointInPath()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`, `Path2d`*"]
+ pub fn is_point_in_path_with_path_2d_and_f64_and_winding(
+ this: &CanvasRenderingContext2d,
+ path: &Path2d,
+ x: f64,
+ y: f64,
+ winding: CanvasWindingRule,
+ ) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInStroke)]
+ #[doc = "The `isPointInStroke()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInStroke)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn is_point_in_stroke_with_x_and_y(this: &CanvasRenderingContext2d, x: f64, y: f64)
+ -> bool;
+ #[cfg(feature = "Path2d")]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInStroke)]
+ #[doc = "The `isPointInStroke()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInStroke)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*"]
+ pub fn is_point_in_stroke_with_path_and_x_and_y(
+ this: &CanvasRenderingContext2d,
+ path: &Path2d,
+ x: f64,
+ y: f64,
+ ) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = stroke)]
+ #[doc = "The `stroke()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/stroke)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn stroke(this: &CanvasRenderingContext2d);
+ #[cfg(feature = "Path2d")]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = stroke)]
+ #[doc = "The `stroke()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/stroke)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*"]
+ pub fn stroke_with_path(this: &CanvasRenderingContext2d, path: &Path2d);
+ #[cfg(feature = "CanvasGradient")]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = createLinearGradient)]
+ #[doc = "The `createLinearGradient()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createLinearGradient)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasGradient`, `CanvasRenderingContext2d`*"]
+ pub fn create_linear_gradient(
+ this: &CanvasRenderingContext2d,
+ x0: f64,
+ y0: f64,
+ x1: f64,
+ y1: f64,
+ ) -> CanvasGradient;
+ #[cfg(all(feature = "CanvasPattern", feature = "HtmlImageElement",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern)]
+ #[doc = "The `createPattern()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `HtmlImageElement`*"]
+ pub fn create_pattern_with_html_image_element(
+ this: &CanvasRenderingContext2d,
+ image: &HtmlImageElement,
+ repetition: &str,
+ ) -> Result<Option<CanvasPattern>, JsValue>;
+ #[cfg(all(feature = "CanvasPattern", feature = "SvgImageElement",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern)]
+ #[doc = "The `createPattern()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `SvgImageElement`*"]
+ pub fn create_pattern_with_svg_image_element(
+ this: &CanvasRenderingContext2d,
+ image: &SvgImageElement,
+ repetition: &str,
+ ) -> Result<Option<CanvasPattern>, JsValue>;
+ #[cfg(all(feature = "CanvasPattern", feature = "HtmlCanvasElement",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern)]
+ #[doc = "The `createPattern()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `HtmlCanvasElement`*"]
+ pub fn create_pattern_with_html_canvas_element(
+ this: &CanvasRenderingContext2d,
+ image: &HtmlCanvasElement,
+ repetition: &str,
+ ) -> Result<Option<CanvasPattern>, JsValue>;
+ #[cfg(all(feature = "CanvasPattern", feature = "HtmlVideoElement",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern)]
+ #[doc = "The `createPattern()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `HtmlVideoElement`*"]
+ pub fn create_pattern_with_html_video_element(
+ this: &CanvasRenderingContext2d,
+ image: &HtmlVideoElement,
+ repetition: &str,
+ ) -> Result<Option<CanvasPattern>, JsValue>;
+ #[cfg(all(feature = "CanvasPattern", feature = "ImageBitmap",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern)]
+ #[doc = "The `createPattern()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `ImageBitmap`*"]
+ pub fn create_pattern_with_image_bitmap(
+ this: &CanvasRenderingContext2d,
+ image: &ImageBitmap,
+ repetition: &str,
+ ) -> Result<Option<CanvasPattern>, JsValue>;
+ #[cfg(all(feature = "CanvasPattern", feature = "OffscreenCanvas",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern)]
+ #[doc = "The `createPattern()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `OffscreenCanvas`*"]
+ pub fn create_pattern_with_offscreen_canvas(
+ this: &CanvasRenderingContext2d,
+ image: &OffscreenCanvas,
+ repetition: &str,
+ ) -> Result<Option<CanvasPattern>, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "CanvasPattern", feature = "VideoFrame",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern)]
+ #[doc = "The `createPattern()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_pattern_with_video_frame(
+ this: &CanvasRenderingContext2d,
+ image: &VideoFrame,
+ repetition: &str,
+ ) -> Result<Option<CanvasPattern>, JsValue>;
+ #[cfg(feature = "CanvasGradient")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createRadialGradient)]
+ #[doc = "The `createRadialGradient()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createRadialGradient)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasGradient`, `CanvasRenderingContext2d`*"]
+ pub fn create_radial_gradient(
+ this: &CanvasRenderingContext2d,
+ x0: f64,
+ y0: f64,
+ r0: f64,
+ x1: f64,
+ y1: f64,
+ r1: f64,
+ ) -> Result<CanvasGradient, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = addHitRegion)]
+ #[doc = "The `addHitRegion()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/addHitRegion)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn add_hit_region(this: &CanvasRenderingContext2d) -> Result<(), JsValue>;
+ #[cfg(feature = "HitRegionOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = addHitRegion)]
+ #[doc = "The `addHitRegion()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/addHitRegion)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HitRegionOptions`*"]
+ pub fn add_hit_region_with_options(
+ this: &CanvasRenderingContext2d,
+ options: &HitRegionOptions,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clearHitRegions)]
+ #[doc = "The `clearHitRegions()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clearHitRegions)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn clear_hit_regions(this: &CanvasRenderingContext2d);
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = removeHitRegion)]
+ #[doc = "The `removeHitRegion()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/removeHitRegion)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn remove_hit_region(this: &CanvasRenderingContext2d, id: &str);
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createImageData)]
+ #[doc = "The `createImageData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createImageData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*"]
+ pub fn create_image_data_with_sw_and_sh(
+ this: &CanvasRenderingContext2d,
+ sw: f64,
+ sh: f64,
+ ) -> Result<ImageData, JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createImageData)]
+ #[doc = "The `createImageData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createImageData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*"]
+ pub fn create_image_data_with_imagedata(
+ this: &CanvasRenderingContext2d,
+ imagedata: &ImageData,
+ ) -> Result<ImageData, JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = getImageData)]
+ #[doc = "The `getImageData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getImageData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*"]
+ pub fn get_image_data(
+ this: &CanvasRenderingContext2d,
+ sx: f64,
+ sy: f64,
+ sw: f64,
+ sh: f64,
+ ) -> Result<ImageData, JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = putImageData)]
+ #[doc = "The `putImageData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/putImageData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*"]
+ pub fn put_image_data(
+ this: &CanvasRenderingContext2d,
+ imagedata: &ImageData,
+ dx: f64,
+ dy: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = putImageData)]
+ #[doc = "The `putImageData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/putImageData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*"]
+ pub fn put_image_data_with_dirty_x_and_dirty_y_and_dirty_width_and_dirty_height(
+ this: &CanvasRenderingContext2d,
+ imagedata: &ImageData,
+ dx: f64,
+ dy: f64,
+ dirty_x: f64,
+ dirty_y: f64,
+ dirty_width: f64,
+ dirty_height: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = getLineDash)]
+ #[doc = "The `getLineDash()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getLineDash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn get_line_dash(this: &CanvasRenderingContext2d) -> ::js_sys::Array;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = setLineDash)]
+ #[doc = "The `setLineDash()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_line_dash(
+ this: &CanvasRenderingContext2d,
+ segments: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arc)]
+ #[doc = "The `arc()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn arc(
+ this: &CanvasRenderingContext2d,
+ x: f64,
+ y: f64,
+ radius: f64,
+ start_angle: f64,
+ end_angle: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arc)]
+ #[doc = "The `arc()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn arc_with_anticlockwise(
+ this: &CanvasRenderingContext2d,
+ x: f64,
+ y: f64,
+ radius: f64,
+ start_angle: f64,
+ end_angle: f64,
+ anticlockwise: bool,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arcTo)]
+ #[doc = "The `arcTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arcTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn arc_to(
+ this: &CanvasRenderingContext2d,
+ x1: f64,
+ y1: f64,
+ x2: f64,
+ y2: f64,
+ radius: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = bezierCurveTo)]
+ #[doc = "The `bezierCurveTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/bezierCurveTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn bezier_curve_to(
+ this: &CanvasRenderingContext2d,
+ cp1x: f64,
+ cp1y: f64,
+ cp2x: f64,
+ cp2y: f64,
+ x: f64,
+ y: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = closePath)]
+ #[doc = "The `closePath()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/closePath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn close_path(this: &CanvasRenderingContext2d);
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = ellipse)]
+ #[doc = "The `ellipse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/ellipse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn ellipse(
+ this: &CanvasRenderingContext2d,
+ x: f64,
+ y: f64,
+ radius_x: f64,
+ radius_y: f64,
+ rotation: f64,
+ start_angle: f64,
+ end_angle: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = ellipse)]
+ #[doc = "The `ellipse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/ellipse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn ellipse_with_anticlockwise(
+ this: &CanvasRenderingContext2d,
+ x: f64,
+ y: f64,
+ radius_x: f64,
+ radius_y: f64,
+ rotation: f64,
+ start_angle: f64,
+ end_angle: f64,
+ anticlockwise: bool,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = lineTo)]
+ #[doc = "The `lineTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn line_to(this: &CanvasRenderingContext2d, x: f64, y: f64);
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = moveTo)]
+ #[doc = "The `moveTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/moveTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn move_to(this: &CanvasRenderingContext2d, x: f64, y: f64);
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = quadraticCurveTo)]
+ #[doc = "The `quadraticCurveTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/quadraticCurveTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn quadratic_curve_to(this: &CanvasRenderingContext2d, cpx: f64, cpy: f64, x: f64, y: f64);
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = rect)]
+ #[doc = "The `rect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/rect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn rect(this: &CanvasRenderingContext2d, x: f64, y: f64, w: f64, h: f64);
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clearRect)]
+ #[doc = "The `clearRect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clearRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn clear_rect(this: &CanvasRenderingContext2d, x: f64, y: f64, w: f64, h: f64);
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = fillRect)]
+ #[doc = "The `fillRect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn fill_rect(this: &CanvasRenderingContext2d, x: f64, y: f64, w: f64, h: f64);
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = strokeRect)]
+ #[doc = "The `strokeRect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn stroke_rect(this: &CanvasRenderingContext2d, x: f64, y: f64, w: f64, h: f64);
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = restore)]
+ #[doc = "The `restore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/restore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn restore(this: &CanvasRenderingContext2d);
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = save)]
+ #[doc = "The `save()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/save)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn save(this: &CanvasRenderingContext2d);
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = fillText)]
+ #[doc = "The `fillText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn fill_text(
+ this: &CanvasRenderingContext2d,
+ text: &str,
+ x: f64,
+ y: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = fillText)]
+ #[doc = "The `fillText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn fill_text_with_max_width(
+ this: &CanvasRenderingContext2d,
+ text: &str,
+ x: f64,
+ y: f64,
+ max_width: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "TextMetrics")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = measureText)]
+ #[doc = "The `measureText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/measureText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `TextMetrics`*"]
+ pub fn measure_text(
+ this: &CanvasRenderingContext2d,
+ text: &str,
+ ) -> Result<TextMetrics, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = strokeText)]
+ #[doc = "The `strokeText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn stroke_text(
+ this: &CanvasRenderingContext2d,
+ text: &str,
+ x: f64,
+ y: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = strokeText)]
+ #[doc = "The `strokeText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn stroke_text_with_max_width(
+ this: &CanvasRenderingContext2d,
+ text: &str,
+ x: f64,
+ y: f64,
+ max_width: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = getTransform)]
+ #[doc = "The `getTransform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `DomMatrix`*"]
+ pub fn get_transform(this: &CanvasRenderingContext2d) -> Result<DomMatrix, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = resetTransform)]
+ #[doc = "The `resetTransform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/resetTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn reset_transform(this: &CanvasRenderingContext2d) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = rotate)]
+ #[doc = "The `rotate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/rotate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn rotate(this: &CanvasRenderingContext2d, angle: f64) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = scale)]
+ #[doc = "The `scale()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/scale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn scale(this: &CanvasRenderingContext2d, x: f64, y: f64) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = setTransform)]
+ #[doc = "The `setTransform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn set_transform(
+ this: &CanvasRenderingContext2d,
+ a: f64,
+ b: f64,
+ c: f64,
+ d: f64,
+ e: f64,
+ f: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = transform)]
+ #[doc = "The `transform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/transform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn transform(
+ this: &CanvasRenderingContext2d,
+ a: f64,
+ b: f64,
+ c: f64,
+ d: f64,
+ e: f64,
+ f: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = translate)]
+ #[doc = "The `translate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/translate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub fn translate(this: &CanvasRenderingContext2d, x: f64, y: f64) -> Result<(), JsValue>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawCustomFocusRing)]
+ #[doc = "The `drawCustomFocusRing()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawCustomFocusRing)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Element`*"]
+ pub fn draw_custom_focus_ring(this: &CanvasRenderingContext2d, element: &Element) -> bool;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawFocusIfNeeded)]
+ #[doc = "The `drawFocusIfNeeded()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawFocusIfNeeded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Element`*"]
+ pub fn draw_focus_if_needed(
+ this: &CanvasRenderingContext2d,
+ element: &Element,
+ ) -> Result<(), JsValue>;
+}
+impl CanvasRenderingContext2d {
+ #[doc = "The `CanvasRenderingContext2D.DRAWWINDOW_DRAW_CARET` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub const DRAWWINDOW_DRAW_CARET: u32 = 1u64 as u32;
+ #[doc = "The `CanvasRenderingContext2D.DRAWWINDOW_DO_NOT_FLUSH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub const DRAWWINDOW_DO_NOT_FLUSH: u32 = 2u64 as u32;
+ #[doc = "The `CanvasRenderingContext2D.DRAWWINDOW_DRAW_VIEW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub const DRAWWINDOW_DRAW_VIEW: u32 = 4u64 as u32;
+ #[doc = "The `CanvasRenderingContext2D.DRAWWINDOW_USE_WIDGET_LAYERS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub const DRAWWINDOW_USE_WIDGET_LAYERS: u32 = 8u64 as u32;
+ #[doc = "The `CanvasRenderingContext2D.DRAWWINDOW_ASYNC_DECODE_IMAGES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"]
+ pub const DRAWWINDOW_ASYNC_DECODE_IMAGES: u32 = 16u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_CanvasWindingRule.rs b/vendor/web-sys/src/features/gen_CanvasWindingRule.rs
new file mode 100644
index 000000000..35493d4d8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CanvasWindingRule.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `CanvasWindingRule` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `CanvasWindingRule`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum CanvasWindingRule {
+ Nonzero = "nonzero",
+ Evenodd = "evenodd",
+}
diff --git a/vendor/web-sys/src/features/gen_CaretChangedReason.rs b/vendor/web-sys/src/features/gen_CaretChangedReason.rs
new file mode 100644
index 000000000..60d24f0d3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CaretChangedReason.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `CaretChangedReason` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `CaretChangedReason`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum CaretChangedReason {
+ Visibilitychange = "visibilitychange",
+ Updateposition = "updateposition",
+ Longpressonemptycontent = "longpressonemptycontent",
+ Taponcaret = "taponcaret",
+ Presscaret = "presscaret",
+ Releasecaret = "releasecaret",
+ Scroll = "scroll",
+}
diff --git a/vendor/web-sys/src/features/gen_CaretPosition.rs b/vendor/web-sys/src/features/gen_CaretPosition.rs
new file mode 100644
index 000000000..c6cfba2b4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CaretPosition.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CaretPosition , typescript_type = "CaretPosition")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CaretPosition` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretPosition`*"]
+ pub type CaretPosition;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CaretPosition" , js_name = offsetNode)]
+ #[doc = "Getter for the `offsetNode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition/offsetNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretPosition`, `Node`*"]
+ pub fn offset_node(this: &CaretPosition) -> Option<Node>;
+ # [wasm_bindgen (structural , method , getter , js_class = "CaretPosition" , js_name = offset)]
+ #[doc = "Getter for the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition/offset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretPosition`*"]
+ pub fn offset(this: &CaretPosition) -> u32;
+ #[cfg(feature = "DomRect")]
+ # [wasm_bindgen (method , structural , js_class = "CaretPosition" , js_name = getClientRect)]
+ #[doc = "The `getClientRect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition/getClientRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretPosition`, `DomRect`*"]
+ pub fn get_client_rect(this: &CaretPosition) -> Option<DomRect>;
+}
diff --git a/vendor/web-sys/src/features/gen_CaretStateChangedEventInit.rs b/vendor/web-sys/src/features/gen_CaretStateChangedEventInit.rs
new file mode 100644
index 000000000..7a8015b58
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CaretStateChangedEventInit.rs
@@ -0,0 +1,213 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CaretStateChangedEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CaretStateChangedEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretStateChangedEventInit`*"]
+ pub type CaretStateChangedEventInit;
+}
+impl CaretStateChangedEventInit {
+ #[doc = "Construct a new `CaretStateChangedEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretStateChangedEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretStateChangedEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretStateChangedEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretStateChangedEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DomRectReadOnly")]
+ #[doc = "Change the `boundingClientRect` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretStateChangedEventInit`, `DomRectReadOnly`*"]
+ pub fn bounding_client_rect(&mut self, val: Option<&DomRectReadOnly>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("boundingClientRect"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `caretVisible` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretStateChangedEventInit`*"]
+ pub fn caret_visible(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("caretVisible"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `caretVisuallyVisible` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretStateChangedEventInit`*"]
+ pub fn caret_visually_visible(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("caretVisuallyVisible"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `collapsed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretStateChangedEventInit`*"]
+ pub fn collapsed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("collapsed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "CaretChangedReason")]
+ #[doc = "Change the `reason` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretChangedReason`, `CaretStateChangedEventInit`*"]
+ pub fn reason(&mut self, val: CaretChangedReason) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("reason"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `selectedTextContent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretStateChangedEventInit`*"]
+ pub fn selected_text_content(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("selectedTextContent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `selectionEditable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretStateChangedEventInit`*"]
+ pub fn selection_editable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("selectionEditable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `selectionVisible` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretStateChangedEventInit`*"]
+ pub fn selection_visible(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("selectionVisible"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for CaretStateChangedEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CdataSection.rs b/vendor/web-sys/src/features/gen_CdataSection.rs
new file mode 100644
index 000000000..c47274668
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CdataSection.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Text , extends = CharacterData , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = CDATASection , typescript_type = "CDATASection")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CdataSection` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CDATASection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CdataSection`*"]
+ pub type CdataSection;
+}
diff --git a/vendor/web-sys/src/features/gen_ChannelCountMode.rs b/vendor/web-sys/src/features/gen_ChannelCountMode.rs
new file mode 100644
index 000000000..f46463452
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ChannelCountMode.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ChannelCountMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ChannelCountMode {
+ Max = "max",
+ ClampedMax = "clamped-max",
+ Explicit = "explicit",
+}
diff --git a/vendor/web-sys/src/features/gen_ChannelInterpretation.rs b/vendor/web-sys/src/features/gen_ChannelInterpretation.rs
new file mode 100644
index 000000000..2fe84632f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ChannelInterpretation.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ChannelInterpretation` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ChannelInterpretation {
+ Speakers = "speakers",
+ Discrete = "discrete",
+}
diff --git a/vendor/web-sys/src/features/gen_ChannelMergerNode.rs b/vendor/web-sys/src/features/gen_ChannelMergerNode.rs
new file mode 100644
index 000000000..0ce61ce18
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ChannelMergerNode.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = ChannelMergerNode , typescript_type = "ChannelMergerNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ChannelMergerNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelMergerNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelMergerNode`*"]
+ pub type ChannelMergerNode;
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "ChannelMergerNode")]
+ #[doc = "The `new ChannelMergerNode(..)` constructor, creating a new instance of `ChannelMergerNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelMergerNode/ChannelMergerNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelMergerNode`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<ChannelMergerNode, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "ChannelMergerOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "ChannelMergerNode")]
+ #[doc = "The `new ChannelMergerNode(..)` constructor, creating a new instance of `ChannelMergerNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelMergerNode/ChannelMergerNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelMergerNode`, `ChannelMergerOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &ChannelMergerOptions,
+ ) -> Result<ChannelMergerNode, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ChannelMergerOptions.rs b/vendor/web-sys/src/features/gen_ChannelMergerOptions.rs
new file mode 100644
index 000000000..c259c8a66
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ChannelMergerOptions.rs
@@ -0,0 +1,97 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ChannelMergerOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ChannelMergerOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelMergerOptions`*"]
+ pub type ChannelMergerOptions;
+}
+impl ChannelMergerOptions {
+ #[doc = "Construct a new `ChannelMergerOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelMergerOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelMergerOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`, `ChannelMergerOptions`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`, `ChannelMergerOptions`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `numberOfInputs` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelMergerOptions`*"]
+ pub fn number_of_inputs(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("numberOfInputs"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ChannelMergerOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ChannelSplitterNode.rs b/vendor/web-sys/src/features/gen_ChannelSplitterNode.rs
new file mode 100644
index 000000000..c094aac41
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ChannelSplitterNode.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = ChannelSplitterNode , typescript_type = "ChannelSplitterNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ChannelSplitterNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelSplitterNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelSplitterNode`*"]
+ pub type ChannelSplitterNode;
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "ChannelSplitterNode")]
+ #[doc = "The `new ChannelSplitterNode(..)` constructor, creating a new instance of `ChannelSplitterNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelSplitterNode/ChannelSplitterNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelSplitterNode`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<ChannelSplitterNode, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "ChannelSplitterOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "ChannelSplitterNode")]
+ #[doc = "The `new ChannelSplitterNode(..)` constructor, creating a new instance of `ChannelSplitterNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelSplitterNode/ChannelSplitterNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelSplitterNode`, `ChannelSplitterOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &ChannelSplitterOptions,
+ ) -> Result<ChannelSplitterNode, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ChannelSplitterOptions.rs b/vendor/web-sys/src/features/gen_ChannelSplitterOptions.rs
new file mode 100644
index 000000000..2c045ef4d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ChannelSplitterOptions.rs
@@ -0,0 +1,97 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ChannelSplitterOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ChannelSplitterOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelSplitterOptions`*"]
+ pub type ChannelSplitterOptions;
+}
+impl ChannelSplitterOptions {
+ #[doc = "Construct a new `ChannelSplitterOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelSplitterOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelSplitterOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`, `ChannelSplitterOptions`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`, `ChannelSplitterOptions`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `numberOfOutputs` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelSplitterOptions`*"]
+ pub fn number_of_outputs(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("numberOfOutputs"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ChannelSplitterOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CharacterData.rs b/vendor/web-sys/src/features/gen_CharacterData.rs
new file mode 100644
index 000000000..133163013
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CharacterData.rs
@@ -0,0 +1,717 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = CharacterData , typescript_type = "CharacterData")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CharacterData` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub type CharacterData;
+ # [wasm_bindgen (structural , method , getter , js_class = "CharacterData" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn data(this: &CharacterData) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CharacterData" , js_name = data)]
+ #[doc = "Setter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn set_data(this: &CharacterData, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CharacterData" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn length(this: &CharacterData) -> u32;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CharacterData" , js_name = previousElementSibling)]
+ #[doc = "Getter for the `previousElementSibling` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/previousElementSibling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`, `Element`*"]
+ pub fn previous_element_sibling(this: &CharacterData) -> Option<Element>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CharacterData" , js_name = nextElementSibling)]
+ #[doc = "Getter for the `nextElementSibling` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/nextElementSibling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`, `Element`*"]
+ pub fn next_element_sibling(this: &CharacterData) -> Option<Element>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = appendData)]
+ #[doc = "The `appendData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/appendData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn append_data(this: &CharacterData, data: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = deleteData)]
+ #[doc = "The `deleteData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/deleteData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn delete_data(this: &CharacterData, offset: u32, count: u32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = insertData)]
+ #[doc = "The `insertData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/insertData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn insert_data(this: &CharacterData, offset: u32, data: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceData)]
+ #[doc = "The `replaceData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_data(
+ this: &CharacterData,
+ offset: u32,
+ count: u32,
+ data: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = substringData)]
+ #[doc = "The `substringData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/substringData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn substring_data(this: &CharacterData, offset: u32, count: u32)
+ -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_node(this: &CharacterData, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_node_0(this: &CharacterData) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_node_1(this: &CharacterData, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_node_2(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_node_3(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_node_4(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_node_5(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_node_6(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_node_7(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_str(this: &CharacterData, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_str_0(this: &CharacterData) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_str_1(this: &CharacterData, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_str_2(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_str_3(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_str_4(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_str_5(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_str_6(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn after_with_str_7(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_node(this: &CharacterData, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_node_0(this: &CharacterData) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_node_1(this: &CharacterData, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_node_2(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_node_3(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_node_4(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_node_5(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_node_6(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_node_7(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_str(this: &CharacterData, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_str_0(this: &CharacterData) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_str_1(this: &CharacterData, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_str_2(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_str_3(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_str_4(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_str_5(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_str_6(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn before_with_str_7(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "CharacterData" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn remove(this: &CharacterData);
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_node(
+ this: &CharacterData,
+ nodes: &::js_sys::Array,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_node_0(this: &CharacterData) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_node_1(this: &CharacterData, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_node_2(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_node_3(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_node_4(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_node_5(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_node_6(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_node_7(
+ this: &CharacterData,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_str(
+ this: &CharacterData,
+ nodes: &::js_sys::Array,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_str_0(this: &CharacterData) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_str_1(this: &CharacterData, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_str_2(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_str_3(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_str_4(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_str_5(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_str_6(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CharacterData" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"]
+ pub fn replace_with_with_str_7(
+ this: &CharacterData,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_CheckerboardReason.rs b/vendor/web-sys/src/features/gen_CheckerboardReason.rs
new file mode 100644
index 000000000..a978a6c98
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CheckerboardReason.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `CheckerboardReason` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `CheckerboardReason`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum CheckerboardReason {
+ Severe = "severe",
+ Recent = "recent",
+}
diff --git a/vendor/web-sys/src/features/gen_CheckerboardReport.rs b/vendor/web-sys/src/features/gen_CheckerboardReport.rs
new file mode 100644
index 000000000..a79c8d18b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CheckerboardReport.rs
@@ -0,0 +1,89 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CheckerboardReport)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CheckerboardReport` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CheckerboardReport`*"]
+ pub type CheckerboardReport;
+}
+impl CheckerboardReport {
+ #[doc = "Construct a new `CheckerboardReport`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CheckerboardReport`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `log` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CheckerboardReport`*"]
+ pub fn log(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("log"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "CheckerboardReason")]
+ #[doc = "Change the `reason` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CheckerboardReason`, `CheckerboardReport`*"]
+ pub fn reason(&mut self, val: CheckerboardReason) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("reason"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `severity` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CheckerboardReport`*"]
+ pub fn severity(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("severity"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CheckerboardReport`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for CheckerboardReport {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CheckerboardReportService.rs b/vendor/web-sys/src/features/gen_CheckerboardReportService.rs
new file mode 100644
index 000000000..d5abcf81c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CheckerboardReportService.rs
@@ -0,0 +1,49 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CheckerboardReportService , typescript_type = "CheckerboardReportService")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CheckerboardReportService` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
+ pub type CheckerboardReportService;
+ #[wasm_bindgen(catch, constructor, js_class = "CheckerboardReportService")]
+ #[doc = "The `new CheckerboardReportService(..)` constructor, creating a new instance of `CheckerboardReportService`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/CheckerboardReportService)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
+ pub fn new() -> Result<CheckerboardReportService, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = flushActiveReports)]
+ #[doc = "The `flushActiveReports()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/flushActiveReports)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
+ pub fn flush_active_reports(this: &CheckerboardReportService);
+ # [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = getReports)]
+ #[doc = "The `getReports()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/getReports)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
+ pub fn get_reports(this: &CheckerboardReportService) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = isRecordingEnabled)]
+ #[doc = "The `isRecordingEnabled()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/isRecordingEnabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
+ pub fn is_recording_enabled(this: &CheckerboardReportService) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = setRecordingEnabled)]
+ #[doc = "The `setRecordingEnabled()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/setRecordingEnabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
+ pub fn set_recording_enabled(this: &CheckerboardReportService, a_enabled: bool);
+}
diff --git a/vendor/web-sys/src/features/gen_ChromeFilePropertyBag.rs b/vendor/web-sys/src/features/gen_ChromeFilePropertyBag.rs
new file mode 100644
index 000000000..0461954ca
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ChromeFilePropertyBag.rs
@@ -0,0 +1,87 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ChromeFilePropertyBag)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ChromeFilePropertyBag` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChromeFilePropertyBag`*"]
+ pub type ChromeFilePropertyBag;
+}
+impl ChromeFilePropertyBag {
+ #[doc = "Construct a new `ChromeFilePropertyBag`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChromeFilePropertyBag`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `lastModified` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChromeFilePropertyBag`*"]
+ pub fn last_modified(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lastModified"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChromeFilePropertyBag`*"]
+ pub fn type_(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `existenceCheck` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChromeFilePropertyBag`*"]
+ pub fn existence_check(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("existenceCheck"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChromeFilePropertyBag`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ChromeFilePropertyBag {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ChromeWorker.rs b/vendor/web-sys/src/features/gen_ChromeWorker.rs
new file mode 100644
index 000000000..736f22561
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ChromeWorker.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Worker , extends = EventTarget , extends = :: js_sys :: Object , js_name = ChromeWorker , typescript_type = "ChromeWorker")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ChromeWorker` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChromeWorker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChromeWorker`*"]
+ pub type ChromeWorker;
+ #[wasm_bindgen(catch, constructor, js_class = "ChromeWorker")]
+ #[doc = "The `new ChromeWorker(..)` constructor, creating a new instance of `ChromeWorker`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChromeWorker/ChromeWorker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChromeWorker`*"]
+ pub fn new(script_url: &str) -> Result<ChromeWorker, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_Client.rs b/vendor/web-sys/src/features/gen_Client.rs
new file mode 100644
index 000000000..ecf6a2aba
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Client.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Client , typescript_type = "Client")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Client` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Client`*"]
+ pub type Client;
+ # [wasm_bindgen (structural , method , getter , js_class = "Client" , js_name = url)]
+ #[doc = "Getter for the `url` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/url)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Client`*"]
+ pub fn url(this: &Client) -> String;
+ #[cfg(feature = "FrameType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Client" , js_name = frameType)]
+ #[doc = "Getter for the `frameType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/frameType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Client`, `FrameType`*"]
+ pub fn frame_type(this: &Client) -> FrameType;
+ #[cfg(feature = "ClientType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Client" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Client`, `ClientType`*"]
+ pub fn type_(this: &Client) -> ClientType;
+ # [wasm_bindgen (structural , method , getter , js_class = "Client" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Client`*"]
+ pub fn id(this: &Client) -> String;
+ # [wasm_bindgen (catch , method , structural , js_class = "Client" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Client`*"]
+ pub fn post_message(this: &Client, message: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Client" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Client`*"]
+ pub fn post_message_with_transfer(
+ this: &Client,
+ message: &::wasm_bindgen::JsValue,
+ transfer: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ClientQueryOptions.rs b/vendor/web-sys/src/features/gen_ClientQueryOptions.rs
new file mode 100644
index 000000000..84dbc077f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ClientQueryOptions.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ClientQueryOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ClientQueryOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClientQueryOptions`*"]
+ pub type ClientQueryOptions;
+}
+impl ClientQueryOptions {
+ #[doc = "Construct a new `ClientQueryOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClientQueryOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `includeUncontrolled` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClientQueryOptions`*"]
+ pub fn include_uncontrolled(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("includeUncontrolled"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ClientType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClientQueryOptions`, `ClientType`*"]
+ pub fn type_(&mut self, val: ClientType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ClientQueryOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ClientRectsAndTexts.rs b/vendor/web-sys/src/features/gen_ClientRectsAndTexts.rs
new file mode 100644
index 000000000..e8a8fec00
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ClientRectsAndTexts.rs
@@ -0,0 +1,60 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ClientRectsAndTexts)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ClientRectsAndTexts` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClientRectsAndTexts`*"]
+ pub type ClientRectsAndTexts;
+}
+impl ClientRectsAndTexts {
+ #[cfg(feature = "DomRectList")]
+ #[doc = "Construct a new `ClientRectsAndTexts`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClientRectsAndTexts`, `DomRectList`*"]
+ pub fn new(rect_list: &DomRectList, text_list: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.rect_list(rect_list);
+ ret.text_list(text_list);
+ ret
+ }
+ #[cfg(feature = "DomRectList")]
+ #[doc = "Change the `rectList` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClientRectsAndTexts`, `DomRectList`*"]
+ pub fn rect_list(&mut self, val: &DomRectList) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rectList"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `textList` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClientRectsAndTexts`*"]
+ pub fn text_list(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("textList"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ClientType.rs b/vendor/web-sys/src/features/gen_ClientType.rs
new file mode 100644
index 000000000..fa617a529
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ClientType.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ClientType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ClientType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ClientType {
+ Window = "window",
+ Worker = "worker",
+ Sharedworker = "sharedworker",
+ Serviceworker = "serviceworker",
+ All = "all",
+}
diff --git a/vendor/web-sys/src/features/gen_Clients.rs b/vendor/web-sys/src/features/gen_Clients.rs
new file mode 100644
index 000000000..a33c001e4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Clients.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Clients , typescript_type = "Clients")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Clients` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Clients`*"]
+ pub type Clients;
+ # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = claim)]
+ #[doc = "The `claim()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/claim)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Clients`*"]
+ pub fn claim(this: &Clients) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Clients`*"]
+ pub fn get(this: &Clients, id: &str) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = matchAll)]
+ #[doc = "The `matchAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/matchAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Clients`*"]
+ pub fn match_all(this: &Clients) -> ::js_sys::Promise;
+ #[cfg(feature = "ClientQueryOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = matchAll)]
+ #[doc = "The `matchAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/matchAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClientQueryOptions`, `Clients`*"]
+ pub fn match_all_with_options(
+ this: &Clients,
+ options: &ClientQueryOptions,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = openWindow)]
+ #[doc = "The `openWindow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/openWindow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Clients`*"]
+ pub fn open_window(this: &Clients, url: &str) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_Clipboard.rs b/vendor/web-sys/src/features/gen_Clipboard.rs
new file mode 100644
index 000000000..b9029e3ad
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Clipboard.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Clipboard , typescript_type = "Clipboard")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Clipboard` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Clipboard`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type Clipboard;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "Clipboard" , js_name = read)]
+ #[doc = "The `read()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/read)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Clipboard`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn read(this: &Clipboard) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "Clipboard" , js_name = readText)]
+ #[doc = "The `readText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/readText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Clipboard`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn read_text(this: &Clipboard) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "Clipboard" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Clipboard`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write(this: &Clipboard, data: &::wasm_bindgen::JsValue) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "Clipboard" , js_name = writeText)]
+ #[doc = "The `writeText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Clipboard`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_text(this: &Clipboard, data: &str) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_ClipboardEvent.rs b/vendor/web-sys/src/features/gen_ClipboardEvent.rs
new file mode 100644
index 000000000..38410d88d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ClipboardEvent.rs
@@ -0,0 +1,56 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = ClipboardEvent , typescript_type = "ClipboardEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ClipboardEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ClipboardEvent;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DataTransfer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ClipboardEvent" , js_name = clipboardData)]
+ #[doc = "Getter for the `clipboardData` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/clipboardData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardEvent`, `DataTransfer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clipboard_data(this: &ClipboardEvent) -> Option<DataTransfer>;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "ClipboardEvent")]
+ #[doc = "The `new ClipboardEvent(..)` constructor, creating a new instance of `ClipboardEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/ClipboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(type_: &str) -> Result<ClipboardEvent, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ClipboardEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "ClipboardEvent")]
+ #[doc = "The `new ClipboardEvent(..)` constructor, creating a new instance of `ClipboardEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/ClipboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardEvent`, `ClipboardEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &ClipboardEventInit,
+ ) -> Result<ClipboardEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ClipboardEventInit.rs b/vendor/web-sys/src/features/gen_ClipboardEventInit.rs
new file mode 100644
index 000000000..74290a80f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ClipboardEventInit.rs
@@ -0,0 +1,121 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ClipboardEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ClipboardEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ClipboardEventInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl ClipboardEventInit {
+ #[doc = "Construct a new `ClipboardEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DataTransfer")]
+ #[doc = "Change the `clipboardData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardEventInit`, `DataTransfer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clipboard_data(&mut self, val: Option<&DataTransfer>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clipboardData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for ClipboardEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ClipboardItem.rs b/vendor/web-sys/src/features/gen_ClipboardItem.rs
new file mode 100644
index 000000000..ba3761296
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ClipboardItem.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ClipboardItem , typescript_type = "ClipboardItem")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ClipboardItem` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ClipboardItem;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "PresentationStyle")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ClipboardItem" , js_name = presentationStyle)]
+ #[doc = "Getter for the `presentationStyle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardItem/presentationStyle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardItem`, `PresentationStyle`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn presentation_style(this: &ClipboardItem) -> PresentationStyle;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ClipboardItem" , js_name = lastModified)]
+ #[doc = "Getter for the `lastModified` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardItem/lastModified)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn last_modified(this: &ClipboardItem) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ClipboardItem" , js_name = delayed)]
+ #[doc = "Getter for the `delayed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardItem/delayed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn delayed(this: &ClipboardItem) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ClipboardItem" , js_name = types)]
+ #[doc = "Getter for the `types` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardItem/types)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn types(this: &ClipboardItem) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "ClipboardItem" , js_name = getType)]
+ #[doc = "The `getType()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardItem/getType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_type(this: &ClipboardItem, type_: &str) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_ClipboardItemOptions.rs b/vendor/web-sys/src/features/gen_ClipboardItemOptions.rs
new file mode 100644
index 000000000..00056db03
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ClipboardItemOptions.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ClipboardItemOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ClipboardItemOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardItemOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ClipboardItemOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl ClipboardItemOptions {
+ #[doc = "Construct a new `ClipboardItemOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardItemOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "PresentationStyle")]
+ #[doc = "Change the `presentationStyle` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardItemOptions`, `PresentationStyle`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn presentation_style(&mut self, val: PresentationStyle) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("presentationStyle"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for ClipboardItemOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ClipboardPermissionDescriptor.rs b/vendor/web-sys/src/features/gen_ClipboardPermissionDescriptor.rs
new file mode 100644
index 000000000..32568bb88
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ClipboardPermissionDescriptor.rs
@@ -0,0 +1,71 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ClipboardPermissionDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ClipboardPermissionDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ClipboardPermissionDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl ClipboardPermissionDescriptor {
+ #[cfg(feature = "PermissionName")]
+ #[doc = "Construct a new `ClipboardPermissionDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardPermissionDescriptor`, `PermissionName`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(name: PermissionName) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "PermissionName")]
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardPermissionDescriptor`, `PermissionName`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn name(&mut self, val: PermissionName) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `allowWithoutGesture` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ClipboardPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn allow_without_gesture(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("allowWithoutGesture"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CloseEvent.rs b/vendor/web-sys/src/features/gen_CloseEvent.rs
new file mode 100644
index 000000000..0af95b5fb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CloseEvent.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = CloseEvent , typescript_type = "CloseEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CloseEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEvent`*"]
+ pub type CloseEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "CloseEvent" , js_name = wasClean)]
+ #[doc = "Getter for the `wasClean` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/wasClean)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEvent`*"]
+ pub fn was_clean(this: &CloseEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "CloseEvent" , js_name = code)]
+ #[doc = "Getter for the `code` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEvent`*"]
+ pub fn code(this: &CloseEvent) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "CloseEvent" , js_name = reason)]
+ #[doc = "Getter for the `reason` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/reason)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEvent`*"]
+ pub fn reason(this: &CloseEvent) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "CloseEvent")]
+ #[doc = "The `new CloseEvent(..)` constructor, creating a new instance of `CloseEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/CloseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEvent`*"]
+ pub fn new(type_: &str) -> Result<CloseEvent, JsValue>;
+ #[cfg(feature = "CloseEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "CloseEvent")]
+ #[doc = "The `new CloseEvent(..)` constructor, creating a new instance of `CloseEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/CloseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEvent`, `CloseEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &CloseEventInit,
+ ) -> Result<CloseEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_CloseEventInit.rs b/vendor/web-sys/src/features/gen_CloseEventInit.rs
new file mode 100644
index 000000000..c9125973f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CloseEventInit.rs
@@ -0,0 +1,122 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CloseEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CloseEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEventInit`*"]
+ pub type CloseEventInit;
+}
+impl CloseEventInit {
+ #[doc = "Construct a new `CloseEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `code` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEventInit`*"]
+ pub fn code(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("code"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `reason` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEventInit`*"]
+ pub fn reason(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("reason"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `wasClean` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CloseEventInit`*"]
+ pub fn was_clean(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("wasClean"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for CloseEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CodecState.rs b/vendor/web-sys/src/features/gen_CodecState.rs
new file mode 100644
index 000000000..76b60e259
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CodecState.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `CodecState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `CodecState`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum CodecState {
+ Unconfigured = "unconfigured",
+ Configured = "configured",
+ Closed = "closed",
+}
diff --git a/vendor/web-sys/src/features/gen_CollectedClientData.rs b/vendor/web-sys/src/features/gen_CollectedClientData.rs
new file mode 100644
index 000000000..6c06dfa76
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CollectedClientData.rs
@@ -0,0 +1,122 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CollectedClientData)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CollectedClientData` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CollectedClientData`*"]
+ pub type CollectedClientData;
+}
+impl CollectedClientData {
+ #[doc = "Construct a new `CollectedClientData`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CollectedClientData`*"]
+ pub fn new(challenge: &str, hash_algorithm: &str, origin: &str, type_: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.challenge(challenge);
+ ret.hash_algorithm(hash_algorithm);
+ ret.origin(origin);
+ ret.type_(type_);
+ ret
+ }
+ #[doc = "Change the `challenge` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CollectedClientData`*"]
+ pub fn challenge(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("challenge"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "AuthenticationExtensionsClientInputs")]
+ #[doc = "Change the `clientExtensions` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsClientInputs`, `CollectedClientData`*"]
+ pub fn client_extensions(&mut self, val: &AuthenticationExtensionsClientInputs) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientExtensions"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `hashAlgorithm` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CollectedClientData`*"]
+ pub fn hash_algorithm(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("hashAlgorithm"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CollectedClientData`*"]
+ pub fn origin(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("origin"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `tokenBindingId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CollectedClientData`*"]
+ pub fn token_binding_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("tokenBindingId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CollectedClientData`*"]
+ pub fn type_(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ColorSpaceConversion.rs b/vendor/web-sys/src/features/gen_ColorSpaceConversion.rs
new file mode 100644
index 000000000..becd676d0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ColorSpaceConversion.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ColorSpaceConversion` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ColorSpaceConversion`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ColorSpaceConversion {
+ None = "none",
+ Default = "default",
+}
diff --git a/vendor/web-sys/src/features/gen_Comment.rs b/vendor/web-sys/src/features/gen_Comment.rs
new file mode 100644
index 000000000..d061d9967
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Comment.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CharacterData , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = Comment , typescript_type = "Comment")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Comment` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Comment)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Comment`*"]
+ pub type Comment;
+ #[wasm_bindgen(catch, constructor, js_class = "Comment")]
+ #[doc = "The `new Comment(..)` constructor, creating a new instance of `Comment`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Comment/Comment)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Comment`*"]
+ pub fn new() -> Result<Comment, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Comment")]
+ #[doc = "The `new Comment(..)` constructor, creating a new instance of `Comment`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Comment/Comment)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Comment`*"]
+ pub fn new_with_data(data: &str) -> Result<Comment, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_CompositeOperation.rs b/vendor/web-sys/src/features/gen_CompositeOperation.rs
new file mode 100644
index 000000000..97f603f07
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CompositeOperation.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `CompositeOperation` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `CompositeOperation`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum CompositeOperation {
+ Replace = "replace",
+ Add = "add",
+ Accumulate = "accumulate",
+}
diff --git a/vendor/web-sys/src/features/gen_CompositionEvent.rs b/vendor/web-sys/src/features/gen_CompositionEvent.rs
new file mode 100644
index 000000000..550211e03
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CompositionEvent.rs
@@ -0,0 +1,121 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = UiEvent , extends = Event , extends = :: js_sys :: Object , js_name = CompositionEvent , typescript_type = "CompositionEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CompositionEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEvent`*"]
+ pub type CompositionEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "CompositionEvent" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEvent`*"]
+ pub fn data(this: &CompositionEvent) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "CompositionEvent" , js_name = locale)]
+ #[doc = "Getter for the `locale` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/locale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEvent`*"]
+ pub fn locale(this: &CompositionEvent) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "CompositionEvent")]
+ #[doc = "The `new CompositionEvent(..)` constructor, creating a new instance of `CompositionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/CompositionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEvent`*"]
+ pub fn new(type_: &str) -> Result<CompositionEvent, JsValue>;
+ #[cfg(feature = "CompositionEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "CompositionEvent")]
+ #[doc = "The `new CompositionEvent(..)` constructor, creating a new instance of `CompositionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/CompositionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEvent`, `CompositionEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &CompositionEventInit,
+ ) -> Result<CompositionEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "CompositionEvent" , js_name = initCompositionEvent)]
+ #[doc = "The `initCompositionEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEvent`*"]
+ pub fn init_composition_event(this: &CompositionEvent, type_arg: &str);
+ # [wasm_bindgen (method , structural , js_class = "CompositionEvent" , js_name = initCompositionEvent)]
+ #[doc = "The `initCompositionEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEvent`*"]
+ pub fn init_composition_event_with_can_bubble_arg(
+ this: &CompositionEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "CompositionEvent" , js_name = initCompositionEvent)]
+ #[doc = "The `initCompositionEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEvent`*"]
+ pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg(
+ this: &CompositionEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "CompositionEvent" , js_name = initCompositionEvent)]
+ #[doc = "The `initCompositionEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEvent`, `Window`*"]
+ pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg(
+ this: &CompositionEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "CompositionEvent" , js_name = initCompositionEvent)]
+ #[doc = "The `initCompositionEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEvent`, `Window`*"]
+ pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg(
+ this: &CompositionEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ data_arg: Option<&str>,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "CompositionEvent" , js_name = initCompositionEvent)]
+ #[doc = "The `initCompositionEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEvent`, `Window`*"]
+ pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg_and_locale_arg(
+ this: &CompositionEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ data_arg: Option<&str>,
+ locale_arg: &str,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_CompositionEventInit.rs b/vendor/web-sys/src/features/gen_CompositionEventInit.rs
new file mode 100644
index 000000000..2c45e5fb5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CompositionEventInit.rs
@@ -0,0 +1,119 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CompositionEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CompositionEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEventInit`*"]
+ pub type CompositionEventInit;
+}
+impl CompositionEventInit {
+ #[doc = "Construct a new `CompositionEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEventInit`*"]
+ pub fn detail(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detail"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Window")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEventInit`, `Window`*"]
+ pub fn view(&mut self, val: Option<&Window>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositionEventInit`*"]
+ pub fn data(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for CompositionEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ComputedEffectTiming.rs b/vendor/web-sys/src/features/gen_ComputedEffectTiming.rs
new file mode 100644
index 000000000..413540567
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ComputedEffectTiming.rs
@@ -0,0 +1,239 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ComputedEffectTiming)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ComputedEffectTiming` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub type ComputedEffectTiming;
+}
+impl ComputedEffectTiming {
+ #[doc = "Construct a new `ComputedEffectTiming`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `delay` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub fn delay(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("delay"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PlaybackDirection")]
+ #[doc = "Change the `direction` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`, `PlaybackDirection`*"]
+ pub fn direction(&mut self, val: PlaybackDirection) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("direction"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub fn duration(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("duration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `easing` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub fn easing(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("easing"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `endDelay` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub fn end_delay(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("endDelay"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "FillMode")]
+ #[doc = "Change the `fill` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`, `FillMode`*"]
+ pub fn fill(&mut self, val: FillMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("fill"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iterationStart` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub fn iteration_start(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iterationStart"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iterations` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub fn iterations(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iterations"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `activeDuration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub fn active_duration(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("activeDuration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `currentIteration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub fn current_iteration(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("currentIteration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `endTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub fn end_time(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("endTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `localTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub fn local_time(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("localTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `progress` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*"]
+ pub fn progress(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("progress"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ComputedEffectTiming {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConnStatusDict.rs b/vendor/web-sys/src/features/gen_ConnStatusDict.rs
new file mode 100644
index 000000000..64f8522f3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConnStatusDict.rs
@@ -0,0 +1,41 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConnStatusDict)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConnStatusDict` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConnStatusDict`*"]
+ pub type ConnStatusDict;
+}
+impl ConnStatusDict {
+ #[doc = "Construct a new `ConnStatusDict`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConnStatusDict`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConnStatusDict`*"]
+ pub fn status(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("status"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConnStatusDict {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConnectionType.rs b/vendor/web-sys/src/features/gen_ConnectionType.rs
new file mode 100644
index 000000000..910915f72
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConnectionType.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ConnectionType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ConnectionType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ConnectionType {
+ Cellular = "cellular",
+ Bluetooth = "bluetooth",
+ Ethernet = "ethernet",
+ Wifi = "wifi",
+ Other = "other",
+ None = "none",
+ Unknown = "unknown",
+}
diff --git a/vendor/web-sys/src/features/gen_ConsoleCounter.rs b/vendor/web-sys/src/features/gen_ConsoleCounter.rs
new file mode 100644
index 000000000..84afd5df0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConsoleCounter.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleCounter)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConsoleCounter` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleCounter`*"]
+ pub type ConsoleCounter;
+}
+impl ConsoleCounter {
+ #[doc = "Construct a new `ConsoleCounter`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleCounter`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `count` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleCounter`*"]
+ pub fn count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("count"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleCounter`*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConsoleCounter {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConsoleCounterError.rs b/vendor/web-sys/src/features/gen_ConsoleCounterError.rs
new file mode 100644
index 000000000..bfa25ad3d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConsoleCounterError.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleCounterError)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConsoleCounterError` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleCounterError`*"]
+ pub type ConsoleCounterError;
+}
+impl ConsoleCounterError {
+ #[doc = "Construct a new `ConsoleCounterError`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleCounterError`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleCounterError`*"]
+ pub fn error(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleCounterError`*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConsoleCounterError {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConsoleEvent.rs b/vendor/web-sys/src/features/gen_ConsoleEvent.rs
new file mode 100644
index 000000000..a30cd3794
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConsoleEvent.rs
@@ -0,0 +1,298 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleEvent)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConsoleEvent` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub type ConsoleEvent;
+}
+impl ConsoleEvent {
+ #[doc = "Construct a new `ConsoleEvent`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `ID` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn id(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ID"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `addonId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn addon_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("addonId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `arguments` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn arguments(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("arguments"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `columnNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn column_number(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("columnNumber"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `consoleID` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn console_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("consoleID"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `counter` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn counter(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("counter"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `filename` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn filename(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("filename"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `functionName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn function_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("functionName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `groupName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn group_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("groupName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `innerID` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn inner_id(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("innerID"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `level` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn level(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("level"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `lineNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn line_number(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lineNumber"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `prefix` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn prefix(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("prefix"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `private` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn private(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("private"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `styles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn styles(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("styles"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timeStamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn time_stamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timeStamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleEvent`*"]
+ pub fn timer(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("timer"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConsoleEvent {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConsoleInstance.rs b/vendor/web-sys/src/features/gen_ConsoleInstance.rs
new file mode 100644
index 000000000..c27a311d8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConsoleInstance.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = ConsoleInstance , typescript_type = "ConsoleInstance")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConsoleInstance` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConsoleInstance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleInstance`*"]
+ pub type ConsoleInstance;
+}
diff --git a/vendor/web-sys/src/features/gen_ConsoleInstanceOptions.rs b/vendor/web-sys/src/features/gen_ConsoleInstanceOptions.rs
new file mode 100644
index 000000000..6a4f129d8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConsoleInstanceOptions.rs
@@ -0,0 +1,123 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleInstanceOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConsoleInstanceOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleInstanceOptions`*"]
+ pub type ConsoleInstanceOptions;
+}
+impl ConsoleInstanceOptions {
+ #[doc = "Construct a new `ConsoleInstanceOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleInstanceOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `consoleID` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleInstanceOptions`*"]
+ pub fn console_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("consoleID"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `dump` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleInstanceOptions`*"]
+ pub fn dump(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("dump"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `innerID` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleInstanceOptions`*"]
+ pub fn inner_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("innerID"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ConsoleLogLevel")]
+ #[doc = "Change the `maxLogLevel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleInstanceOptions`, `ConsoleLogLevel`*"]
+ pub fn max_log_level(&mut self, val: ConsoleLogLevel) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maxLogLevel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `maxLogLevelPref` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleInstanceOptions`*"]
+ pub fn max_log_level_pref(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maxLogLevelPref"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `prefix` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleInstanceOptions`*"]
+ pub fn prefix(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("prefix"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConsoleInstanceOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConsoleLevel.rs b/vendor/web-sys/src/features/gen_ConsoleLevel.rs
new file mode 100644
index 000000000..a60bbd0ef
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConsoleLevel.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ConsoleLevel` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ConsoleLevel`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ConsoleLevel {
+ Log = "log",
+ Warning = "warning",
+ Error = "error",
+}
diff --git a/vendor/web-sys/src/features/gen_ConsoleLogLevel.rs b/vendor/web-sys/src/features/gen_ConsoleLogLevel.rs
new file mode 100644
index 000000000..6d396e061
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConsoleLogLevel.rs
@@ -0,0 +1,27 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ConsoleLogLevel` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ConsoleLogLevel`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ConsoleLogLevel {
+ All = "All",
+ Debug = "Debug",
+ Log = "Log",
+ Info = "Info",
+ Clear = "Clear",
+ Trace = "Trace",
+ TimeLog = "TimeLog",
+ TimeEnd = "TimeEnd",
+ Time = "Time",
+ Group = "Group",
+ GroupEnd = "GroupEnd",
+ Profile = "Profile",
+ ProfileEnd = "ProfileEnd",
+ Dir = "Dir",
+ Dirxml = "Dirxml",
+ Warn = "Warn",
+ Error = "Error",
+ Off = "Off",
+}
diff --git a/vendor/web-sys/src/features/gen_ConsoleProfileEvent.rs b/vendor/web-sys/src/features/gen_ConsoleProfileEvent.rs
new file mode 100644
index 000000000..d1e267416
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConsoleProfileEvent.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleProfileEvent)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConsoleProfileEvent` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleProfileEvent`*"]
+ pub type ConsoleProfileEvent;
+}
+impl ConsoleProfileEvent {
+ #[doc = "Construct a new `ConsoleProfileEvent`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleProfileEvent`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `action` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleProfileEvent`*"]
+ pub fn action(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("action"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `arguments` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleProfileEvent`*"]
+ pub fn arguments(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("arguments"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConsoleProfileEvent {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConsoleStackEntry.rs b/vendor/web-sys/src/features/gen_ConsoleStackEntry.rs
new file mode 100644
index 000000000..b63d60b3c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConsoleStackEntry.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleStackEntry)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConsoleStackEntry` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleStackEntry`*"]
+ pub type ConsoleStackEntry;
+}
+impl ConsoleStackEntry {
+ #[doc = "Construct a new `ConsoleStackEntry`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleStackEntry`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `asyncCause` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleStackEntry`*"]
+ pub fn async_cause(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("asyncCause"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `columnNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleStackEntry`*"]
+ pub fn column_number(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("columnNumber"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `filename` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleStackEntry`*"]
+ pub fn filename(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("filename"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `functionName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleStackEntry`*"]
+ pub fn function_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("functionName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `lineNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleStackEntry`*"]
+ pub fn line_number(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lineNumber"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConsoleStackEntry {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConsoleTimerError.rs b/vendor/web-sys/src/features/gen_ConsoleTimerError.rs
new file mode 100644
index 000000000..dacab00b7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConsoleTimerError.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleTimerError)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConsoleTimerError` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleTimerError`*"]
+ pub type ConsoleTimerError;
+}
+impl ConsoleTimerError {
+ #[doc = "Construct a new `ConsoleTimerError`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleTimerError`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleTimerError`*"]
+ pub fn error(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleTimerError`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConsoleTimerError {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConsoleTimerLogOrEnd.rs b/vendor/web-sys/src/features/gen_ConsoleTimerLogOrEnd.rs
new file mode 100644
index 000000000..3784b676f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConsoleTimerLogOrEnd.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleTimerLogOrEnd)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConsoleTimerLogOrEnd` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleTimerLogOrEnd`*"]
+ pub type ConsoleTimerLogOrEnd;
+}
+impl ConsoleTimerLogOrEnd {
+ #[doc = "Construct a new `ConsoleTimerLogOrEnd`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleTimerLogOrEnd`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleTimerLogOrEnd`*"]
+ pub fn duration(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("duration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleTimerLogOrEnd`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConsoleTimerLogOrEnd {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConsoleTimerStart.rs b/vendor/web-sys/src/features/gen_ConsoleTimerStart.rs
new file mode 100644
index 000000000..4e500e410
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConsoleTimerStart.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleTimerStart)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConsoleTimerStart` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleTimerStart`*"]
+ pub type ConsoleTimerStart;
+}
+impl ConsoleTimerStart {
+ #[doc = "Construct a new `ConsoleTimerStart`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleTimerStart`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConsoleTimerStart`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConsoleTimerStart {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConstantSourceNode.rs b/vendor/web-sys/src/features/gen_ConstantSourceNode.rs
new file mode 100644
index 000000000..5649d044d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConstantSourceNode.rs
@@ -0,0 +1,83 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioScheduledSourceNode , extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = ConstantSourceNode , typescript_type = "ConstantSourceNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConstantSourceNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstantSourceNode`*"]
+ pub type ConstantSourceNode;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ConstantSourceNode" , js_name = offset)]
+ #[doc = "Getter for the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/offset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `ConstantSourceNode`*"]
+ pub fn offset(this: &ConstantSourceNode) -> AudioParam;
+ # [wasm_bindgen (structural , method , getter , js_class = "ConstantSourceNode" , js_name = onended)]
+ #[doc = "Getter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstantSourceNode`*"]
+ pub fn onended(this: &ConstantSourceNode) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ConstantSourceNode" , js_name = onended)]
+ #[doc = "Setter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstantSourceNode`*"]
+ pub fn set_onended(this: &ConstantSourceNode, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "ConstantSourceNode")]
+ #[doc = "The `new ConstantSourceNode(..)` constructor, creating a new instance of `ConstantSourceNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/ConstantSourceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ConstantSourceNode`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<ConstantSourceNode, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "ConstantSourceOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "ConstantSourceNode")]
+ #[doc = "The `new ConstantSourceNode(..)` constructor, creating a new instance of `ConstantSourceNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/ConstantSourceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ConstantSourceNode`, `ConstantSourceOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &ConstantSourceOptions,
+ ) -> Result<ConstantSourceNode, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ConstantSourceNode" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstantSourceNode`*"]
+ pub fn start(this: &ConstantSourceNode) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ConstantSourceNode" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstantSourceNode`*"]
+ pub fn start_with_when(this: &ConstantSourceNode, when: f64) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ConstantSourceNode" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstantSourceNode`*"]
+ pub fn stop(this: &ConstantSourceNode) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ConstantSourceNode" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstantSourceNode`*"]
+ pub fn stop_with_when(this: &ConstantSourceNode, when: f64) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ConstantSourceOptions.rs b/vendor/web-sys/src/features/gen_ConstantSourceOptions.rs
new file mode 100644
index 000000000..f93dcb84a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConstantSourceOptions.rs
@@ -0,0 +1,41 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConstantSourceOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConstantSourceOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstantSourceOptions`*"]
+ pub type ConstantSourceOptions;
+}
+impl ConstantSourceOptions {
+ #[doc = "Construct a new `ConstantSourceOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstantSourceOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstantSourceOptions`*"]
+ pub fn offset(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("offset"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConstantSourceOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConstrainBooleanParameters.rs b/vendor/web-sys/src/features/gen_ConstrainBooleanParameters.rs
new file mode 100644
index 000000000..17901cfa9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConstrainBooleanParameters.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConstrainBooleanParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConstrainBooleanParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainBooleanParameters`*"]
+ pub type ConstrainBooleanParameters;
+}
+impl ConstrainBooleanParameters {
+ #[doc = "Construct a new `ConstrainBooleanParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainBooleanParameters`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `exact` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainBooleanParameters`*"]
+ pub fn exact(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("exact"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ideal` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainBooleanParameters`*"]
+ pub fn ideal(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ideal"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConstrainBooleanParameters {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConstrainDomStringParameters.rs b/vendor/web-sys/src/features/gen_ConstrainDomStringParameters.rs
new file mode 100644
index 000000000..13b7a173c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConstrainDomStringParameters.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConstrainDOMStringParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConstrainDomStringParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainDomStringParameters`*"]
+ pub type ConstrainDomStringParameters;
+}
+impl ConstrainDomStringParameters {
+ #[doc = "Construct a new `ConstrainDomStringParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainDomStringParameters`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `exact` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainDomStringParameters`*"]
+ pub fn exact(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("exact"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ideal` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainDomStringParameters`*"]
+ pub fn ideal(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ideal"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConstrainDomStringParameters {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConstrainDoubleRange.rs b/vendor/web-sys/src/features/gen_ConstrainDoubleRange.rs
new file mode 100644
index 000000000..446be61e7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConstrainDoubleRange.rs
@@ -0,0 +1,79 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConstrainDoubleRange)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConstrainDoubleRange` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainDoubleRange`*"]
+ pub type ConstrainDoubleRange;
+}
+impl ConstrainDoubleRange {
+ #[doc = "Construct a new `ConstrainDoubleRange`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainDoubleRange`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `exact` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainDoubleRange`*"]
+ pub fn exact(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("exact"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ideal` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainDoubleRange`*"]
+ pub fn ideal(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ideal"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `max` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainDoubleRange`*"]
+ pub fn max(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("max"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `min` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainDoubleRange`*"]
+ pub fn min(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("min"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConstrainDoubleRange {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConstrainLongRange.rs b/vendor/web-sys/src/features/gen_ConstrainLongRange.rs
new file mode 100644
index 000000000..668dbe338
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConstrainLongRange.rs
@@ -0,0 +1,79 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConstrainLongRange)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConstrainLongRange` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainLongRange`*"]
+ pub type ConstrainLongRange;
+}
+impl ConstrainLongRange {
+ #[doc = "Construct a new `ConstrainLongRange`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainLongRange`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `exact` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainLongRange`*"]
+ pub fn exact(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("exact"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ideal` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainLongRange`*"]
+ pub fn ideal(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ideal"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `max` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainLongRange`*"]
+ pub fn max(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("max"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `min` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstrainLongRange`*"]
+ pub fn min(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("min"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConstrainLongRange {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ContextAttributes2d.rs b/vendor/web-sys/src/features/gen_ContextAttributes2d.rs
new file mode 100644
index 000000000..fd322265a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ContextAttributes2d.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ContextAttributes2D)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ContextAttributes2d` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ContextAttributes2d`*"]
+ pub type ContextAttributes2d;
+}
+impl ContextAttributes2d {
+ #[doc = "Construct a new `ContextAttributes2d`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ContextAttributes2d`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `alpha` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ContextAttributes2d`*"]
+ pub fn alpha(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("alpha"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `willReadFrequently` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ContextAttributes2d`*"]
+ pub fn will_read_frequently(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("willReadFrequently"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ContextAttributes2d {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConvertCoordinateOptions.rs b/vendor/web-sys/src/features/gen_ConvertCoordinateOptions.rs
new file mode 100644
index 000000000..9578f2b6b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConvertCoordinateOptions.rs
@@ -0,0 +1,59 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConvertCoordinateOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConvertCoordinateOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`*"]
+ pub type ConvertCoordinateOptions;
+}
+impl ConvertCoordinateOptions {
+ #[doc = "Construct a new `ConvertCoordinateOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "CssBoxType")]
+ #[doc = "Change the `fromBox` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `CssBoxType`*"]
+ pub fn from_box(&mut self, val: CssBoxType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("fromBox"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "CssBoxType")]
+ #[doc = "Change the `toBox` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `CssBoxType`*"]
+ pub fn to_box(&mut self, val: CssBoxType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("toBox"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConvertCoordinateOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ConvolverNode.rs b/vendor/web-sys/src/features/gen_ConvolverNode.rs
new file mode 100644
index 000000000..0974b8a6e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConvolverNode.rs
@@ -0,0 +1,63 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = ConvolverNode , typescript_type = "ConvolverNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConvolverNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvolverNode`*"]
+ pub type ConvolverNode;
+ #[cfg(feature = "AudioBuffer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ConvolverNode" , js_name = buffer)]
+ #[doc = "Getter for the `buffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/buffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `ConvolverNode`*"]
+ pub fn buffer(this: &ConvolverNode) -> Option<AudioBuffer>;
+ #[cfg(feature = "AudioBuffer")]
+ # [wasm_bindgen (structural , method , setter , js_class = "ConvolverNode" , js_name = buffer)]
+ #[doc = "Setter for the `buffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/buffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `ConvolverNode`*"]
+ pub fn set_buffer(this: &ConvolverNode, value: Option<&AudioBuffer>);
+ # [wasm_bindgen (structural , method , getter , js_class = "ConvolverNode" , js_name = normalize)]
+ #[doc = "Getter for the `normalize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/normalize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvolverNode`*"]
+ pub fn normalize(this: &ConvolverNode) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "ConvolverNode" , js_name = normalize)]
+ #[doc = "Setter for the `normalize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/normalize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvolverNode`*"]
+ pub fn set_normalize(this: &ConvolverNode, value: bool);
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "ConvolverNode")]
+ #[doc = "The `new ConvolverNode(..)` constructor, creating a new instance of `ConvolverNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/ConvolverNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ConvolverNode`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<ConvolverNode, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "ConvolverOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "ConvolverNode")]
+ #[doc = "The `new ConvolverNode(..)` constructor, creating a new instance of `ConvolverNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/ConvolverNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `ConvolverNode`, `ConvolverOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &ConvolverOptions,
+ ) -> Result<ConvolverNode, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ConvolverOptions.rs b/vendor/web-sys/src/features/gen_ConvolverOptions.rs
new file mode 100644
index 000000000..dc895baf5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ConvolverOptions.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConvolverOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ConvolverOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvolverOptions`*"]
+ pub type ConvolverOptions;
+}
+impl ConvolverOptions {
+ #[doc = "Construct a new `ConvolverOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvolverOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvolverOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`, `ConvolverOptions`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`, `ConvolverOptions`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "AudioBuffer")]
+ #[doc = "Change the `buffer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `ConvolverOptions`*"]
+ pub fn buffer(&mut self, val: Option<&AudioBuffer>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("buffer"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `disableNormalization` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvolverOptions`*"]
+ pub fn disable_normalization(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("disableNormalization"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ConvolverOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Coordinates.rs b/vendor/web-sys/src/features/gen_Coordinates.rs
new file mode 100644
index 000000000..10850a2d3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Coordinates.rs
@@ -0,0 +1,63 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = Coordinates , typescript_type = "Coordinates")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Coordinates` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Coordinates)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Coordinates`*"]
+ pub type Coordinates;
+ # [wasm_bindgen (structural , method , getter , js_class = "Coordinates" , js_name = latitude)]
+ #[doc = "Getter for the `latitude` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Coordinates/latitude)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Coordinates`*"]
+ pub fn latitude(this: &Coordinates) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "Coordinates" , js_name = longitude)]
+ #[doc = "Getter for the `longitude` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Coordinates/longitude)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Coordinates`*"]
+ pub fn longitude(this: &Coordinates) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "Coordinates" , js_name = altitude)]
+ #[doc = "Getter for the `altitude` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Coordinates/altitude)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Coordinates`*"]
+ pub fn altitude(this: &Coordinates) -> Option<f64>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Coordinates" , js_name = accuracy)]
+ #[doc = "Getter for the `accuracy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Coordinates/accuracy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Coordinates`*"]
+ pub fn accuracy(this: &Coordinates) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "Coordinates" , js_name = altitudeAccuracy)]
+ #[doc = "Getter for the `altitudeAccuracy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Coordinates/altitudeAccuracy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Coordinates`*"]
+ pub fn altitude_accuracy(this: &Coordinates) -> Option<f64>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Coordinates" , js_name = heading)]
+ #[doc = "Getter for the `heading` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Coordinates/heading)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Coordinates`*"]
+ pub fn heading(this: &Coordinates) -> Option<f64>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Coordinates" , js_name = speed)]
+ #[doc = "Getter for the `speed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Coordinates/speed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Coordinates`*"]
+ pub fn speed(this: &Coordinates) -> Option<f64>;
+}
diff --git a/vendor/web-sys/src/features/gen_CountQueuingStrategy.rs b/vendor/web-sys/src/features/gen_CountQueuingStrategy.rs
new file mode 100644
index 000000000..779ba5b5b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CountQueuingStrategy.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CountQueuingStrategy , typescript_type = "CountQueuingStrategy")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CountQueuingStrategy` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CountQueuingStrategy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CountQueuingStrategy`*"]
+ pub type CountQueuingStrategy;
+ # [wasm_bindgen (structural , method , getter , js_class = "CountQueuingStrategy" , js_name = highWaterMark)]
+ #[doc = "Getter for the `highWaterMark` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CountQueuingStrategy/highWaterMark)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CountQueuingStrategy`*"]
+ pub fn high_water_mark(this: &CountQueuingStrategy) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "CountQueuingStrategy" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CountQueuingStrategy/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CountQueuingStrategy`*"]
+ pub fn size(this: &CountQueuingStrategy) -> ::js_sys::Function;
+ #[cfg(feature = "QueuingStrategyInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "CountQueuingStrategy")]
+ #[doc = "The `new CountQueuingStrategy(..)` constructor, creating a new instance of `CountQueuingStrategy`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CountQueuingStrategy/CountQueuingStrategy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CountQueuingStrategy`, `QueuingStrategyInit`*"]
+ pub fn new(init: &QueuingStrategyInit) -> Result<CountQueuingStrategy, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_Credential.rs b/vendor/web-sys/src/features/gen_Credential.rs
new file mode 100644
index 000000000..699f5eeb3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Credential.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Credential , typescript_type = "Credential")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Credential` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Credential)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Credential`*"]
+ pub type Credential;
+ # [wasm_bindgen (structural , method , getter , js_class = "Credential" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Credential/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Credential`*"]
+ pub fn id(this: &Credential) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Credential" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Credential/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Credential`*"]
+ pub fn type_(this: &Credential) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_CredentialCreationOptions.rs b/vendor/web-sys/src/features/gen_CredentialCreationOptions.rs
new file mode 100644
index 000000000..8c9958c14
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CredentialCreationOptions.rs
@@ -0,0 +1,60 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CredentialCreationOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CredentialCreationOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialCreationOptions`*"]
+ pub type CredentialCreationOptions;
+}
+impl CredentialCreationOptions {
+ #[doc = "Construct a new `CredentialCreationOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialCreationOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "PublicKeyCredentialCreationOptions")]
+ #[doc = "Change the `publicKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialCreationOptions`, `PublicKeyCredentialCreationOptions`*"]
+ pub fn public_key(&mut self, val: &PublicKeyCredentialCreationOptions) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("publicKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "AbortSignal")]
+ #[doc = "Change the `signal` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortSignal`, `CredentialCreationOptions`*"]
+ pub fn signal(&mut self, val: &AbortSignal) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("signal"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for CredentialCreationOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CredentialRequestOptions.rs b/vendor/web-sys/src/features/gen_CredentialRequestOptions.rs
new file mode 100644
index 000000000..61537f7b8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CredentialRequestOptions.rs
@@ -0,0 +1,60 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CredentialRequestOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CredentialRequestOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialRequestOptions`*"]
+ pub type CredentialRequestOptions;
+}
+impl CredentialRequestOptions {
+ #[doc = "Construct a new `CredentialRequestOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialRequestOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "PublicKeyCredentialRequestOptions")]
+ #[doc = "Change the `publicKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialRequestOptions`, `PublicKeyCredentialRequestOptions`*"]
+ pub fn public_key(&mut self, val: &PublicKeyCredentialRequestOptions) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("publicKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "AbortSignal")]
+ #[doc = "Change the `signal` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortSignal`, `CredentialRequestOptions`*"]
+ pub fn signal(&mut self, val: &AbortSignal) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("signal"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for CredentialRequestOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CredentialsContainer.rs b/vendor/web-sys/src/features/gen_CredentialsContainer.rs
new file mode 100644
index 000000000..fb008e968
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CredentialsContainer.rs
@@ -0,0 +1,69 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CredentialsContainer , typescript_type = "CredentialsContainer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CredentialsContainer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialsContainer`*"]
+ pub type CredentialsContainer;
+ # [wasm_bindgen (catch , method , structural , js_class = "CredentialsContainer" , js_name = create)]
+ #[doc = "The `create()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/create)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialsContainer`*"]
+ pub fn create(this: &CredentialsContainer) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CredentialCreationOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CredentialsContainer" , js_name = create)]
+ #[doc = "The `create()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/create)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialCreationOptions`, `CredentialsContainer`*"]
+ pub fn create_with_options(
+ this: &CredentialsContainer,
+ options: &CredentialCreationOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CredentialsContainer" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialsContainer`*"]
+ pub fn get(this: &CredentialsContainer) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CredentialRequestOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CredentialsContainer" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialRequestOptions`, `CredentialsContainer`*"]
+ pub fn get_with_options(
+ this: &CredentialsContainer,
+ options: &CredentialRequestOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CredentialsContainer" , js_name = preventSilentAccess)]
+ #[doc = "The `preventSilentAccess()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/preventSilentAccess)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialsContainer`*"]
+ pub fn prevent_silent_access(this: &CredentialsContainer)
+ -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "Credential")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CredentialsContainer" , js_name = store)]
+ #[doc = "The `store()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/store)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Credential`, `CredentialsContainer`*"]
+ pub fn store(
+ this: &CredentialsContainer,
+ credential: &Credential,
+ ) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_Crypto.rs b/vendor/web-sys/src/features/gen_Crypto.rs
new file mode 100644
index 000000000..4c46bfd15
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Crypto.rs
@@ -0,0 +1,49 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Crypto , typescript_type = "Crypto")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Crypto` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Crypto)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Crypto`*"]
+ pub type Crypto;
+ #[cfg(feature = "SubtleCrypto")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Crypto" , js_name = subtle)]
+ #[doc = "Getter for the `subtle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/subtle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Crypto`, `SubtleCrypto`*"]
+ pub fn subtle(this: &Crypto) -> SubtleCrypto;
+ # [wasm_bindgen (catch , method , structural , js_class = "Crypto" , js_name = getRandomValues)]
+ #[doc = "The `getRandomValues()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Crypto`*"]
+ pub fn get_random_values_with_array_buffer_view(
+ this: &Crypto,
+ array: &::js_sys::Object,
+ ) -> Result<::js_sys::Object, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Crypto" , js_name = getRandomValues)]
+ #[doc = "The `getRandomValues()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Crypto`*"]
+ pub fn get_random_values_with_u8_array(
+ this: &Crypto,
+ array: &mut [u8],
+ ) -> Result<::js_sys::Object, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Crypto" , js_name = randomUUID)]
+ #[doc = "The `randomUUID()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Crypto`*"]
+ pub fn random_uuid(this: &Crypto) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_CryptoKey.rs b/vendor/web-sys/src/features/gen_CryptoKey.rs
new file mode 100644
index 000000000..7e8773eb1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CryptoKey.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CryptoKey , typescript_type = "CryptoKey")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CryptoKey` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CryptoKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`*"]
+ pub type CryptoKey;
+ # [wasm_bindgen (structural , method , getter , js_class = "CryptoKey" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CryptoKey/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`*"]
+ pub fn type_(this: &CryptoKey) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "CryptoKey" , js_name = extractable)]
+ #[doc = "Getter for the `extractable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CryptoKey/extractable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`*"]
+ pub fn extractable(this: &CryptoKey) -> bool;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "CryptoKey" , js_name = algorithm)]
+ #[doc = "Getter for the `algorithm` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CryptoKey/algorithm)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`*"]
+ pub fn algorithm(this: &CryptoKey) -> Result<::js_sys::Object, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "CryptoKey" , js_name = usages)]
+ #[doc = "Getter for the `usages` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CryptoKey/usages)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`*"]
+ pub fn usages(this: &CryptoKey) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_CryptoKeyPair.rs b/vendor/web-sys/src/features/gen_CryptoKeyPair.rs
new file mode 100644
index 000000000..5026e6398
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CryptoKeyPair.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CryptoKeyPair)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CryptoKeyPair` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKeyPair`*"]
+ pub type CryptoKeyPair;
+}
+impl CryptoKeyPair {
+ #[cfg(feature = "CryptoKey")]
+ #[doc = "Construct a new `CryptoKeyPair`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `CryptoKeyPair`*"]
+ pub fn new(private_key: &CryptoKey, public_key: &CryptoKey) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.private_key(private_key);
+ ret.public_key(public_key);
+ ret
+ }
+ #[cfg(feature = "CryptoKey")]
+ #[doc = "Change the `privateKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `CryptoKeyPair`*"]
+ pub fn private_key(&mut self, val: &CryptoKey) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("privateKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "CryptoKey")]
+ #[doc = "Change the `publicKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `CryptoKeyPair`*"]
+ pub fn public_key(&mut self, val: &CryptoKey) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("publicKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Csp.rs b/vendor/web-sys/src/features/gen_Csp.rs
new file mode 100644
index 000000000..0fbea97c9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Csp.rs
@@ -0,0 +1,401 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSP)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Csp` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub type Csp;
+}
+impl Csp {
+ #[doc = "Construct a new `Csp`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `base-uri` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn base_uri(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("base-uri"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `block-all-mixed-content` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn block_all_mixed_content(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("block-all-mixed-content"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `child-src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn child_src(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("child-src"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `connect-src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn connect_src(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("connect-src"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `default-src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn default_src(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("default-src"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `font-src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn font_src(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("font-src"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `form-action` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn form_action(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("form-action"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `frame-ancestors` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn frame_ancestors(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frame-ancestors"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `frame-src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn frame_src(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frame-src"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `img-src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn img_src(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("img-src"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `manifest-src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn manifest_src(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("manifest-src"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `media-src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn media_src(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("media-src"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `object-src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn object_src(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("object-src"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `referrer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn referrer(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("referrer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `report-only` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn report_only(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("report-only"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `report-uri` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn report_uri(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("report-uri"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `require-sri-for` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn require_sri_for(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("require-sri-for"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sandbox` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn sandbox(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sandbox"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `script-src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn script_src(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("script-src"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `style-src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn style_src(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("style-src"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `upgrade-insecure-requests` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn upgrade_insecure_requests(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("upgrade-insecure-requests"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `worker-src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Csp`*"]
+ pub fn worker_src(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("worker-src"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for Csp {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CspPolicies.rs b/vendor/web-sys/src/features/gen_CspPolicies.rs
new file mode 100644
index 000000000..96d4ad533
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CspPolicies.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSPPolicies)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CspPolicies` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspPolicies`*"]
+ pub type CspPolicies;
+}
+impl CspPolicies {
+ #[doc = "Construct a new `CspPolicies`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspPolicies`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `csp-policies` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspPolicies`*"]
+ pub fn csp_policies(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("csp-policies"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for CspPolicies {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CspReport.rs b/vendor/web-sys/src/features/gen_CspReport.rs
new file mode 100644
index 000000000..6938a2d32
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CspReport.rs
@@ -0,0 +1,45 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSPReport)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CspReport` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReport`*"]
+ pub type CspReport;
+}
+impl CspReport {
+ #[doc = "Construct a new `CspReport`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReport`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "CspReportProperties")]
+ #[doc = "Change the `csp-report` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReport`, `CspReportProperties`*"]
+ pub fn csp_report(&mut self, val: &CspReportProperties) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("csp-report"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for CspReport {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CspReportProperties.rs b/vendor/web-sys/src/features/gen_CspReportProperties.rs
new file mode 100644
index 000000000..c20edf212
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CspReportProperties.rs
@@ -0,0 +1,180 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSPReportProperties)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CspReportProperties` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReportProperties`*"]
+ pub type CspReportProperties;
+}
+impl CspReportProperties {
+ #[doc = "Construct a new `CspReportProperties`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReportProperties`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `blocked-uri` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReportProperties`*"]
+ pub fn blocked_uri(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("blocked-uri"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `column-number` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReportProperties`*"]
+ pub fn column_number(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("column-number"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `document-uri` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReportProperties`*"]
+ pub fn document_uri(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("document-uri"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `line-number` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReportProperties`*"]
+ pub fn line_number(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("line-number"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `original-policy` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReportProperties`*"]
+ pub fn original_policy(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("original-policy"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `referrer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReportProperties`*"]
+ pub fn referrer(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("referrer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `script-sample` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReportProperties`*"]
+ pub fn script_sample(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("script-sample"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `source-file` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReportProperties`*"]
+ pub fn source_file(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("source-file"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `violated-directive` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CspReportProperties`*"]
+ pub fn violated_directive(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("violated-directive"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for CspReportProperties {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_CssAnimation.rs b/vendor/web-sys/src/features/gen_CssAnimation.rs
new file mode 100644
index 000000000..ea0df7c62
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssAnimation.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Animation , extends = EventTarget , extends = :: js_sys :: Object , js_name = CSSAnimation , typescript_type = "CSSAnimation")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssAnimation` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSAnimation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssAnimation`*"]
+ pub type CssAnimation;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSAnimation" , js_name = animationName)]
+ #[doc = "Getter for the `animationName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSAnimation/animationName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssAnimation`*"]
+ pub fn animation_name(this: &CssAnimation) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_CssBoxType.rs b/vendor/web-sys/src/features/gen_CssBoxType.rs
new file mode 100644
index 000000000..c72b966f2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssBoxType.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `CssBoxType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `CssBoxType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum CssBoxType {
+ Margin = "margin",
+ Border = "border",
+ Padding = "padding",
+ Content = "content",
+}
diff --git a/vendor/web-sys/src/features/gen_CssConditionRule.rs b/vendor/web-sys/src/features/gen_CssConditionRule.rs
new file mode 100644
index 000000000..a08a051d6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssConditionRule.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssGroupingRule , extends = CssRule , extends = :: js_sys :: Object , js_name = CSSConditionRule , typescript_type = "CSSConditionRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssConditionRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSConditionRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssConditionRule`*"]
+ pub type CssConditionRule;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSConditionRule" , js_name = conditionText)]
+ #[doc = "Getter for the `conditionText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSConditionRule/conditionText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssConditionRule`*"]
+ pub fn condition_text(this: &CssConditionRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSConditionRule" , js_name = conditionText)]
+ #[doc = "Setter for the `conditionText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSConditionRule/conditionText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssConditionRule`*"]
+ pub fn set_condition_text(this: &CssConditionRule, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_CssCounterStyleRule.rs b/vendor/web-sys/src/features/gen_CssCounterStyleRule.rs
new file mode 100644
index 000000000..99a4e127c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssCounterStyleRule.rs
@@ -0,0 +1,168 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSCounterStyleRule , typescript_type = "CSSCounterStyleRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssCounterStyleRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub type CssCounterStyleRule;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSCounterStyleRule" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn name(this: &CssCounterStyleRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSCounterStyleRule" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn set_name(this: &CssCounterStyleRule, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSCounterStyleRule" , js_name = system)]
+ #[doc = "Getter for the `system` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/system)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn system(this: &CssCounterStyleRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSCounterStyleRule" , js_name = system)]
+ #[doc = "Setter for the `system` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/system)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn set_system(this: &CssCounterStyleRule, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSCounterStyleRule" , js_name = symbols)]
+ #[doc = "Getter for the `symbols` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/symbols)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn symbols(this: &CssCounterStyleRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSCounterStyleRule" , js_name = symbols)]
+ #[doc = "Setter for the `symbols` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/symbols)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn set_symbols(this: &CssCounterStyleRule, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSCounterStyleRule" , js_name = additiveSymbols)]
+ #[doc = "Getter for the `additiveSymbols` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/additiveSymbols)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn additive_symbols(this: &CssCounterStyleRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSCounterStyleRule" , js_name = additiveSymbols)]
+ #[doc = "Setter for the `additiveSymbols` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/additiveSymbols)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn set_additive_symbols(this: &CssCounterStyleRule, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSCounterStyleRule" , js_name = negative)]
+ #[doc = "Getter for the `negative` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/negative)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn negative(this: &CssCounterStyleRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSCounterStyleRule" , js_name = negative)]
+ #[doc = "Setter for the `negative` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/negative)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn set_negative(this: &CssCounterStyleRule, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSCounterStyleRule" , js_name = prefix)]
+ #[doc = "Getter for the `prefix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/prefix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn prefix(this: &CssCounterStyleRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSCounterStyleRule" , js_name = prefix)]
+ #[doc = "Setter for the `prefix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/prefix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn set_prefix(this: &CssCounterStyleRule, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSCounterStyleRule" , js_name = suffix)]
+ #[doc = "Getter for the `suffix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/suffix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn suffix(this: &CssCounterStyleRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSCounterStyleRule" , js_name = suffix)]
+ #[doc = "Setter for the `suffix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/suffix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn set_suffix(this: &CssCounterStyleRule, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSCounterStyleRule" , js_name = range)]
+ #[doc = "Getter for the `range` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/range)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn range(this: &CssCounterStyleRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSCounterStyleRule" , js_name = range)]
+ #[doc = "Setter for the `range` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/range)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn set_range(this: &CssCounterStyleRule, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSCounterStyleRule" , js_name = pad)]
+ #[doc = "Getter for the `pad` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/pad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn pad(this: &CssCounterStyleRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSCounterStyleRule" , js_name = pad)]
+ #[doc = "Setter for the `pad` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/pad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn set_pad(this: &CssCounterStyleRule, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSCounterStyleRule" , js_name = speakAs)]
+ #[doc = "Getter for the `speakAs` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/speakAs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn speak_as(this: &CssCounterStyleRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSCounterStyleRule" , js_name = speakAs)]
+ #[doc = "Setter for the `speakAs` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/speakAs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn set_speak_as(this: &CssCounterStyleRule, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSCounterStyleRule" , js_name = fallback)]
+ #[doc = "Getter for the `fallback` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/fallback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn fallback(this: &CssCounterStyleRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSCounterStyleRule" , js_name = fallback)]
+ #[doc = "Setter for the `fallback` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/fallback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssCounterStyleRule`*"]
+ pub fn set_fallback(this: &CssCounterStyleRule, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_CssFontFaceRule.rs b/vendor/web-sys/src/features/gen_CssFontFaceRule.rs
new file mode 100644
index 000000000..b92001157
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssFontFaceRule.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSFontFaceRule , typescript_type = "CSSFontFaceRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssFontFaceRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFaceRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssFontFaceRule`*"]
+ pub type CssFontFaceRule;
+ #[cfg(feature = "CssStyleDeclaration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSFontFaceRule" , js_name = style)]
+ #[doc = "Getter for the `style` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFaceRule/style)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssFontFaceRule`, `CssStyleDeclaration`*"]
+ pub fn style(this: &CssFontFaceRule) -> CssStyleDeclaration;
+}
diff --git a/vendor/web-sys/src/features/gen_CssFontFeatureValuesRule.rs b/vendor/web-sys/src/features/gen_CssFontFeatureValuesRule.rs
new file mode 100644
index 000000000..976e1479b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssFontFeatureValuesRule.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSFontFeatureValuesRule , typescript_type = "CSSFontFeatureValuesRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssFontFeatureValuesRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*"]
+ pub type CssFontFeatureValuesRule;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSFontFeatureValuesRule" , js_name = fontFamily)]
+ #[doc = "Getter for the `fontFamily` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*"]
+ pub fn font_family(this: &CssFontFeatureValuesRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSFontFeatureValuesRule" , js_name = fontFamily)]
+ #[doc = "Setter for the `fontFamily` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*"]
+ pub fn set_font_family(this: &CssFontFeatureValuesRule, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSFontFeatureValuesRule" , js_name = valueText)]
+ #[doc = "Getter for the `valueText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/valueText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*"]
+ pub fn value_text(this: &CssFontFeatureValuesRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSFontFeatureValuesRule" , js_name = valueText)]
+ #[doc = "Setter for the `valueText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/valueText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*"]
+ pub fn set_value_text(this: &CssFontFeatureValuesRule, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_CssGroupingRule.rs b/vendor/web-sys/src/features/gen_CssGroupingRule.rs
new file mode 100644
index 000000000..9c0fe854d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssGroupingRule.rs
@@ -0,0 +1,47 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSGroupingRule , typescript_type = "CSSGroupingRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssGroupingRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssGroupingRule`*"]
+ pub type CssGroupingRule;
+ #[cfg(feature = "CssRuleList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSGroupingRule" , js_name = cssRules)]
+ #[doc = "Getter for the `cssRules` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/cssRules)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssGroupingRule`, `CssRuleList`*"]
+ pub fn css_rules(this: &CssGroupingRule) -> CssRuleList;
+ # [wasm_bindgen (catch , method , structural , js_class = "CSSGroupingRule" , js_name = deleteRule)]
+ #[doc = "The `deleteRule()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/deleteRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssGroupingRule`*"]
+ pub fn delete_rule(this: &CssGroupingRule, index: u32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CSSGroupingRule" , js_name = insertRule)]
+ #[doc = "The `insertRule()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/insertRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssGroupingRule`*"]
+ pub fn insert_rule(this: &CssGroupingRule, rule: &str) -> Result<u32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CSSGroupingRule" , js_name = insertRule)]
+ #[doc = "The `insertRule()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/insertRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssGroupingRule`*"]
+ pub fn insert_rule_with_index(
+ this: &CssGroupingRule,
+ rule: &str,
+ index: u32,
+ ) -> Result<u32, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_CssImportRule.rs b/vendor/web-sys/src/features/gen_CssImportRule.rs
new file mode 100644
index 000000000..11ad6011d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssImportRule.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSImportRule , typescript_type = "CSSImportRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssImportRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSImportRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssImportRule`*"]
+ pub type CssImportRule;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSImportRule" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSImportRule/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssImportRule`*"]
+ pub fn href(this: &CssImportRule) -> String;
+ #[cfg(feature = "MediaList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSImportRule" , js_name = media)]
+ #[doc = "Getter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSImportRule/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssImportRule`, `MediaList`*"]
+ pub fn media(this: &CssImportRule) -> Option<MediaList>;
+ #[cfg(feature = "CssStyleSheet")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSImportRule" , js_name = styleSheet)]
+ #[doc = "Getter for the `styleSheet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSImportRule/styleSheet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssImportRule`, `CssStyleSheet`*"]
+ pub fn style_sheet(this: &CssImportRule) -> Option<CssStyleSheet>;
+}
diff --git a/vendor/web-sys/src/features/gen_CssKeyframeRule.rs b/vendor/web-sys/src/features/gen_CssKeyframeRule.rs
new file mode 100644
index 000000000..547d97b90
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssKeyframeRule.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSKeyframeRule , typescript_type = "CSSKeyframeRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssKeyframeRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssKeyframeRule`*"]
+ pub type CssKeyframeRule;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSKeyframeRule" , js_name = keyText)]
+ #[doc = "Getter for the `keyText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule/keyText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssKeyframeRule`*"]
+ pub fn key_text(this: &CssKeyframeRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSKeyframeRule" , js_name = keyText)]
+ #[doc = "Setter for the `keyText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule/keyText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssKeyframeRule`*"]
+ pub fn set_key_text(this: &CssKeyframeRule, value: &str);
+ #[cfg(feature = "CssStyleDeclaration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSKeyframeRule" , js_name = style)]
+ #[doc = "Getter for the `style` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule/style)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssKeyframeRule`, `CssStyleDeclaration`*"]
+ pub fn style(this: &CssKeyframeRule) -> CssStyleDeclaration;
+}
diff --git a/vendor/web-sys/src/features/gen_CssKeyframesRule.rs b/vendor/web-sys/src/features/gen_CssKeyframesRule.rs
new file mode 100644
index 000000000..27c636c8e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssKeyframesRule.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSKeyframesRule , typescript_type = "CSSKeyframesRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssKeyframesRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssKeyframesRule`*"]
+ pub type CssKeyframesRule;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSKeyframesRule" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssKeyframesRule`*"]
+ pub fn name(this: &CssKeyframesRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSKeyframesRule" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssKeyframesRule`*"]
+ pub fn set_name(this: &CssKeyframesRule, value: &str);
+ #[cfg(feature = "CssRuleList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSKeyframesRule" , js_name = cssRules)]
+ #[doc = "Getter for the `cssRules` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/cssRules)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssKeyframesRule`, `CssRuleList`*"]
+ pub fn css_rules(this: &CssKeyframesRule) -> CssRuleList;
+ # [wasm_bindgen (method , structural , js_class = "CSSKeyframesRule" , js_name = appendRule)]
+ #[doc = "The `appendRule()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/appendRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssKeyframesRule`*"]
+ pub fn append_rule(this: &CssKeyframesRule, rule: &str);
+ # [wasm_bindgen (method , structural , js_class = "CSSKeyframesRule" , js_name = deleteRule)]
+ #[doc = "The `deleteRule()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/deleteRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssKeyframesRule`*"]
+ pub fn delete_rule(this: &CssKeyframesRule, select: &str);
+ #[cfg(feature = "CssKeyframeRule")]
+ # [wasm_bindgen (method , structural , js_class = "CSSKeyframesRule" , js_name = findRule)]
+ #[doc = "The `findRule()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/findRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssKeyframeRule`, `CssKeyframesRule`*"]
+ pub fn find_rule(this: &CssKeyframesRule, select: &str) -> Option<CssKeyframeRule>;
+}
diff --git a/vendor/web-sys/src/features/gen_CssMediaRule.rs b/vendor/web-sys/src/features/gen_CssMediaRule.rs
new file mode 100644
index 000000000..fa3b215f7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssMediaRule.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssConditionRule , extends = CssGroupingRule , extends = CssRule , extends = :: js_sys :: Object , js_name = CSSMediaRule , typescript_type = "CSSMediaRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssMediaRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSMediaRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssMediaRule`*"]
+ pub type CssMediaRule;
+ #[cfg(feature = "MediaList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSMediaRule" , js_name = media)]
+ #[doc = "Getter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSMediaRule/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssMediaRule`, `MediaList`*"]
+ pub fn media(this: &CssMediaRule) -> MediaList;
+}
diff --git a/vendor/web-sys/src/features/gen_CssNamespaceRule.rs b/vendor/web-sys/src/features/gen_CssNamespaceRule.rs
new file mode 100644
index 000000000..3fce67660
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssNamespaceRule.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSNamespaceRule , typescript_type = "CSSNamespaceRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssNamespaceRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSNamespaceRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssNamespaceRule`*"]
+ pub type CssNamespaceRule;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSNamespaceRule" , js_name = namespaceURI)]
+ #[doc = "Getter for the `namespaceURI` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSNamespaceRule/namespaceURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssNamespaceRule`*"]
+ pub fn namespace_uri(this: &CssNamespaceRule) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSNamespaceRule" , js_name = prefix)]
+ #[doc = "Getter for the `prefix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSNamespaceRule/prefix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssNamespaceRule`*"]
+ pub fn prefix(this: &CssNamespaceRule) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_CssPageRule.rs b/vendor/web-sys/src/features/gen_CssPageRule.rs
new file mode 100644
index 000000000..d9441f512
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssPageRule.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSPageRule , typescript_type = "CSSPageRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssPageRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPageRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssPageRule`*"]
+ pub type CssPageRule;
+ #[cfg(feature = "CssStyleDeclaration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSPageRule" , js_name = style)]
+ #[doc = "Getter for the `style` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPageRule/style)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssPageRule`, `CssStyleDeclaration`*"]
+ pub fn style(this: &CssPageRule) -> CssStyleDeclaration;
+}
diff --git a/vendor/web-sys/src/features/gen_CssPseudoElement.rs b/vendor/web-sys/src/features/gen_CssPseudoElement.rs
new file mode 100644
index 000000000..63b3f543e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssPseudoElement.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSSPseudoElement , typescript_type = "CSSPseudoElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssPseudoElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`*"]
+ pub type CssPseudoElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSPseudoElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`*"]
+ pub fn type_(this: &CssPseudoElement) -> String;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSPseudoElement" , js_name = parentElement)]
+ #[doc = "Getter for the `parentElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/parentElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`, `Element`*"]
+ pub fn parent_element(this: &CssPseudoElement) -> Element;
+}
diff --git a/vendor/web-sys/src/features/gen_CssRule.rs b/vendor/web-sys/src/features/gen_CssRule.rs
new file mode 100644
index 000000000..801667eb1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssRule.rs
@@ -0,0 +1,100 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSSRule , typescript_type = "CSSRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub type CssRule;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSRule" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub fn type_(this: &CssRule) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSRule" , js_name = cssText)]
+ #[doc = "Getter for the `cssText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/cssText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub fn css_text(this: &CssRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSRule" , js_name = cssText)]
+ #[doc = "Setter for the `cssText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/cssText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub fn set_css_text(this: &CssRule, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSRule" , js_name = parentRule)]
+ #[doc = "Getter for the `parentRule` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/parentRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub fn parent_rule(this: &CssRule) -> Option<CssRule>;
+ #[cfg(feature = "CssStyleSheet")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSRule" , js_name = parentStyleSheet)]
+ #[doc = "Getter for the `parentStyleSheet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/parentStyleSheet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`, `CssStyleSheet`*"]
+ pub fn parent_style_sheet(this: &CssRule) -> Option<CssStyleSheet>;
+}
+impl CssRule {
+ #[doc = "The `CSSRule.STYLE_RULE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub const STYLE_RULE: u16 = 1u64 as u16;
+ #[doc = "The `CSSRule.CHARSET_RULE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub const CHARSET_RULE: u16 = 2u64 as u16;
+ #[doc = "The `CSSRule.IMPORT_RULE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub const IMPORT_RULE: u16 = 3u64 as u16;
+ #[doc = "The `CSSRule.MEDIA_RULE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub const MEDIA_RULE: u16 = 4u64 as u16;
+ #[doc = "The `CSSRule.FONT_FACE_RULE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub const FONT_FACE_RULE: u16 = 5u64 as u16;
+ #[doc = "The `CSSRule.PAGE_RULE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub const PAGE_RULE: u16 = 6u64 as u16;
+ #[doc = "The `CSSRule.NAMESPACE_RULE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub const NAMESPACE_RULE: u16 = 10u64 as u16;
+ #[doc = "The `CSSRule.KEYFRAMES_RULE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub const KEYFRAMES_RULE: u16 = 7u64 as u16;
+ #[doc = "The `CSSRule.KEYFRAME_RULE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub const KEYFRAME_RULE: u16 = 8u64 as u16;
+ #[doc = "The `CSSRule.COUNTER_STYLE_RULE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub const COUNTER_STYLE_RULE: u16 = 11u64 as u16;
+ #[doc = "The `CSSRule.SUPPORTS_RULE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub const SUPPORTS_RULE: u16 = 12u64 as u16;
+ #[doc = "The `CSSRule.FONT_FEATURE_VALUES_RULE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`*"]
+ pub const FONT_FEATURE_VALUES_RULE: u16 = 14u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_CssRuleList.rs b/vendor/web-sys/src/features/gen_CssRuleList.rs
new file mode 100644
index 000000000..1dd778fa0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssRuleList.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSSRuleList , typescript_type = "CSSRuleList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssRuleList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRuleList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRuleList`*"]
+ pub type CssRuleList;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSRuleList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRuleList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRuleList`*"]
+ pub fn length(this: &CssRuleList) -> u32;
+ #[cfg(feature = "CssRule")]
+ # [wasm_bindgen (method , structural , js_class = "CSSRuleList" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRuleList/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`, `CssRuleList`*"]
+ pub fn item(this: &CssRuleList, index: u32) -> Option<CssRule>;
+ #[cfg(feature = "CssRule")]
+ #[wasm_bindgen(method, structural, js_class = "CSSRuleList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`, `CssRuleList`*"]
+ pub fn get(this: &CssRuleList, index: u32) -> Option<CssRule>;
+}
diff --git a/vendor/web-sys/src/features/gen_CssStyleDeclaration.rs b/vendor/web-sys/src/features/gen_CssStyleDeclaration.rs
new file mode 100644
index 000000000..c22016a03
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssStyleDeclaration.rs
@@ -0,0 +1,104 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSSStyleDeclaration , typescript_type = "CSSStyleDeclaration")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssStyleDeclaration` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`*"]
+ pub type CssStyleDeclaration;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSStyleDeclaration" , js_name = cssText)]
+ #[doc = "Getter for the `cssText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/cssText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`*"]
+ pub fn css_text(this: &CssStyleDeclaration) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSStyleDeclaration" , js_name = cssText)]
+ #[doc = "Setter for the `cssText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/cssText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`*"]
+ pub fn set_css_text(this: &CssStyleDeclaration, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSStyleDeclaration" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`*"]
+ pub fn length(this: &CssStyleDeclaration) -> u32;
+ #[cfg(feature = "CssRule")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSStyleDeclaration" , js_name = parentRule)]
+ #[doc = "Getter for the `parentRule` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/parentRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`, `CssStyleDeclaration`*"]
+ pub fn parent_rule(this: &CssStyleDeclaration) -> Option<CssRule>;
+ # [wasm_bindgen (method , structural , js_class = "CSSStyleDeclaration" , js_name = getPropertyPriority)]
+ #[doc = "The `getPropertyPriority()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`*"]
+ pub fn get_property_priority(this: &CssStyleDeclaration, property: &str) -> String;
+ # [wasm_bindgen (catch , method , structural , js_class = "CSSStyleDeclaration" , js_name = getPropertyValue)]
+ #[doc = "The `getPropertyValue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/getPropertyValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`*"]
+ pub fn get_property_value(
+ this: &CssStyleDeclaration,
+ property: &str,
+ ) -> Result<String, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "CSSStyleDeclaration" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`*"]
+ pub fn item(this: &CssStyleDeclaration, index: u32) -> String;
+ # [wasm_bindgen (catch , method , structural , js_class = "CSSStyleDeclaration" , js_name = removeProperty)]
+ #[doc = "The `removeProperty()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/removeProperty)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`*"]
+ pub fn remove_property(this: &CssStyleDeclaration, property: &str) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CSSStyleDeclaration" , js_name = setProperty)]
+ #[doc = "The `setProperty()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/setProperty)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`*"]
+ pub fn set_property(
+ this: &CssStyleDeclaration,
+ property: &str,
+ value: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CSSStyleDeclaration" , js_name = setProperty)]
+ #[doc = "The `setProperty()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/setProperty)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`*"]
+ pub fn set_property_with_priority(
+ this: &CssStyleDeclaration,
+ property: &str,
+ value: &str,
+ priority: &str,
+ ) -> Result<(), JsValue>;
+ #[wasm_bindgen(method, structural, js_class = "CSSStyleDeclaration", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`*"]
+ pub fn get(this: &CssStyleDeclaration, index: u32) -> Option<String>;
+}
diff --git a/vendor/web-sys/src/features/gen_CssStyleRule.rs b/vendor/web-sys/src/features/gen_CssStyleRule.rs
new file mode 100644
index 000000000..c244a2af7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssStyleRule.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSStyleRule , typescript_type = "CSSStyleRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssStyleRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleRule`*"]
+ pub type CssStyleRule;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSStyleRule" , js_name = selectorText)]
+ #[doc = "Getter for the `selectorText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/selectorText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleRule`*"]
+ pub fn selector_text(this: &CssStyleRule) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "CSSStyleRule" , js_name = selectorText)]
+ #[doc = "Setter for the `selectorText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/selectorText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleRule`*"]
+ pub fn set_selector_text(this: &CssStyleRule, value: &str);
+ #[cfg(feature = "CssStyleDeclaration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSStyleRule" , js_name = style)]
+ #[doc = "Getter for the `style` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/style)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`, `CssStyleRule`*"]
+ pub fn style(this: &CssStyleRule) -> CssStyleDeclaration;
+}
diff --git a/vendor/web-sys/src/features/gen_CssStyleSheet.rs b/vendor/web-sys/src/features/gen_CssStyleSheet.rs
new file mode 100644
index 000000000..9ffbb61bd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssStyleSheet.rs
@@ -0,0 +1,55 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = StyleSheet , extends = :: js_sys :: Object , js_name = CSSStyleSheet , typescript_type = "CSSStyleSheet")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssStyleSheet` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleSheet`*"]
+ pub type CssStyleSheet;
+ #[cfg(feature = "CssRule")]
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSStyleSheet" , js_name = ownerRule)]
+ #[doc = "Getter for the `ownerRule` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/ownerRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`, `CssStyleSheet`*"]
+ pub fn owner_rule(this: &CssStyleSheet) -> Option<CssRule>;
+ #[cfg(feature = "CssRuleList")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "CSSStyleSheet" , js_name = cssRules)]
+ #[doc = "Getter for the `cssRules` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/cssRules)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRuleList`, `CssStyleSheet`*"]
+ pub fn css_rules(this: &CssStyleSheet) -> Result<CssRuleList, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CSSStyleSheet" , js_name = deleteRule)]
+ #[doc = "The `deleteRule()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/deleteRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleSheet`*"]
+ pub fn delete_rule(this: &CssStyleSheet, index: u32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CSSStyleSheet" , js_name = insertRule)]
+ #[doc = "The `insertRule()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleSheet`*"]
+ pub fn insert_rule(this: &CssStyleSheet, rule: &str) -> Result<u32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "CSSStyleSheet" , js_name = insertRule)]
+ #[doc = "The `insertRule()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleSheet`*"]
+ pub fn insert_rule_with_index(
+ this: &CssStyleSheet,
+ rule: &str,
+ index: u32,
+ ) -> Result<u32, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_CssStyleSheetParsingMode.rs b/vendor/web-sys/src/features/gen_CssStyleSheetParsingMode.rs
new file mode 100644
index 000000000..9db3f6054
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssStyleSheetParsingMode.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `CssStyleSheetParsingMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `CssStyleSheetParsingMode`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum CssStyleSheetParsingMode {
+ Author = "author",
+ User = "user",
+ Agent = "agent",
+}
diff --git a/vendor/web-sys/src/features/gen_CssSupportsRule.rs b/vendor/web-sys/src/features/gen_CssSupportsRule.rs
new file mode 100644
index 000000000..13c879bf9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssSupportsRule.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CssConditionRule , extends = CssGroupingRule , extends = CssRule , extends = :: js_sys :: Object , js_name = CSSSupportsRule , typescript_type = "CSSSupportsRule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssSupportsRule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSSupportsRule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssSupportsRule`*"]
+ pub type CssSupportsRule;
+}
diff --git a/vendor/web-sys/src/features/gen_CssTransition.rs b/vendor/web-sys/src/features/gen_CssTransition.rs
new file mode 100644
index 000000000..6a222ecde
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CssTransition.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Animation , extends = EventTarget , extends = :: js_sys :: Object , js_name = CSSTransition , typescript_type = "CSSTransition")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CssTransition` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSTransition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssTransition`*"]
+ pub type CssTransition;
+ # [wasm_bindgen (structural , method , getter , js_class = "CSSTransition" , js_name = transitionProperty)]
+ #[doc = "Getter for the `transitionProperty` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSTransition/transitionProperty)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssTransition`*"]
+ pub fn transition_property(this: &CssTransition) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_CustomElementRegistry.rs b/vendor/web-sys/src/features/gen_CustomElementRegistry.rs
new file mode 100644
index 000000000..651968f7f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CustomElementRegistry.rs
@@ -0,0 +1,63 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CustomElementRegistry , typescript_type = "CustomElementRegistry")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CustomElementRegistry` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomElementRegistry`*"]
+ pub type CustomElementRegistry;
+ # [wasm_bindgen (catch , method , structural , js_class = "CustomElementRegistry" , js_name = define)]
+ #[doc = "The `define()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomElementRegistry`*"]
+ pub fn define(
+ this: &CustomElementRegistry,
+ name: &str,
+ function_constructor: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ElementDefinitionOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "CustomElementRegistry" , js_name = define)]
+ #[doc = "The `define()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomElementRegistry`, `ElementDefinitionOptions`*"]
+ pub fn define_with_options(
+ this: &CustomElementRegistry,
+ name: &str,
+ function_constructor: &::js_sys::Function,
+ options: &ElementDefinitionOptions,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "CustomElementRegistry" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomElementRegistry`*"]
+ pub fn get(this: &CustomElementRegistry, name: &str) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (method , structural , js_class = "CustomElementRegistry" , js_name = upgrade)]
+ #[doc = "The `upgrade()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/upgrade)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomElementRegistry`, `Node`*"]
+ pub fn upgrade(this: &CustomElementRegistry, root: &Node);
+ # [wasm_bindgen (catch , method , structural , js_class = "CustomElementRegistry" , js_name = whenDefined)]
+ #[doc = "The `whenDefined()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/whenDefined)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomElementRegistry`*"]
+ pub fn when_defined(
+ this: &CustomElementRegistry,
+ name: &str,
+ ) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_CustomEvent.rs b/vendor/web-sys/src/features/gen_CustomEvent.rs
new file mode 100644
index 000000000..4c0c671cd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CustomEvent.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = CustomEvent , typescript_type = "CustomEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CustomEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEvent`*"]
+ pub type CustomEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "CustomEvent" , js_name = detail)]
+ #[doc = "Getter for the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEvent`*"]
+ pub fn detail(this: &CustomEvent) -> ::wasm_bindgen::JsValue;
+ #[wasm_bindgen(catch, constructor, js_class = "CustomEvent")]
+ #[doc = "The `new CustomEvent(..)` constructor, creating a new instance of `CustomEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEvent`*"]
+ pub fn new(type_: &str) -> Result<CustomEvent, JsValue>;
+ #[cfg(feature = "CustomEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "CustomEvent")]
+ #[doc = "The `new CustomEvent(..)` constructor, creating a new instance of `CustomEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEvent`, `CustomEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &CustomEventInit,
+ ) -> Result<CustomEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "CustomEvent" , js_name = initCustomEvent)]
+ #[doc = "The `initCustomEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/initCustomEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEvent`*"]
+ pub fn init_custom_event(this: &CustomEvent, type_: &str);
+ # [wasm_bindgen (method , structural , js_class = "CustomEvent" , js_name = initCustomEvent)]
+ #[doc = "The `initCustomEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/initCustomEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEvent`*"]
+ pub fn init_custom_event_with_can_bubble(this: &CustomEvent, type_: &str, can_bubble: bool);
+ # [wasm_bindgen (method , structural , js_class = "CustomEvent" , js_name = initCustomEvent)]
+ #[doc = "The `initCustomEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/initCustomEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEvent`*"]
+ pub fn init_custom_event_with_can_bubble_and_cancelable(
+ this: &CustomEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "CustomEvent" , js_name = initCustomEvent)]
+ #[doc = "The `initCustomEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/initCustomEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEvent`*"]
+ pub fn init_custom_event_with_can_bubble_and_cancelable_and_detail(
+ this: &CustomEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ detail: &::wasm_bindgen::JsValue,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_CustomEventInit.rs b/vendor/web-sys/src/features/gen_CustomEventInit.rs
new file mode 100644
index 000000000..b0bbf7632
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_CustomEventInit.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CustomEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `CustomEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEventInit`*"]
+ pub type CustomEventInit;
+}
+impl CustomEventInit {
+ #[doc = "Construct a new `CustomEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomEventInit`*"]
+ pub fn detail(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detail"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for CustomEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DataTransfer.rs b/vendor/web-sys/src/features/gen_DataTransfer.rs
new file mode 100644
index 000000000..9b6b79428
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DataTransfer.rs
@@ -0,0 +1,132 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DataTransfer , typescript_type = "DataTransfer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DataTransfer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub type DataTransfer;
+ # [wasm_bindgen (structural , method , getter , js_class = "DataTransfer" , js_name = dropEffect)]
+ #[doc = "Getter for the `dropEffect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/dropEffect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn drop_effect(this: &DataTransfer) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "DataTransfer" , js_name = dropEffect)]
+ #[doc = "Setter for the `dropEffect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/dropEffect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn set_drop_effect(this: &DataTransfer, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "DataTransfer" , js_name = effectAllowed)]
+ #[doc = "Getter for the `effectAllowed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/effectAllowed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn effect_allowed(this: &DataTransfer) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "DataTransfer" , js_name = effectAllowed)]
+ #[doc = "Setter for the `effectAllowed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/effectAllowed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn set_effect_allowed(this: &DataTransfer, value: &str);
+ #[cfg(feature = "DataTransferItemList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DataTransfer" , js_name = items)]
+ #[doc = "Getter for the `items` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/items)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`, `DataTransferItemList`*"]
+ pub fn items(this: &DataTransfer) -> DataTransferItemList;
+ # [wasm_bindgen (structural , method , getter , js_class = "DataTransfer" , js_name = types)]
+ #[doc = "Getter for the `types` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn types(this: &DataTransfer) -> ::js_sys::Array;
+ #[cfg(feature = "FileList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DataTransfer" , js_name = files)]
+ #[doc = "Getter for the `files` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/files)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`, `FileList`*"]
+ pub fn files(this: &DataTransfer) -> Option<FileList>;
+ #[wasm_bindgen(catch, constructor, js_class = "DataTransfer")]
+ #[doc = "The `new DataTransfer(..)` constructor, creating a new instance of `DataTransfer`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/DataTransfer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn new() -> Result<DataTransfer, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransfer" , js_name = clearData)]
+ #[doc = "The `clearData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/clearData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn clear_data(this: &DataTransfer) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransfer" , js_name = clearData)]
+ #[doc = "The `clearData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/clearData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn clear_data_with_format(this: &DataTransfer, format: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransfer" , js_name = getData)]
+ #[doc = "The `getData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn get_data(this: &DataTransfer, format: &str) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransfer" , js_name = getFiles)]
+ #[doc = "The `getFiles()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getFiles)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn get_files(this: &DataTransfer) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransfer" , js_name = getFiles)]
+ #[doc = "The `getFiles()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getFiles)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn get_files_with_recursive_flag(
+ this: &DataTransfer,
+ recursive_flag: bool,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransfer" , js_name = getFilesAndDirectories)]
+ #[doc = "The `getFilesAndDirectories()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getFilesAndDirectories)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn get_files_and_directories(this: &DataTransfer) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransfer" , js_name = setData)]
+ #[doc = "The `setData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/setData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"]
+ pub fn set_data(this: &DataTransfer, format: &str, data: &str) -> Result<(), JsValue>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "DataTransfer" , js_name = setDragImage)]
+ #[doc = "The `setDragImage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/setDragImage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`, `Element`*"]
+ pub fn set_drag_image(this: &DataTransfer, image: &Element, x: i32, y: i32);
+}
diff --git a/vendor/web-sys/src/features/gen_DataTransferItem.rs b/vendor/web-sys/src/features/gen_DataTransferItem.rs
new file mode 100644
index 000000000..0ea18263f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DataTransferItem.rs
@@ -0,0 +1,55 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DataTransferItem , typescript_type = "DataTransferItem")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DataTransferItem` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItem`*"]
+ pub type DataTransferItem;
+ # [wasm_bindgen (structural , method , getter , js_class = "DataTransferItem" , js_name = kind)]
+ #[doc = "Getter for the `kind` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/kind)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItem`*"]
+ pub fn kind(this: &DataTransferItem) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "DataTransferItem" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItem`*"]
+ pub fn type_(this: &DataTransferItem) -> String;
+ #[cfg(feature = "File")]
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransferItem" , js_name = getAsFile)]
+ #[doc = "The `getAsFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/getAsFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItem`, `File`*"]
+ pub fn get_as_file(this: &DataTransferItem) -> Result<Option<File>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransferItem" , js_name = getAsString)]
+ #[doc = "The `getAsString()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/getAsString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItem`*"]
+ pub fn get_as_string(
+ this: &DataTransferItem,
+ callback: Option<&::js_sys::Function>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "FileSystemEntry")]
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransferItem" , js_name = webkitGetAsEntry)]
+ #[doc = "The `webkitGetAsEntry()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItem`, `FileSystemEntry`*"]
+ pub fn webkit_get_as_entry(this: &DataTransferItem)
+ -> Result<Option<FileSystemEntry>, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DataTransferItemList.rs b/vendor/web-sys/src/features/gen_DataTransferItemList.rs
new file mode 100644
index 000000000..c2f2efc18
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DataTransferItemList.rs
@@ -0,0 +1,66 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DataTransferItemList , typescript_type = "DataTransferItemList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DataTransferItemList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItemList`*"]
+ pub type DataTransferItemList;
+ # [wasm_bindgen (structural , method , getter , js_class = "DataTransferItemList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItemList`*"]
+ pub fn length(this: &DataTransferItemList) -> u32;
+ #[cfg(feature = "DataTransferItem")]
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransferItemList" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItem`, `DataTransferItemList`*"]
+ pub fn add_with_str_and_type(
+ this: &DataTransferItemList,
+ data: &str,
+ type_: &str,
+ ) -> Result<Option<DataTransferItem>, JsValue>;
+ #[cfg(all(feature = "DataTransferItem", feature = "File",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransferItemList" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItem`, `DataTransferItemList`, `File`*"]
+ pub fn add_with_file(
+ this: &DataTransferItemList,
+ data: &File,
+ ) -> Result<Option<DataTransferItem>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransferItemList" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItemList`*"]
+ pub fn clear(this: &DataTransferItemList) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DataTransferItemList" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItemList`*"]
+ pub fn remove(this: &DataTransferItemList, index: u32) -> Result<(), JsValue>;
+ #[cfg(feature = "DataTransferItem")]
+ #[wasm_bindgen(method, structural, js_class = "DataTransferItemList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransferItem`, `DataTransferItemList`*"]
+ pub fn get(this: &DataTransferItemList, index: u32) -> Option<DataTransferItem>;
+}
diff --git a/vendor/web-sys/src/features/gen_DateTimeValue.rs b/vendor/web-sys/src/features/gen_DateTimeValue.rs
new file mode 100644
index 000000000..23a320850
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DateTimeValue.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DateTimeValue)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DateTimeValue` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DateTimeValue`*"]
+ pub type DateTimeValue;
+}
+impl DateTimeValue {
+ #[doc = "Construct a new `DateTimeValue`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DateTimeValue`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `day` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DateTimeValue`*"]
+ pub fn day(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("day"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `hour` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DateTimeValue`*"]
+ pub fn hour(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("hour"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `minute` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DateTimeValue`*"]
+ pub fn minute(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("minute"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `month` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DateTimeValue`*"]
+ pub fn month(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("month"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `year` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DateTimeValue`*"]
+ pub fn year(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("year"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DateTimeValue {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DecoderDoctorNotification.rs b/vendor/web-sys/src/features/gen_DecoderDoctorNotification.rs
new file mode 100644
index 000000000..59f4340c4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DecoderDoctorNotification.rs
@@ -0,0 +1,143 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DecoderDoctorNotification)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DecoderDoctorNotification` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DecoderDoctorNotification`*"]
+ pub type DecoderDoctorNotification;
+}
+impl DecoderDoctorNotification {
+ #[cfg(feature = "DecoderDoctorNotificationType")]
+ #[doc = "Construct a new `DecoderDoctorNotification`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DecoderDoctorNotification`, `DecoderDoctorNotificationType`*"]
+ pub fn new(
+ decoder_doctor_report_id: &str,
+ is_solved: bool,
+ type_: DecoderDoctorNotificationType,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.decoder_doctor_report_id(decoder_doctor_report_id);
+ ret.is_solved(is_solved);
+ ret.type_(type_);
+ ret
+ }
+ #[doc = "Change the `decodeIssue` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DecoderDoctorNotification`*"]
+ pub fn decode_issue(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("decodeIssue"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `decoderDoctorReportId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DecoderDoctorNotification`*"]
+ pub fn decoder_doctor_report_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("decoderDoctorReportId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `docURL` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DecoderDoctorNotification`*"]
+ pub fn doc_url(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("docURL"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `formats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DecoderDoctorNotification`*"]
+ pub fn formats(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("formats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `isSolved` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DecoderDoctorNotification`*"]
+ pub fn is_solved(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isSolved"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `resourceURL` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DecoderDoctorNotification`*"]
+ pub fn resource_url(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("resourceURL"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DecoderDoctorNotificationType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DecoderDoctorNotification`, `DecoderDoctorNotificationType`*"]
+ pub fn type_(&mut self, val: DecoderDoctorNotificationType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DecoderDoctorNotificationType.rs b/vendor/web-sys/src/features/gen_DecoderDoctorNotificationType.rs
new file mode 100644
index 000000000..adec72fe3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DecoderDoctorNotificationType.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `DecoderDoctorNotificationType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `DecoderDoctorNotificationType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum DecoderDoctorNotificationType {
+ CannotPlay = "cannot-play",
+ PlatformDecoderNotFound = "platform-decoder-not-found",
+ CanPlayButSomeMissingDecoders = "can-play-but-some-missing-decoders",
+ CannotInitializePulseaudio = "cannot-initialize-pulseaudio",
+ UnsupportedLibavcodec = "unsupported-libavcodec",
+ DecodeError = "decode-error",
+ DecodeWarning = "decode-warning",
+}
diff --git a/vendor/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs b/vendor/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs
new file mode 100644
index 000000000..c16c3690d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs
@@ -0,0 +1,80 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = WorkerGlobalScope , extends = EventTarget , extends = :: js_sys :: Object , js_name = DedicatedWorkerGlobalScope , typescript_type = "DedicatedWorkerGlobalScope")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DedicatedWorkerGlobalScope` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"]
+ pub type DedicatedWorkerGlobalScope;
+ # [wasm_bindgen (structural , method , getter , js_class = "DedicatedWorkerGlobalScope" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"]
+ pub fn name(this: &DedicatedWorkerGlobalScope) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "DedicatedWorkerGlobalScope" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"]
+ pub fn onmessage(this: &DedicatedWorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "DedicatedWorkerGlobalScope" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"]
+ pub fn set_onmessage(this: &DedicatedWorkerGlobalScope, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "DedicatedWorkerGlobalScope" , js_name = onmessageerror)]
+ #[doc = "Getter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"]
+ pub fn onmessageerror(this: &DedicatedWorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "DedicatedWorkerGlobalScope" , js_name = onmessageerror)]
+ #[doc = "Setter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"]
+ pub fn set_onmessageerror(
+ this: &DedicatedWorkerGlobalScope,
+ value: Option<&::js_sys::Function>,
+ );
+ # [wasm_bindgen (method , structural , js_class = "DedicatedWorkerGlobalScope" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"]
+ pub fn close(this: &DedicatedWorkerGlobalScope);
+ # [wasm_bindgen (catch , method , structural , js_class = "DedicatedWorkerGlobalScope" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"]
+ pub fn post_message(
+ this: &DedicatedWorkerGlobalScope,
+ message: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DedicatedWorkerGlobalScope" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"]
+ pub fn post_message_with_transfer(
+ this: &DedicatedWorkerGlobalScope,
+ message: &::wasm_bindgen::JsValue,
+ transfer: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DelayNode.rs b/vendor/web-sys/src/features/gen_DelayNode.rs
new file mode 100644
index 000000000..4518ed3a2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DelayNode.rs
@@ -0,0 +1,41 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = DelayNode , typescript_type = "DelayNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DelayNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DelayNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DelayNode`*"]
+ pub type DelayNode;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DelayNode" , js_name = delayTime)]
+ #[doc = "Getter for the `delayTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/delayTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `DelayNode`*"]
+ pub fn delay_time(this: &DelayNode) -> AudioParam;
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "DelayNode")]
+ #[doc = "The `new DelayNode(..)` constructor, creating a new instance of `DelayNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/DelayNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `DelayNode`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<DelayNode, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "DelayOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "DelayNode")]
+ #[doc = "The `new DelayNode(..)` constructor, creating a new instance of `DelayNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/DelayNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `DelayNode`, `DelayOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &DelayOptions,
+ ) -> Result<DelayNode, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DelayOptions.rs b/vendor/web-sys/src/features/gen_DelayOptions.rs
new file mode 100644
index 000000000..8422b1614
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DelayOptions.rs
@@ -0,0 +1,114 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DelayOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DelayOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DelayOptions`*"]
+ pub type DelayOptions;
+}
+impl DelayOptions {
+ #[doc = "Construct a new `DelayOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DelayOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DelayOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`, `DelayOptions`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`, `DelayOptions`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `delayTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DelayOptions`*"]
+ pub fn delay_time(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("delayTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `maxDelayTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DelayOptions`*"]
+ pub fn max_delay_time(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maxDelayTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DelayOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DeviceAcceleration.rs b/vendor/web-sys/src/features/gen_DeviceAcceleration.rs
new file mode 100644
index 000000000..8fbfb8b67
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DeviceAcceleration.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = DeviceAcceleration , typescript_type = "DeviceAcceleration")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DeviceAcceleration` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAcceleration`*"]
+ pub type DeviceAcceleration;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceAcceleration" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAcceleration`*"]
+ pub fn x(this: &DeviceAcceleration) -> Option<f64>;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceAcceleration" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAcceleration`*"]
+ pub fn y(this: &DeviceAcceleration) -> Option<f64>;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceAcceleration" , js_name = z)]
+ #[doc = "Getter for the `z` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/z)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAcceleration`*"]
+ pub fn z(this: &DeviceAcceleration) -> Option<f64>;
+}
diff --git a/vendor/web-sys/src/features/gen_DeviceAccelerationInit.rs b/vendor/web-sys/src/features/gen_DeviceAccelerationInit.rs
new file mode 100644
index 000000000..95c7aa208
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DeviceAccelerationInit.rs
@@ -0,0 +1,66 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DeviceAccelerationInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DeviceAccelerationInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAccelerationInit`*"]
+ pub type DeviceAccelerationInit;
+}
+impl DeviceAccelerationInit {
+ #[doc = "Construct a new `DeviceAccelerationInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAccelerationInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAccelerationInit`*"]
+ pub fn x(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("x"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAccelerationInit`*"]
+ pub fn y(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("y"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `z` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAccelerationInit`*"]
+ pub fn z(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("z"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DeviceAccelerationInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DeviceLightEvent.rs b/vendor/web-sys/src/features/gen_DeviceLightEvent.rs
new file mode 100644
index 000000000..390876478
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DeviceLightEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = DeviceLightEvent , typescript_type = "DeviceLightEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DeviceLightEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceLightEvent`*"]
+ pub type DeviceLightEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceLightEvent" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceLightEvent`*"]
+ pub fn value(this: &DeviceLightEvent) -> f64;
+ #[wasm_bindgen(catch, constructor, js_class = "DeviceLightEvent")]
+ #[doc = "The `new DeviceLightEvent(..)` constructor, creating a new instance of `DeviceLightEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent/DeviceLightEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceLightEvent`*"]
+ pub fn new(type_: &str) -> Result<DeviceLightEvent, JsValue>;
+ #[cfg(feature = "DeviceLightEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "DeviceLightEvent")]
+ #[doc = "The `new DeviceLightEvent(..)` constructor, creating a new instance of `DeviceLightEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent/DeviceLightEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceLightEvent`, `DeviceLightEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &DeviceLightEventInit,
+ ) -> Result<DeviceLightEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DeviceLightEventInit.rs b/vendor/web-sys/src/features/gen_DeviceLightEventInit.rs
new file mode 100644
index 000000000..ddb30f603
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DeviceLightEventInit.rs
@@ -0,0 +1,91 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DeviceLightEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DeviceLightEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceLightEventInit`*"]
+ pub type DeviceLightEventInit;
+}
+impl DeviceLightEventInit {
+ #[doc = "Construct a new `DeviceLightEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceLightEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceLightEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceLightEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceLightEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceLightEventInit`*"]
+ pub fn value(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DeviceLightEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DeviceMotionEvent.rs b/vendor/web-sys/src/features/gen_DeviceMotionEvent.rs
new file mode 100644
index 000000000..5993f726f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DeviceMotionEvent.rs
@@ -0,0 +1,63 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = DeviceMotionEvent , typescript_type = "DeviceMotionEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DeviceMotionEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceMotionEvent`*"]
+ pub type DeviceMotionEvent;
+ #[cfg(feature = "DeviceAcceleration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceMotionEvent" , js_name = acceleration)]
+ #[doc = "Getter for the `acceleration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/acceleration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAcceleration`, `DeviceMotionEvent`*"]
+ pub fn acceleration(this: &DeviceMotionEvent) -> Option<DeviceAcceleration>;
+ #[cfg(feature = "DeviceAcceleration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceMotionEvent" , js_name = accelerationIncludingGravity)]
+ #[doc = "Getter for the `accelerationIncludingGravity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/accelerationIncludingGravity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAcceleration`, `DeviceMotionEvent`*"]
+ pub fn acceleration_including_gravity(this: &DeviceMotionEvent) -> Option<DeviceAcceleration>;
+ #[cfg(feature = "DeviceRotationRate")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceMotionEvent" , js_name = rotationRate)]
+ #[doc = "Getter for the `rotationRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/rotationRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceMotionEvent`, `DeviceRotationRate`*"]
+ pub fn rotation_rate(this: &DeviceMotionEvent) -> Option<DeviceRotationRate>;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceMotionEvent" , js_name = interval)]
+ #[doc = "Getter for the `interval` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/interval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceMotionEvent`*"]
+ pub fn interval(this: &DeviceMotionEvent) -> Option<f64>;
+ #[wasm_bindgen(catch, constructor, js_class = "DeviceMotionEvent")]
+ #[doc = "The `new DeviceMotionEvent(..)` constructor, creating a new instance of `DeviceMotionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/DeviceMotionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceMotionEvent`*"]
+ pub fn new(type_: &str) -> Result<DeviceMotionEvent, JsValue>;
+ #[cfg(feature = "DeviceMotionEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "DeviceMotionEvent")]
+ #[doc = "The `new DeviceMotionEvent(..)` constructor, creating a new instance of `DeviceMotionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/DeviceMotionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceMotionEvent`, `DeviceMotionEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &DeviceMotionEventInit,
+ ) -> Result<DeviceMotionEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DeviceMotionEventInit.rs b/vendor/web-sys/src/features/gen_DeviceMotionEventInit.rs
new file mode 100644
index 000000000..bec312052
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DeviceMotionEventInit.rs
@@ -0,0 +1,149 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DeviceMotionEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DeviceMotionEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceMotionEventInit`*"]
+ pub type DeviceMotionEventInit;
+}
+impl DeviceMotionEventInit {
+ #[doc = "Construct a new `DeviceMotionEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceMotionEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceMotionEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceMotionEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceMotionEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DeviceAccelerationInit")]
+ #[doc = "Change the `acceleration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAccelerationInit`, `DeviceMotionEventInit`*"]
+ pub fn acceleration(&mut self, val: &DeviceAccelerationInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("acceleration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DeviceAccelerationInit")]
+ #[doc = "Change the `accelerationIncludingGravity` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceAccelerationInit`, `DeviceMotionEventInit`*"]
+ pub fn acceleration_including_gravity(&mut self, val: &DeviceAccelerationInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("accelerationIncludingGravity"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `interval` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceMotionEventInit`*"]
+ pub fn interval(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("interval"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DeviceRotationRateInit")]
+ #[doc = "Change the `rotationRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceMotionEventInit`, `DeviceRotationRateInit`*"]
+ pub fn rotation_rate(&mut self, val: &DeviceRotationRateInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rotationRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DeviceMotionEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DeviceOrientationEvent.rs b/vendor/web-sys/src/features/gen_DeviceOrientationEvent.rs
new file mode 100644
index 000000000..d7ec8c767
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DeviceOrientationEvent.rs
@@ -0,0 +1,148 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = DeviceOrientationEvent , typescript_type = "DeviceOrientationEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DeviceOrientationEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub type DeviceOrientationEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceOrientationEvent" , js_name = alpha)]
+ #[doc = "Getter for the `alpha` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/alpha)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub fn alpha(this: &DeviceOrientationEvent) -> Option<f64>;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceOrientationEvent" , js_name = beta)]
+ #[doc = "Getter for the `beta` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/beta)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub fn beta(this: &DeviceOrientationEvent) -> Option<f64>;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceOrientationEvent" , js_name = gamma)]
+ #[doc = "Getter for the `gamma` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/gamma)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub fn gamma(this: &DeviceOrientationEvent) -> Option<f64>;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceOrientationEvent" , js_name = absolute)]
+ #[doc = "Getter for the `absolute` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/absolute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub fn absolute(this: &DeviceOrientationEvent) -> bool;
+ #[wasm_bindgen(catch, constructor, js_class = "DeviceOrientationEvent")]
+ #[doc = "The `new DeviceOrientationEvent(..)` constructor, creating a new instance of `DeviceOrientationEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/DeviceOrientationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub fn new(type_: &str) -> Result<DeviceOrientationEvent, JsValue>;
+ #[cfg(feature = "DeviceOrientationEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "DeviceOrientationEvent")]
+ #[doc = "The `new DeviceOrientationEvent(..)` constructor, creating a new instance of `DeviceOrientationEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/DeviceOrientationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`, `DeviceOrientationEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &DeviceOrientationEventInit,
+ ) -> Result<DeviceOrientationEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent)]
+ #[doc = "The `initDeviceOrientationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub fn init_device_orientation_event(this: &DeviceOrientationEvent, type_: &str);
+ # [wasm_bindgen (method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent)]
+ #[doc = "The `initDeviceOrientationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub fn init_device_orientation_event_with_can_bubble(
+ this: &DeviceOrientationEvent,
+ type_: &str,
+ can_bubble: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent)]
+ #[doc = "The `initDeviceOrientationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub fn init_device_orientation_event_with_can_bubble_and_cancelable(
+ this: &DeviceOrientationEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent)]
+ #[doc = "The `initDeviceOrientationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub fn init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha(
+ this: &DeviceOrientationEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ alpha: Option<f64>,
+ );
+ # [wasm_bindgen (method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent)]
+ #[doc = "The `initDeviceOrientationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub fn init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta(
+ this: &DeviceOrientationEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ alpha: Option<f64>,
+ beta: Option<f64>,
+ );
+ # [wasm_bindgen (method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent)]
+ #[doc = "The `initDeviceOrientationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub fn init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma(
+ this: &DeviceOrientationEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ alpha: Option<f64>,
+ beta: Option<f64>,
+ gamma: Option<f64>,
+ );
+ # [wasm_bindgen (method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent)]
+ #[doc = "The `initDeviceOrientationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEvent`*"]
+ pub fn init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma_and_absolute(
+ this: &DeviceOrientationEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ alpha: Option<f64>,
+ beta: Option<f64>,
+ gamma: Option<f64>,
+ absolute: bool,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_DeviceOrientationEventInit.rs b/vendor/web-sys/src/features/gen_DeviceOrientationEventInit.rs
new file mode 100644
index 000000000..70445bb19
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DeviceOrientationEventInit.rs
@@ -0,0 +1,134 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DeviceOrientationEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DeviceOrientationEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEventInit`*"]
+ pub type DeviceOrientationEventInit;
+}
+impl DeviceOrientationEventInit {
+ #[doc = "Construct a new `DeviceOrientationEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `absolute` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEventInit`*"]
+ pub fn absolute(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("absolute"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `alpha` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEventInit`*"]
+ pub fn alpha(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("alpha"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `beta` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEventInit`*"]
+ pub fn beta(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("beta"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `gamma` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceOrientationEventInit`*"]
+ pub fn gamma(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("gamma"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DeviceOrientationEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DeviceProximityEvent.rs b/vendor/web-sys/src/features/gen_DeviceProximityEvent.rs
new file mode 100644
index 000000000..c3c92ac8f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DeviceProximityEvent.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = DeviceProximityEvent , typescript_type = "DeviceProximityEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DeviceProximityEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEvent`*"]
+ pub type DeviceProximityEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceProximityEvent" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEvent`*"]
+ pub fn value(this: &DeviceProximityEvent) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceProximityEvent" , js_name = min)]
+ #[doc = "Getter for the `min` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/min)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEvent`*"]
+ pub fn min(this: &DeviceProximityEvent) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceProximityEvent" , js_name = max)]
+ #[doc = "Getter for the `max` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/max)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEvent`*"]
+ pub fn max(this: &DeviceProximityEvent) -> f64;
+ #[wasm_bindgen(catch, constructor, js_class = "DeviceProximityEvent")]
+ #[doc = "The `new DeviceProximityEvent(..)` constructor, creating a new instance of `DeviceProximityEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/DeviceProximityEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEvent`*"]
+ pub fn new(type_: &str) -> Result<DeviceProximityEvent, JsValue>;
+ #[cfg(feature = "DeviceProximityEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "DeviceProximityEvent")]
+ #[doc = "The `new DeviceProximityEvent(..)` constructor, creating a new instance of `DeviceProximityEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/DeviceProximityEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEvent`, `DeviceProximityEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &DeviceProximityEventInit,
+ ) -> Result<DeviceProximityEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DeviceProximityEventInit.rs b/vendor/web-sys/src/features/gen_DeviceProximityEventInit.rs
new file mode 100644
index 000000000..9ff310343
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DeviceProximityEventInit.rs
@@ -0,0 +1,117 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DeviceProximityEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DeviceProximityEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEventInit`*"]
+ pub type DeviceProximityEventInit;
+}
+impl DeviceProximityEventInit {
+ #[doc = "Construct a new `DeviceProximityEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `max` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEventInit`*"]
+ pub fn max(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("max"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `min` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEventInit`*"]
+ pub fn min(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("min"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceProximityEventInit`*"]
+ pub fn value(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DeviceProximityEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DeviceRotationRate.rs b/vendor/web-sys/src/features/gen_DeviceRotationRate.rs
new file mode 100644
index 000000000..73782abeb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DeviceRotationRate.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = DeviceRotationRate , typescript_type = "DeviceRotationRate")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DeviceRotationRate` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceRotationRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRate`*"]
+ pub type DeviceRotationRate;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceRotationRate" , js_name = alpha)]
+ #[doc = "Getter for the `alpha` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceRotationRate/alpha)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRate`*"]
+ pub fn alpha(this: &DeviceRotationRate) -> Option<f64>;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceRotationRate" , js_name = beta)]
+ #[doc = "Getter for the `beta` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceRotationRate/beta)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRate`*"]
+ pub fn beta(this: &DeviceRotationRate) -> Option<f64>;
+ # [wasm_bindgen (structural , method , getter , js_class = "DeviceRotationRate" , js_name = gamma)]
+ #[doc = "Getter for the `gamma` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceRotationRate/gamma)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRate`*"]
+ pub fn gamma(this: &DeviceRotationRate) -> Option<f64>;
+}
diff --git a/vendor/web-sys/src/features/gen_DeviceRotationRateInit.rs b/vendor/web-sys/src/features/gen_DeviceRotationRateInit.rs
new file mode 100644
index 000000000..fe6dcb0d2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DeviceRotationRateInit.rs
@@ -0,0 +1,66 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DeviceRotationRateInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DeviceRotationRateInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRateInit`*"]
+ pub type DeviceRotationRateInit;
+}
+impl DeviceRotationRateInit {
+ #[doc = "Construct a new `DeviceRotationRateInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRateInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `alpha` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRateInit`*"]
+ pub fn alpha(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("alpha"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `beta` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRateInit`*"]
+ pub fn beta(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("beta"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `gamma` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DeviceRotationRateInit`*"]
+ pub fn gamma(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("gamma"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DeviceRotationRateInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DhKeyDeriveParams.rs b/vendor/web-sys/src/features/gen_DhKeyDeriveParams.rs
new file mode 100644
index 000000000..3bb1bbc3c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DhKeyDeriveParams.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DhKeyDeriveParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DhKeyDeriveParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DhKeyDeriveParams`*"]
+ pub type DhKeyDeriveParams;
+}
+impl DhKeyDeriveParams {
+ #[cfg(feature = "CryptoKey")]
+ #[doc = "Construct a new `DhKeyDeriveParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `DhKeyDeriveParams`*"]
+ pub fn new(name: &str, public: &CryptoKey) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.public(public);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DhKeyDeriveParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "CryptoKey")]
+ #[doc = "Change the `public` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `DhKeyDeriveParams`*"]
+ pub fn public(&mut self, val: &CryptoKey) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("public"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DirectionSetting.rs b/vendor/web-sys/src/features/gen_DirectionSetting.rs
new file mode 100644
index 000000000..087bac82b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DirectionSetting.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `DirectionSetting` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `DirectionSetting`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum DirectionSetting {
+ None = "",
+ Rl = "rl",
+ Lr = "lr",
+}
diff --git a/vendor/web-sys/src/features/gen_Directory.rs b/vendor/web-sys/src/features/gen_Directory.rs
new file mode 100644
index 000000000..6eed3203e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Directory.rs
@@ -0,0 +1,52 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Directory , typescript_type = "Directory")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Directory` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Directory`*"]
+ pub type Directory;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Directory" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Directory`*"]
+ pub fn name(this: &Directory) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Directory" , js_name = path)]
+ #[doc = "Getter for the `path` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/path)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Directory`*"]
+ pub fn path(this: &Directory) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Directory" , js_name = getFiles)]
+ #[doc = "The `getFiles()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/getFiles)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Directory`*"]
+ pub fn get_files(this: &Directory) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Directory" , js_name = getFiles)]
+ #[doc = "The `getFiles()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/getFiles)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Directory`*"]
+ pub fn get_files_with_recursive_flag(
+ this: &Directory,
+ recursive_flag: bool,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Directory" , js_name = getFilesAndDirectories)]
+ #[doc = "The `getFilesAndDirectories()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/getFilesAndDirectories)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Directory`*"]
+ pub fn get_files_and_directories(this: &Directory) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DisplayMediaStreamConstraints.rs b/vendor/web-sys/src/features/gen_DisplayMediaStreamConstraints.rs
new file mode 100644
index 000000000..16a5bf869
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DisplayMediaStreamConstraints.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DisplayMediaStreamConstraints)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DisplayMediaStreamConstraints` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayMediaStreamConstraints`*"]
+ pub type DisplayMediaStreamConstraints;
+}
+impl DisplayMediaStreamConstraints {
+ #[doc = "Construct a new `DisplayMediaStreamConstraints`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayMediaStreamConstraints`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `audio` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayMediaStreamConstraints`*"]
+ pub fn audio(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("audio"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `video` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayMediaStreamConstraints`*"]
+ pub fn video(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("video"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DisplayMediaStreamConstraints {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DisplayNameOptions.rs b/vendor/web-sys/src/features/gen_DisplayNameOptions.rs
new file mode 100644
index 000000000..97d843e79
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DisplayNameOptions.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DisplayNameOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DisplayNameOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayNameOptions`*"]
+ pub type DisplayNameOptions;
+}
+impl DisplayNameOptions {
+ #[doc = "Construct a new `DisplayNameOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayNameOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `keys` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayNameOptions`*"]
+ pub fn keys(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("keys"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `style` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayNameOptions`*"]
+ pub fn style(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("style"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DisplayNameOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DisplayNameResult.rs b/vendor/web-sys/src/features/gen_DisplayNameResult.rs
new file mode 100644
index 000000000..4160474d6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DisplayNameResult.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DisplayNameResult)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DisplayNameResult` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayNameResult`*"]
+ pub type DisplayNameResult;
+}
+impl DisplayNameResult {
+ #[doc = "Construct a new `DisplayNameResult`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayNameResult`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `locale` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayNameResult`*"]
+ pub fn locale(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("locale"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `style` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayNameResult`*"]
+ pub fn style(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("style"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DisplayNameResult {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DistanceModelType.rs b/vendor/web-sys/src/features/gen_DistanceModelType.rs
new file mode 100644
index 000000000..fd6287818
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DistanceModelType.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `DistanceModelType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `DistanceModelType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum DistanceModelType {
+ Linear = "linear",
+ Inverse = "inverse",
+ Exponential = "exponential",
+}
diff --git a/vendor/web-sys/src/features/gen_DnsCacheDict.rs b/vendor/web-sys/src/features/gen_DnsCacheDict.rs
new file mode 100644
index 000000000..1233264e7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DnsCacheDict.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DNSCacheDict)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DnsCacheDict` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsCacheDict`*"]
+ pub type DnsCacheDict;
+}
+impl DnsCacheDict {
+ #[doc = "Construct a new `DnsCacheDict`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsCacheDict`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `entries` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsCacheDict`*"]
+ pub fn entries(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("entries"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DnsCacheDict {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DnsCacheEntry.rs b/vendor/web-sys/src/features/gen_DnsCacheEntry.rs
new file mode 100644
index 000000000..f6da07e95
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DnsCacheEntry.rs
@@ -0,0 +1,105 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DnsCacheEntry)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DnsCacheEntry` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsCacheEntry`*"]
+ pub type DnsCacheEntry;
+}
+impl DnsCacheEntry {
+ #[doc = "Construct a new `DnsCacheEntry`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsCacheEntry`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `expiration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsCacheEntry`*"]
+ pub fn expiration(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("expiration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `family` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsCacheEntry`*"]
+ pub fn family(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("family"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `hostaddr` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsCacheEntry`*"]
+ pub fn hostaddr(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("hostaddr"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `hostname` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsCacheEntry`*"]
+ pub fn hostname(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("hostname"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `trr` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsCacheEntry`*"]
+ pub fn trr(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("trr"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DnsCacheEntry {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DnsLookupDict.rs b/vendor/web-sys/src/features/gen_DnsLookupDict.rs
new file mode 100644
index 000000000..590f29987
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DnsLookupDict.rs
@@ -0,0 +1,71 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DNSLookupDict)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DnsLookupDict` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsLookupDict`*"]
+ pub type DnsLookupDict;
+}
+impl DnsLookupDict {
+ #[doc = "Construct a new `DnsLookupDict`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsLookupDict`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `address` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsLookupDict`*"]
+ pub fn address(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("address"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `answer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsLookupDict`*"]
+ pub fn answer(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("answer"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DnsLookupDict`*"]
+ pub fn error(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DnsLookupDict {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Document.rs b/vendor/web-sys/src/features/gen_Document.rs
new file mode 100644
index 000000000..6d8cd542c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Document.rs
@@ -0,0 +1,2988 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = Document , typescript_type = "Document")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Document` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub type Document;
+ #[cfg(feature = "DomImplementation")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Document" , js_name = implementation)]
+ #[doc = "Getter for the `implementation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/implementation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomImplementation`*"]
+ pub fn implementation(this: &Document) -> Result<DomImplementation, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Document" , js_name = URL)]
+ #[doc = "Getter for the `URL` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/URL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn url(this: &Document) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Document" , js_name = documentURI)]
+ #[doc = "Getter for the `documentURI` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/documentURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn document_uri(this: &Document) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = compatMode)]
+ #[doc = "Getter for the `compatMode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/compatMode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn compat_mode(this: &Document) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = characterSet)]
+ #[doc = "Getter for the `characterSet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/characterSet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn character_set(this: &Document) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = charset)]
+ #[doc = "Getter for the `charset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/charset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn charset(this: &Document) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = inputEncoding)]
+ #[doc = "Getter for the `inputEncoding` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/inputEncoding)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn input_encoding(this: &Document) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = contentType)]
+ #[doc = "Getter for the `contentType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/contentType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn content_type(this: &Document) -> String;
+ #[cfg(feature = "DocumentType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = doctype)]
+ #[doc = "Getter for the `doctype` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/doctype)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DocumentType`*"]
+ pub fn doctype(this: &Document) -> Option<DocumentType>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = documentElement)]
+ #[doc = "Getter for the `documentElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/documentElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn document_element(this: &Document) -> Option<Element>;
+ #[cfg(feature = "Location")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = location)]
+ #[doc = "Getter for the `location` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/location)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Location`*"]
+ pub fn location(this: &Document) -> Option<Location>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = referrer)]
+ #[doc = "Getter for the `referrer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn referrer(this: &Document) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = lastModified)]
+ #[doc = "Getter for the `lastModified` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastModified)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn last_modified(this: &Document) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ready_state(this: &Document) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = title)]
+ #[doc = "Getter for the `title` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/title)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn title(this: &Document) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = title)]
+ #[doc = "Setter for the `title` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/title)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_title(this: &Document, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = dir)]
+ #[doc = "Getter for the `dir` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn dir(this: &Document) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = dir)]
+ #[doc = "Setter for the `dir` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_dir(this: &Document, value: &str);
+ #[cfg(feature = "HtmlElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = body)]
+ #[doc = "Getter for the `body` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/body)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlElement`*"]
+ pub fn body(this: &Document) -> Option<HtmlElement>;
+ #[cfg(feature = "HtmlElement")]
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = body)]
+ #[doc = "Setter for the `body` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/body)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlElement`*"]
+ pub fn set_body(this: &Document, value: Option<&HtmlElement>);
+ #[cfg(feature = "HtmlHeadElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = head)]
+ #[doc = "Getter for the `head` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/head)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlHeadElement`*"]
+ pub fn head(this: &Document) -> Option<HtmlHeadElement>;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = images)]
+ #[doc = "Getter for the `images` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/images)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
+ pub fn images(this: &Document) -> HtmlCollection;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = embeds)]
+ #[doc = "Getter for the `embeds` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/embeds)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
+ pub fn embeds(this: &Document) -> HtmlCollection;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = plugins)]
+ #[doc = "Getter for the `plugins` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/plugins)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
+ pub fn plugins(this: &Document) -> HtmlCollection;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = links)]
+ #[doc = "Getter for the `links` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/links)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
+ pub fn links(this: &Document) -> HtmlCollection;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = forms)]
+ #[doc = "Getter for the `forms` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/forms)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
+ pub fn forms(this: &Document) -> HtmlCollection;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = scripts)]
+ #[doc = "Getter for the `scripts` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/scripts)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
+ pub fn scripts(this: &Document) -> HtmlCollection;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = defaultView)]
+ #[doc = "Getter for the `defaultView` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/defaultView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Window`*"]
+ pub fn default_view(this: &Document) -> Option<Window>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onreadystatechange)]
+ #[doc = "Getter for the `onreadystatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreadystatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onreadystatechange(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onreadystatechange)]
+ #[doc = "Setter for the `onreadystatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreadystatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onreadystatechange(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onbeforescriptexecute)]
+ #[doc = "Getter for the `onbeforescriptexecute` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforescriptexecute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onbeforescriptexecute(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onbeforescriptexecute)]
+ #[doc = "Setter for the `onbeforescriptexecute` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforescriptexecute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onbeforescriptexecute(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onafterscriptexecute)]
+ #[doc = "Getter for the `onafterscriptexecute` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onafterscriptexecute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onafterscriptexecute(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onafterscriptexecute)]
+ #[doc = "Setter for the `onafterscriptexecute` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onafterscriptexecute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onafterscriptexecute(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onselectionchange)]
+ #[doc = "Getter for the `onselectionchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectionchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onselectionchange(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onselectionchange)]
+ #[doc = "Setter for the `onselectionchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectionchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onselectionchange(this: &Document, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = currentScript)]
+ #[doc = "Getter for the `currentScript` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn current_script(this: &Document) -> Option<Element>;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = anchors)]
+ #[doc = "Getter for the `anchors` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/anchors)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
+ pub fn anchors(this: &Document) -> HtmlCollection;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = applets)]
+ #[doc = "Getter for the `applets` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/applets)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
+ pub fn applets(this: &Document) -> HtmlCollection;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = fullscreen)]
+ #[doc = "Getter for the `fullscreen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn fullscreen(this: &Document) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = fullscreenEnabled)]
+ #[doc = "Getter for the `fullscreenEnabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenEnabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn fullscreen_enabled(this: &Document) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onfullscreenchange)]
+ #[doc = "Getter for the `onfullscreenchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onfullscreenchange(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onfullscreenchange)]
+ #[doc = "Setter for the `onfullscreenchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onfullscreenchange(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onfullscreenerror)]
+ #[doc = "Getter for the `onfullscreenerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onfullscreenerror(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onfullscreenerror)]
+ #[doc = "Setter for the `onfullscreenerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onfullscreenerror(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerlockchange)]
+ #[doc = "Getter for the `onpointerlockchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onpointerlockchange(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerlockchange)]
+ #[doc = "Setter for the `onpointerlockchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onpointerlockchange(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerlockerror)]
+ #[doc = "Getter for the `onpointerlockerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onpointerlockerror(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerlockerror)]
+ #[doc = "Setter for the `onpointerlockerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onpointerlockerror(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = hidden)]
+ #[doc = "Getter for the `hidden` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/hidden)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn hidden(this: &Document) -> bool;
+ #[cfg(feature = "VisibilityState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = visibilityState)]
+ #[doc = "Getter for the `visibilityState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `VisibilityState`*"]
+ pub fn visibility_state(this: &Document) -> VisibilityState;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onvisibilitychange)]
+ #[doc = "Getter for the `onvisibilitychange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvisibilitychange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onvisibilitychange(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onvisibilitychange)]
+ #[doc = "Setter for the `onvisibilitychange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvisibilitychange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onvisibilitychange(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = selectedStyleSheetSet)]
+ #[doc = "Getter for the `selectedStyleSheetSet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/selectedStyleSheetSet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn selected_style_sheet_set(this: &Document) -> Option<String>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = selectedStyleSheetSet)]
+ #[doc = "Setter for the `selectedStyleSheetSet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/selectedStyleSheetSet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_selected_style_sheet_set(this: &Document, value: Option<&str>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = lastStyleSheetSet)]
+ #[doc = "Getter for the `lastStyleSheetSet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastStyleSheetSet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn last_style_sheet_set(this: &Document) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = preferredStyleSheetSet)]
+ #[doc = "Getter for the `preferredStyleSheetSet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/preferredStyleSheetSet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn preferred_style_sheet_set(this: &Document) -> Option<String>;
+ #[cfg(feature = "DomStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = styleSheetSets)]
+ #[doc = "Getter for the `styleSheetSets` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/styleSheetSets)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomStringList`*"]
+ pub fn style_sheet_sets(this: &Document) -> DomStringList;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = scrollingElement)]
+ #[doc = "Getter for the `scrollingElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/scrollingElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn scrolling_element(this: &Document) -> Option<Element>;
+ #[cfg(feature = "DocumentTimeline")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = timeline)]
+ #[doc = "Getter for the `timeline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/timeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DocumentTimeline`*"]
+ pub fn timeline(this: &Document) -> DocumentTimeline;
+ #[cfg(feature = "SvgsvgElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = rootElement)]
+ #[doc = "Getter for the `rootElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/rootElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `SvgsvgElement`*"]
+ pub fn root_element(this: &Document) -> Option<SvgsvgElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oncopy)]
+ #[doc = "Getter for the `oncopy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncopy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn oncopy(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncopy)]
+ #[doc = "Setter for the `oncopy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncopy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_oncopy(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oncut)]
+ #[doc = "Getter for the `oncut` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn oncut(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncut)]
+ #[doc = "Setter for the `oncut` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_oncut(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpaste)]
+ #[doc = "Getter for the `onpaste` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpaste)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onpaste(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpaste)]
+ #[doc = "Setter for the `onpaste` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpaste)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onpaste(this: &Document, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = activeElement)]
+ #[doc = "Getter for the `activeElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/activeElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn active_element(this: &Document) -> Option<Element>;
+ #[cfg(feature = "StyleSheetList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = styleSheets)]
+ #[doc = "Getter for the `styleSheets` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/styleSheets)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `StyleSheetList`*"]
+ pub fn style_sheets(this: &Document) -> StyleSheetList;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = pointerLockElement)]
+ #[doc = "Getter for the `pointerLockElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/pointerLockElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn pointer_lock_element(this: &Document) -> Option<Element>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = fullscreenElement)]
+ #[doc = "Getter for the `fullscreenElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn fullscreen_element(this: &Document) -> Option<Element>;
+ #[cfg(feature = "FontFaceSet")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = fonts)]
+ #[doc = "Getter for the `fonts` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fonts)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `FontFaceSet`*"]
+ pub fn fonts(this: &Document) -> FontFaceSet;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onabort)]
+ #[doc = "Getter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onabort(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onabort)]
+ #[doc = "Setter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onabort(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onblur)]
+ #[doc = "Getter for the `onblur` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onblur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onblur(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onblur)]
+ #[doc = "Setter for the `onblur` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onblur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onblur(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onfocus)]
+ #[doc = "Getter for the `onfocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onfocus(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onfocus)]
+ #[doc = "Setter for the `onfocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onfocus(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onauxclick)]
+ #[doc = "Getter for the `onauxclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onauxclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onauxclick(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onauxclick)]
+ #[doc = "Setter for the `onauxclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onauxclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onauxclick(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oncanplay)]
+ #[doc = "Getter for the `oncanplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn oncanplay(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncanplay)]
+ #[doc = "Setter for the `oncanplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_oncanplay(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oncanplaythrough)]
+ #[doc = "Getter for the `oncanplaythrough` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplaythrough)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn oncanplaythrough(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncanplaythrough)]
+ #[doc = "Setter for the `oncanplaythrough` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplaythrough)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_oncanplaythrough(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onchange(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onchange(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onclick)]
+ #[doc = "Getter for the `onclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onclick(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onclick)]
+ #[doc = "Setter for the `onclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onclick(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onclose)]
+ #[doc = "Getter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onclose(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onclose)]
+ #[doc = "Setter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onclose(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oncontextmenu)]
+ #[doc = "Getter for the `oncontextmenu` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncontextmenu)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn oncontextmenu(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncontextmenu)]
+ #[doc = "Setter for the `oncontextmenu` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncontextmenu)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_oncontextmenu(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondblclick)]
+ #[doc = "Getter for the `ondblclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondblclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ondblclick(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondblclick)]
+ #[doc = "Setter for the `ondblclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondblclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ondblclick(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondrag)]
+ #[doc = "Getter for the `ondrag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ondrag(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondrag)]
+ #[doc = "Setter for the `ondrag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ondrag(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragend)]
+ #[doc = "Getter for the `ondragend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ondragend(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragend)]
+ #[doc = "Setter for the `ondragend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ondragend(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragenter)]
+ #[doc = "Getter for the `ondragenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ondragenter(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragenter)]
+ #[doc = "Setter for the `ondragenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ondragenter(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragexit)]
+ #[doc = "Getter for the `ondragexit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragexit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ondragexit(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragexit)]
+ #[doc = "Setter for the `ondragexit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragexit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ondragexit(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragleave)]
+ #[doc = "Getter for the `ondragleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ondragleave(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragleave)]
+ #[doc = "Setter for the `ondragleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ondragleave(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragover)]
+ #[doc = "Getter for the `ondragover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ondragover(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragover)]
+ #[doc = "Setter for the `ondragover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ondragover(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragstart)]
+ #[doc = "Getter for the `ondragstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ondragstart(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragstart)]
+ #[doc = "Setter for the `ondragstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ondragstart(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondrop)]
+ #[doc = "Getter for the `ondrop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ondrop(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondrop)]
+ #[doc = "Setter for the `ondrop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ondrop(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondurationchange)]
+ #[doc = "Getter for the `ondurationchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondurationchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ondurationchange(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondurationchange)]
+ #[doc = "Setter for the `ondurationchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondurationchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ondurationchange(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onemptied)]
+ #[doc = "Getter for the `onemptied` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onemptied)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onemptied(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onemptied)]
+ #[doc = "Setter for the `onemptied` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onemptied)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onemptied(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onended)]
+ #[doc = "Getter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onended(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onended)]
+ #[doc = "Setter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onended(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oninput)]
+ #[doc = "Getter for the `oninput` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninput)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn oninput(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oninput)]
+ #[doc = "Setter for the `oninput` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninput)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_oninput(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oninvalid)]
+ #[doc = "Getter for the `oninvalid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninvalid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn oninvalid(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oninvalid)]
+ #[doc = "Setter for the `oninvalid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninvalid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_oninvalid(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onkeydown)]
+ #[doc = "Getter for the `onkeydown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeydown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onkeydown(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onkeydown)]
+ #[doc = "Setter for the `onkeydown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeydown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onkeydown(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onkeypress)]
+ #[doc = "Getter for the `onkeypress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeypress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onkeypress(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onkeypress)]
+ #[doc = "Setter for the `onkeypress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeypress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onkeypress(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onkeyup)]
+ #[doc = "Getter for the `onkeyup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeyup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onkeyup(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onkeyup)]
+ #[doc = "Setter for the `onkeyup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeyup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onkeyup(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onload)]
+ #[doc = "Getter for the `onload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onload(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onload)]
+ #[doc = "Setter for the `onload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onload(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onloadeddata)]
+ #[doc = "Getter for the `onloadeddata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadeddata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onloadeddata(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onloadeddata)]
+ #[doc = "Setter for the `onloadeddata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadeddata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onloadeddata(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onloadedmetadata)]
+ #[doc = "Getter for the `onloadedmetadata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadedmetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onloadedmetadata(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onloadedmetadata)]
+ #[doc = "Setter for the `onloadedmetadata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadedmetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onloadedmetadata(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onloadend)]
+ #[doc = "Getter for the `onloadend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onloadend(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onloadend)]
+ #[doc = "Setter for the `onloadend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onloadend(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onloadstart)]
+ #[doc = "Getter for the `onloadstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onloadstart(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onloadstart)]
+ #[doc = "Setter for the `onloadstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onloadstart(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmousedown)]
+ #[doc = "Getter for the `onmousedown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousedown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onmousedown(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmousedown)]
+ #[doc = "Setter for the `onmousedown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousedown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onmousedown(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseenter)]
+ #[doc = "Getter for the `onmouseenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onmouseenter(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseenter)]
+ #[doc = "Setter for the `onmouseenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onmouseenter(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseleave)]
+ #[doc = "Getter for the `onmouseleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onmouseleave(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseleave)]
+ #[doc = "Setter for the `onmouseleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onmouseleave(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmousemove)]
+ #[doc = "Getter for the `onmousemove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousemove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onmousemove(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmousemove)]
+ #[doc = "Setter for the `onmousemove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousemove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onmousemove(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseout)]
+ #[doc = "Getter for the `onmouseout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onmouseout(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseout)]
+ #[doc = "Setter for the `onmouseout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onmouseout(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseover)]
+ #[doc = "Getter for the `onmouseover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onmouseover(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseover)]
+ #[doc = "Setter for the `onmouseover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onmouseover(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseup)]
+ #[doc = "Getter for the `onmouseup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onmouseup(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseup)]
+ #[doc = "Setter for the `onmouseup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onmouseup(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwheel)]
+ #[doc = "Getter for the `onwheel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwheel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onwheel(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwheel)]
+ #[doc = "Setter for the `onwheel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwheel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onwheel(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpause)]
+ #[doc = "Getter for the `onpause` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onpause(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpause)]
+ #[doc = "Setter for the `onpause` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onpause(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onplay)]
+ #[doc = "Getter for the `onplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onplay(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onplay)]
+ #[doc = "Setter for the `onplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onplay(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onplaying)]
+ #[doc = "Getter for the `onplaying` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplaying)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onplaying(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onplaying)]
+ #[doc = "Setter for the `onplaying` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplaying)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onplaying(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onprogress)]
+ #[doc = "Getter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onprogress(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onprogress)]
+ #[doc = "Setter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onprogress(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onratechange)]
+ #[doc = "Getter for the `onratechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onratechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onratechange(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onratechange)]
+ #[doc = "Setter for the `onratechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onratechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onratechange(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onreset)]
+ #[doc = "Getter for the `onreset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onreset(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onreset)]
+ #[doc = "Setter for the `onreset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onreset(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onresize)]
+ #[doc = "Getter for the `onresize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onresize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onresize(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onresize)]
+ #[doc = "Setter for the `onresize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onresize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onresize(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onscroll)]
+ #[doc = "Getter for the `onscroll` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onscroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onscroll(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onscroll)]
+ #[doc = "Setter for the `onscroll` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onscroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onscroll(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onseeked)]
+ #[doc = "Getter for the `onseeked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onseeked(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onseeked)]
+ #[doc = "Setter for the `onseeked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onseeked(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onseeking)]
+ #[doc = "Getter for the `onseeking` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeking)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onseeking(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onseeking)]
+ #[doc = "Setter for the `onseeking` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeking)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onseeking(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onselect)]
+ #[doc = "Getter for the `onselect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onselect(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onselect)]
+ #[doc = "Setter for the `onselect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onselect(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onshow)]
+ #[doc = "Getter for the `onshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onshow(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onshow)]
+ #[doc = "Setter for the `onshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onshow(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onstalled)]
+ #[doc = "Getter for the `onstalled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onstalled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onstalled(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onstalled)]
+ #[doc = "Setter for the `onstalled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onstalled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onstalled(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onsubmit)]
+ #[doc = "Getter for the `onsubmit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsubmit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onsubmit(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onsubmit)]
+ #[doc = "Setter for the `onsubmit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsubmit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onsubmit(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onsuspend)]
+ #[doc = "Getter for the `onsuspend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsuspend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onsuspend(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onsuspend)]
+ #[doc = "Setter for the `onsuspend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsuspend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onsuspend(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontimeupdate)]
+ #[doc = "Getter for the `ontimeupdate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontimeupdate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ontimeupdate(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontimeupdate)]
+ #[doc = "Setter for the `ontimeupdate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontimeupdate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ontimeupdate(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onvolumechange)]
+ #[doc = "Getter for the `onvolumechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvolumechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onvolumechange(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onvolumechange)]
+ #[doc = "Setter for the `onvolumechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvolumechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onvolumechange(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwaiting)]
+ #[doc = "Getter for the `onwaiting` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwaiting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onwaiting(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwaiting)]
+ #[doc = "Setter for the `onwaiting` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwaiting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onwaiting(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onselectstart)]
+ #[doc = "Getter for the `onselectstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onselectstart(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onselectstart)]
+ #[doc = "Setter for the `onselectstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onselectstart(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontoggle)]
+ #[doc = "Getter for the `ontoggle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontoggle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ontoggle(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontoggle)]
+ #[doc = "Setter for the `ontoggle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontoggle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ontoggle(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointercancel)]
+ #[doc = "Getter for the `onpointercancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointercancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onpointercancel(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointercancel)]
+ #[doc = "Setter for the `onpointercancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointercancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onpointercancel(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerdown)]
+ #[doc = "Getter for the `onpointerdown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerdown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onpointerdown(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerdown)]
+ #[doc = "Setter for the `onpointerdown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerdown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onpointerdown(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerup)]
+ #[doc = "Getter for the `onpointerup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onpointerup(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerup)]
+ #[doc = "Setter for the `onpointerup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onpointerup(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointermove)]
+ #[doc = "Getter for the `onpointermove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointermove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onpointermove(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointermove)]
+ #[doc = "Setter for the `onpointermove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointermove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onpointermove(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerout)]
+ #[doc = "Getter for the `onpointerout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onpointerout(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerout)]
+ #[doc = "Setter for the `onpointerout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onpointerout(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerover)]
+ #[doc = "Getter for the `onpointerover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onpointerover(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerover)]
+ #[doc = "Setter for the `onpointerover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onpointerover(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerenter)]
+ #[doc = "Getter for the `onpointerenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onpointerenter(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerenter)]
+ #[doc = "Setter for the `onpointerenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onpointerenter(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerleave)]
+ #[doc = "Getter for the `onpointerleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onpointerleave(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerleave)]
+ #[doc = "Setter for the `onpointerleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onpointerleave(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ongotpointercapture)]
+ #[doc = "Getter for the `ongotpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ongotpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ongotpointercapture(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ongotpointercapture)]
+ #[doc = "Setter for the `ongotpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ongotpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ongotpointercapture(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onlostpointercapture)]
+ #[doc = "Getter for the `onlostpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onlostpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onlostpointercapture(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onlostpointercapture)]
+ #[doc = "Setter for the `onlostpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onlostpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onlostpointercapture(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onanimationcancel)]
+ #[doc = "Getter for the `onanimationcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onanimationcancel(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onanimationcancel)]
+ #[doc = "Setter for the `onanimationcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onanimationcancel(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onanimationend)]
+ #[doc = "Getter for the `onanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onanimationend(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onanimationend)]
+ #[doc = "Setter for the `onanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onanimationend(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onanimationiteration)]
+ #[doc = "Getter for the `onanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onanimationiteration(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onanimationiteration)]
+ #[doc = "Setter for the `onanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onanimationiteration(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onanimationstart)]
+ #[doc = "Getter for the `onanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onanimationstart(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onanimationstart)]
+ #[doc = "Setter for the `onanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onanimationstart(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontransitioncancel)]
+ #[doc = "Getter for the `ontransitioncancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitioncancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ontransitioncancel(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontransitioncancel)]
+ #[doc = "Setter for the `ontransitioncancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitioncancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ontransitioncancel(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontransitionend)]
+ #[doc = "Getter for the `ontransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ontransitionend(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontransitionend)]
+ #[doc = "Setter for the `ontransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ontransitionend(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontransitionrun)]
+ #[doc = "Getter for the `ontransitionrun` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionrun)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ontransitionrun(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontransitionrun)]
+ #[doc = "Setter for the `ontransitionrun` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionrun)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ontransitionrun(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontransitionstart)]
+ #[doc = "Getter for the `ontransitionstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ontransitionstart(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontransitionstart)]
+ #[doc = "Setter for the `ontransitionstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ontransitionstart(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwebkitanimationend)]
+ #[doc = "Getter for the `onwebkitanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onwebkitanimationend(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwebkitanimationend)]
+ #[doc = "Setter for the `onwebkitanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onwebkitanimationend(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwebkitanimationiteration)]
+ #[doc = "Getter for the `onwebkitanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onwebkitanimationiteration(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwebkitanimationiteration)]
+ #[doc = "Setter for the `onwebkitanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onwebkitanimationiteration(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwebkitanimationstart)]
+ #[doc = "Getter for the `onwebkitanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onwebkitanimationstart(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwebkitanimationstart)]
+ #[doc = "Setter for the `onwebkitanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onwebkitanimationstart(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwebkittransitionend)]
+ #[doc = "Getter for the `onwebkittransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkittransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onwebkittransitionend(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwebkittransitionend)]
+ #[doc = "Setter for the `onwebkittransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkittransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onwebkittransitionend(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn onerror(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_onerror(this: &Document, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = children)]
+ #[doc = "Getter for the `children` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/children)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
+ pub fn children(this: &Document) -> HtmlCollection;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = firstElementChild)]
+ #[doc = "Getter for the `firstElementChild` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/firstElementChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn first_element_child(this: &Document) -> Option<Element>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = lastElementChild)]
+ #[doc = "Getter for the `lastElementChild` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastElementChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn last_element_child(this: &Document) -> Option<Element>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = childElementCount)]
+ #[doc = "Getter for the `childElementCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/childElementCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn child_element_count(this: &Document) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontouchstart)]
+ #[doc = "Getter for the `ontouchstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ontouchstart(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontouchstart)]
+ #[doc = "Setter for the `ontouchstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ontouchstart(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontouchend)]
+ #[doc = "Getter for the `ontouchend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ontouchend(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontouchend)]
+ #[doc = "Setter for the `ontouchend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ontouchend(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontouchmove)]
+ #[doc = "Getter for the `ontouchmove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchmove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ontouchmove(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontouchmove)]
+ #[doc = "Setter for the `ontouchmove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchmove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ontouchmove(this: &Document, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontouchcancel)]
+ #[doc = "Getter for the `ontouchcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn ontouchcancel(this: &Document) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontouchcancel)]
+ #[doc = "Setter for the `ontouchcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn set_ontouchcancel(this: &Document, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "Document")]
+ #[doc = "The `new Document(..)` constructor, creating a new instance of `Document`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/Document)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn new() -> Result<Document, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = adoptNode)]
+ #[doc = "The `adoptNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/adoptNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn adopt_node(this: &Document, node: &Node) -> Result<Node, JsValue>;
+ #[cfg(feature = "CaretPosition")]
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = caretPositionFromPoint)]
+ #[doc = "The `caretPositionFromPoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/caretPositionFromPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CaretPosition`, `Document`*"]
+ pub fn caret_position_from_point(this: &Document, x: f32, y: f32) -> Option<CaretPosition>;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createAttribute)]
+ #[doc = "The `createAttribute()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttribute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `Document`*"]
+ pub fn create_attribute(this: &Document, name: &str) -> Result<Attr, JsValue>;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createAttributeNS)]
+ #[doc = "The `createAttributeNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttributeNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `Document`*"]
+ pub fn create_attribute_ns(
+ this: &Document,
+ namespace: Option<&str>,
+ name: &str,
+ ) -> Result<Attr, JsValue>;
+ #[cfg(feature = "CdataSection")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createCDATASection)]
+ #[doc = "The `createCDATASection()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createCDATASection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CdataSection`, `Document`*"]
+ pub fn create_cdata_section(this: &Document, data: &str) -> Result<CdataSection, JsValue>;
+ #[cfg(feature = "Comment")]
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = createComment)]
+ #[doc = "The `createComment()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createComment)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Comment`, `Document`*"]
+ pub fn create_comment(this: &Document, data: &str) -> Comment;
+ #[cfg(feature = "DocumentFragment")]
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = createDocumentFragment)]
+ #[doc = "The `createDocumentFragment()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createDocumentFragment)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DocumentFragment`*"]
+ pub fn create_document_fragment(this: &Document) -> DocumentFragment;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElement)]
+ #[doc = "The `createElement()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn create_element(this: &Document, local_name: &str) -> Result<Element, JsValue>;
+ #[cfg(all(feature = "Element", feature = "ElementCreationOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElement)]
+ #[doc = "The `createElement()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`, `ElementCreationOptions`*"]
+ pub fn create_element_with_element_creation_options(
+ this: &Document,
+ local_name: &str,
+ options: &ElementCreationOptions,
+ ) -> Result<Element, JsValue>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElement)]
+ #[doc = "The `createElement()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn create_element_with_str(
+ this: &Document,
+ local_name: &str,
+ options: &str,
+ ) -> Result<Element, JsValue>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElementNS)]
+ #[doc = "The `createElementNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn create_element_ns(
+ this: &Document,
+ namespace: Option<&str>,
+ qualified_name: &str,
+ ) -> Result<Element, JsValue>;
+ #[cfg(all(feature = "Element", feature = "ElementCreationOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElementNS)]
+ #[doc = "The `createElementNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`, `ElementCreationOptions`*"]
+ pub fn create_element_ns_with_element_creation_options(
+ this: &Document,
+ namespace: Option<&str>,
+ qualified_name: &str,
+ options: &ElementCreationOptions,
+ ) -> Result<Element, JsValue>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElementNS)]
+ #[doc = "The `createElementNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn create_element_ns_with_str(
+ this: &Document,
+ namespace: Option<&str>,
+ qualified_name: &str,
+ options: &str,
+ ) -> Result<Element, JsValue>;
+ #[cfg(feature = "Event")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createEvent)]
+ #[doc = "The `createEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Event`*"]
+ pub fn create_event(this: &Document, interface: &str) -> Result<Event, JsValue>;
+ #[cfg(feature = "NodeIterator")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createNodeIterator)]
+ #[doc = "The `createNodeIterator()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeIterator`*"]
+ pub fn create_node_iterator(this: &Document, root: &Node) -> Result<NodeIterator, JsValue>;
+ #[cfg(feature = "NodeIterator")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createNodeIterator)]
+ #[doc = "The `createNodeIterator()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeIterator`*"]
+ pub fn create_node_iterator_with_what_to_show(
+ this: &Document,
+ root: &Node,
+ what_to_show: u32,
+ ) -> Result<NodeIterator, JsValue>;
+ #[cfg(all(feature = "NodeFilter", feature = "NodeIterator",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createNodeIterator)]
+ #[doc = "The `createNodeIterator()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeFilter`, `NodeIterator`*"]
+ pub fn create_node_iterator_with_what_to_show_and_filter(
+ this: &Document,
+ root: &Node,
+ what_to_show: u32,
+ filter: Option<&NodeFilter>,
+ ) -> Result<NodeIterator, JsValue>;
+ #[cfg(feature = "ProcessingInstruction")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createProcessingInstruction)]
+ #[doc = "The `createProcessingInstruction()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createProcessingInstruction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `ProcessingInstruction`*"]
+ pub fn create_processing_instruction(
+ this: &Document,
+ target: &str,
+ data: &str,
+ ) -> Result<ProcessingInstruction, JsValue>;
+ #[cfg(feature = "Range")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createRange)]
+ #[doc = "The `createRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Range`*"]
+ pub fn create_range(this: &Document) -> Result<Range, JsValue>;
+ #[cfg(feature = "Text")]
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = createTextNode)]
+ #[doc = "The `createTextNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTextNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Text`*"]
+ pub fn create_text_node(this: &Document, data: &str) -> Text;
+ #[cfg(feature = "TreeWalker")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createTreeWalker)]
+ #[doc = "The `createTreeWalker()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `TreeWalker`*"]
+ pub fn create_tree_walker(this: &Document, root: &Node) -> Result<TreeWalker, JsValue>;
+ #[cfg(feature = "TreeWalker")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createTreeWalker)]
+ #[doc = "The `createTreeWalker()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `TreeWalker`*"]
+ pub fn create_tree_walker_with_what_to_show(
+ this: &Document,
+ root: &Node,
+ what_to_show: u32,
+ ) -> Result<TreeWalker, JsValue>;
+ #[cfg(all(feature = "NodeFilter", feature = "TreeWalker",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createTreeWalker)]
+ #[doc = "The `createTreeWalker()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeFilter`, `TreeWalker`*"]
+ pub fn create_tree_walker_with_what_to_show_and_filter(
+ this: &Document,
+ root: &Node,
+ what_to_show: u32,
+ filter: Option<&NodeFilter>,
+ ) -> Result<TreeWalker, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = enableStyleSheetsForSet)]
+ #[doc = "The `enableStyleSheetsForSet()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/enableStyleSheetsForSet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn enable_style_sheets_for_set(this: &Document, name: Option<&str>);
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = exitFullscreen)]
+ #[doc = "The `exitFullscreen()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/exitFullscreen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn exit_fullscreen(this: &Document);
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = exitPointerLock)]
+ #[doc = "The `exitPointerLock()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/exitPointerLock)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn exit_pointer_lock(this: &Document);
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getAnimations)]
+ #[doc = "The `getAnimations()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getAnimations)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn get_animations(this: &Document) -> ::js_sys::Array;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getElementById)]
+ #[doc = "The `getElementById()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn get_element_by_id(this: &Document, element_id: &str) -> Option<Element>;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getElementsByClassName)]
+ #[doc = "The `getElementsByClassName()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
+ pub fn get_elements_by_class_name(this: &Document, class_names: &str) -> HtmlCollection;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getElementsByName)]
+ #[doc = "The `getElementsByName()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeList`*"]
+ pub fn get_elements_by_name(this: &Document, element_name: &str) -> NodeList;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getElementsByTagName)]
+ #[doc = "The `getElementsByTagName()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
+ pub fn get_elements_by_tag_name(this: &Document, local_name: &str) -> HtmlCollection;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = getElementsByTagNameNS)]
+ #[doc = "The `getElementsByTagNameNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagNameNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
+ pub fn get_elements_by_tag_name_ns(
+ this: &Document,
+ namespace: Option<&str>,
+ local_name: &str,
+ ) -> Result<HtmlCollection, JsValue>;
+ #[cfg(feature = "Selection")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = getSelection)]
+ #[doc = "The `getSelection()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getSelection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Selection`*"]
+ pub fn get_selection(this: &Document) -> Result<Option<Selection>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = hasFocus)]
+ #[doc = "The `hasFocus()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn has_focus(this: &Document) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = importNode)]
+ #[doc = "The `importNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn import_node(this: &Document, node: &Node) -> Result<Node, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = importNode)]
+ #[doc = "The `importNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn import_node_with_deep(this: &Document, node: &Node, deep: bool)
+ -> Result<Node, JsValue>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = querySelector)]
+ #[doc = "The `querySelector()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn query_selector(this: &Document, selectors: &str) -> Result<Option<Element>, JsValue>;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = querySelectorAll)]
+ #[doc = "The `querySelectorAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeList`*"]
+ pub fn query_selector_all(this: &Document, selectors: &str) -> Result<NodeList, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = releaseCapture)]
+ #[doc = "The `releaseCapture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/releaseCapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn release_capture(this: &Document);
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = elementFromPoint)]
+ #[doc = "The `elementFromPoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/elementFromPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
+ pub fn element_from_point(this: &Document, x: f32, y: f32) -> Option<Element>;
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = elementsFromPoint)]
+ #[doc = "The `elementsFromPoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/elementsFromPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn elements_from_point(this: &Document, x: f32, y: f32) -> ::js_sys::Array;
+ #[cfg(all(feature = "DomPoint", feature = "DomPointInit", feature = "Text",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Text`*"]
+ pub fn convert_point_from_node_with_text(
+ this: &Document,
+ point: &DomPointInit,
+ from: &Text,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(feature = "DomPoint", feature = "DomPointInit", feature = "Element",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Element`*"]
+ pub fn convert_point_from_node_with_element(
+ this: &Document,
+ point: &DomPointInit,
+ from: &Element,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(feature = "DomPoint", feature = "DomPointInit",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`*"]
+ pub fn convert_point_from_node_with_document(
+ this: &Document,
+ point: &DomPointInit,
+ from: &Document,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomPoint",
+ feature = "DomPointInit",
+ feature = "Text",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Text`*"]
+ pub fn convert_point_from_node_with_text_and_options(
+ this: &Document,
+ point: &DomPointInit,
+ from: &Text,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomPoint",
+ feature = "DomPointInit",
+ feature = "Element",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Element`*"]
+ pub fn convert_point_from_node_with_element_and_options(
+ this: &Document,
+ point: &DomPointInit,
+ from: &Element,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomPoint",
+ feature = "DomPointInit",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`*"]
+ pub fn convert_point_from_node_with_document_and_options(
+ this: &Document,
+ point: &DomPointInit,
+ from: &Document,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(feature = "DomQuad", feature = "Text",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Text`*"]
+ pub fn convert_quad_from_node_with_text(
+ this: &Document,
+ quad: &DomQuad,
+ from: &Text,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "DomQuad", feature = "Element",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Element`*"]
+ pub fn convert_quad_from_node_with_element(
+ this: &Document,
+ quad: &DomQuad,
+ from: &Element,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(feature = "DomQuad")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`*"]
+ pub fn convert_quad_from_node_with_document(
+ this: &Document,
+ quad: &DomQuad,
+ from: &Document,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomQuad",
+ feature = "Text",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Text`*"]
+ pub fn convert_quad_from_node_with_text_and_options(
+ this: &Document,
+ quad: &DomQuad,
+ from: &Text,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomQuad",
+ feature = "Element",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Element`*"]
+ pub fn convert_quad_from_node_with_element_and_options(
+ this: &Document,
+ quad: &DomQuad,
+ from: &Element,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "ConvertCoordinateOptions", feature = "DomQuad",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`*"]
+ pub fn convert_quad_from_node_with_document_and_options(
+ this: &Document,
+ quad: &DomQuad,
+ from: &Document,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Text",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*"]
+ pub fn convert_rect_from_node_with_text(
+ this: &Document,
+ rect: &DomRectReadOnly,
+ from: &Text,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Element",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*"]
+ pub fn convert_rect_from_node_with_element(
+ this: &Document,
+ rect: &DomRectReadOnly,
+ from: &Element,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`*"]
+ pub fn convert_rect_from_node_with_document(
+ this: &Document,
+ rect: &DomRectReadOnly,
+ from: &Document,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomQuad",
+ feature = "DomRectReadOnly",
+ feature = "Text",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*"]
+ pub fn convert_rect_from_node_with_text_and_options(
+ this: &Document,
+ rect: &DomRectReadOnly,
+ from: &Text,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomQuad",
+ feature = "DomRectReadOnly",
+ feature = "Element",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*"]
+ pub fn convert_rect_from_node_with_element_and_options(
+ this: &Document,
+ rect: &DomRectReadOnly,
+ from: &Element,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomQuad",
+ feature = "DomRectReadOnly",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`*"]
+ pub fn convert_rect_from_node_with_document_and_options(
+ this: &Document,
+ rect: &DomRectReadOnly,
+ from: &Document,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = getBoxQuads)]
+ #[doc = "The `getBoxQuads()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getBoxQuads)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn get_box_quads(this: &Document) -> Result<::js_sys::Array, JsValue>;
+ #[cfg(feature = "BoxQuadOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = getBoxQuads)]
+ #[doc = "The `getBoxQuads()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getBoxQuads)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BoxQuadOptions`, `Document`*"]
+ pub fn get_box_quads_with_options(
+ this: &Document,
+ options: &BoxQuadOptions,
+ ) -> Result<::js_sys::Array, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_node(this: &Document, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_node_0(this: &Document) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_node_1(this: &Document, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_node_2(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_node_3(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_node_4(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_node_5(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_node_6(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_node_7(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_str(this: &Document, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_str_0(this: &Document) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_str_1(this: &Document, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_str_2(this: &Document, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_str_3(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_str_4(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_str_5(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_str_6(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn append_with_str_7(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_node(this: &Document, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_node_0(this: &Document) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_node_1(this: &Document, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_node_2(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_node_3(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_node_4(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_node_5(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_node_6(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_node_7(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_str(this: &Document, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_str_0(this: &Document) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_str_1(this: &Document, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_str_2(this: &Document, nodes_1: &str, nodes_2: &str)
+ -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_str_3(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_str_4(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_str_5(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_str_6(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn prepend_with_str_7(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "XPathExpression")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createExpression)]
+ #[doc = "The `createExpression()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathExpression`*"]
+ pub fn create_expression(this: &Document, expression: &str)
+ -> Result<XPathExpression, JsValue>;
+ #[cfg(feature = "XPathExpression")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createExpression)]
+ #[doc = "The `createExpression()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathExpression`*"]
+ pub fn create_expression_with_opt_callback(
+ this: &Document,
+ expression: &str,
+ resolver: Option<&::js_sys::Function>,
+ ) -> Result<XPathExpression, JsValue>;
+ #[cfg(all(feature = "XPathExpression", feature = "XPathNsResolver",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createExpression)]
+ #[doc = "The `createExpression()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathExpression`, `XPathNsResolver`*"]
+ pub fn create_expression_with_opt_x_path_ns_resolver(
+ this: &Document,
+ expression: &str,
+ resolver: Option<&XPathNsResolver>,
+ ) -> Result<XPathExpression, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = createNSResolver)]
+ #[doc = "The `createNSResolver()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNSResolver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn create_ns_resolver(this: &Document, node_resolver: &Node) -> Node;
+ #[cfg(feature = "XPathResult")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
+ #[doc = "The `evaluate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathResult`*"]
+ pub fn evaluate(
+ this: &Document,
+ expression: &str,
+ context_node: &Node,
+ ) -> Result<XPathResult, JsValue>;
+ #[cfg(feature = "XPathResult")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
+ #[doc = "The `evaluate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathResult`*"]
+ pub fn evaluate_with_opt_callback(
+ this: &Document,
+ expression: &str,
+ context_node: &Node,
+ resolver: Option<&::js_sys::Function>,
+ ) -> Result<XPathResult, JsValue>;
+ #[cfg(all(feature = "XPathNsResolver", feature = "XPathResult",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
+ #[doc = "The `evaluate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathNsResolver`, `XPathResult`*"]
+ pub fn evaluate_with_opt_x_path_ns_resolver(
+ this: &Document,
+ expression: &str,
+ context_node: &Node,
+ resolver: Option<&XPathNsResolver>,
+ ) -> Result<XPathResult, JsValue>;
+ #[cfg(feature = "XPathResult")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
+ #[doc = "The `evaluate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathResult`*"]
+ pub fn evaluate_with_opt_callback_and_type(
+ this: &Document,
+ expression: &str,
+ context_node: &Node,
+ resolver: Option<&::js_sys::Function>,
+ type_: u16,
+ ) -> Result<XPathResult, JsValue>;
+ #[cfg(all(feature = "XPathNsResolver", feature = "XPathResult",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
+ #[doc = "The `evaluate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathNsResolver`, `XPathResult`*"]
+ pub fn evaluate_with_opt_x_path_ns_resolver_and_type(
+ this: &Document,
+ expression: &str,
+ context_node: &Node,
+ resolver: Option<&XPathNsResolver>,
+ type_: u16,
+ ) -> Result<XPathResult, JsValue>;
+ #[cfg(feature = "XPathResult")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
+ #[doc = "The `evaluate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathResult`*"]
+ pub fn evaluate_with_opt_callback_and_type_and_result(
+ this: &Document,
+ expression: &str,
+ context_node: &Node,
+ resolver: Option<&::js_sys::Function>,
+ type_: u16,
+ result: Option<&::js_sys::Object>,
+ ) -> Result<XPathResult, JsValue>;
+ #[cfg(all(feature = "XPathNsResolver", feature = "XPathResult",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
+ #[doc = "The `evaluate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathNsResolver`, `XPathResult`*"]
+ pub fn evaluate_with_opt_x_path_ns_resolver_and_type_and_result(
+ this: &Document,
+ expression: &str,
+ context_node: &Node,
+ resolver: Option<&XPathNsResolver>,
+ type_: u16,
+ result: Option<&::js_sys::Object>,
+ ) -> Result<XPathResult, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DocumentFragment.rs b/vendor/web-sys/src/features/gen_DocumentFragment.rs
new file mode 100644
index 000000000..fa64d510a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DocumentFragment.rs
@@ -0,0 +1,500 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = DocumentFragment , typescript_type = "DocumentFragment")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DocumentFragment` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub type DocumentFragment;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DocumentFragment" , js_name = children)]
+ #[doc = "Getter for the `children` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/children)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `HtmlCollection`*"]
+ pub fn children(this: &DocumentFragment) -> HtmlCollection;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DocumentFragment" , js_name = firstElementChild)]
+ #[doc = "Getter for the `firstElementChild` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/firstElementChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*"]
+ pub fn first_element_child(this: &DocumentFragment) -> Option<Element>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DocumentFragment" , js_name = lastElementChild)]
+ #[doc = "Getter for the `lastElementChild` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/lastElementChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*"]
+ pub fn last_element_child(this: &DocumentFragment) -> Option<Element>;
+ # [wasm_bindgen (structural , method , getter , js_class = "DocumentFragment" , js_name = childElementCount)]
+ #[doc = "Getter for the `childElementCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/childElementCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn child_element_count(this: &DocumentFragment) -> u32;
+ #[wasm_bindgen(catch, constructor, js_class = "DocumentFragment")]
+ #[doc = "The `new DocumentFragment(..)` constructor, creating a new instance of `DocumentFragment`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/DocumentFragment)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn new() -> Result<DocumentFragment, JsValue>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = getElementById)]
+ #[doc = "The `getElementById()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/getElementById)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*"]
+ pub fn get_element_by_id(this: &DocumentFragment, element_id: &str) -> Option<Element>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = querySelector)]
+ #[doc = "The `querySelector()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/querySelector)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*"]
+ pub fn query_selector(
+ this: &DocumentFragment,
+ selectors: &str,
+ ) -> Result<Option<Element>, JsValue>;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = querySelectorAll)]
+ #[doc = "The `querySelectorAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/querySelectorAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `NodeList`*"]
+ pub fn query_selector_all(
+ this: &DocumentFragment,
+ selectors: &str,
+ ) -> Result<NodeList, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_node(
+ this: &DocumentFragment,
+ nodes: &::js_sys::Array,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_node_0(this: &DocumentFragment) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_node_1(this: &DocumentFragment, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_node_2(
+ this: &DocumentFragment,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_node_3(
+ this: &DocumentFragment,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_node_4(
+ this: &DocumentFragment,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_node_5(
+ this: &DocumentFragment,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_node_6(
+ this: &DocumentFragment,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_node_7(
+ this: &DocumentFragment,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_str(this: &DocumentFragment, nodes: &::js_sys::Array)
+ -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_str_0(this: &DocumentFragment) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_str_1(this: &DocumentFragment, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_str_2(
+ this: &DocumentFragment,
+ nodes_1: &str,
+ nodes_2: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_str_3(
+ this: &DocumentFragment,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_str_4(
+ this: &DocumentFragment,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_str_5(
+ this: &DocumentFragment,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_str_6(
+ this: &DocumentFragment,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn append_with_str_7(
+ this: &DocumentFragment,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_node(
+ this: &DocumentFragment,
+ nodes: &::js_sys::Array,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_node_0(this: &DocumentFragment) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_node_1(this: &DocumentFragment, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_node_2(
+ this: &DocumentFragment,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_node_3(
+ this: &DocumentFragment,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_node_4(
+ this: &DocumentFragment,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_node_5(
+ this: &DocumentFragment,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_node_6(
+ this: &DocumentFragment,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_node_7(
+ this: &DocumentFragment,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_str(
+ this: &DocumentFragment,
+ nodes: &::js_sys::Array,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_str_0(this: &DocumentFragment) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_str_1(this: &DocumentFragment, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_str_2(
+ this: &DocumentFragment,
+ nodes_1: &str,
+ nodes_2: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_str_3(
+ this: &DocumentFragment,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_str_4(
+ this: &DocumentFragment,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_str_5(
+ this: &DocumentFragment,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_str_6(
+ this: &DocumentFragment,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentFragment" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
+ pub fn prepend_with_str_7(
+ this: &DocumentFragment,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DocumentTimeline.rs b/vendor/web-sys/src/features/gen_DocumentTimeline.rs
new file mode 100644
index 000000000..57247e819
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DocumentTimeline.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AnimationTimeline , extends = :: js_sys :: Object , js_name = DocumentTimeline , typescript_type = "DocumentTimeline")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DocumentTimeline` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentTimeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentTimeline`*"]
+ pub type DocumentTimeline;
+ #[wasm_bindgen(catch, constructor, js_class = "DocumentTimeline")]
+ #[doc = "The `new DocumentTimeline(..)` constructor, creating a new instance of `DocumentTimeline`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentTimeline/DocumentTimeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentTimeline`*"]
+ pub fn new() -> Result<DocumentTimeline, JsValue>;
+ #[cfg(feature = "DocumentTimelineOptions")]
+ #[wasm_bindgen(catch, constructor, js_class = "DocumentTimeline")]
+ #[doc = "The `new DocumentTimeline(..)` constructor, creating a new instance of `DocumentTimeline`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentTimeline/DocumentTimeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentTimeline`, `DocumentTimelineOptions`*"]
+ pub fn new_with_options(options: &DocumentTimelineOptions)
+ -> Result<DocumentTimeline, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DocumentTimelineOptions.rs b/vendor/web-sys/src/features/gen_DocumentTimelineOptions.rs
new file mode 100644
index 000000000..33ee6fa3c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DocumentTimelineOptions.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DocumentTimelineOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DocumentTimelineOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentTimelineOptions`*"]
+ pub type DocumentTimelineOptions;
+}
+impl DocumentTimelineOptions {
+ #[doc = "Construct a new `DocumentTimelineOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentTimelineOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `originTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentTimelineOptions`*"]
+ pub fn origin_time(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("originTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DocumentTimelineOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DocumentType.rs b/vendor/web-sys/src/features/gen_DocumentType.rs
new file mode 100644
index 000000000..2b6280c9b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DocumentType.rs
@@ -0,0 +1,660 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = DocumentType , typescript_type = "DocumentType")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DocumentType` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub type DocumentType;
+ # [wasm_bindgen (structural , method , getter , js_class = "DocumentType" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn name(this: &DocumentType) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "DocumentType" , js_name = publicId)]
+ #[doc = "Getter for the `publicId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/publicId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn public_id(this: &DocumentType) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "DocumentType" , js_name = systemId)]
+ #[doc = "Getter for the `systemId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/systemId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn system_id(this: &DocumentType) -> String;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_node(this: &DocumentType, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_node_0(this: &DocumentType) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_node_1(this: &DocumentType, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_node_2(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_node_3(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_node_4(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_node_5(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_node_6(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_node_7(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_str(this: &DocumentType, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_str_0(this: &DocumentType) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_str_1(this: &DocumentType, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_str_2(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_str_3(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_str_4(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_str_5(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_str_6(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn after_with_str_7(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_node(this: &DocumentType, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_node_0(this: &DocumentType) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_node_1(this: &DocumentType, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_node_2(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_node_3(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_node_4(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_node_5(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_node_6(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_node_7(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_str(this: &DocumentType, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_str_0(this: &DocumentType) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_str_1(this: &DocumentType, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_str_2(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_str_3(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_str_4(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_str_5(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_str_6(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn before_with_str_7(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "DocumentType" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn remove(this: &DocumentType);
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_node(
+ this: &DocumentType,
+ nodes: &::js_sys::Array,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_node_0(this: &DocumentType) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_node_1(this: &DocumentType, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_node_2(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_node_3(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_node_4(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_node_5(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_node_6(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_node_7(
+ this: &DocumentType,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_str(
+ this: &DocumentType,
+ nodes: &::js_sys::Array,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_str_0(this: &DocumentType) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_str_1(this: &DocumentType, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_str_2(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_str_3(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_str_4(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_str_5(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_str_6(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DocumentType" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
+ pub fn replace_with_with_str_7(
+ this: &DocumentType,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DomError.rs b/vendor/web-sys/src/features/gen_DomError.rs
new file mode 100644
index 000000000..33e4f4919
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomError.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMError , typescript_type = "DOMError")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomError` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomError`*"]
+ pub type DomError;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMError" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomError`*"]
+ pub fn name(this: &DomError) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMError" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomError`*"]
+ pub fn message(this: &DomError) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMError")]
+ #[doc = "The `new DomError(..)` constructor, creating a new instance of `DomError`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError/DOMError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomError`*"]
+ pub fn new(name: &str) -> Result<DomError, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMError")]
+ #[doc = "The `new DomError(..)` constructor, creating a new instance of `DomError`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError/DOMError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomError`*"]
+ pub fn new_with_message(name: &str, message: &str) -> Result<DomError, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DomException.rs b/vendor/web-sys/src/features/gen_DomException.rs
new file mode 100644
index 000000000..d7035a170
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomException.rs
@@ -0,0 +1,200 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMException , typescript_type = "DOMException")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomException` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub type DomException;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMException" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub fn name(this: &DomException) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMException" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub fn message(this: &DomException) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMException" , js_name = code)]
+ #[doc = "Getter for the `code` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/code)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub fn code(this: &DomException) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMException" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub fn result(this: &DomException) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMException" , js_name = filename)]
+ #[doc = "Getter for the `filename` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/filename)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub fn filename(this: &DomException) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMException" , js_name = lineNumber)]
+ #[doc = "Getter for the `lineNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/lineNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub fn line_number(this: &DomException) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMException" , js_name = columnNumber)]
+ #[doc = "Getter for the `columnNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/columnNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub fn column_number(this: &DomException) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMException" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub fn data(this: &DomException) -> Option<::js_sys::Object>;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMException" , js_name = stack)]
+ #[doc = "Getter for the `stack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/stack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub fn stack(this: &DomException) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMException")]
+ #[doc = "The `new DomException(..)` constructor, creating a new instance of `DomException`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/DOMException)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub fn new() -> Result<DomException, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMException")]
+ #[doc = "The `new DomException(..)` constructor, creating a new instance of `DomException`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/DOMException)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub fn new_with_message(message: &str) -> Result<DomException, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMException")]
+ #[doc = "The `new DomException(..)` constructor, creating a new instance of `DomException`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/DOMException)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub fn new_with_message_and_name(message: &str, name: &str) -> Result<DomException, JsValue>;
+}
+impl DomException {
+ #[doc = "The `DOMException.INDEX_SIZE_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const INDEX_SIZE_ERR: u16 = 1u64 as u16;
+ #[doc = "The `DOMException.DOMSTRING_SIZE_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const DOMSTRING_SIZE_ERR: u16 = 2u64 as u16;
+ #[doc = "The `DOMException.HIERARCHY_REQUEST_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const HIERARCHY_REQUEST_ERR: u16 = 3u64 as u16;
+ #[doc = "The `DOMException.WRONG_DOCUMENT_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const WRONG_DOCUMENT_ERR: u16 = 4u64 as u16;
+ #[doc = "The `DOMException.INVALID_CHARACTER_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const INVALID_CHARACTER_ERR: u16 = 5u64 as u16;
+ #[doc = "The `DOMException.NO_DATA_ALLOWED_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const NO_DATA_ALLOWED_ERR: u16 = 6u64 as u16;
+ #[doc = "The `DOMException.NO_MODIFICATION_ALLOWED_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const NO_MODIFICATION_ALLOWED_ERR: u16 = 7u64 as u16;
+ #[doc = "The `DOMException.NOT_FOUND_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const NOT_FOUND_ERR: u16 = 8u64 as u16;
+ #[doc = "The `DOMException.NOT_SUPPORTED_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const NOT_SUPPORTED_ERR: u16 = 9u64 as u16;
+ #[doc = "The `DOMException.INUSE_ATTRIBUTE_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const INUSE_ATTRIBUTE_ERR: u16 = 10u64 as u16;
+ #[doc = "The `DOMException.INVALID_STATE_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const INVALID_STATE_ERR: u16 = 11u64 as u16;
+ #[doc = "The `DOMException.SYNTAX_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const SYNTAX_ERR: u16 = 12u64 as u16;
+ #[doc = "The `DOMException.INVALID_MODIFICATION_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const INVALID_MODIFICATION_ERR: u16 = 13u64 as u16;
+ #[doc = "The `DOMException.NAMESPACE_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const NAMESPACE_ERR: u16 = 14u64 as u16;
+ #[doc = "The `DOMException.INVALID_ACCESS_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const INVALID_ACCESS_ERR: u16 = 15u64 as u16;
+ #[doc = "The `DOMException.VALIDATION_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const VALIDATION_ERR: u16 = 16u64 as u16;
+ #[doc = "The `DOMException.TYPE_MISMATCH_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const TYPE_MISMATCH_ERR: u16 = 17u64 as u16;
+ #[doc = "The `DOMException.SECURITY_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const SECURITY_ERR: u16 = 18u64 as u16;
+ #[doc = "The `DOMException.NETWORK_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const NETWORK_ERR: u16 = 19u64 as u16;
+ #[doc = "The `DOMException.ABORT_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const ABORT_ERR: u16 = 20u64 as u16;
+ #[doc = "The `DOMException.URL_MISMATCH_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const URL_MISMATCH_ERR: u16 = 21u64 as u16;
+ #[doc = "The `DOMException.QUOTA_EXCEEDED_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const QUOTA_EXCEEDED_ERR: u16 = 22u64 as u16;
+ #[doc = "The `DOMException.TIMEOUT_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const TIMEOUT_ERR: u16 = 23u64 as u16;
+ #[doc = "The `DOMException.INVALID_NODE_TYPE_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const INVALID_NODE_TYPE_ERR: u16 = 24u64 as u16;
+ #[doc = "The `DOMException.DATA_CLONE_ERR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`*"]
+ pub const DATA_CLONE_ERR: u16 = 25u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_DomImplementation.rs b/vendor/web-sys/src/features/gen_DomImplementation.rs
new file mode 100644
index 000000000..3f09acc2b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomImplementation.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMImplementation , typescript_type = "DOMImplementation")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomImplementation` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomImplementation`*"]
+ pub type DomImplementation;
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMImplementation" , js_name = createDocument)]
+ #[doc = "The `createDocument()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomImplementation`*"]
+ pub fn create_document(
+ this: &DomImplementation,
+ namespace: Option<&str>,
+ qualified_name: &str,
+ ) -> Result<Document, JsValue>;
+ #[cfg(all(feature = "Document", feature = "DocumentType",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMImplementation" , js_name = createDocument)]
+ #[doc = "The `createDocument()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DocumentType`, `DomImplementation`*"]
+ pub fn create_document_with_doctype(
+ this: &DomImplementation,
+ namespace: Option<&str>,
+ qualified_name: &str,
+ doctype: Option<&DocumentType>,
+ ) -> Result<Document, JsValue>;
+ #[cfg(feature = "DocumentType")]
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMImplementation" , js_name = createDocumentType)]
+ #[doc = "The `createDocumentType()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentType`, `DomImplementation`*"]
+ pub fn create_document_type(
+ this: &DomImplementation,
+ qualified_name: &str,
+ public_id: &str,
+ system_id: &str,
+ ) -> Result<DocumentType, JsValue>;
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMImplementation" , js_name = createHTMLDocument)]
+ #[doc = "The `createHTMLDocument()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createHTMLDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomImplementation`*"]
+ pub fn create_html_document(this: &DomImplementation) -> Result<Document, JsValue>;
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMImplementation" , js_name = createHTMLDocument)]
+ #[doc = "The `createHTMLDocument()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createHTMLDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomImplementation`*"]
+ pub fn create_html_document_with_title(
+ this: &DomImplementation,
+ title: &str,
+ ) -> Result<Document, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "DOMImplementation" , js_name = hasFeature)]
+ #[doc = "The `hasFeature()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/hasFeature)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomImplementation`*"]
+ pub fn has_feature(this: &DomImplementation) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_DomMatrix.rs b/vendor/web-sys/src/features/gen_DomMatrix.rs
new file mode 100644
index 000000000..3212e048f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomMatrix.rs
@@ -0,0 +1,605 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = DomMatrixReadOnly , extends = :: js_sys :: Object , js_name = DOMMatrix , typescript_type = "DOMMatrix")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomMatrix` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub type DomMatrix;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = a)]
+ #[doc = "Getter for the `a` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/a)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn a(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = a)]
+ #[doc = "Setter for the `a` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/a)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_a(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = b)]
+ #[doc = "Getter for the `b` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/b)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn b(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = b)]
+ #[doc = "Setter for the `b` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/b)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_b(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = c)]
+ #[doc = "Getter for the `c` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/c)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn c(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = c)]
+ #[doc = "Setter for the `c` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/c)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_c(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = d)]
+ #[doc = "Getter for the `d` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/d)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn d(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = d)]
+ #[doc = "Setter for the `d` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/d)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_d(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = e)]
+ #[doc = "Getter for the `e` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/e)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn e(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = e)]
+ #[doc = "Setter for the `e` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/e)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_e(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = f)]
+ #[doc = "Getter for the `f` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn f(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = f)]
+ #[doc = "Setter for the `f` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_f(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m11)]
+ #[doc = "Getter for the `m11` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m11)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m11(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m11)]
+ #[doc = "Setter for the `m11` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m11)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m11(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m12)]
+ #[doc = "Getter for the `m12` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m12)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m12(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m12)]
+ #[doc = "Setter for the `m12` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m12)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m12(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m13)]
+ #[doc = "Getter for the `m13` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m13)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m13(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m13)]
+ #[doc = "Setter for the `m13` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m13)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m13(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m14)]
+ #[doc = "Getter for the `m14` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m14)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m14(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m14)]
+ #[doc = "Setter for the `m14` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m14)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m14(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m21)]
+ #[doc = "Getter for the `m21` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m21)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m21(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m21)]
+ #[doc = "Setter for the `m21` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m21)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m21(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m22)]
+ #[doc = "Getter for the `m22` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m22)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m22(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m22)]
+ #[doc = "Setter for the `m22` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m22)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m22(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m23)]
+ #[doc = "Getter for the `m23` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m23)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m23(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m23)]
+ #[doc = "Setter for the `m23` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m23)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m23(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m24)]
+ #[doc = "Getter for the `m24` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m24)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m24(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m24)]
+ #[doc = "Setter for the `m24` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m24)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m24(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m31)]
+ #[doc = "Getter for the `m31` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m31)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m31(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m31)]
+ #[doc = "Setter for the `m31` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m31)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m31(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m32)]
+ #[doc = "Getter for the `m32` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m32)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m32(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m32)]
+ #[doc = "Setter for the `m32` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m32)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m32(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m33)]
+ #[doc = "Getter for the `m33` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m33)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m33(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m33)]
+ #[doc = "Setter for the `m33` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m33)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m33(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m34)]
+ #[doc = "Getter for the `m34` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m34)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m34(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m34)]
+ #[doc = "Setter for the `m34` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m34)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m34(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m41)]
+ #[doc = "Getter for the `m41` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m41)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m41(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m41)]
+ #[doc = "Setter for the `m41` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m41)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m41(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m42)]
+ #[doc = "Getter for the `m42` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m42)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m42(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m42)]
+ #[doc = "Setter for the `m42` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m42)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m42(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m43)]
+ #[doc = "Getter for the `m43` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m43)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m43(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m43)]
+ #[doc = "Setter for the `m43` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m43)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m43(this: &DomMatrix, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrix" , js_name = m44)]
+ #[doc = "Getter for the `m44` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m44)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn m44(this: &DomMatrix) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMMatrix" , js_name = m44)]
+ #[doc = "Setter for the `m44` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m44)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_m44(this: &DomMatrix, value: f64);
+ #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
+ #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn new() -> Result<DomMatrix, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
+ #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn new_with_transform_list(transform_list: &str) -> Result<DomMatrix, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
+ #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn new_with_other(other: &DomMatrixReadOnly) -> Result<DomMatrix, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
+ #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn new_with_array32(array32: &mut [f32]) -> Result<DomMatrix, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
+ #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn new_with_array64(array64: &mut [f64]) -> Result<DomMatrix, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
+ #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn new_with_number_sequence(
+ number_sequence: &::wasm_bindgen::JsValue,
+ ) -> Result<DomMatrix, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = invertSelf)]
+ #[doc = "The `invertSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/invertSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn invert_self(this: &DomMatrix) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = multiplySelf)]
+ #[doc = "The `multiplySelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/multiplySelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn multiply_self(this: &DomMatrix, other: &DomMatrix) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = preMultiplySelf)]
+ #[doc = "The `preMultiplySelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/preMultiplySelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn pre_multiply_self(this: &DomMatrix, other: &DomMatrix) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = rotateAxisAngleSelf)]
+ #[doc = "The `rotateAxisAngleSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateAxisAngleSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn rotate_axis_angle_self(
+ this: &DomMatrix,
+ x: f64,
+ y: f64,
+ z: f64,
+ angle: f64,
+ ) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = rotateFromVectorSelf)]
+ #[doc = "The `rotateFromVectorSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateFromVectorSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn rotate_from_vector_self(this: &DomMatrix, x: f64, y: f64) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = rotateSelf)]
+ #[doc = "The `rotateSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn rotate_self(this: &DomMatrix, angle: f64) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = rotateSelf)]
+ #[doc = "The `rotateSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn rotate_self_with_origin_x(this: &DomMatrix, angle: f64, origin_x: f64) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = rotateSelf)]
+ #[doc = "The `rotateSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn rotate_self_with_origin_x_and_origin_y(
+ this: &DomMatrix,
+ angle: f64,
+ origin_x: f64,
+ origin_y: f64,
+ ) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scale3dSelf)]
+ #[doc = "The `scale3dSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale3d_self(this: &DomMatrix, scale: f64) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scale3dSelf)]
+ #[doc = "The `scale3dSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale3d_self_with_origin_x(this: &DomMatrix, scale: f64, origin_x: f64) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scale3dSelf)]
+ #[doc = "The `scale3dSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale3d_self_with_origin_x_and_origin_y(
+ this: &DomMatrix,
+ scale: f64,
+ origin_x: f64,
+ origin_y: f64,
+ ) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scale3dSelf)]
+ #[doc = "The `scale3dSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale3d_self_with_origin_x_and_origin_y_and_origin_z(
+ this: &DomMatrix,
+ scale: f64,
+ origin_x: f64,
+ origin_y: f64,
+ origin_z: f64,
+ ) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scaleNonUniformSelf)]
+ #[doc = "The `scaleNonUniformSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale_non_uniform_self(this: &DomMatrix, scale_x: f64) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scaleNonUniformSelf)]
+ #[doc = "The `scaleNonUniformSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale_non_uniform_self_with_scale_y(
+ this: &DomMatrix,
+ scale_x: f64,
+ scale_y: f64,
+ ) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scaleNonUniformSelf)]
+ #[doc = "The `scaleNonUniformSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale_non_uniform_self_with_scale_y_and_scale_z(
+ this: &DomMatrix,
+ scale_x: f64,
+ scale_y: f64,
+ scale_z: f64,
+ ) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scaleNonUniformSelf)]
+ #[doc = "The `scaleNonUniformSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x(
+ this: &DomMatrix,
+ scale_x: f64,
+ scale_y: f64,
+ scale_z: f64,
+ origin_x: f64,
+ ) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scaleNonUniformSelf)]
+ #[doc = "The `scaleNonUniformSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y(
+ this: &DomMatrix,
+ scale_x: f64,
+ scale_y: f64,
+ scale_z: f64,
+ origin_x: f64,
+ origin_y: f64,
+ ) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scaleNonUniformSelf)]
+ #[doc = "The `scaleNonUniformSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z(
+ this: &DomMatrix,
+ scale_x: f64,
+ scale_y: f64,
+ scale_z: f64,
+ origin_x: f64,
+ origin_y: f64,
+ origin_z: f64,
+ ) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scaleSelf)]
+ #[doc = "The `scaleSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale_self(this: &DomMatrix, scale: f64) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scaleSelf)]
+ #[doc = "The `scaleSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale_self_with_origin_x(this: &DomMatrix, scale: f64, origin_x: f64) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = scaleSelf)]
+ #[doc = "The `scaleSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn scale_self_with_origin_x_and_origin_y(
+ this: &DomMatrix,
+ scale: f64,
+ origin_x: f64,
+ origin_y: f64,
+ ) -> DomMatrix;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMMatrix" , js_name = setMatrixValue)]
+ #[doc = "The `setMatrixValue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/setMatrixValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn set_matrix_value(this: &DomMatrix, transform_list: &str) -> Result<DomMatrix, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = skewXSelf)]
+ #[doc = "The `skewXSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/skewXSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn skew_x_self(this: &DomMatrix, sx: f64) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = skewYSelf)]
+ #[doc = "The `skewYSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/skewYSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn skew_y_self(this: &DomMatrix, sy: f64) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = translateSelf)]
+ #[doc = "The `translateSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/translateSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn translate_self(this: &DomMatrix, tx: f64, ty: f64) -> DomMatrix;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrix" , js_name = translateSelf)]
+ #[doc = "The `translateSelf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/translateSelf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
+ pub fn translate_self_with_tz(this: &DomMatrix, tx: f64, ty: f64, tz: f64) -> DomMatrix;
+}
diff --git a/vendor/web-sys/src/features/gen_DomMatrixReadOnly.rs b/vendor/web-sys/src/features/gen_DomMatrixReadOnly.rs
new file mode 100644
index 000000000..a31e55465
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomMatrixReadOnly.rs
@@ -0,0 +1,507 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMMatrixReadOnly , typescript_type = "DOMMatrixReadOnly")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomMatrixReadOnly` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub type DomMatrixReadOnly;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = a)]
+ #[doc = "Getter for the `a` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/a)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn a(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = b)]
+ #[doc = "Getter for the `b` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/b)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn b(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = c)]
+ #[doc = "Getter for the `c` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/c)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn c(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = d)]
+ #[doc = "Getter for the `d` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/d)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn d(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = e)]
+ #[doc = "Getter for the `e` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/e)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn e(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = f)]
+ #[doc = "Getter for the `f` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn f(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m11)]
+ #[doc = "Getter for the `m11` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m11)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m11(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m12)]
+ #[doc = "Getter for the `m12` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m12)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m12(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m13)]
+ #[doc = "Getter for the `m13` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m13)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m13(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m14)]
+ #[doc = "Getter for the `m14` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m14)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m14(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m21)]
+ #[doc = "Getter for the `m21` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m21)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m21(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m22)]
+ #[doc = "Getter for the `m22` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m22)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m22(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m23)]
+ #[doc = "Getter for the `m23` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m23)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m23(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m24)]
+ #[doc = "Getter for the `m24` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m24)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m24(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m31)]
+ #[doc = "Getter for the `m31` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m31)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m31(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m32)]
+ #[doc = "Getter for the `m32` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m32)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m32(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m33)]
+ #[doc = "Getter for the `m33` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m33)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m33(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m34)]
+ #[doc = "Getter for the `m34` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m34)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m34(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m41)]
+ #[doc = "Getter for the `m41` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m41)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m41(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m42)]
+ #[doc = "Getter for the `m42` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m42)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m42(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m43)]
+ #[doc = "Getter for the `m43` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m43)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m43(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m44)]
+ #[doc = "Getter for the `m44` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m44)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn m44(this: &DomMatrixReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = is2D)]
+ #[doc = "Getter for the `is2D` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/is2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn is_2d(this: &DomMatrixReadOnly) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = isIdentity)]
+ #[doc = "Getter for the `isIdentity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/isIdentity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn is_identity(this: &DomMatrixReadOnly) -> bool;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMMatrixReadOnly")]
+ #[doc = "The `new DomMatrixReadOnly(..)` constructor, creating a new instance of `DomMatrixReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/DOMMatrixReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn new() -> Result<DomMatrixReadOnly, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMMatrixReadOnly")]
+ #[doc = "The `new DomMatrixReadOnly(..)` constructor, creating a new instance of `DomMatrixReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/DOMMatrixReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn new_with_str(init: &str) -> Result<DomMatrixReadOnly, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMMatrixReadOnly")]
+ #[doc = "The `new DomMatrixReadOnly(..)` constructor, creating a new instance of `DomMatrixReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/DOMMatrixReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn new_with_f64_sequence(
+ init: &::wasm_bindgen::JsValue,
+ ) -> Result<DomMatrixReadOnly, JsValue>;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = flipX)]
+ #[doc = "The `flipX()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/flipX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn flip_x(this: &DomMatrixReadOnly) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = flipY)]
+ #[doc = "The `flipY()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/flipY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn flip_y(this: &DomMatrixReadOnly) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = inverse)]
+ #[doc = "The `inverse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/inverse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn inverse(this: &DomMatrixReadOnly) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = multiply)]
+ #[doc = "The `multiply()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/multiply)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn multiply(this: &DomMatrixReadOnly, other: &DomMatrix) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = rotate)]
+ #[doc = "The `rotate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn rotate(this: &DomMatrixReadOnly, angle: f64) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = rotate)]
+ #[doc = "The `rotate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn rotate_with_origin_x(this: &DomMatrixReadOnly, angle: f64, origin_x: f64) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = rotate)]
+ #[doc = "The `rotate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn rotate_with_origin_x_and_origin_y(
+ this: &DomMatrixReadOnly,
+ angle: f64,
+ origin_x: f64,
+ origin_y: f64,
+ ) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = rotateAxisAngle)]
+ #[doc = "The `rotateAxisAngle()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn rotate_axis_angle(
+ this: &DomMatrixReadOnly,
+ x: f64,
+ y: f64,
+ z: f64,
+ angle: f64,
+ ) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = rotateFromVector)]
+ #[doc = "The `rotateFromVector()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotateFromVector)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn rotate_from_vector(this: &DomMatrixReadOnly, x: f64, y: f64) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale)]
+ #[doc = "The `scale()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale(this: &DomMatrixReadOnly, scale: f64) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale)]
+ #[doc = "The `scale()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale_with_origin_x(this: &DomMatrixReadOnly, scale: f64, origin_x: f64) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale)]
+ #[doc = "The `scale()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale_with_origin_x_and_origin_y(
+ this: &DomMatrixReadOnly,
+ scale: f64,
+ origin_x: f64,
+ origin_y: f64,
+ ) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale3d)]
+ #[doc = "The `scale3d()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale3d(this: &DomMatrixReadOnly, scale: f64) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale3d)]
+ #[doc = "The `scale3d()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale3d_with_origin_x(this: &DomMatrixReadOnly, scale: f64, origin_x: f64) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale3d)]
+ #[doc = "The `scale3d()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale3d_with_origin_x_and_origin_y(
+ this: &DomMatrixReadOnly,
+ scale: f64,
+ origin_x: f64,
+ origin_y: f64,
+ ) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale3d)]
+ #[doc = "The `scale3d()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale3d_with_origin_x_and_origin_y_and_origin_z(
+ this: &DomMatrixReadOnly,
+ scale: f64,
+ origin_x: f64,
+ origin_y: f64,
+ origin_z: f64,
+ ) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform)]
+ #[doc = "The `scaleNonUniform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale_non_uniform(this: &DomMatrixReadOnly, scale_x: f64) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform)]
+ #[doc = "The `scaleNonUniform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale_non_uniform_with_scale_y(
+ this: &DomMatrixReadOnly,
+ scale_x: f64,
+ scale_y: f64,
+ ) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform)]
+ #[doc = "The `scaleNonUniform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale_non_uniform_with_scale_y_and_scale_z(
+ this: &DomMatrixReadOnly,
+ scale_x: f64,
+ scale_y: f64,
+ scale_z: f64,
+ ) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform)]
+ #[doc = "The `scaleNonUniform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x(
+ this: &DomMatrixReadOnly,
+ scale_x: f64,
+ scale_y: f64,
+ scale_z: f64,
+ origin_x: f64,
+ ) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform)]
+ #[doc = "The `scaleNonUniform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y(
+ this: &DomMatrixReadOnly,
+ scale_x: f64,
+ scale_y: f64,
+ scale_z: f64,
+ origin_x: f64,
+ origin_y: f64,
+ ) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform)]
+ #[doc = "The `scaleNonUniform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z(
+ this: &DomMatrixReadOnly,
+ scale_x: f64,
+ scale_y: f64,
+ scale_z: f64,
+ origin_x: f64,
+ origin_y: f64,
+ origin_z: f64,
+ ) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = skewX)]
+ #[doc = "The `skewX()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/skewX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn skew_x(this: &DomMatrixReadOnly, sx: f64) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = skewY)]
+ #[doc = "The `skewY()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/skewY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn skew_y(this: &DomMatrixReadOnly, sy: f64) -> DomMatrix;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMMatrixReadOnly" , js_name = toFloat32Array)]
+ #[doc = "The `toFloat32Array()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/toFloat32Array)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn to_float32_array(this: &DomMatrixReadOnly) -> Result<Vec<f32>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMMatrixReadOnly" , js_name = toFloat64Array)]
+ #[doc = "The `toFloat64Array()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/toFloat64Array)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn to_float64_array(this: &DomMatrixReadOnly) -> Result<Vec<f64>, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
+ pub fn to_json(this: &DomMatrixReadOnly) -> ::js_sys::Object;
+ #[cfg(feature = "DomPoint")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = transformPoint)]
+ #[doc = "The `transformPoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/transformPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`, `DomPoint`*"]
+ pub fn transform_point(this: &DomMatrixReadOnly) -> DomPoint;
+ #[cfg(all(feature = "DomPoint", feature = "DomPointInit",))]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = transformPoint)]
+ #[doc = "The `transformPoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/transformPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`, `DomPoint`, `DomPointInit`*"]
+ pub fn transform_point_with_point(this: &DomMatrixReadOnly, point: &DomPointInit) -> DomPoint;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = translate)]
+ #[doc = "The `translate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/translate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn translate(this: &DomMatrixReadOnly, tx: f64, ty: f64) -> DomMatrix;
+ #[cfg(feature = "DomMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = translate)]
+ #[doc = "The `translate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/translate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
+ pub fn translate_with_tz(this: &DomMatrixReadOnly, tx: f64, ty: f64, tz: f64) -> DomMatrix;
+}
diff --git a/vendor/web-sys/src/features/gen_DomParser.rs b/vendor/web-sys/src/features/gen_DomParser.rs
new file mode 100644
index 000000000..97385ccfe
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomParser.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMParser , typescript_type = "DOMParser")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomParser` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomParser`*"]
+ pub type DomParser;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMParser")]
+ #[doc = "The `new DomParser(..)` constructor, creating a new instance of `DomParser`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/DOMParser)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomParser`*"]
+ pub fn new() -> Result<DomParser, JsValue>;
+ #[cfg(all(feature = "Document", feature = "SupportedType",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMParser" , js_name = parseFromString)]
+ #[doc = "The `parseFromString()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomParser`, `SupportedType`*"]
+ pub fn parse_from_string(
+ this: &DomParser,
+ str: &str,
+ type_: SupportedType,
+ ) -> Result<Document, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DomPoint.rs b/vendor/web-sys/src/features/gen_DomPoint.rs
new file mode 100644
index 000000000..5a563cde7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomPoint.rs
@@ -0,0 +1,125 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = DomPointReadOnly , extends = :: js_sys :: Object , js_name = DOMPoint , typescript_type = "DOMPoint")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomPoint` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub type DomPoint;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMPoint" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn x(this: &DomPoint) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMPoint" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn set_x(this: &DomPoint, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMPoint" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn y(this: &DomPoint) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMPoint" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn set_y(this: &DomPoint, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMPoint" , js_name = z)]
+ #[doc = "Getter for the `z` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/z)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn z(this: &DomPoint) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMPoint" , js_name = z)]
+ #[doc = "Setter for the `z` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/z)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn set_z(this: &DomPoint, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMPoint" , js_name = w)]
+ #[doc = "Getter for the `w` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/w)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn w(this: &DomPoint) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMPoint" , js_name = w)]
+ #[doc = "Setter for the `w` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/w)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn set_w(this: &DomPoint, value: f64);
+ #[wasm_bindgen(catch, constructor, js_class = "DOMPoint")]
+ #[doc = "The `new DomPoint(..)` constructor, creating a new instance of `DomPoint`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn new() -> Result<DomPoint, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMPoint")]
+ #[doc = "The `new DomPoint(..)` constructor, creating a new instance of `DomPoint`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn new_with_x(x: f64) -> Result<DomPoint, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMPoint")]
+ #[doc = "The `new DomPoint(..)` constructor, creating a new instance of `DomPoint`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn new_with_x_and_y(x: f64, y: f64) -> Result<DomPoint, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMPoint")]
+ #[doc = "The `new DomPoint(..)` constructor, creating a new instance of `DomPoint`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn new_with_x_and_y_and_z(x: f64, y: f64, z: f64) -> Result<DomPoint, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMPoint")]
+ #[doc = "The `new DomPoint(..)` constructor, creating a new instance of `DomPoint`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn new_with_x_and_y_and_z_and_w(
+ x: f64,
+ y: f64,
+ z: f64,
+ w: f64,
+ ) -> Result<DomPoint, JsValue>;
+ # [wasm_bindgen (static_method_of = DomPoint , js_class = "DOMPoint" , js_name = fromPoint)]
+ #[doc = "The `fromPoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/fromPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`*"]
+ pub fn from_point() -> DomPoint;
+ #[cfg(feature = "DomPointInit")]
+ # [wasm_bindgen (static_method_of = DomPoint , js_class = "DOMPoint" , js_name = fromPoint)]
+ #[doc = "The `fromPoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/fromPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`*"]
+ pub fn from_point_with_other(other: &DomPointInit) -> DomPoint;
+}
diff --git a/vendor/web-sys/src/features/gen_DomPointInit.rs b/vendor/web-sys/src/features/gen_DomPointInit.rs
new file mode 100644
index 000000000..51be45cc5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomPointInit.rs
@@ -0,0 +1,79 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMPointInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomPointInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`*"]
+ pub type DomPointInit;
+}
+impl DomPointInit {
+ #[doc = "Construct a new `DomPointInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `w` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`*"]
+ pub fn w(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("w"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`*"]
+ pub fn x(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("x"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`*"]
+ pub fn y(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("y"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `z` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`*"]
+ pub fn z(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("z"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DomPointInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DomPointReadOnly.rs b/vendor/web-sys/src/features/gen_DomPointReadOnly.rs
new file mode 100644
index 000000000..2601722c0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomPointReadOnly.rs
@@ -0,0 +1,104 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMPointReadOnly , typescript_type = "DOMPointReadOnly")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomPointReadOnly` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`*"]
+ pub type DomPointReadOnly;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMPointReadOnly" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`*"]
+ pub fn x(this: &DomPointReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMPointReadOnly" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`*"]
+ pub fn y(this: &DomPointReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMPointReadOnly" , js_name = z)]
+ #[doc = "Getter for the `z` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/z)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`*"]
+ pub fn z(this: &DomPointReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMPointReadOnly" , js_name = w)]
+ #[doc = "Getter for the `w` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/w)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`*"]
+ pub fn w(this: &DomPointReadOnly) -> f64;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMPointReadOnly")]
+ #[doc = "The `new DomPointReadOnly(..)` constructor, creating a new instance of `DomPointReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`*"]
+ pub fn new() -> Result<DomPointReadOnly, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMPointReadOnly")]
+ #[doc = "The `new DomPointReadOnly(..)` constructor, creating a new instance of `DomPointReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`*"]
+ pub fn new_with_x(x: f64) -> Result<DomPointReadOnly, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMPointReadOnly")]
+ #[doc = "The `new DomPointReadOnly(..)` constructor, creating a new instance of `DomPointReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`*"]
+ pub fn new_with_x_and_y(x: f64, y: f64) -> Result<DomPointReadOnly, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMPointReadOnly")]
+ #[doc = "The `new DomPointReadOnly(..)` constructor, creating a new instance of `DomPointReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`*"]
+ pub fn new_with_x_and_y_and_z(x: f64, y: f64, z: f64) -> Result<DomPointReadOnly, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMPointReadOnly")]
+ #[doc = "The `new DomPointReadOnly(..)` constructor, creating a new instance of `DomPointReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`*"]
+ pub fn new_with_x_and_y_and_z_and_w(
+ x: f64,
+ y: f64,
+ z: f64,
+ w: f64,
+ ) -> Result<DomPointReadOnly, JsValue>;
+ # [wasm_bindgen (static_method_of = DomPointReadOnly , js_class = "DOMPointReadOnly" , js_name = fromPoint)]
+ #[doc = "The `fromPoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/fromPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`*"]
+ pub fn from_point() -> DomPointReadOnly;
+ #[cfg(feature = "DomPointInit")]
+ # [wasm_bindgen (static_method_of = DomPointReadOnly , js_class = "DOMPointReadOnly" , js_name = fromPoint)]
+ #[doc = "The `fromPoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/fromPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `DomPointReadOnly`*"]
+ pub fn from_point_with_other(other: &DomPointInit) -> DomPointReadOnly;
+ # [wasm_bindgen (method , structural , js_class = "DOMPointReadOnly" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`*"]
+ pub fn to_json(this: &DomPointReadOnly) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_DomQuad.rs b/vendor/web-sys/src/features/gen_DomQuad.rs
new file mode 100644
index 000000000..26b87535e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomQuad.rs
@@ -0,0 +1,129 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMQuad , typescript_type = "DOMQuad")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomQuad` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`*"]
+ pub type DomQuad;
+ #[cfg(feature = "DomPoint")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMQuad" , js_name = p1)]
+ #[doc = "Getter for the `p1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/p1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomQuad`*"]
+ pub fn p1(this: &DomQuad) -> DomPoint;
+ #[cfg(feature = "DomPoint")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMQuad" , js_name = p2)]
+ #[doc = "Getter for the `p2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/p2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomQuad`*"]
+ pub fn p2(this: &DomQuad) -> DomPoint;
+ #[cfg(feature = "DomPoint")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMQuad" , js_name = p3)]
+ #[doc = "Getter for the `p3` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/p3)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomQuad`*"]
+ pub fn p3(this: &DomQuad) -> DomPoint;
+ #[cfg(feature = "DomPoint")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMQuad" , js_name = p4)]
+ #[doc = "Getter for the `p4` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/p4)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomQuad`*"]
+ pub fn p4(this: &DomQuad) -> DomPoint;
+ #[cfg(feature = "DomRectReadOnly")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMQuad" , js_name = bounds)]
+ #[doc = "Getter for the `bounds` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/bounds)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`*"]
+ pub fn bounds(this: &DomQuad) -> DomRectReadOnly;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMQuad")]
+ #[doc = "The `new DomQuad(..)` constructor, creating a new instance of `DomQuad`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`*"]
+ pub fn new() -> Result<DomQuad, JsValue>;
+ #[cfg(feature = "DomPointInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "DOMQuad")]
+ #[doc = "The `new DomQuad(..)` constructor, creating a new instance of `DomQuad`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `DomQuad`*"]
+ pub fn new_with_dom_point_init(p1: &DomPointInit) -> Result<DomQuad, JsValue>;
+ #[cfg(feature = "DomPointInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "DOMQuad")]
+ #[doc = "The `new DomQuad(..)` constructor, creating a new instance of `DomQuad`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `DomQuad`*"]
+ pub fn new_with_dom_point_init_and_p2(
+ p1: &DomPointInit,
+ p2: &DomPointInit,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(feature = "DomPointInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "DOMQuad")]
+ #[doc = "The `new DomQuad(..)` constructor, creating a new instance of `DomQuad`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `DomQuad`*"]
+ pub fn new_with_dom_point_init_and_p2_and_p3(
+ p1: &DomPointInit,
+ p2: &DomPointInit,
+ p3: &DomPointInit,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(feature = "DomPointInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "DOMQuad")]
+ #[doc = "The `new DomQuad(..)` constructor, creating a new instance of `DomQuad`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `DomQuad`*"]
+ pub fn new_with_dom_point_init_and_p2_and_p3_and_p4(
+ p1: &DomPointInit,
+ p2: &DomPointInit,
+ p3: &DomPointInit,
+ p4: &DomPointInit,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(feature = "DomRectReadOnly")]
+ #[wasm_bindgen(catch, constructor, js_class = "DOMQuad")]
+ #[doc = "The `new DomQuad(..)` constructor, creating a new instance of `DomQuad`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`*"]
+ pub fn new_with_rect(rect: &DomRectReadOnly) -> Result<DomQuad, JsValue>;
+ #[cfg(feature = "DomRectReadOnly")]
+ # [wasm_bindgen (method , structural , js_class = "DOMQuad" , js_name = getBounds)]
+ #[doc = "The `getBounds()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/getBounds)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`*"]
+ pub fn get_bounds(this: &DomQuad) -> DomRectReadOnly;
+ #[cfg(feature = "DomQuadJson")]
+ # [wasm_bindgen (method , structural , js_class = "DOMQuad" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomQuadJson`*"]
+ pub fn to_json(this: &DomQuad) -> DomQuadJson;
+}
diff --git a/vendor/web-sys/src/features/gen_DomQuadInit.rs b/vendor/web-sys/src/features/gen_DomQuadInit.rs
new file mode 100644
index 000000000..3bd7d9075
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomQuadInit.rs
@@ -0,0 +1,83 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMQuadInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomQuadInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuadInit`*"]
+ pub type DomQuadInit;
+}
+impl DomQuadInit {
+ #[doc = "Construct a new `DomQuadInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuadInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "DomPointInit")]
+ #[doc = "Change the `p1` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `DomQuadInit`*"]
+ pub fn p1(&mut self, val: &DomPointInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("p1"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DomPointInit")]
+ #[doc = "Change the `p2` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `DomQuadInit`*"]
+ pub fn p2(&mut self, val: &DomPointInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("p2"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DomPointInit")]
+ #[doc = "Change the `p3` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `DomQuadInit`*"]
+ pub fn p3(&mut self, val: &DomPointInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("p3"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DomPointInit")]
+ #[doc = "Change the `p4` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `DomQuadInit`*"]
+ pub fn p4(&mut self, val: &DomPointInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("p4"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DomQuadInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DomQuadJson.rs b/vendor/web-sys/src/features/gen_DomQuadJson.rs
new file mode 100644
index 000000000..d3316d975
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomQuadJson.rs
@@ -0,0 +1,83 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMQuadJSON)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomQuadJson` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuadJson`*"]
+ pub type DomQuadJson;
+}
+impl DomQuadJson {
+ #[doc = "Construct a new `DomQuadJson`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuadJson`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "DomPoint")]
+ #[doc = "Change the `p1` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomQuadJson`*"]
+ pub fn p1(&mut self, val: &DomPoint) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("p1"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DomPoint")]
+ #[doc = "Change the `p2` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomQuadJson`*"]
+ pub fn p2(&mut self, val: &DomPoint) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("p2"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DomPoint")]
+ #[doc = "Change the `p3` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomQuadJson`*"]
+ pub fn p3(&mut self, val: &DomPoint) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("p3"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DomPoint")]
+ #[doc = "Change the `p4` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomQuadJson`*"]
+ pub fn p4(&mut self, val: &DomPoint) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("p4"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DomQuadJson {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DomRect.rs b/vendor/web-sys/src/features/gen_DomRect.rs
new file mode 100644
index 000000000..0d3a02988
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomRect.rs
@@ -0,0 +1,110 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = DomRectReadOnly , extends = :: js_sys :: Object , js_name = DOMRect , typescript_type = "DOMRect")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomRect` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub type DomRect;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRect" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn x(this: &DomRect) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMRect" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn set_x(this: &DomRect, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRect" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn y(this: &DomRect) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMRect" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn set_y(this: &DomRect, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRect" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn width(this: &DomRect) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMRect" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn set_width(this: &DomRect, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRect" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn height(this: &DomRect) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMRect" , js_name = height)]
+ #[doc = "Setter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn set_height(this: &DomRect, value: f64);
+ #[wasm_bindgen(catch, constructor, js_class = "DOMRect")]
+ #[doc = "The `new DomRect(..)` constructor, creating a new instance of `DomRect`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn new() -> Result<DomRect, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMRect")]
+ #[doc = "The `new DomRect(..)` constructor, creating a new instance of `DomRect`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn new_with_x(x: f64) -> Result<DomRect, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMRect")]
+ #[doc = "The `new DomRect(..)` constructor, creating a new instance of `DomRect`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn new_with_x_and_y(x: f64, y: f64) -> Result<DomRect, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMRect")]
+ #[doc = "The `new DomRect(..)` constructor, creating a new instance of `DomRect`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn new_with_x_and_y_and_width(x: f64, y: f64, width: f64) -> Result<DomRect, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMRect")]
+ #[doc = "The `new DomRect(..)` constructor, creating a new instance of `DomRect`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`*"]
+ pub fn new_with_x_and_y_and_width_and_height(
+ x: f64,
+ y: f64,
+ width: f64,
+ height: f64,
+ ) -> Result<DomRect, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DomRectInit.rs b/vendor/web-sys/src/features/gen_DomRectInit.rs
new file mode 100644
index 000000000..ab4a54a2b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomRectInit.rs
@@ -0,0 +1,80 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMRectInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomRectInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`*"]
+ pub type DomRectInit;
+}
+impl DomRectInit {
+ #[doc = "Construct a new `DomRectInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`*"]
+ pub fn height(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("height"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`*"]
+ pub fn width(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("width"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`*"]
+ pub fn x(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("x"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`*"]
+ pub fn y(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("y"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DomRectInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DomRectList.rs b/vendor/web-sys/src/features/gen_DomRectList.rs
new file mode 100644
index 000000000..e668a8492
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomRectList.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMRectList , typescript_type = "DOMRectList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomRectList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectList`*"]
+ pub type DomRectList;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRectList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectList`*"]
+ pub fn length(this: &DomRectList) -> u32;
+ #[cfg(feature = "DomRect")]
+ # [wasm_bindgen (method , structural , js_class = "DOMRectList" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectList/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`, `DomRectList`*"]
+ pub fn item(this: &DomRectList, index: u32) -> Option<DomRect>;
+ #[cfg(feature = "DomRect")]
+ #[wasm_bindgen(method, structural, js_class = "DOMRectList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`, `DomRectList`*"]
+ pub fn get(this: &DomRectList, index: u32) -> Option<DomRect>;
+}
diff --git a/vendor/web-sys/src/features/gen_DomRectReadOnly.rs b/vendor/web-sys/src/features/gen_DomRectReadOnly.rs
new file mode 100644
index 000000000..1b48f02b1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomRectReadOnly.rs
@@ -0,0 +1,121 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMRectReadOnly , typescript_type = "DOMRectReadOnly")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomRectReadOnly` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub type DomRectReadOnly;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRectReadOnly" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn x(this: &DomRectReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRectReadOnly" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn y(this: &DomRectReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRectReadOnly" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn width(this: &DomRectReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRectReadOnly" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn height(this: &DomRectReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRectReadOnly" , js_name = top)]
+ #[doc = "Getter for the `top` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/top)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn top(this: &DomRectReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRectReadOnly" , js_name = right)]
+ #[doc = "Getter for the `right` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/right)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn right(this: &DomRectReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRectReadOnly" , js_name = bottom)]
+ #[doc = "Getter for the `bottom` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/bottom)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn bottom(this: &DomRectReadOnly) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRectReadOnly" , js_name = left)]
+ #[doc = "Getter for the `left` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/left)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn left(this: &DomRectReadOnly) -> f64;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMRectReadOnly")]
+ #[doc = "The `new DomRectReadOnly(..)` constructor, creating a new instance of `DomRectReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn new() -> Result<DomRectReadOnly, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMRectReadOnly")]
+ #[doc = "The `new DomRectReadOnly(..)` constructor, creating a new instance of `DomRectReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn new_with_x(x: f64) -> Result<DomRectReadOnly, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMRectReadOnly")]
+ #[doc = "The `new DomRectReadOnly(..)` constructor, creating a new instance of `DomRectReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn new_with_x_and_y(x: f64, y: f64) -> Result<DomRectReadOnly, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMRectReadOnly")]
+ #[doc = "The `new DomRectReadOnly(..)` constructor, creating a new instance of `DomRectReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn new_with_x_and_y_and_width(
+ x: f64,
+ y: f64,
+ width: f64,
+ ) -> Result<DomRectReadOnly, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "DOMRectReadOnly")]
+ #[doc = "The `new DomRectReadOnly(..)` constructor, creating a new instance of `DomRectReadOnly`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn new_with_x_and_y_and_width_and_height(
+ x: f64,
+ y: f64,
+ width: f64,
+ height: f64,
+ ) -> Result<DomRectReadOnly, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "DOMRectReadOnly" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`*"]
+ pub fn to_json(this: &DomRectReadOnly) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_DomRequest.rs b/vendor/web-sys/src/features/gen_DomRequest.rs
new file mode 100644
index 000000000..05e678563
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomRequest.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = DOMRequest , typescript_type = "DOMRequest")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomRequest` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRequest`*"]
+ pub type DomRequest;
+ #[cfg(feature = "DomRequestReadyState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRequest" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRequest`, `DomRequestReadyState`*"]
+ pub fn ready_state(this: &DomRequest) -> DomRequestReadyState;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRequest" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRequest`*"]
+ pub fn result(this: &DomRequest) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "DomException")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRequest" , js_name = error)]
+ #[doc = "Getter for the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`, `DomRequest`*"]
+ pub fn error(this: &DomRequest) -> Option<DomException>;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRequest" , js_name = onsuccess)]
+ #[doc = "Getter for the `onsuccess` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/onsuccess)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRequest`*"]
+ pub fn onsuccess(this: &DomRequest) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMRequest" , js_name = onsuccess)]
+ #[doc = "Setter for the `onsuccess` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/onsuccess)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRequest`*"]
+ pub fn set_onsuccess(this: &DomRequest, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMRequest" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRequest`*"]
+ pub fn onerror(this: &DomRequest) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMRequest" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRequest`*"]
+ pub fn set_onerror(this: &DomRequest, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMRequest" , js_name = then)]
+ #[doc = "The `then()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/then)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRequest`*"]
+ pub fn then(this: &DomRequest) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMRequest" , js_name = then)]
+ #[doc = "The `then()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/then)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRequest`*"]
+ pub fn then_with_fulfill_callback(
+ this: &DomRequest,
+ fulfill_callback: Option<&::js_sys::Function>,
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMRequest" , js_name = then)]
+ #[doc = "The `then()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/then)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRequest`*"]
+ pub fn then_with_fulfill_callback_and_reject_callback(
+ this: &DomRequest,
+ fulfill_callback: Option<&::js_sys::Function>,
+ reject_callback: Option<&::js_sys::Function>,
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DomRequestReadyState.rs b/vendor/web-sys/src/features/gen_DomRequestReadyState.rs
new file mode 100644
index 000000000..179f9478e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomRequestReadyState.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `DomRequestReadyState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `DomRequestReadyState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum DomRequestReadyState {
+ Pending = "pending",
+ Done = "done",
+}
diff --git a/vendor/web-sys/src/features/gen_DomStringList.rs b/vendor/web-sys/src/features/gen_DomStringList.rs
new file mode 100644
index 000000000..1b932f291
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomStringList.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMStringList , typescript_type = "DOMStringList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomStringList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringList`*"]
+ pub type DomStringList;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMStringList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringList`*"]
+ pub fn length(this: &DomStringList) -> u32;
+ # [wasm_bindgen (method , structural , js_class = "DOMStringList" , js_name = contains)]
+ #[doc = "The `contains()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList/contains)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringList`*"]
+ pub fn contains(this: &DomStringList, string: &str) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "DOMStringList" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringList`*"]
+ pub fn item(this: &DomStringList, index: u32) -> Option<String>;
+ #[wasm_bindgen(method, structural, js_class = "DOMStringList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringList`*"]
+ pub fn get(this: &DomStringList, index: u32) -> Option<String>;
+}
diff --git a/vendor/web-sys/src/features/gen_DomStringMap.rs b/vendor/web-sys/src/features/gen_DomStringMap.rs
new file mode 100644
index 000000000..c102f1085
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomStringMap.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMStringMap , typescript_type = "DOMStringMap")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomStringMap` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringMap`*"]
+ pub type DomStringMap;
+ #[wasm_bindgen(method, structural, js_class = "DOMStringMap", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringMap`*"]
+ pub fn get(this: &DomStringMap, name: &str) -> Option<String>;
+ #[wasm_bindgen(catch, method, structural, js_class = "DOMStringMap", indexing_setter)]
+ #[doc = "Indexing setter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringMap`*"]
+ pub fn set(this: &DomStringMap, name: &str, value: &str) -> Result<(), JsValue>;
+ #[wasm_bindgen(method, structural, js_class = "DOMStringMap", indexing_deleter)]
+ #[doc = "Indexing deleter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringMap`*"]
+ pub fn delete(this: &DomStringMap, name: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_DomTokenList.rs b/vendor/web-sys/src/features/gen_DomTokenList.rs
new file mode 100644
index 000000000..a097863d6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomTokenList.rs
@@ -0,0 +1,284 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMTokenList , typescript_type = "DOMTokenList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomTokenList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub type DomTokenList;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMTokenList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn length(this: &DomTokenList) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "DOMTokenList" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn value(this: &DomTokenList) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "DOMTokenList" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn set_value(this: &DomTokenList, value: &str);
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "DOMTokenList" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn add(this: &DomTokenList, tokens: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn add_0(this: &DomTokenList) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn add_1(this: &DomTokenList, tokens_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn add_2(this: &DomTokenList, tokens_1: &str, tokens_2: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn add_3(
+ this: &DomTokenList,
+ tokens_1: &str,
+ tokens_2: &str,
+ tokens_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn add_4(
+ this: &DomTokenList,
+ tokens_1: &str,
+ tokens_2: &str,
+ tokens_3: &str,
+ tokens_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn add_5(
+ this: &DomTokenList,
+ tokens_1: &str,
+ tokens_2: &str,
+ tokens_3: &str,
+ tokens_4: &str,
+ tokens_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn add_6(
+ this: &DomTokenList,
+ tokens_1: &str,
+ tokens_2: &str,
+ tokens_3: &str,
+ tokens_4: &str,
+ tokens_5: &str,
+ tokens_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn add_7(
+ this: &DomTokenList,
+ tokens_1: &str,
+ tokens_2: &str,
+ tokens_3: &str,
+ tokens_4: &str,
+ tokens_5: &str,
+ tokens_6: &str,
+ tokens_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "DOMTokenList" , js_name = contains)]
+ #[doc = "The `contains()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/contains)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn contains(this: &DomTokenList, token: &str) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "DOMTokenList" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn item(this: &DomTokenList, index: u32) -> Option<String>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "DOMTokenList" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn remove(this: &DomTokenList, tokens: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn remove_0(this: &DomTokenList) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn remove_1(this: &DomTokenList, tokens_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn remove_2(this: &DomTokenList, tokens_1: &str, tokens_2: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn remove_3(
+ this: &DomTokenList,
+ tokens_1: &str,
+ tokens_2: &str,
+ tokens_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn remove_4(
+ this: &DomTokenList,
+ tokens_1: &str,
+ tokens_2: &str,
+ tokens_3: &str,
+ tokens_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn remove_5(
+ this: &DomTokenList,
+ tokens_1: &str,
+ tokens_2: &str,
+ tokens_3: &str,
+ tokens_4: &str,
+ tokens_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn remove_6(
+ this: &DomTokenList,
+ tokens_1: &str,
+ tokens_2: &str,
+ tokens_3: &str,
+ tokens_4: &str,
+ tokens_5: &str,
+ tokens_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn remove_7(
+ this: &DomTokenList,
+ tokens_1: &str,
+ tokens_2: &str,
+ tokens_3: &str,
+ tokens_4: &str,
+ tokens_5: &str,
+ tokens_6: &str,
+ tokens_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = replace)]
+ #[doc = "The `replace()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/replace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn replace(this: &DomTokenList, token: &str, new_token: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = supports)]
+ #[doc = "The `supports()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/supports)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn supports(this: &DomTokenList, token: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = toggle)]
+ #[doc = "The `toggle()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/toggle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn toggle(this: &DomTokenList, token: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "DOMTokenList" , js_name = toggle)]
+ #[doc = "The `toggle()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/toggle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn toggle_with_force(
+ this: &DomTokenList,
+ token: &str,
+ force: bool,
+ ) -> Result<bool, JsValue>;
+ #[wasm_bindgen(method, structural, js_class = "DOMTokenList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`*"]
+ pub fn get(this: &DomTokenList, index: u32) -> Option<String>;
+}
diff --git a/vendor/web-sys/src/features/gen_DomWindowResizeEventDetail.rs b/vendor/web-sys/src/features/gen_DomWindowResizeEventDetail.rs
new file mode 100644
index 000000000..7bf972f04
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DomWindowResizeEventDetail.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMWindowResizeEventDetail)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DomWindowResizeEventDetail` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomWindowResizeEventDetail`*"]
+ pub type DomWindowResizeEventDetail;
+}
+impl DomWindowResizeEventDetail {
+ #[doc = "Construct a new `DomWindowResizeEventDetail`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomWindowResizeEventDetail`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomWindowResizeEventDetail`*"]
+ pub fn height(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("height"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomWindowResizeEventDetail`*"]
+ pub fn width(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("width"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DomWindowResizeEventDetail {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DragEvent.rs b/vendor/web-sys/src/features/gen_DragEvent.rs
new file mode 100644
index 000000000..fc18b1ee5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DragEvent.rs
@@ -0,0 +1,326 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = MouseEvent , extends = UiEvent , extends = Event , extends = :: js_sys :: Object , js_name = DragEvent , typescript_type = "DragEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DragEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`*"]
+ pub type DragEvent;
+ #[cfg(feature = "DataTransfer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DragEvent" , js_name = dataTransfer)]
+ #[doc = "Getter for the `dataTransfer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/dataTransfer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`, `DragEvent`*"]
+ pub fn data_transfer(this: &DragEvent) -> Option<DataTransfer>;
+ #[wasm_bindgen(catch, constructor, js_class = "DragEvent")]
+ #[doc = "The `new DragEvent(..)` constructor, creating a new instance of `DragEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/DragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`*"]
+ pub fn new(type_: &str) -> Result<DragEvent, JsValue>;
+ #[cfg(feature = "DragEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "DragEvent")]
+ #[doc = "The `new DragEvent(..)` constructor, creating a new instance of `DragEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/DragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `DragEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &DragEventInit,
+ ) -> Result<DragEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`*"]
+ pub fn init_drag_event(this: &DragEvent, type_: &str);
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`*"]
+ pub fn init_drag_event_with_can_bubble(this: &DragEvent, type_: &str, can_bubble: bool);
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ a_screen_x: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ a_screen_x: i32,
+ a_screen_y: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ a_screen_x: i32,
+ a_screen_y: i32,
+ a_client_x: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ a_screen_x: i32,
+ a_screen_y: i32,
+ a_client_x: i32,
+ a_client_y: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ a_screen_x: i32,
+ a_screen_y: i32,
+ a_client_x: i32,
+ a_client_y: i32,
+ a_ctrl_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ a_screen_x: i32,
+ a_screen_y: i32,
+ a_client_x: i32,
+ a_client_y: i32,
+ a_ctrl_key: bool,
+ a_alt_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ a_screen_x: i32,
+ a_screen_y: i32,
+ a_client_x: i32,
+ a_client_y: i32,
+ a_ctrl_key: bool,
+ a_alt_key: bool,
+ a_shift_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ a_screen_x: i32,
+ a_screen_y: i32,
+ a_client_x: i32,
+ a_client_y: i32,
+ a_ctrl_key: bool,
+ a_alt_key: bool,
+ a_shift_key: bool,
+ a_meta_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ a_screen_x: i32,
+ a_screen_y: i32,
+ a_client_x: i32,
+ a_client_y: i32,
+ a_ctrl_key: bool,
+ a_alt_key: bool,
+ a_shift_key: bool,
+ a_meta_key: bool,
+ a_button: u16,
+ );
+ #[cfg(all(feature = "EventTarget", feature = "Window",))]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEvent`, `EventTarget`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ a_screen_x: i32,
+ a_screen_y: i32,
+ a_client_x: i32,
+ a_client_y: i32,
+ a_ctrl_key: bool,
+ a_alt_key: bool,
+ a_shift_key: bool,
+ a_meta_key: bool,
+ a_button: u16,
+ a_related_target: Option<&EventTarget>,
+ );
+ #[cfg(all(feature = "DataTransfer", feature = "EventTarget", feature = "Window",))]
+ # [wasm_bindgen (method , structural , js_class = "DragEvent" , js_name = initDragEvent)]
+ #[doc = "The `initDragEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`, `DragEvent`, `EventTarget`, `Window`*"]
+ pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target_and_a_data_transfer(
+ this: &DragEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ a_screen_x: i32,
+ a_screen_y: i32,
+ a_client_x: i32,
+ a_client_y: i32,
+ a_ctrl_key: bool,
+ a_alt_key: bool,
+ a_shift_key: bool,
+ a_meta_key: bool,
+ a_button: u16,
+ a_related_target: Option<&EventTarget>,
+ a_data_transfer: Option<&DataTransfer>,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_DragEventInit.rs b/vendor/web-sys/src/features/gen_DragEventInit.rs
new file mode 100644
index 000000000..d28d127a9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DragEventInit.rs
@@ -0,0 +1,493 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DragEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DragEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub type DragEventInit;
+}
+impl DragEventInit {
+ #[doc = "Construct a new `DragEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn detail(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detail"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Window")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`, `Window`*"]
+ pub fn view(&mut self, val: Option<&Window>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `altKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn alt_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("altKey"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ctrlKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn ctrl_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ctrlKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `metaKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn meta_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("metaKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierAltGraph` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn modifier_alt_graph(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierAltGraph"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierCapsLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn modifier_caps_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierCapsLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFn` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn modifier_fn(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFn"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFnLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn modifier_fn_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFnLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierNumLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn modifier_num_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierNumLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierOS` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn modifier_os(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierOS"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierScrollLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn modifier_scroll_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierScrollLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbol` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn modifier_symbol(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbol"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbolLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn modifier_symbol_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbolLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `shiftKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn shift_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("shiftKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `button` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn button(&mut self, val: i16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("button"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `buttons` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn buttons(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("buttons"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `clientX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn client_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `clientY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn client_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `movementX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn movement_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("movementX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `movementY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn movement_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("movementY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "EventTarget")]
+ #[doc = "Change the `relatedTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`, `EventTarget`*"]
+ pub fn related_target(&mut self, val: Option<&EventTarget>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("relatedTarget"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `screenX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn screen_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("screenX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `screenY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DragEventInit`*"]
+ pub fn screen_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("screenY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DataTransfer")]
+ #[doc = "Change the `dataTransfer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`, `DragEventInit`*"]
+ pub fn data_transfer(&mut self, val: Option<&DataTransfer>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dataTransfer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DragEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_DynamicsCompressorNode.rs b/vendor/web-sys/src/features/gen_DynamicsCompressorNode.rs
new file mode 100644
index 000000000..3a7c7d5f5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DynamicsCompressorNode.rs
@@ -0,0 +1,80 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = DynamicsCompressorNode , typescript_type = "DynamicsCompressorNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DynamicsCompressorNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DynamicsCompressorNode`*"]
+ pub type DynamicsCompressorNode;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DynamicsCompressorNode" , js_name = threshold)]
+ #[doc = "Getter for the `threshold` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/threshold)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*"]
+ pub fn threshold(this: &DynamicsCompressorNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DynamicsCompressorNode" , js_name = knee)]
+ #[doc = "Getter for the `knee` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/knee)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*"]
+ pub fn knee(this: &DynamicsCompressorNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DynamicsCompressorNode" , js_name = ratio)]
+ #[doc = "Getter for the `ratio` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/ratio)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*"]
+ pub fn ratio(this: &DynamicsCompressorNode) -> AudioParam;
+ # [wasm_bindgen (structural , method , getter , js_class = "DynamicsCompressorNode" , js_name = reduction)]
+ #[doc = "Getter for the `reduction` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/reduction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DynamicsCompressorNode`*"]
+ pub fn reduction(this: &DynamicsCompressorNode) -> f32;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DynamicsCompressorNode" , js_name = attack)]
+ #[doc = "Getter for the `attack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/attack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*"]
+ pub fn attack(this: &DynamicsCompressorNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "DynamicsCompressorNode" , js_name = release)]
+ #[doc = "Getter for the `release` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/release)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*"]
+ pub fn release(this: &DynamicsCompressorNode) -> AudioParam;
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "DynamicsCompressorNode")]
+ #[doc = "The `new DynamicsCompressorNode(..)` constructor, creating a new instance of `DynamicsCompressorNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/DynamicsCompressorNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `DynamicsCompressorNode`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<DynamicsCompressorNode, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "DynamicsCompressorOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "DynamicsCompressorNode")]
+ #[doc = "The `new DynamicsCompressorNode(..)` constructor, creating a new instance of `DynamicsCompressorNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/DynamicsCompressorNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `DynamicsCompressorNode`, `DynamicsCompressorOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &DynamicsCompressorOptions,
+ ) -> Result<DynamicsCompressorNode, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_DynamicsCompressorOptions.rs b/vendor/web-sys/src/features/gen_DynamicsCompressorOptions.rs
new file mode 100644
index 000000000..ff594822f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_DynamicsCompressorOptions.rs
@@ -0,0 +1,154 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DynamicsCompressorOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `DynamicsCompressorOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DynamicsCompressorOptions`*"]
+ pub type DynamicsCompressorOptions;
+}
+impl DynamicsCompressorOptions {
+ #[doc = "Construct a new `DynamicsCompressorOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DynamicsCompressorOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DynamicsCompressorOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`, `DynamicsCompressorOptions`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`, `DynamicsCompressorOptions`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `attack` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DynamicsCompressorOptions`*"]
+ pub fn attack(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("attack"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `knee` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DynamicsCompressorOptions`*"]
+ pub fn knee(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("knee"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ratio` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DynamicsCompressorOptions`*"]
+ pub fn ratio(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ratio"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `release` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DynamicsCompressorOptions`*"]
+ pub fn release(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("release"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `threshold` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DynamicsCompressorOptions`*"]
+ pub fn threshold(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("threshold"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for DynamicsCompressorOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EcKeyAlgorithm.rs b/vendor/web-sys/src/features/gen_EcKeyAlgorithm.rs
new file mode 100644
index 000000000..3d7aec6e1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EcKeyAlgorithm.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EcKeyAlgorithm)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EcKeyAlgorithm` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcKeyAlgorithm`*"]
+ pub type EcKeyAlgorithm;
+}
+impl EcKeyAlgorithm {
+ #[doc = "Construct a new `EcKeyAlgorithm`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcKeyAlgorithm`*"]
+ pub fn new(name: &str, named_curve: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.named_curve(named_curve);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcKeyAlgorithm`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `namedCurve` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcKeyAlgorithm`*"]
+ pub fn named_curve(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("namedCurve"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EcKeyGenParams.rs b/vendor/web-sys/src/features/gen_EcKeyGenParams.rs
new file mode 100644
index 000000000..8b1df4070
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EcKeyGenParams.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EcKeyGenParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EcKeyGenParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcKeyGenParams`*"]
+ pub type EcKeyGenParams;
+}
+impl EcKeyGenParams {
+ #[doc = "Construct a new `EcKeyGenParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcKeyGenParams`*"]
+ pub fn new(name: &str, named_curve: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.named_curve(named_curve);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcKeyGenParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `namedCurve` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcKeyGenParams`*"]
+ pub fn named_curve(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("namedCurve"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EcKeyImportParams.rs b/vendor/web-sys/src/features/gen_EcKeyImportParams.rs
new file mode 100644
index 000000000..b6ff16b01
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EcKeyImportParams.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EcKeyImportParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EcKeyImportParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcKeyImportParams`*"]
+ pub type EcKeyImportParams;
+}
+impl EcKeyImportParams {
+ #[doc = "Construct a new `EcKeyImportParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcKeyImportParams`*"]
+ pub fn new(name: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcKeyImportParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `namedCurve` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcKeyImportParams`*"]
+ pub fn named_curve(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("namedCurve"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EcdhKeyDeriveParams.rs b/vendor/web-sys/src/features/gen_EcdhKeyDeriveParams.rs
new file mode 100644
index 000000000..0303bb319
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EcdhKeyDeriveParams.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EcdhKeyDeriveParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EcdhKeyDeriveParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcdhKeyDeriveParams`*"]
+ pub type EcdhKeyDeriveParams;
+}
+impl EcdhKeyDeriveParams {
+ #[cfg(feature = "CryptoKey")]
+ #[doc = "Construct a new `EcdhKeyDeriveParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `EcdhKeyDeriveParams`*"]
+ pub fn new(name: &str, public: &CryptoKey) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.public(public);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcdhKeyDeriveParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "CryptoKey")]
+ #[doc = "Change the `public` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `EcdhKeyDeriveParams`*"]
+ pub fn public(&mut self, val: &CryptoKey) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("public"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EcdsaParams.rs b/vendor/web-sys/src/features/gen_EcdsaParams.rs
new file mode 100644
index 000000000..a54f84b77
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EcdsaParams.rs
@@ -0,0 +1,50 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EcdsaParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EcdsaParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcdsaParams`*"]
+ pub type EcdsaParams;
+}
+impl EcdsaParams {
+ #[doc = "Construct a new `EcdsaParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcdsaParams`*"]
+ pub fn new(name: &str, hash: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.hash(hash);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcdsaParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EcdsaParams`*"]
+ pub fn hash(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("hash"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EffectTiming.rs b/vendor/web-sys/src/features/gen_EffectTiming.rs
new file mode 100644
index 000000000..07e8deeeb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EffectTiming.rs
@@ -0,0 +1,154 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EffectTiming)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EffectTiming` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EffectTiming`*"]
+ pub type EffectTiming;
+}
+impl EffectTiming {
+ #[doc = "Construct a new `EffectTiming`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EffectTiming`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `delay` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EffectTiming`*"]
+ pub fn delay(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("delay"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PlaybackDirection")]
+ #[doc = "Change the `direction` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EffectTiming`, `PlaybackDirection`*"]
+ pub fn direction(&mut self, val: PlaybackDirection) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("direction"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EffectTiming`*"]
+ pub fn duration(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("duration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `easing` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EffectTiming`*"]
+ pub fn easing(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("easing"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `endDelay` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EffectTiming`*"]
+ pub fn end_delay(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("endDelay"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "FillMode")]
+ #[doc = "Change the `fill` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EffectTiming`, `FillMode`*"]
+ pub fn fill(&mut self, val: FillMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("fill"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iterationStart` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EffectTiming`*"]
+ pub fn iteration_start(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iterationStart"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iterations` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EffectTiming`*"]
+ pub fn iterations(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iterations"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for EffectTiming {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Element.rs b/vendor/web-sys/src/features/gen_Element.rs
new file mode 100644
index 000000000..011b65d28
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Element.rs
@@ -0,0 +1,1952 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = Element , typescript_type = "Element")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Element` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub type Element;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = namespaceURI)]
+ #[doc = "Getter for the `namespaceURI` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/namespaceURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn namespace_uri(this: &Element) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = prefix)]
+ #[doc = "Getter for the `prefix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prefix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prefix(this: &Element) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = localName)]
+ #[doc = "Getter for the `localName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/localName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn local_name(this: &Element) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = tagName)]
+ #[doc = "Getter for the `tagName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/tagName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn tag_name(this: &Element) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn id(this: &Element) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = id)]
+ #[doc = "Setter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn set_id(this: &Element, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = className)]
+ #[doc = "Getter for the `className` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn class_name(this: &Element) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = className)]
+ #[doc = "Setter for the `className` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn set_class_name(this: &Element, value: &str);
+ #[cfg(feature = "DomTokenList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = classList)]
+ #[doc = "Getter for the `classList` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/classList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `Element`*"]
+ pub fn class_list(this: &Element) -> DomTokenList;
+ #[cfg(feature = "NamedNodeMap")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = attributes)]
+ #[doc = "Getter for the `attributes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `NamedNodeMap`*"]
+ pub fn attributes(this: &Element) -> NamedNodeMap;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = scrollTop)]
+ #[doc = "Getter for the `scrollTop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn scroll_top(this: &Element) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = scrollTop)]
+ #[doc = "Setter for the `scrollTop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn set_scroll_top(this: &Element, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = scrollLeft)]
+ #[doc = "Getter for the `scrollLeft` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn scroll_left(this: &Element) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = scrollLeft)]
+ #[doc = "Setter for the `scrollLeft` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn set_scroll_left(this: &Element, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = scrollWidth)]
+ #[doc = "Getter for the `scrollWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn scroll_width(this: &Element) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = scrollHeight)]
+ #[doc = "Getter for the `scrollHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn scroll_height(this: &Element) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = clientTop)]
+ #[doc = "Getter for the `clientTop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientTop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn client_top(this: &Element) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = clientLeft)]
+ #[doc = "Getter for the `clientLeft` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientLeft)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn client_left(this: &Element) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = clientWidth)]
+ #[doc = "Getter for the `clientWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn client_width(this: &Element) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = clientHeight)]
+ #[doc = "Getter for the `clientHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn client_height(this: &Element) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = innerHTML)]
+ #[doc = "Getter for the `innerHTML` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn inner_html(this: &Element) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = innerHTML)]
+ #[doc = "Setter for the `innerHTML` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn set_inner_html(this: &Element, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = outerHTML)]
+ #[doc = "Getter for the `outerHTML` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn outer_html(this: &Element) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = outerHTML)]
+ #[doc = "Setter for the `outerHTML` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn set_outer_html(this: &Element, value: &str);
+ #[cfg(feature = "ShadowRoot")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = shadowRoot)]
+ #[doc = "Getter for the `shadowRoot` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/shadowRoot)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*"]
+ pub fn shadow_root(this: &Element) -> Option<ShadowRoot>;
+ #[cfg(feature = "HtmlSlotElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = assignedSlot)]
+ #[doc = "Getter for the `assignedSlot` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/assignedSlot)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlSlotElement`*"]
+ pub fn assigned_slot(this: &Element) -> Option<HtmlSlotElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = slot)]
+ #[doc = "Getter for the `slot` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/slot)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn slot(this: &Element) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = slot)]
+ #[doc = "Setter for the `slot` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/slot)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn set_slot(this: &Element, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = previousElementSibling)]
+ #[doc = "Getter for the `previousElementSibling` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/previousElementSibling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn previous_element_sibling(this: &Element) -> Option<Element>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = nextElementSibling)]
+ #[doc = "Getter for the `nextElementSibling` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/nextElementSibling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn next_element_sibling(this: &Element) -> Option<Element>;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = children)]
+ #[doc = "Getter for the `children` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/children)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"]
+ pub fn children(this: &Element) -> HtmlCollection;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = firstElementChild)]
+ #[doc = "Getter for the `firstElementChild` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/firstElementChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn first_element_child(this: &Element) -> Option<Element>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = lastElementChild)]
+ #[doc = "Getter for the `lastElementChild` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/lastElementChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn last_element_child(this: &Element) -> Option<Element>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = childElementCount)]
+ #[doc = "Getter for the `childElementCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/childElementCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn child_element_count(this: &Element) -> u32;
+ #[cfg(all(feature = "ShadowRoot", feature = "ShadowRootInit",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = attachShadow)]
+ #[doc = "The `attachShadow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`, `ShadowRootInit`*"]
+ pub fn attach_shadow(
+ this: &Element,
+ shadow_root_init_dict: &ShadowRootInit,
+ ) -> Result<ShadowRoot, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = closest)]
+ #[doc = "The `closest()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/closest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn closest(this: &Element, selector: &str) -> Result<Option<Element>, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAttribute)]
+ #[doc = "The `getAttribute()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn get_attribute(this: &Element, name: &str) -> Option<String>;
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAttributeNS)]
+ #[doc = "The `getAttributeNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn get_attribute_ns(
+ this: &Element,
+ namespace: Option<&str>,
+ local_name: &str,
+ ) -> Option<String>;
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAttributeNames)]
+ #[doc = "The `getAttributeNames()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNames)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn get_attribute_names(this: &Element) -> ::js_sys::Array;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAttributeNode)]
+ #[doc = "The `getAttributeNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*"]
+ pub fn get_attribute_node(this: &Element, name: &str) -> Option<Attr>;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAttributeNodeNS)]
+ #[doc = "The `getAttributeNodeNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNodeNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*"]
+ pub fn get_attribute_node_ns(
+ this: &Element,
+ namespace_uri: Option<&str>,
+ local_name: &str,
+ ) -> Option<Attr>;
+ #[cfg(feature = "DomRect")]
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getBoundingClientRect)]
+ #[doc = "The `getBoundingClientRect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`, `Element`*"]
+ pub fn get_bounding_client_rect(this: &Element) -> DomRect;
+ #[cfg(feature = "DomRectList")]
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getClientRects)]
+ #[doc = "The `getClientRects()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getClientRects)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectList`, `Element`*"]
+ pub fn get_client_rects(this: &Element) -> DomRectList;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getElementsByClassName)]
+ #[doc = "The `getElementsByClassName()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByClassName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"]
+ pub fn get_elements_by_class_name(this: &Element, class_names: &str) -> HtmlCollection;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getElementsByTagName)]
+ #[doc = "The `getElementsByTagName()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"]
+ pub fn get_elements_by_tag_name(this: &Element, local_name: &str) -> HtmlCollection;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = getElementsByTagNameNS)]
+ #[doc = "The `getElementsByTagNameNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagNameNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"]
+ pub fn get_elements_by_tag_name_ns(
+ this: &Element,
+ namespace: Option<&str>,
+ local_name: &str,
+ ) -> Result<HtmlCollection, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = hasAttribute)]
+ #[doc = "The `hasAttribute()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn has_attribute(this: &Element, name: &str) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = hasAttributeNS)]
+ #[doc = "The `hasAttributeNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributeNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn has_attribute_ns(this: &Element, namespace: Option<&str>, local_name: &str) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = hasAttributes)]
+ #[doc = "The `hasAttributes()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn has_attributes(this: &Element) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = hasPointerCapture)]
+ #[doc = "The `hasPointerCapture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasPointerCapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn has_pointer_capture(this: &Element, pointer_id: i32) -> bool;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = insertAdjacentElement)]
+ #[doc = "The `insertAdjacentElement()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn insert_adjacent_element(
+ this: &Element,
+ where_: &str,
+ element: &Element,
+ ) -> Result<Option<Element>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = insertAdjacentHTML)]
+ #[doc = "The `insertAdjacentHTML()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentHTML)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn insert_adjacent_html(this: &Element, position: &str, text: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = insertAdjacentText)]
+ #[doc = "The `insertAdjacentText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn insert_adjacent_text(this: &Element, where_: &str, data: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = matches)]
+ #[doc = "The `matches()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/matches)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn matches(this: &Element, selector: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = querySelector)]
+ #[doc = "The `querySelector()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn query_selector(this: &Element, selectors: &str) -> Result<Option<Element>, JsValue>;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = querySelectorAll)]
+ #[doc = "The `querySelectorAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `NodeList`*"]
+ pub fn query_selector_all(this: &Element, selectors: &str) -> Result<NodeList, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = releaseCapture)]
+ #[doc = "The `releaseCapture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/releaseCapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn release_capture(this: &Element);
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = releasePointerCapture)]
+ #[doc = "The `releasePointerCapture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/releasePointerCapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn release_pointer_capture(this: &Element, pointer_id: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = removeAttribute)]
+ #[doc = "The `removeAttribute()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn remove_attribute(this: &Element, name: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = removeAttributeNS)]
+ #[doc = "The `removeAttributeNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn remove_attribute_ns(
+ this: &Element,
+ namespace: Option<&str>,
+ local_name: &str,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = removeAttributeNode)]
+ #[doc = "The `removeAttributeNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*"]
+ pub fn remove_attribute_node(this: &Element, old_attr: &Attr) -> Result<Option<Attr>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = requestFullscreen)]
+ #[doc = "The `requestFullscreen()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn request_fullscreen(this: &Element) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = requestPointerLock)]
+ #[doc = "The `requestPointerLock()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestPointerLock)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn request_pointer_lock(this: &Element);
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scroll)]
+ #[doc = "The `scroll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn scroll_with_x_and_y(this: &Element, x: f64, y: f64);
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scroll)]
+ #[doc = "The `scroll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn scroll(this: &Element);
+ #[cfg(feature = "ScrollToOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scroll)]
+ #[doc = "The `scroll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*"]
+ pub fn scroll_with_scroll_to_options(this: &Element, options: &ScrollToOptions);
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollBy)]
+ #[doc = "The `scrollBy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn scroll_by_with_x_and_y(this: &Element, x: f64, y: f64);
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollBy)]
+ #[doc = "The `scrollBy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn scroll_by(this: &Element);
+ #[cfg(feature = "ScrollToOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollBy)]
+ #[doc = "The `scrollBy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*"]
+ pub fn scroll_by_with_scroll_to_options(this: &Element, options: &ScrollToOptions);
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollIntoView)]
+ #[doc = "The `scrollIntoView()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn scroll_into_view(this: &Element);
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollIntoView)]
+ #[doc = "The `scrollIntoView()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn scroll_into_view_with_bool(this: &Element, arg: bool);
+ #[cfg(feature = "ScrollIntoViewOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollIntoView)]
+ #[doc = "The `scrollIntoView()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollIntoViewOptions`*"]
+ pub fn scroll_into_view_with_scroll_into_view_options(
+ this: &Element,
+ arg: &ScrollIntoViewOptions,
+ );
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollTo)]
+ #[doc = "The `scrollTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn scroll_to_with_x_and_y(this: &Element, x: f64, y: f64);
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollTo)]
+ #[doc = "The `scrollTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn scroll_to(this: &Element);
+ #[cfg(feature = "ScrollToOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollTo)]
+ #[doc = "The `scrollTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*"]
+ pub fn scroll_to_with_scroll_to_options(this: &Element, options: &ScrollToOptions);
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = setAttribute)]
+ #[doc = "The `setAttribute()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn set_attribute(this: &Element, name: &str, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = setAttributeNS)]
+ #[doc = "The `setAttributeNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn set_attribute_ns(
+ this: &Element,
+ namespace: Option<&str>,
+ name: &str,
+ value: &str,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = setAttributeNode)]
+ #[doc = "The `setAttributeNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*"]
+ pub fn set_attribute_node(this: &Element, new_attr: &Attr) -> Result<Option<Attr>, JsValue>;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = setAttributeNodeNS)]
+ #[doc = "The `setAttributeNodeNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNodeNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*"]
+ pub fn set_attribute_node_ns(this: &Element, new_attr: &Attr) -> Result<Option<Attr>, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = setCapture)]
+ #[doc = "The `setCapture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setCapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn set_capture(this: &Element);
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = setCapture)]
+ #[doc = "The `setCapture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setCapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn set_capture_with_retarget_to_element(this: &Element, retarget_to_element: bool);
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = setPointerCapture)]
+ #[doc = "The `setPointerCapture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn set_pointer_capture(this: &Element, pointer_id: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = toggleAttribute)]
+ #[doc = "The `toggleAttribute()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn toggle_attribute(this: &Element, name: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = toggleAttribute)]
+ #[doc = "The `toggleAttribute()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn toggle_attribute_with_force(
+ this: &Element,
+ name: &str,
+ force: bool,
+ ) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = webkitMatchesSelector)]
+ #[doc = "The `webkitMatchesSelector()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/webkitMatchesSelector)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn webkit_matches_selector(this: &Element, selector: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_node_0(this: &Element) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_node_2(this: &Element, nodes_1: &Node, nodes_2: &Node)
+ -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_node_3(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_node_4(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_node_5(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_node_6(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_node_7(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_str_0(this: &Element) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_str_3(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_str_4(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_str_5(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_str_6(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)]
+ #[doc = "The `after()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn after_with_str_7(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_node_0(this: &Element) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_node_2(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_node_3(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_node_4(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_node_5(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_node_6(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_node_7(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_str_0(this: &Element) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_str_3(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_str_4(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_str_5(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_str_6(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)]
+ #[doc = "The `before()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn before_with_str_7(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Element" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn remove(this: &Element);
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_node_0(this: &Element) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_node_2(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_node_3(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_node_4(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_node_5(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_node_6(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_node_7(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_str_0(this: &Element) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_str_2(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_str_3(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_str_4(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_str_5(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_str_6(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)]
+ #[doc = "The `replaceWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn replace_with_with_str_7(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+ #[cfg(all(feature = "DomPoint", feature = "DomPointInit", feature = "Text",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`, `Text`*"]
+ pub fn convert_point_from_node_with_text(
+ this: &Element,
+ point: &DomPointInit,
+ from: &Text,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(feature = "DomPoint", feature = "DomPointInit",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`*"]
+ pub fn convert_point_from_node_with_element(
+ this: &Element,
+ point: &DomPointInit,
+ from: &Element,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(feature = "Document", feature = "DomPoint", feature = "DomPointInit",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Element`*"]
+ pub fn convert_point_from_node_with_document(
+ this: &Element,
+ point: &DomPointInit,
+ from: &Document,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomPoint",
+ feature = "DomPointInit",
+ feature = "Text",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`, `Text`*"]
+ pub fn convert_point_from_node_with_text_and_options(
+ this: &Element,
+ point: &DomPointInit,
+ from: &Text,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomPoint",
+ feature = "DomPointInit",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`*"]
+ pub fn convert_point_from_node_with_element_and_options(
+ this: &Element,
+ point: &DomPointInit,
+ from: &Element,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "Document",
+ feature = "DomPoint",
+ feature = "DomPointInit",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Element`*"]
+ pub fn convert_point_from_node_with_document_and_options(
+ this: &Element,
+ point: &DomPointInit,
+ from: &Document,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(feature = "DomQuad", feature = "Text",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `Element`, `Text`*"]
+ pub fn convert_quad_from_node_with_text(
+ this: &Element,
+ quad: &DomQuad,
+ from: &Text,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(feature = "DomQuad")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `Element`*"]
+ pub fn convert_quad_from_node_with_element(
+ this: &Element,
+ quad: &DomQuad,
+ from: &Element,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "Document", feature = "DomQuad",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Element`*"]
+ pub fn convert_quad_from_node_with_document(
+ this: &Element,
+ quad: &DomQuad,
+ from: &Document,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomQuad",
+ feature = "Text",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`, `Text`*"]
+ pub fn convert_quad_from_node_with_text_and_options(
+ this: &Element,
+ quad: &DomQuad,
+ from: &Text,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "ConvertCoordinateOptions", feature = "DomQuad",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`*"]
+ pub fn convert_quad_from_node_with_element_and_options(
+ this: &Element,
+ quad: &DomQuad,
+ from: &Element,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "Document",
+ feature = "DomQuad",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Element`*"]
+ pub fn convert_quad_from_node_with_document_and_options(
+ this: &Element,
+ quad: &DomQuad,
+ from: &Document,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Text",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*"]
+ pub fn convert_rect_from_node_with_text(
+ this: &Element,
+ rect: &DomRectReadOnly,
+ from: &Text,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`*"]
+ pub fn convert_rect_from_node_with_element(
+ this: &Element,
+ rect: &DomRectReadOnly,
+ from: &Element,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "Document", feature = "DomQuad", feature = "DomRectReadOnly",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*"]
+ pub fn convert_rect_from_node_with_document(
+ this: &Element,
+ rect: &DomRectReadOnly,
+ from: &Document,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomQuad",
+ feature = "DomRectReadOnly",
+ feature = "Text",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*"]
+ pub fn convert_rect_from_node_with_text_and_options(
+ this: &Element,
+ rect: &DomRectReadOnly,
+ from: &Text,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomQuad",
+ feature = "DomRectReadOnly",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`*"]
+ pub fn convert_rect_from_node_with_element_and_options(
+ this: &Element,
+ rect: &DomRectReadOnly,
+ from: &Element,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "Document",
+ feature = "DomQuad",
+ feature = "DomRectReadOnly",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*"]
+ pub fn convert_rect_from_node_with_document_and_options(
+ this: &Element,
+ rect: &DomRectReadOnly,
+ from: &Document,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = getBoxQuads)]
+ #[doc = "The `getBoxQuads()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoxQuads)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn get_box_quads(this: &Element) -> Result<::js_sys::Array, JsValue>;
+ #[cfg(feature = "BoxQuadOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = getBoxQuads)]
+ #[doc = "The `getBoxQuads()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoxQuads)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BoxQuadOptions`, `Element`*"]
+ pub fn get_box_quads_with_options(
+ this: &Element,
+ options: &BoxQuadOptions,
+ ) -> Result<::js_sys::Array, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_node_0(this: &Element) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_node_2(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_node_3(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_node_4(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_node_5(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_node_6(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_node_7(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_str_0(this: &Element) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_str_3(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_str_4(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_str_5(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_str_6(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn append_with_str_7(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_node_0(this: &Element) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_node_2(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_node_3(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_node_4(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_node_5(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_node_6(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_node_7(
+ this: &Element,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_str_0(this: &Element) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_str_3(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_str_4(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_str_5(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_str_6(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)]
+ #[doc = "The `prepend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`*"]
+ pub fn prepend_with_str_7(
+ this: &Element,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ElementCreationOptions.rs b/vendor/web-sys/src/features/gen_ElementCreationOptions.rs
new file mode 100644
index 000000000..d12dd041e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ElementCreationOptions.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ElementCreationOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ElementCreationOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ElementCreationOptions`*"]
+ pub type ElementCreationOptions;
+}
+impl ElementCreationOptions {
+ #[doc = "Construct a new `ElementCreationOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ElementCreationOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `is` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ElementCreationOptions`*"]
+ pub fn is(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("is"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pseudo` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ElementCreationOptions`*"]
+ pub fn pseudo(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("pseudo"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ElementCreationOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ElementDefinitionOptions.rs b/vendor/web-sys/src/features/gen_ElementDefinitionOptions.rs
new file mode 100644
index 000000000..4b9492b3b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ElementDefinitionOptions.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ElementDefinitionOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ElementDefinitionOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ElementDefinitionOptions`*"]
+ pub type ElementDefinitionOptions;
+}
+impl ElementDefinitionOptions {
+ #[doc = "Construct a new `ElementDefinitionOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ElementDefinitionOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `extends` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ElementDefinitionOptions`*"]
+ pub fn extends(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("extends"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ElementDefinitionOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EncodedAudioChunk.rs b/vendor/web-sys/src/features/gen_EncodedAudioChunk.rs
new file mode 100644
index 000000000..93a9cd7ca
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EncodedAudioChunk.rs
@@ -0,0 +1,97 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EncodedAudioChunk , typescript_type = "EncodedAudioChunk")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EncodedAudioChunk` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedAudioChunk)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type EncodedAudioChunk;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "EncodedAudioChunkType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "EncodedAudioChunk" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedAudioChunk/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunk`, `EncodedAudioChunkType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(this: &EncodedAudioChunk) -> EncodedAudioChunkType;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "EncodedAudioChunk" , js_name = timestamp)]
+ #[doc = "Getter for the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedAudioChunk/timestamp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn timestamp(this: &EncodedAudioChunk) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "EncodedAudioChunk" , js_name = duration)]
+ #[doc = "Getter for the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedAudioChunk/duration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn duration(this: &EncodedAudioChunk) -> Option<f64>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "EncodedAudioChunk" , js_name = byteLength)]
+ #[doc = "Getter for the `byteLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedAudioChunk/byteLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn byte_length(this: &EncodedAudioChunk) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "EncodedAudioChunkInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "EncodedAudioChunk")]
+ #[doc = "The `new EncodedAudioChunk(..)` constructor, creating a new instance of `EncodedAudioChunk`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedAudioChunk/EncodedAudioChunk)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunk`, `EncodedAudioChunkInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(init: &EncodedAudioChunkInit) -> Result<EncodedAudioChunk, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "EncodedAudioChunk" , js_name = copyTo)]
+ #[doc = "The `copyTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedAudioChunk/copyTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_to_with_buffer_source(this: &EncodedAudioChunk, destination: &::js_sys::Object);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "EncodedAudioChunk" , js_name = copyTo)]
+ #[doc = "The `copyTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedAudioChunk/copyTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_to_with_u8_array(this: &EncodedAudioChunk, destination: &mut [u8]);
+}
diff --git a/vendor/web-sys/src/features/gen_EncodedAudioChunkInit.rs b/vendor/web-sys/src/features/gen_EncodedAudioChunkInit.rs
new file mode 100644
index 000000000..c95daf55f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EncodedAudioChunkInit.rs
@@ -0,0 +1,111 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EncodedAudioChunkInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EncodedAudioChunkInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunkInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type EncodedAudioChunkInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl EncodedAudioChunkInit {
+ #[cfg(feature = "EncodedAudioChunkType")]
+ #[doc = "Construct a new `EncodedAudioChunkInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunkInit`, `EncodedAudioChunkType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(data: &::js_sys::Object, timestamp: f64, type_: EncodedAudioChunkType) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.data(data);
+ ret.timestamp(timestamp);
+ ret.type_(type_);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunkInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunkInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn duration(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("duration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunkInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "EncodedAudioChunkType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunkInit`, `EncodedAudioChunkType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(&mut self, val: EncodedAudioChunkType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EncodedAudioChunkMetadata.rs b/vendor/web-sys/src/features/gen_EncodedAudioChunkMetadata.rs
new file mode 100644
index 000000000..6a43b98aa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EncodedAudioChunkMetadata.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EncodedAudioChunkMetadata)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EncodedAudioChunkMetadata` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunkMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type EncodedAudioChunkMetadata;
+}
+#[cfg(web_sys_unstable_apis)]
+impl EncodedAudioChunkMetadata {
+ #[doc = "Construct a new `EncodedAudioChunkMetadata`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunkMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AudioDecoderConfig")]
+ #[doc = "Change the `decoderConfig` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDecoderConfig`, `EncodedAudioChunkMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn decoder_config(&mut self, val: &AudioDecoderConfig) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("decoderConfig"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for EncodedAudioChunkMetadata {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EncodedAudioChunkType.rs b/vendor/web-sys/src/features/gen_EncodedAudioChunkType.rs
new file mode 100644
index 000000000..5a977aeba
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EncodedAudioChunkType.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `EncodedAudioChunkType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `EncodedAudioChunkType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum EncodedAudioChunkType {
+ Key = "key",
+ Delta = "delta",
+}
diff --git a/vendor/web-sys/src/features/gen_EncodedVideoChunk.rs b/vendor/web-sys/src/features/gen_EncodedVideoChunk.rs
new file mode 100644
index 000000000..a6590c850
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EncodedVideoChunk.rs
@@ -0,0 +1,97 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EncodedVideoChunk , typescript_type = "EncodedVideoChunk")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EncodedVideoChunk` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedVideoChunk)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type EncodedVideoChunk;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "EncodedVideoChunkType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "EncodedVideoChunk" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedVideoChunk/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunk`, `EncodedVideoChunkType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(this: &EncodedVideoChunk) -> EncodedVideoChunkType;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "EncodedVideoChunk" , js_name = timestamp)]
+ #[doc = "Getter for the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedVideoChunk/timestamp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn timestamp(this: &EncodedVideoChunk) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "EncodedVideoChunk" , js_name = duration)]
+ #[doc = "Getter for the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedVideoChunk/duration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn duration(this: &EncodedVideoChunk) -> Option<f64>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "EncodedVideoChunk" , js_name = byteLength)]
+ #[doc = "Getter for the `byteLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedVideoChunk/byteLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn byte_length(this: &EncodedVideoChunk) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "EncodedVideoChunkInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "EncodedVideoChunk")]
+ #[doc = "The `new EncodedVideoChunk(..)` constructor, creating a new instance of `EncodedVideoChunk`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedVideoChunk/EncodedVideoChunk)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunk`, `EncodedVideoChunkInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(init: &EncodedVideoChunkInit) -> Result<EncodedVideoChunk, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "EncodedVideoChunk" , js_name = copyTo)]
+ #[doc = "The `copyTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedVideoChunk/copyTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_to_with_buffer_source(this: &EncodedVideoChunk, destination: &::js_sys::Object);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "EncodedVideoChunk" , js_name = copyTo)]
+ #[doc = "The `copyTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EncodedVideoChunk/copyTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunk`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_to_with_u8_array(this: &EncodedVideoChunk, destination: &mut [u8]);
+}
diff --git a/vendor/web-sys/src/features/gen_EncodedVideoChunkInit.rs b/vendor/web-sys/src/features/gen_EncodedVideoChunkInit.rs
new file mode 100644
index 000000000..6491aefd7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EncodedVideoChunkInit.rs
@@ -0,0 +1,111 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EncodedVideoChunkInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EncodedVideoChunkInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type EncodedVideoChunkInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl EncodedVideoChunkInit {
+ #[cfg(feature = "EncodedVideoChunkType")]
+ #[doc = "Construct a new `EncodedVideoChunkInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkInit`, `EncodedVideoChunkType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(data: &::js_sys::Object, timestamp: f64, type_: EncodedVideoChunkType) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.data(data);
+ ret.timestamp(timestamp);
+ ret.type_(type_);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn duration(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("duration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "EncodedVideoChunkType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkInit`, `EncodedVideoChunkType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(&mut self, val: EncodedVideoChunkType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EncodedVideoChunkMetadata.rs b/vendor/web-sys/src/features/gen_EncodedVideoChunkMetadata.rs
new file mode 100644
index 000000000..9d0e14152
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EncodedVideoChunkMetadata.rs
@@ -0,0 +1,97 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EncodedVideoChunkMetadata)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EncodedVideoChunkMetadata` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type EncodedVideoChunkMetadata;
+}
+#[cfg(web_sys_unstable_apis)]
+impl EncodedVideoChunkMetadata {
+ #[doc = "Construct a new `EncodedVideoChunkMetadata`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `alphaSideData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn alpha_side_data(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("alphaSideData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoDecoderConfig")]
+ #[doc = "Change the `decoderConfig` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkMetadata`, `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn decoder_config(&mut self, val: &VideoDecoderConfig) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("decoderConfig"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "SvcOutputMetadata")]
+ #[doc = "Change the `svc` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkMetadata`, `SvcOutputMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn svc(&mut self, val: &SvcOutputMetadata) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("svc"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for EncodedVideoChunkMetadata {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EncodedVideoChunkType.rs b/vendor/web-sys/src/features/gen_EncodedVideoChunkType.rs
new file mode 100644
index 000000000..63537be60
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EncodedVideoChunkType.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `EncodedVideoChunkType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunkType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum EncodedVideoChunkType {
+ Key = "key",
+ Delta = "delta",
+}
diff --git a/vendor/web-sys/src/features/gen_EndingTypes.rs b/vendor/web-sys/src/features/gen_EndingTypes.rs
new file mode 100644
index 000000000..476f22965
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EndingTypes.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `EndingTypes` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `EndingTypes`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum EndingTypes {
+ Transparent = "transparent",
+ Native = "native",
+}
diff --git a/vendor/web-sys/src/features/gen_ErrorCallback.rs b/vendor/web-sys/src/features/gen_ErrorCallback.rs
new file mode 100644
index 000000000..067bd0805
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ErrorCallback.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ErrorCallback)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ErrorCallback` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`*"]
+ pub type ErrorCallback;
+}
+impl ErrorCallback {
+ #[doc = "Construct a new `ErrorCallback`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `handleEvent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`*"]
+ pub fn handle_event(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("handleEvent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ErrorCallback {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ErrorEvent.rs b/vendor/web-sys/src/features/gen_ErrorEvent.rs
new file mode 100644
index 000000000..b3bd7fb1e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ErrorEvent.rs
@@ -0,0 +1,67 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = ErrorEvent , typescript_type = "ErrorEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ErrorEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEvent`*"]
+ pub type ErrorEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "ErrorEvent" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEvent`*"]
+ pub fn message(this: &ErrorEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "ErrorEvent" , js_name = filename)]
+ #[doc = "Getter for the `filename` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/filename)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEvent`*"]
+ pub fn filename(this: &ErrorEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "ErrorEvent" , js_name = lineno)]
+ #[doc = "Getter for the `lineno` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/lineno)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEvent`*"]
+ pub fn lineno(this: &ErrorEvent) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "ErrorEvent" , js_name = colno)]
+ #[doc = "Getter for the `colno` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/colno)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEvent`*"]
+ pub fn colno(this: &ErrorEvent) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "ErrorEvent" , js_name = error)]
+ #[doc = "Getter for the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEvent`*"]
+ pub fn error(this: &ErrorEvent) -> ::wasm_bindgen::JsValue;
+ #[wasm_bindgen(catch, constructor, js_class = "ErrorEvent")]
+ #[doc = "The `new ErrorEvent(..)` constructor, creating a new instance of `ErrorEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/ErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEvent`*"]
+ pub fn new(type_: &str) -> Result<ErrorEvent, JsValue>;
+ #[cfg(feature = "ErrorEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "ErrorEvent")]
+ #[doc = "The `new ErrorEvent(..)` constructor, creating a new instance of `ErrorEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/ErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEvent`, `ErrorEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &ErrorEventInit,
+ ) -> Result<ErrorEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ErrorEventInit.rs b/vendor/web-sys/src/features/gen_ErrorEventInit.rs
new file mode 100644
index 000000000..cc2d881ae
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ErrorEventInit.rs
@@ -0,0 +1,152 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ErrorEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ErrorEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEventInit`*"]
+ pub type ErrorEventInit;
+}
+impl ErrorEventInit {
+ #[doc = "Construct a new `ErrorEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `colno` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEventInit`*"]
+ pub fn colno(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("colno"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEventInit`*"]
+ pub fn error(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `filename` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEventInit`*"]
+ pub fn filename(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("filename"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `lineno` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEventInit`*"]
+ pub fn lineno(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("lineno"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorEventInit`*"]
+ pub fn message(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("message"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ErrorEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Event.rs b/vendor/web-sys/src/features/gen_Event.rs
new file mode 100644
index 000000000..bb3c3cffc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Event.rs
@@ -0,0 +1,190 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Event , typescript_type = "Event")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Event` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub type Event;
+ # [wasm_bindgen (structural , method , getter , js_class = "Event" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn type_(this: &Event) -> String;
+ #[cfg(feature = "EventTarget")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Event" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`, `EventTarget`*"]
+ pub fn target(this: &Event) -> Option<EventTarget>;
+ #[cfg(feature = "EventTarget")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Event" , js_name = currentTarget)]
+ #[doc = "Getter for the `currentTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`, `EventTarget`*"]
+ pub fn current_target(this: &Event) -> Option<EventTarget>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Event" , js_name = eventPhase)]
+ #[doc = "Getter for the `eventPhase` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/eventPhase)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn event_phase(this: &Event) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "Event" , js_name = bubbles)]
+ #[doc = "Getter for the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/bubbles)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn bubbles(this: &Event) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "Event" , js_name = cancelable)]
+ #[doc = "Getter for the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/cancelable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn cancelable(this: &Event) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "Event" , js_name = defaultPrevented)]
+ #[doc = "Getter for the `defaultPrevented` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/defaultPrevented)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn default_prevented(this: &Event) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "Event" , js_name = composed)]
+ #[doc = "Getter for the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/composed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn composed(this: &Event) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "Event" , js_name = isTrusted)]
+ #[doc = "Getter for the `isTrusted` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn is_trusted(this: &Event) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "Event" , js_name = timeStamp)]
+ #[doc = "Getter for the `timeStamp` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/timeStamp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn time_stamp(this: &Event) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "Event" , js_name = cancelBubble)]
+ #[doc = "Getter for the `cancelBubble` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/cancelBubble)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn cancel_bubble(this: &Event) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "Event" , js_name = cancelBubble)]
+ #[doc = "Setter for the `cancelBubble` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/cancelBubble)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn set_cancel_bubble(this: &Event, value: bool);
+ #[wasm_bindgen(catch, constructor, js_class = "Event")]
+ #[doc = "The `new Event(..)` constructor, creating a new instance of `Event`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/Event)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn new(type_: &str) -> Result<Event, JsValue>;
+ #[cfg(feature = "EventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "Event")]
+ #[doc = "The `new Event(..)` constructor, creating a new instance of `Event`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/Event)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`, `EventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &EventInit,
+ ) -> Result<Event, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Event" , js_name = composedPath)]
+ #[doc = "The `composedPath()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn composed_path(this: &Event) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "Event" , js_name = initEvent)]
+ #[doc = "The `initEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/initEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn init_event(this: &Event, type_: &str);
+ # [wasm_bindgen (method , structural , js_class = "Event" , js_name = initEvent)]
+ #[doc = "The `initEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/initEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn init_event_with_bubbles(this: &Event, type_: &str, bubbles: bool);
+ # [wasm_bindgen (method , structural , js_class = "Event" , js_name = initEvent)]
+ #[doc = "The `initEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/initEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn init_event_with_bubbles_and_cancelable(
+ this: &Event,
+ type_: &str,
+ bubbles: bool,
+ cancelable: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "Event" , js_name = preventDefault)]
+ #[doc = "The `preventDefault()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn prevent_default(this: &Event);
+ # [wasm_bindgen (method , structural , js_class = "Event" , js_name = stopImmediatePropagation)]
+ #[doc = "The `stopImmediatePropagation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/stopImmediatePropagation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn stop_immediate_propagation(this: &Event);
+ # [wasm_bindgen (method , structural , js_class = "Event" , js_name = stopPropagation)]
+ #[doc = "The `stopPropagation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/stopPropagation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub fn stop_propagation(this: &Event);
+}
+impl Event {
+ #[doc = "The `Event.NONE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub const NONE: u16 = 0i64 as u16;
+ #[doc = "The `Event.CAPTURING_PHASE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub const CAPTURING_PHASE: u16 = 1u64 as u16;
+ #[doc = "The `Event.AT_TARGET` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub const AT_TARGET: u16 = 2u64 as u16;
+ #[doc = "The `Event.BUBBLING_PHASE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`*"]
+ pub const BUBBLING_PHASE: u16 = 3u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_EventInit.rs b/vendor/web-sys/src/features/gen_EventInit.rs
new file mode 100644
index 000000000..6b44b167b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EventInit.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventInit`*"]
+ pub type EventInit;
+}
+impl EventInit {
+ #[doc = "Construct a new `EventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for EventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EventListener.rs b/vendor/web-sys/src/features/gen_EventListener.rs
new file mode 100644
index 000000000..af46e7ad6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EventListener.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EventListener)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EventListener` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListener`*"]
+ pub type EventListener;
+}
+impl EventListener {
+ #[doc = "Construct a new `EventListener`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListener`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `handleEvent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListener`*"]
+ pub fn handle_event(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("handleEvent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for EventListener {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EventListenerOptions.rs b/vendor/web-sys/src/features/gen_EventListenerOptions.rs
new file mode 100644
index 000000000..9162ee8d2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EventListenerOptions.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EventListenerOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EventListenerOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListenerOptions`*"]
+ pub type EventListenerOptions;
+}
+impl EventListenerOptions {
+ #[doc = "Construct a new `EventListenerOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListenerOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `capture` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListenerOptions`*"]
+ pub fn capture(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("capture"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for EventListenerOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EventModifierInit.rs b/vendor/web-sys/src/features/gen_EventModifierInit.rs
new file mode 100644
index 000000000..02c06addc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EventModifierInit.rs
@@ -0,0 +1,324 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EventModifierInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EventModifierInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub type EventModifierInit;
+}
+impl EventModifierInit {
+ #[doc = "Construct a new `EventModifierInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn detail(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detail"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Window")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`, `Window`*"]
+ pub fn view(&mut self, val: Option<&Window>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `altKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn alt_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("altKey"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ctrlKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn ctrl_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ctrlKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `metaKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn meta_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("metaKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierAltGraph` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn modifier_alt_graph(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierAltGraph"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierCapsLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn modifier_caps_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierCapsLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFn` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn modifier_fn(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFn"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFnLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn modifier_fn_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFnLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierNumLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn modifier_num_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierNumLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierOS` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn modifier_os(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierOS"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierScrollLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn modifier_scroll_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierScrollLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbol` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn modifier_symbol(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbol"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbolLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn modifier_symbol_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbolLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `shiftKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventModifierInit`*"]
+ pub fn shift_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("shiftKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for EventModifierInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EventSource.rs b/vendor/web-sys/src/features/gen_EventSource.rs
new file mode 100644
index 000000000..816817f37
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EventSource.rs
@@ -0,0 +1,116 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = EventSource , typescript_type = "EventSource")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EventSource` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub type EventSource;
+ # [wasm_bindgen (structural , method , getter , js_class = "EventSource" , js_name = url)]
+ #[doc = "Getter for the `url` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/url)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub fn url(this: &EventSource) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "EventSource" , js_name = withCredentials)]
+ #[doc = "Getter for the `withCredentials` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/withCredentials)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub fn with_credentials(this: &EventSource) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "EventSource" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub fn ready_state(this: &EventSource) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "EventSource" , js_name = onopen)]
+ #[doc = "Getter for the `onopen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onopen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub fn onopen(this: &EventSource) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "EventSource" , js_name = onopen)]
+ #[doc = "Setter for the `onopen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onopen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub fn set_onopen(this: &EventSource, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "EventSource" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub fn onmessage(this: &EventSource) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "EventSource" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub fn set_onmessage(this: &EventSource, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "EventSource" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub fn onerror(this: &EventSource) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "EventSource" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub fn set_onerror(this: &EventSource, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "EventSource")]
+ #[doc = "The `new EventSource(..)` constructor, creating a new instance of `EventSource`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/EventSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub fn new(url: &str) -> Result<EventSource, JsValue>;
+ #[cfg(feature = "EventSourceInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "EventSource")]
+ #[doc = "The `new EventSource(..)` constructor, creating a new instance of `EventSource`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/EventSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`, `EventSourceInit`*"]
+ pub fn new_with_event_source_init_dict(
+ url: &str,
+ event_source_init_dict: &EventSourceInit,
+ ) -> Result<EventSource, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "EventSource" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub fn close(this: &EventSource);
+}
+impl EventSource {
+ #[doc = "The `EventSource.CONNECTING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub const CONNECTING: u16 = 0i64 as u16;
+ #[doc = "The `EventSource.OPEN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub const OPEN: u16 = 1u64 as u16;
+ #[doc = "The `EventSource.CLOSED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSource`*"]
+ pub const CLOSED: u16 = 2u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_EventSourceInit.rs b/vendor/web-sys/src/features/gen_EventSourceInit.rs
new file mode 100644
index 000000000..f8e5f4af4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EventSourceInit.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EventSourceInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EventSourceInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSourceInit`*"]
+ pub type EventSourceInit;
+}
+impl EventSourceInit {
+ #[doc = "Construct a new `EventSourceInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSourceInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `withCredentials` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventSourceInit`*"]
+ pub fn with_credentials(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("withCredentials"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for EventSourceInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_EventTarget.rs b/vendor/web-sys/src/features/gen_EventTarget.rs
new file mode 100644
index 000000000..431b5a631
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_EventTarget.rs
@@ -0,0 +1,232 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EventTarget , typescript_type = "EventTarget")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `EventTarget` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`*"]
+ pub type EventTarget;
+ #[wasm_bindgen(catch, constructor, js_class = "EventTarget")]
+ #[doc = "The `new EventTarget(..)` constructor, creating a new instance of `EventTarget`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/EventTarget)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`*"]
+ pub fn new() -> Result<EventTarget, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = addEventListener)]
+ #[doc = "The `addEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`*"]
+ pub fn add_event_listener_with_callback(
+ this: &EventTarget,
+ type_: &str,
+ listener: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "EventListener")]
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = addEventListener)]
+ #[doc = "The `addEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*"]
+ pub fn add_event_listener_with_event_listener(
+ this: &EventTarget,
+ type_: &str,
+ listener: &EventListener,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "AddEventListenerOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = addEventListener)]
+ #[doc = "The `addEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AddEventListenerOptions`, `EventTarget`*"]
+ pub fn add_event_listener_with_callback_and_add_event_listener_options(
+ this: &EventTarget,
+ type_: &str,
+ listener: &::js_sys::Function,
+ options: &AddEventListenerOptions,
+ ) -> Result<(), JsValue>;
+ #[cfg(all(feature = "AddEventListenerOptions", feature = "EventListener",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = addEventListener)]
+ #[doc = "The `addEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AddEventListenerOptions`, `EventListener`, `EventTarget`*"]
+ pub fn add_event_listener_with_event_listener_and_add_event_listener_options(
+ this: &EventTarget,
+ type_: &str,
+ listener: &EventListener,
+ options: &AddEventListenerOptions,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = addEventListener)]
+ #[doc = "The `addEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`*"]
+ pub fn add_event_listener_with_callback_and_bool(
+ this: &EventTarget,
+ type_: &str,
+ listener: &::js_sys::Function,
+ options: bool,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "EventListener")]
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = addEventListener)]
+ #[doc = "The `addEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*"]
+ pub fn add_event_listener_with_event_listener_and_bool(
+ this: &EventTarget,
+ type_: &str,
+ listener: &EventListener,
+ options: bool,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "AddEventListenerOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = addEventListener)]
+ #[doc = "The `addEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AddEventListenerOptions`, `EventTarget`*"]
+ pub fn add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted(
+ this: &EventTarget,
+ type_: &str,
+ listener: &::js_sys::Function,
+ options: &AddEventListenerOptions,
+ wants_untrusted: Option<bool>,
+ ) -> Result<(), JsValue>;
+ #[cfg(all(feature = "AddEventListenerOptions", feature = "EventListener",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = addEventListener)]
+ #[doc = "The `addEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AddEventListenerOptions`, `EventListener`, `EventTarget`*"]
+ pub fn add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted(
+ this: &EventTarget,
+ type_: &str,
+ listener: &EventListener,
+ options: &AddEventListenerOptions,
+ wants_untrusted: Option<bool>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = addEventListener)]
+ #[doc = "The `addEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`*"]
+ pub fn add_event_listener_with_callback_and_bool_and_wants_untrusted(
+ this: &EventTarget,
+ type_: &str,
+ listener: &::js_sys::Function,
+ options: bool,
+ wants_untrusted: Option<bool>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "EventListener")]
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = addEventListener)]
+ #[doc = "The `addEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*"]
+ pub fn add_event_listener_with_event_listener_and_bool_and_wants_untrusted(
+ this: &EventTarget,
+ type_: &str,
+ listener: &EventListener,
+ options: bool,
+ wants_untrusted: Option<bool>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Event")]
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = dispatchEvent)]
+ #[doc = "The `dispatchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Event`, `EventTarget`*"]
+ pub fn dispatch_event(this: &EventTarget, event: &Event) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = removeEventListener)]
+ #[doc = "The `removeEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`*"]
+ pub fn remove_event_listener_with_callback(
+ this: &EventTarget,
+ type_: &str,
+ listener: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "EventListener")]
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = removeEventListener)]
+ #[doc = "The `removeEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*"]
+ pub fn remove_event_listener_with_event_listener(
+ this: &EventTarget,
+ type_: &str,
+ listener: &EventListener,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "EventListenerOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = removeEventListener)]
+ #[doc = "The `removeEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListenerOptions`, `EventTarget`*"]
+ pub fn remove_event_listener_with_callback_and_event_listener_options(
+ this: &EventTarget,
+ type_: &str,
+ listener: &::js_sys::Function,
+ options: &EventListenerOptions,
+ ) -> Result<(), JsValue>;
+ #[cfg(all(feature = "EventListener", feature = "EventListenerOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = removeEventListener)]
+ #[doc = "The `removeEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListener`, `EventListenerOptions`, `EventTarget`*"]
+ pub fn remove_event_listener_with_event_listener_and_event_listener_options(
+ this: &EventTarget,
+ type_: &str,
+ listener: &EventListener,
+ options: &EventListenerOptions,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = removeEventListener)]
+ #[doc = "The `removeEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`*"]
+ pub fn remove_event_listener_with_callback_and_bool(
+ this: &EventTarget,
+ type_: &str,
+ listener: &::js_sys::Function,
+ options: bool,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "EventListener")]
+ # [wasm_bindgen (catch , method , structural , js_class = "EventTarget" , js_name = removeEventListener)]
+ #[doc = "The `removeEventListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*"]
+ pub fn remove_event_listener_with_event_listener_and_bool(
+ this: &EventTarget,
+ type_: &str,
+ listener: &EventListener,
+ options: bool,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_Exception.rs b/vendor/web-sys/src/features/gen_Exception.rs
new file mode 100644
index 000000000..d38c6f66e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Exception.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = Exception , typescript_type = "Exception")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Exception` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
+ pub type Exception;
+ # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
+ pub fn name(this: &Exception) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
+ pub fn message(this: &Exception) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
+ pub fn result(this: &Exception) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = filename)]
+ #[doc = "Getter for the `filename` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/filename)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
+ pub fn filename(this: &Exception) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = lineNumber)]
+ #[doc = "Getter for the `lineNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/lineNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
+ pub fn line_number(this: &Exception) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = columnNumber)]
+ #[doc = "Getter for the `columnNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/columnNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
+ pub fn column_number(this: &Exception) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
+ pub fn data(this: &Exception) -> Option<::js_sys::Object>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = stack)]
+ #[doc = "Getter for the `stack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/stack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
+ pub fn stack(this: &Exception) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_ExtBlendMinmax.rs b/vendor/web-sys/src/features/gen_ExtBlendMinmax.rs
new file mode 100644
index 000000000..9e274a310
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtBlendMinmax.rs
@@ -0,0 +1,24 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = EXT_blend_minmax , typescript_type = "EXT_blend_minmax")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtBlendMinmax` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_blend_minmax)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtBlendMinmax`*"]
+ pub type ExtBlendMinmax;
+}
+impl ExtBlendMinmax {
+ #[doc = "The `EXT_blend_minmax.MIN_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtBlendMinmax`*"]
+ pub const MIN_EXT: u32 = 32775u64 as u32;
+ #[doc = "The `EXT_blend_minmax.MAX_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtBlendMinmax`*"]
+ pub const MAX_EXT: u32 = 32776u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_ExtColorBufferFloat.rs b/vendor/web-sys/src/features/gen_ExtColorBufferFloat.rs
new file mode 100644
index 000000000..884e06c16
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtColorBufferFloat.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = EXT_color_buffer_float , typescript_type = "EXT_color_buffer_float")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtColorBufferFloat` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_color_buffer_float)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtColorBufferFloat`*"]
+ pub type ExtColorBufferFloat;
+}
diff --git a/vendor/web-sys/src/features/gen_ExtColorBufferHalfFloat.rs b/vendor/web-sys/src/features/gen_ExtColorBufferHalfFloat.rs
new file mode 100644
index 000000000..26ffa3c74
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtColorBufferHalfFloat.rs
@@ -0,0 +1,32 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = EXT_color_buffer_half_float , typescript_type = "EXT_color_buffer_half_float")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtColorBufferHalfFloat` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_color_buffer_half_float)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtColorBufferHalfFloat`*"]
+ pub type ExtColorBufferHalfFloat;
+}
+impl ExtColorBufferHalfFloat {
+ #[doc = "The `EXT_color_buffer_half_float.RGBA16F_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtColorBufferHalfFloat`*"]
+ pub const RGBA16F_EXT: u32 = 34842u64 as u32;
+ #[doc = "The `EXT_color_buffer_half_float.RGB16F_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtColorBufferHalfFloat`*"]
+ pub const RGB16F_EXT: u32 = 34843u64 as u32;
+ #[doc = "The `EXT_color_buffer_half_float.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtColorBufferHalfFloat`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: u32 = 33297u64 as u32;
+ #[doc = "The `EXT_color_buffer_half_float.UNSIGNED_NORMALIZED_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtColorBufferHalfFloat`*"]
+ pub const UNSIGNED_NORMALIZED_EXT: u32 = 35863u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.rs b/vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.rs
new file mode 100644
index 000000000..1df18d754
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.rs
@@ -0,0 +1,114 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = EXT_disjoint_timer_query , typescript_type = "EXT_disjoint_timer_query")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtDisjointTimerQuery` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub type ExtDisjointTimerQuery;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = beginQueryEXT)]
+ #[doc = "The `beginQueryEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/beginQueryEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"]
+ pub fn begin_query_ext(this: &ExtDisjointTimerQuery, target: u32, query: &WebGlQuery);
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = createQueryEXT)]
+ #[doc = "The `createQueryEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/createQueryEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"]
+ pub fn create_query_ext(this: &ExtDisjointTimerQuery) -> Option<WebGlQuery>;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = deleteQueryEXT)]
+ #[doc = "The `deleteQueryEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/deleteQueryEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"]
+ pub fn delete_query_ext(this: &ExtDisjointTimerQuery, query: Option<&WebGlQuery>);
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = endQueryEXT)]
+ #[doc = "The `endQueryEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/endQueryEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub fn end_query_ext(this: &ExtDisjointTimerQuery, target: u32);
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = getQueryEXT)]
+ #[doc = "The `getQueryEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/getQueryEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub fn get_query_ext(
+ this: &ExtDisjointTimerQuery,
+ target: u32,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = getQueryObjectEXT)]
+ #[doc = "The `getQueryObjectEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/getQueryObjectEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"]
+ pub fn get_query_object_ext(
+ this: &ExtDisjointTimerQuery,
+ query: &WebGlQuery,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = isQueryEXT)]
+ #[doc = "The `isQueryEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/isQueryEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"]
+ pub fn is_query_ext(this: &ExtDisjointTimerQuery, query: Option<&WebGlQuery>) -> bool;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = queryCounterEXT)]
+ #[doc = "The `queryCounterEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/queryCounterEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"]
+ pub fn query_counter_ext(this: &ExtDisjointTimerQuery, query: &WebGlQuery, target: u32);
+}
+impl ExtDisjointTimerQuery {
+ #[doc = "The `EXT_disjoint_timer_query.QUERY_COUNTER_BITS_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const QUERY_COUNTER_BITS_EXT: u32 = 34916u64 as u32;
+ #[doc = "The `EXT_disjoint_timer_query.CURRENT_QUERY_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const CURRENT_QUERY_EXT: u32 = 34917u64 as u32;
+ #[doc = "The `EXT_disjoint_timer_query.QUERY_RESULT_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const QUERY_RESULT_EXT: u32 = 34918u64 as u32;
+ #[doc = "The `EXT_disjoint_timer_query.QUERY_RESULT_AVAILABLE_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const QUERY_RESULT_AVAILABLE_EXT: u32 = 34919u64 as u32;
+ #[doc = "The `EXT_disjoint_timer_query.TIME_ELAPSED_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const TIME_ELAPSED_EXT: u32 = 35007u64 as u32;
+ #[doc = "The `EXT_disjoint_timer_query.TIMESTAMP_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const TIMESTAMP_EXT: u32 = 36392u64 as u32;
+ #[doc = "The `EXT_disjoint_timer_query.GPU_DISJOINT_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const GPU_DISJOINT_EXT: u32 = 36795u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_ExtFragDepth.rs b/vendor/web-sys/src/features/gen_ExtFragDepth.rs
new file mode 100644
index 000000000..fd2f30f38
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtFragDepth.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = EXT_frag_depth , typescript_type = "EXT_frag_depth")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtFragDepth` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_frag_depth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtFragDepth`*"]
+ pub type ExtFragDepth;
+}
diff --git a/vendor/web-sys/src/features/gen_ExtSRgb.rs b/vendor/web-sys/src/features/gen_ExtSRgb.rs
new file mode 100644
index 000000000..c97cde655
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtSRgb.rs
@@ -0,0 +1,32 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = EXT_sRGB , typescript_type = "EXT_sRGB")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtSRgb` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_sRGB)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
+ pub type ExtSRgb;
+}
+impl ExtSRgb {
+ #[doc = "The `EXT_sRGB.SRGB_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
+ pub const SRGB_EXT: u32 = 35904u64 as u32;
+ #[doc = "The `EXT_sRGB.SRGB_ALPHA_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
+ pub const SRGB_ALPHA_EXT: u32 = 35906u64 as u32;
+ #[doc = "The `EXT_sRGB.SRGB8_ALPHA8_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
+ pub const SRGB8_ALPHA8_EXT: u32 = 35907u64 as u32;
+ #[doc = "The `EXT_sRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: u32 = 33296u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_ExtShaderTextureLod.rs b/vendor/web-sys/src/features/gen_ExtShaderTextureLod.rs
new file mode 100644
index 000000000..daa45adb7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtShaderTextureLod.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = EXT_shader_texture_lod , typescript_type = "EXT_shader_texture_lod")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtShaderTextureLod` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_shader_texture_lod)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtShaderTextureLod`*"]
+ pub type ExtShaderTextureLod;
+}
diff --git a/vendor/web-sys/src/features/gen_ExtTextureFilterAnisotropic.rs b/vendor/web-sys/src/features/gen_ExtTextureFilterAnisotropic.rs
new file mode 100644
index 000000000..905b2d225
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtTextureFilterAnisotropic.rs
@@ -0,0 +1,24 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = EXT_texture_filter_anisotropic , typescript_type = "EXT_texture_filter_anisotropic")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtTextureFilterAnisotropic` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_texture_filter_anisotropic)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtTextureFilterAnisotropic`*"]
+ pub type ExtTextureFilterAnisotropic;
+}
+impl ExtTextureFilterAnisotropic {
+ #[doc = "The `EXT_texture_filter_anisotropic.TEXTURE_MAX_ANISOTROPY_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtTextureFilterAnisotropic`*"]
+ pub const TEXTURE_MAX_ANISOTROPY_EXT: u32 = 34046u64 as u32;
+ #[doc = "The `EXT_texture_filter_anisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtTextureFilterAnisotropic`*"]
+ pub const MAX_TEXTURE_MAX_ANISOTROPY_EXT: u32 = 34047u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_ExtTextureNorm16.rs b/vendor/web-sys/src/features/gen_ExtTextureNorm16.rs
new file mode 100644
index 000000000..d4ab27eaf
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtTextureNorm16.rs
@@ -0,0 +1,48 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = EXT_texture_norm16 , typescript_type = "EXT_texture_norm16")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtTextureNorm16` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_texture_norm16)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtTextureNorm16`*"]
+ pub type ExtTextureNorm16;
+}
+impl ExtTextureNorm16 {
+ #[doc = "The `EXT_texture_norm16.R16_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtTextureNorm16`*"]
+ pub const R16_EXT: u32 = 33322u64 as u32;
+ #[doc = "The `EXT_texture_norm16.RG16_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtTextureNorm16`*"]
+ pub const RG16_EXT: u32 = 33324u64 as u32;
+ #[doc = "The `EXT_texture_norm16.RGB16_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtTextureNorm16`*"]
+ pub const RGB16_EXT: u32 = 32852u64 as u32;
+ #[doc = "The `EXT_texture_norm16.RGBA16_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtTextureNorm16`*"]
+ pub const RGBA16_EXT: u32 = 32859u64 as u32;
+ #[doc = "The `EXT_texture_norm16.R16_SNORM_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtTextureNorm16`*"]
+ pub const R16_SNORM_EXT: u32 = 36760u64 as u32;
+ #[doc = "The `EXT_texture_norm16.RG16_SNORM_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtTextureNorm16`*"]
+ pub const RG16_SNORM_EXT: u32 = 36761u64 as u32;
+ #[doc = "The `EXT_texture_norm16.RGB16_SNORM_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtTextureNorm16`*"]
+ pub const RGB16_SNORM_EXT: u32 = 36762u64 as u32;
+ #[doc = "The `EXT_texture_norm16.RGBA16_SNORM_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtTextureNorm16`*"]
+ pub const RGBA16_SNORM_EXT: u32 = 36763u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_ExtendableEvent.rs b/vendor/web-sys/src/features/gen_ExtendableEvent.rs
new file mode 100644
index 000000000..d3c14235a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtendableEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = ExtendableEvent , typescript_type = "ExtendableEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtendableEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableEvent`*"]
+ pub type ExtendableEvent;
+ #[wasm_bindgen(catch, constructor, js_class = "ExtendableEvent")]
+ #[doc = "The `new ExtendableEvent(..)` constructor, creating a new instance of `ExtendableEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/ExtendableEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableEvent`*"]
+ pub fn new(type_: &str) -> Result<ExtendableEvent, JsValue>;
+ #[cfg(feature = "ExtendableEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "ExtendableEvent")]
+ #[doc = "The `new ExtendableEvent(..)` constructor, creating a new instance of `ExtendableEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/ExtendableEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableEvent`, `ExtendableEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &ExtendableEventInit,
+ ) -> Result<ExtendableEvent, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ExtendableEvent" , js_name = waitUntil)]
+ #[doc = "The `waitUntil()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/waitUntil)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableEvent`*"]
+ pub fn wait_until(this: &ExtendableEvent, p: &::js_sys::Promise) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ExtendableEventInit.rs b/vendor/web-sys/src/features/gen_ExtendableEventInit.rs
new file mode 100644
index 000000000..6bdb395c3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtendableEventInit.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ExtendableEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtendableEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableEventInit`*"]
+ pub type ExtendableEventInit;
+}
+impl ExtendableEventInit {
+ #[doc = "Construct a new `ExtendableEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ExtendableEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ExtendableMessageEvent.rs b/vendor/web-sys/src/features/gen_ExtendableMessageEvent.rs
new file mode 100644
index 000000000..fdbb3a2be
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtendableMessageEvent.rs
@@ -0,0 +1,67 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = ExtendableEvent , extends = Event , extends = :: js_sys :: Object , js_name = ExtendableMessageEvent , typescript_type = "ExtendableMessageEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtendableMessageEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEvent`*"]
+ pub type ExtendableMessageEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "ExtendableMessageEvent" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEvent`*"]
+ pub fn data(this: &ExtendableMessageEvent) -> ::wasm_bindgen::JsValue;
+ # [wasm_bindgen (structural , method , getter , js_class = "ExtendableMessageEvent" , js_name = origin)]
+ #[doc = "Getter for the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/origin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEvent`*"]
+ pub fn origin(this: &ExtendableMessageEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "ExtendableMessageEvent" , js_name = lastEventId)]
+ #[doc = "Getter for the `lastEventId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/lastEventId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEvent`*"]
+ pub fn last_event_id(this: &ExtendableMessageEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "ExtendableMessageEvent" , js_name = source)]
+ #[doc = "Getter for the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/source)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEvent`*"]
+ pub fn source(this: &ExtendableMessageEvent) -> Option<::js_sys::Object>;
+ # [wasm_bindgen (structural , method , getter , js_class = "ExtendableMessageEvent" , js_name = ports)]
+ #[doc = "Getter for the `ports` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/ports)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEvent`*"]
+ pub fn ports(this: &ExtendableMessageEvent) -> ::js_sys::Array;
+ #[wasm_bindgen(catch, constructor, js_class = "ExtendableMessageEvent")]
+ #[doc = "The `new ExtendableMessageEvent(..)` constructor, creating a new instance of `ExtendableMessageEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/ExtendableMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEvent`*"]
+ pub fn new(type_: &str) -> Result<ExtendableMessageEvent, JsValue>;
+ #[cfg(feature = "ExtendableMessageEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "ExtendableMessageEvent")]
+ #[doc = "The `new ExtendableMessageEvent(..)` constructor, creating a new instance of `ExtendableMessageEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/ExtendableMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEvent`, `ExtendableMessageEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &ExtendableMessageEventInit,
+ ) -> Result<ExtendableMessageEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ExtendableMessageEventInit.rs b/vendor/web-sys/src/features/gen_ExtendableMessageEventInit.rs
new file mode 100644
index 000000000..13577af82
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtendableMessageEventInit.rs
@@ -0,0 +1,149 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ExtendableMessageEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtendableMessageEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEventInit`*"]
+ pub type ExtendableMessageEventInit;
+}
+impl ExtendableMessageEventInit {
+ #[doc = "Construct a new `ExtendableMessageEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEventInit`*"]
+ pub fn data(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `lastEventId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEventInit`*"]
+ pub fn last_event_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lastEventId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEventInit`*"]
+ pub fn origin(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("origin"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ports` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEventInit`*"]
+ pub fn ports(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ports"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtendableMessageEventInit`*"]
+ pub fn source(&mut self, val: Option<&::js_sys::Object>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("source"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ExtendableMessageEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_External.rs b/vendor/web-sys/src/features/gen_External.rs
new file mode 100644
index 000000000..bc58c9601
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_External.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = External , typescript_type = "External")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `External` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/External)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `External`*"]
+ pub type External;
+ # [wasm_bindgen (method , structural , js_class = "External" , js_name = AddSearchProvider)]
+ #[doc = "The `AddSearchProvider()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/External/AddSearchProvider)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `External`*"]
+ pub fn add_search_provider(this: &External, a_description_url: &str);
+ # [wasm_bindgen (method , structural , js_class = "External" , js_name = IsSearchProviderInstalled)]
+ #[doc = "The `IsSearchProviderInstalled()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/External/IsSearchProviderInstalled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `External`*"]
+ pub fn is_search_provider_installed(this: &External, a_search_url: &str) -> u32;
+}
diff --git a/vendor/web-sys/src/features/gen_FakePluginMimeEntry.rs b/vendor/web-sys/src/features/gen_FakePluginMimeEntry.rs
new file mode 100644
index 000000000..9a0249294
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FakePluginMimeEntry.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FakePluginMimeEntry)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FakePluginMimeEntry` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginMimeEntry`*"]
+ pub type FakePluginMimeEntry;
+}
+impl FakePluginMimeEntry {
+ #[doc = "Construct a new `FakePluginMimeEntry`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginMimeEntry`*"]
+ pub fn new(type_: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.type_(type_);
+ ret
+ }
+ #[doc = "Change the `description` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginMimeEntry`*"]
+ pub fn description(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("description"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `extension` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginMimeEntry`*"]
+ pub fn extension(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("extension"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginMimeEntry`*"]
+ pub fn type_(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FakePluginTagInit.rs b/vendor/web-sys/src/features/gen_FakePluginTagInit.rs
new file mode 100644
index 000000000..ce81b452d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FakePluginTagInit.rs
@@ -0,0 +1,173 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FakePluginTagInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FakePluginTagInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginTagInit`*"]
+ pub type FakePluginTagInit;
+}
+impl FakePluginTagInit {
+ #[doc = "Construct a new `FakePluginTagInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginTagInit`*"]
+ pub fn new(handler_uri: &str, mime_entries: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.handler_uri(handler_uri);
+ ret.mime_entries(mime_entries);
+ ret
+ }
+ #[doc = "Change the `description` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginTagInit`*"]
+ pub fn description(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("description"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `fileName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginTagInit`*"]
+ pub fn file_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("fileName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `fullPath` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginTagInit`*"]
+ pub fn full_path(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("fullPath"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `handlerURI` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginTagInit`*"]
+ pub fn handler_uri(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("handlerURI"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mimeEntries` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginTagInit`*"]
+ pub fn mime_entries(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mimeEntries"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginTagInit`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `niceName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginTagInit`*"]
+ pub fn nice_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("niceName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sandboxScript` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginTagInit`*"]
+ pub fn sandbox_script(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sandboxScript"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `version` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FakePluginTagInit`*"]
+ pub fn version(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("version"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FetchEvent.rs b/vendor/web-sys/src/features/gen_FetchEvent.rs
new file mode 100644
index 000000000..70f378fe4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FetchEvent.rs
@@ -0,0 +1,51 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = ExtendableEvent , extends = Event , extends = :: js_sys :: Object , js_name = FetchEvent , typescript_type = "FetchEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FetchEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEvent`*"]
+ pub type FetchEvent;
+ #[cfg(feature = "Request")]
+ # [wasm_bindgen (structural , method , getter , js_class = "FetchEvent" , js_name = request)]
+ #[doc = "Getter for the `request` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/request)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEvent`, `Request`*"]
+ pub fn request(this: &FetchEvent) -> Request;
+ # [wasm_bindgen (structural , method , getter , js_class = "FetchEvent" , js_name = clientId)]
+ #[doc = "Getter for the `clientId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/clientId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEvent`*"]
+ pub fn client_id(this: &FetchEvent) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "FetchEvent" , js_name = isReload)]
+ #[doc = "Getter for the `isReload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/isReload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEvent`*"]
+ pub fn is_reload(this: &FetchEvent) -> bool;
+ #[cfg(feature = "FetchEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "FetchEvent")]
+ #[doc = "The `new FetchEvent(..)` constructor, creating a new instance of `FetchEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/FetchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEvent`, `FetchEventInit`*"]
+ pub fn new(type_: &str, event_init_dict: &FetchEventInit) -> Result<FetchEvent, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "FetchEvent" , js_name = respondWith)]
+ #[doc = "The `respondWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/respondWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEvent`*"]
+ pub fn respond_with(this: &FetchEvent, r: &::js_sys::Promise) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_FetchEventInit.rs b/vendor/web-sys/src/features/gen_FetchEventInit.rs
new file mode 100644
index 000000000..baeace312
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FetchEventInit.rs
@@ -0,0 +1,127 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FetchEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FetchEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEventInit`*"]
+ pub type FetchEventInit;
+}
+impl FetchEventInit {
+ #[cfg(feature = "Request")]
+ #[doc = "Construct a new `FetchEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEventInit`, `Request`*"]
+ pub fn new(request: &Request) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.request(request);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `clientId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEventInit`*"]
+ pub fn client_id(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `isReload` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEventInit`*"]
+ pub fn is_reload(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isReload"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Request")]
+ #[doc = "Change the `request` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchEventInit`, `Request`*"]
+ pub fn request(&mut self, val: &Request) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("request"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FetchObserver.rs b/vendor/web-sys/src/features/gen_FetchObserver.rs
new file mode 100644
index 000000000..e08d9341c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FetchObserver.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = FetchObserver , typescript_type = "FetchObserver")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FetchObserver` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchObserver`*"]
+ pub type FetchObserver;
+ #[cfg(feature = "FetchState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "FetchObserver" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchObserver`, `FetchState`*"]
+ pub fn state(this: &FetchObserver) -> FetchState;
+ # [wasm_bindgen (structural , method , getter , js_class = "FetchObserver" , js_name = onstatechange)]
+ #[doc = "Getter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchObserver`*"]
+ pub fn onstatechange(this: &FetchObserver) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "FetchObserver" , js_name = onstatechange)]
+ #[doc = "Setter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchObserver`*"]
+ pub fn set_onstatechange(this: &FetchObserver, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "FetchObserver" , js_name = onrequestprogress)]
+ #[doc = "Getter for the `onrequestprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onrequestprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchObserver`*"]
+ pub fn onrequestprogress(this: &FetchObserver) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "FetchObserver" , js_name = onrequestprogress)]
+ #[doc = "Setter for the `onrequestprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onrequestprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchObserver`*"]
+ pub fn set_onrequestprogress(this: &FetchObserver, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "FetchObserver" , js_name = onresponseprogress)]
+ #[doc = "Getter for the `onresponseprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onresponseprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchObserver`*"]
+ pub fn onresponseprogress(this: &FetchObserver) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "FetchObserver" , js_name = onresponseprogress)]
+ #[doc = "Setter for the `onresponseprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onresponseprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchObserver`*"]
+ pub fn set_onresponseprogress(this: &FetchObserver, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataArray.rs b/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataArray.rs
new file mode 100644
index 000000000..8e5fa2c3e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataArray.rs
@@ -0,0 +1,27 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FetchReadableStreamReadDataArray)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FetchReadableStreamReadDataArray` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchReadableStreamReadDataArray`*"]
+ pub type FetchReadableStreamReadDataArray;
+}
+impl FetchReadableStreamReadDataArray {
+ #[doc = "Construct a new `FetchReadableStreamReadDataArray`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchReadableStreamReadDataArray`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+}
+impl Default for FetchReadableStreamReadDataArray {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataDone.rs b/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataDone.rs
new file mode 100644
index 000000000..c3f81924c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataDone.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FetchReadableStreamReadDataDone)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FetchReadableStreamReadDataDone` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchReadableStreamReadDataDone`*"]
+ pub type FetchReadableStreamReadDataDone;
+}
+impl FetchReadableStreamReadDataDone {
+ #[doc = "Construct a new `FetchReadableStreamReadDataDone`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchReadableStreamReadDataDone`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `done` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FetchReadableStreamReadDataDone`*"]
+ pub fn done(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("done"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for FetchReadableStreamReadDataDone {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FetchState.rs b/vendor/web-sys/src/features/gen_FetchState.rs
new file mode 100644
index 000000000..84ff3c6bb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FetchState.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `FetchState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `FetchState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum FetchState {
+ Requesting = "requesting",
+ Responding = "responding",
+ Aborted = "aborted",
+ Errored = "errored",
+ Complete = "complete",
+}
diff --git a/vendor/web-sys/src/features/gen_File.rs b/vendor/web-sys/src/features/gen_File.rs
new file mode 100644
index 000000000..d22c7495a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_File.rs
@@ -0,0 +1,116 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Blob , extends = :: js_sys :: Object , js_name = File , typescript_type = "File")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `File` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`*"]
+ pub type File;
+ # [wasm_bindgen (structural , method , getter , js_class = "File" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`*"]
+ pub fn name(this: &File) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "File" , js_name = lastModified)]
+ #[doc = "Getter for the `lastModified` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/lastModified)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`*"]
+ pub fn last_modified(this: &File) -> f64;
+ #[wasm_bindgen(catch, constructor, js_class = "File")]
+ #[doc = "The `new File(..)` constructor, creating a new instance of `File`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/File)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`*"]
+ pub fn new_with_buffer_source_sequence(
+ file_bits: &::wasm_bindgen::JsValue,
+ file_name: &str,
+ ) -> Result<File, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "File")]
+ #[doc = "The `new File(..)` constructor, creating a new instance of `File`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/File)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`*"]
+ pub fn new_with_u8_array_sequence(
+ file_bits: &::wasm_bindgen::JsValue,
+ file_name: &str,
+ ) -> Result<File, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "File")]
+ #[doc = "The `new File(..)` constructor, creating a new instance of `File`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/File)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`*"]
+ pub fn new_with_blob_sequence(
+ file_bits: &::wasm_bindgen::JsValue,
+ file_name: &str,
+ ) -> Result<File, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "File")]
+ #[doc = "The `new File(..)` constructor, creating a new instance of `File`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/File)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`*"]
+ pub fn new_with_str_sequence(
+ file_bits: &::wasm_bindgen::JsValue,
+ file_name: &str,
+ ) -> Result<File, JsValue>;
+ #[cfg(feature = "FilePropertyBag")]
+ #[wasm_bindgen(catch, constructor, js_class = "File")]
+ #[doc = "The `new File(..)` constructor, creating a new instance of `File`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/File)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`, `FilePropertyBag`*"]
+ pub fn new_with_buffer_source_sequence_and_options(
+ file_bits: &::wasm_bindgen::JsValue,
+ file_name: &str,
+ options: &FilePropertyBag,
+ ) -> Result<File, JsValue>;
+ #[cfg(feature = "FilePropertyBag")]
+ #[wasm_bindgen(catch, constructor, js_class = "File")]
+ #[doc = "The `new File(..)` constructor, creating a new instance of `File`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/File)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`, `FilePropertyBag`*"]
+ pub fn new_with_u8_array_sequence_and_options(
+ file_bits: &::wasm_bindgen::JsValue,
+ file_name: &str,
+ options: &FilePropertyBag,
+ ) -> Result<File, JsValue>;
+ #[cfg(feature = "FilePropertyBag")]
+ #[wasm_bindgen(catch, constructor, js_class = "File")]
+ #[doc = "The `new File(..)` constructor, creating a new instance of `File`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/File)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`, `FilePropertyBag`*"]
+ pub fn new_with_blob_sequence_and_options(
+ file_bits: &::wasm_bindgen::JsValue,
+ file_name: &str,
+ options: &FilePropertyBag,
+ ) -> Result<File, JsValue>;
+ #[cfg(feature = "FilePropertyBag")]
+ #[wasm_bindgen(catch, constructor, js_class = "File")]
+ #[doc = "The `new File(..)` constructor, creating a new instance of `File`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/File)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`, `FilePropertyBag`*"]
+ pub fn new_with_str_sequence_and_options(
+ file_bits: &::wasm_bindgen::JsValue,
+ file_name: &str,
+ options: &FilePropertyBag,
+ ) -> Result<File, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_FileCallback.rs b/vendor/web-sys/src/features/gen_FileCallback.rs
new file mode 100644
index 000000000..fd46ab229
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FileCallback.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileCallback)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FileCallback` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileCallback`*"]
+ pub type FileCallback;
+}
+impl FileCallback {
+ #[doc = "Construct a new `FileCallback`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileCallback`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `handleEvent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileCallback`*"]
+ pub fn handle_event(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("handleEvent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for FileCallback {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FileList.rs b/vendor/web-sys/src/features/gen_FileList.rs
new file mode 100644
index 000000000..5e6132dc3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FileList.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileList , typescript_type = "FileList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FileList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileList`*"]
+ pub type FileList;
+ # [wasm_bindgen (structural , method , getter , js_class = "FileList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileList`*"]
+ pub fn length(this: &FileList) -> u32;
+ #[cfg(feature = "File")]
+ # [wasm_bindgen (method , structural , js_class = "FileList" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileList/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`, `FileList`*"]
+ pub fn item(this: &FileList, index: u32) -> Option<File>;
+ #[cfg(feature = "File")]
+ #[wasm_bindgen(method, structural, js_class = "FileList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `File`, `FileList`*"]
+ pub fn get(this: &FileList, index: u32) -> Option<File>;
+}
diff --git a/vendor/web-sys/src/features/gen_FilePropertyBag.rs b/vendor/web-sys/src/features/gen_FilePropertyBag.rs
new file mode 100644
index 000000000..594aea9bb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FilePropertyBag.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FilePropertyBag)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FilePropertyBag` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FilePropertyBag`*"]
+ pub type FilePropertyBag;
+}
+impl FilePropertyBag {
+ #[doc = "Construct a new `FilePropertyBag`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FilePropertyBag`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `lastModified` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FilePropertyBag`*"]
+ pub fn last_modified(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lastModified"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FilePropertyBag`*"]
+ pub fn type_(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for FilePropertyBag {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FileReader.rs b/vendor/web-sys/src/features/gen_FileReader.rs
new file mode 100644
index 000000000..5263af681
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FileReader.rs
@@ -0,0 +1,192 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = FileReader , typescript_type = "FileReader")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FileReader` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub type FileReader;
+ # [wasm_bindgen (structural , method , getter , js_class = "FileReader" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn ready_state(this: &FileReader) -> u16;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "FileReader" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn result(this: &FileReader) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ #[cfg(feature = "DomException")]
+ # [wasm_bindgen (structural , method , getter , js_class = "FileReader" , js_name = error)]
+ #[doc = "Getter for the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`, `FileReader`*"]
+ pub fn error(this: &FileReader) -> Option<DomException>;
+ # [wasm_bindgen (structural , method , getter , js_class = "FileReader" , js_name = onloadstart)]
+ #[doc = "Getter for the `onloadstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onloadstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn onloadstart(this: &FileReader) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "FileReader" , js_name = onloadstart)]
+ #[doc = "Setter for the `onloadstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onloadstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn set_onloadstart(this: &FileReader, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "FileReader" , js_name = onprogress)]
+ #[doc = "Getter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn onprogress(this: &FileReader) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "FileReader" , js_name = onprogress)]
+ #[doc = "Setter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn set_onprogress(this: &FileReader, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "FileReader" , js_name = onload)]
+ #[doc = "Getter for the `onload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn onload(this: &FileReader) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "FileReader" , js_name = onload)]
+ #[doc = "Setter for the `onload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn set_onload(this: &FileReader, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "FileReader" , js_name = onabort)]
+ #[doc = "Getter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn onabort(this: &FileReader) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "FileReader" , js_name = onabort)]
+ #[doc = "Setter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn set_onabort(this: &FileReader, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "FileReader" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn onerror(this: &FileReader) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "FileReader" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn set_onerror(this: &FileReader, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "FileReader" , js_name = onloadend)]
+ #[doc = "Getter for the `onloadend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onloadend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn onloadend(this: &FileReader) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "FileReader" , js_name = onloadend)]
+ #[doc = "Setter for the `onloadend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onloadend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn set_onloadend(this: &FileReader, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "FileReader")]
+ #[doc = "The `new FileReader(..)` constructor, creating a new instance of `FileReader`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/FileReader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn new() -> Result<FileReader, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "FileReader" , js_name = abort)]
+ #[doc = "The `abort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/abort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub fn abort(this: &FileReader);
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileReader" , js_name = readAsArrayBuffer)]
+ #[doc = "The `readAsArrayBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsArrayBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReader`*"]
+ pub fn read_as_array_buffer(this: &FileReader, blob: &Blob) -> Result<(), JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileReader" , js_name = readAsBinaryString)]
+ #[doc = "The `readAsBinaryString()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsBinaryString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReader`*"]
+ pub fn read_as_binary_string(this: &FileReader, filedata: &Blob) -> Result<(), JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileReader" , js_name = readAsDataURL)]
+ #[doc = "The `readAsDataURL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReader`*"]
+ pub fn read_as_data_url(this: &FileReader, blob: &Blob) -> Result<(), JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileReader" , js_name = readAsText)]
+ #[doc = "The `readAsText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReader`*"]
+ pub fn read_as_text(this: &FileReader, blob: &Blob) -> Result<(), JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileReader" , js_name = readAsText)]
+ #[doc = "The `readAsText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReader`*"]
+ pub fn read_as_text_with_label(
+ this: &FileReader,
+ blob: &Blob,
+ label: &str,
+ ) -> Result<(), JsValue>;
+}
+impl FileReader {
+ #[doc = "The `FileReader.EMPTY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub const EMPTY: u16 = 0i64 as u16;
+ #[doc = "The `FileReader.LOADING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub const LOADING: u16 = 1u64 as u16;
+ #[doc = "The `FileReader.DONE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReader`*"]
+ pub const DONE: u16 = 2u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_FileReaderSync.rs b/vendor/web-sys/src/features/gen_FileReaderSync.rs
new file mode 100644
index 000000000..c8ec2a664
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FileReaderSync.rs
@@ -0,0 +1,68 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileReaderSync , typescript_type = "FileReaderSync")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FileReaderSync` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReaderSync`*"]
+ pub type FileReaderSync;
+ #[wasm_bindgen(catch, constructor, js_class = "FileReaderSync")]
+ #[doc = "The `new FileReaderSync(..)` constructor, creating a new instance of `FileReaderSync`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/FileReaderSync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileReaderSync`*"]
+ pub fn new() -> Result<FileReaderSync, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileReaderSync" , js_name = readAsArrayBuffer)]
+ #[doc = "The `readAsArrayBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsArrayBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*"]
+ pub fn read_as_array_buffer(
+ this: &FileReaderSync,
+ blob: &Blob,
+ ) -> Result<::js_sys::ArrayBuffer, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileReaderSync" , js_name = readAsBinaryString)]
+ #[doc = "The `readAsBinaryString()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsBinaryString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*"]
+ pub fn read_as_binary_string(this: &FileReaderSync, blob: &Blob) -> Result<String, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileReaderSync" , js_name = readAsDataURL)]
+ #[doc = "The `readAsDataURL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsDataURL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*"]
+ pub fn read_as_data_url(this: &FileReaderSync, blob: &Blob) -> Result<String, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileReaderSync" , js_name = readAsText)]
+ #[doc = "The `readAsText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*"]
+ pub fn read_as_text(this: &FileReaderSync, blob: &Blob) -> Result<String, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileReaderSync" , js_name = readAsText)]
+ #[doc = "The `readAsText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*"]
+ pub fn read_as_text_with_encoding(
+ this: &FileReaderSync,
+ blob: &Blob,
+ encoding: &str,
+ ) -> Result<String, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_FileSystem.rs b/vendor/web-sys/src/features/gen_FileSystem.rs
new file mode 100644
index 000000000..09f217e0e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FileSystem.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystem , typescript_type = "FileSystem")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FileSystem` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystem`*"]
+ pub type FileSystem;
+ # [wasm_bindgen (structural , method , getter , js_class = "FileSystem" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystem`*"]
+ pub fn name(this: &FileSystem) -> String;
+ #[cfg(feature = "FileSystemDirectoryEntry")]
+ # [wasm_bindgen (structural , method , getter , js_class = "FileSystem" , js_name = root)]
+ #[doc = "Getter for the `root` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem/root)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystem`, `FileSystemDirectoryEntry`*"]
+ pub fn root(this: &FileSystem) -> FileSystemDirectoryEntry;
+}
diff --git a/vendor/web-sys/src/features/gen_FileSystemDirectoryEntry.rs b/vendor/web-sys/src/features/gen_FileSystemDirectoryEntry.rs
new file mode 100644
index 000000000..1a291e441
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FileSystemDirectoryEntry.rs
@@ -0,0 +1,246 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = FileSystemEntry , extends = :: js_sys :: Object , js_name = FileSystemDirectoryEntry , typescript_type = "FileSystemDirectoryEntry")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FileSystemDirectoryEntry` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*"]
+ pub type FileSystemDirectoryEntry;
+ #[cfg(feature = "FileSystemDirectoryReader")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = createReader)]
+ #[doc = "The `createReader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/createReader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemDirectoryReader`*"]
+ pub fn create_reader(this: &FileSystemDirectoryEntry) -> FileSystemDirectoryReader;
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory)]
+ #[doc = "The `getDirectory()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*"]
+ pub fn get_directory(this: &FileSystemDirectoryEntry);
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory)]
+ #[doc = "The `getDirectory()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*"]
+ pub fn get_directory_with_path(this: &FileSystemDirectoryEntry, path: Option<&str>);
+ #[cfg(feature = "FileSystemFlags")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory)]
+ #[doc = "The `getDirectory()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*"]
+ pub fn get_directory_with_path_and_options(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ );
+ #[cfg(feature = "FileSystemFlags")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory)]
+ #[doc = "The `getDirectory()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*"]
+ pub fn get_directory_with_path_and_options_and_callback(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ success_callback: &::js_sys::Function,
+ );
+ #[cfg(all(feature = "FileSystemEntryCallback", feature = "FileSystemFlags",))]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory)]
+ #[doc = "The `getDirectory()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*"]
+ pub fn get_directory_with_path_and_options_and_file_system_entry_callback(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ success_callback: &FileSystemEntryCallback,
+ );
+ #[cfg(feature = "FileSystemFlags")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory)]
+ #[doc = "The `getDirectory()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*"]
+ pub fn get_directory_with_path_and_options_and_callback_and_callback(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ success_callback: &::js_sys::Function,
+ error_callback: &::js_sys::Function,
+ );
+ #[cfg(all(feature = "FileSystemEntryCallback", feature = "FileSystemFlags",))]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory)]
+ #[doc = "The `getDirectory()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*"]
+ pub fn get_directory_with_path_and_options_and_file_system_entry_callback_and_callback(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ success_callback: &FileSystemEntryCallback,
+ error_callback: &::js_sys::Function,
+ );
+ #[cfg(all(feature = "ErrorCallback", feature = "FileSystemFlags",))]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory)]
+ #[doc = "The `getDirectory()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryEntry`, `FileSystemFlags`*"]
+ pub fn get_directory_with_path_and_options_and_callback_and_error_callback(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ success_callback: &::js_sys::Function,
+ error_callback: &ErrorCallback,
+ );
+ #[cfg(all(
+ feature = "ErrorCallback",
+ feature = "FileSystemEntryCallback",
+ feature = "FileSystemFlags",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory)]
+ #[doc = "The `getDirectory()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*"]
+ pub fn get_directory_with_path_and_options_and_file_system_entry_callback_and_error_callback(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ success_callback: &FileSystemEntryCallback,
+ error_callback: &ErrorCallback,
+ );
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile)]
+ #[doc = "The `getFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*"]
+ pub fn get_file(this: &FileSystemDirectoryEntry);
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile)]
+ #[doc = "The `getFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*"]
+ pub fn get_file_with_path(this: &FileSystemDirectoryEntry, path: Option<&str>);
+ #[cfg(feature = "FileSystemFlags")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile)]
+ #[doc = "The `getFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*"]
+ pub fn get_file_with_path_and_options(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ );
+ #[cfg(feature = "FileSystemFlags")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile)]
+ #[doc = "The `getFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*"]
+ pub fn get_file_with_path_and_options_and_callback(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ success_callback: &::js_sys::Function,
+ );
+ #[cfg(all(feature = "FileSystemEntryCallback", feature = "FileSystemFlags",))]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile)]
+ #[doc = "The `getFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*"]
+ pub fn get_file_with_path_and_options_and_file_system_entry_callback(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ success_callback: &FileSystemEntryCallback,
+ );
+ #[cfg(feature = "FileSystemFlags")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile)]
+ #[doc = "The `getFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*"]
+ pub fn get_file_with_path_and_options_and_callback_and_callback(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ success_callback: &::js_sys::Function,
+ error_callback: &::js_sys::Function,
+ );
+ #[cfg(all(feature = "FileSystemEntryCallback", feature = "FileSystemFlags",))]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile)]
+ #[doc = "The `getFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*"]
+ pub fn get_file_with_path_and_options_and_file_system_entry_callback_and_callback(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ success_callback: &FileSystemEntryCallback,
+ error_callback: &::js_sys::Function,
+ );
+ #[cfg(all(feature = "ErrorCallback", feature = "FileSystemFlags",))]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile)]
+ #[doc = "The `getFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryEntry`, `FileSystemFlags`*"]
+ pub fn get_file_with_path_and_options_and_callback_and_error_callback(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ success_callback: &::js_sys::Function,
+ error_callback: &ErrorCallback,
+ );
+ #[cfg(all(
+ feature = "ErrorCallback",
+ feature = "FileSystemEntryCallback",
+ feature = "FileSystemFlags",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile)]
+ #[doc = "The `getFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*"]
+ pub fn get_file_with_path_and_options_and_file_system_entry_callback_and_error_callback(
+ this: &FileSystemDirectoryEntry,
+ path: Option<&str>,
+ options: &FileSystemFlags,
+ success_callback: &FileSystemEntryCallback,
+ error_callback: &ErrorCallback,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_FileSystemDirectoryReader.rs b/vendor/web-sys/src/features/gen_FileSystemDirectoryReader.rs
new file mode 100644
index 000000000..4d6a922b8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FileSystemDirectoryReader.rs
@@ -0,0 +1,82 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemDirectoryReader , typescript_type = "FileSystemDirectoryReader")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FileSystemDirectoryReader` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryReader`*"]
+ pub type FileSystemDirectoryReader;
+ # [wasm_bindgen (catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries)]
+ #[doc = "The `readEntries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryReader`*"]
+ pub fn read_entries_with_callback(
+ this: &FileSystemDirectoryReader,
+ success_callback: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "FileSystemEntriesCallback")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries)]
+ #[doc = "The `readEntries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryReader`, `FileSystemEntriesCallback`*"]
+ pub fn read_entries_with_file_system_entries_callback(
+ this: &FileSystemDirectoryReader,
+ success_callback: &FileSystemEntriesCallback,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries)]
+ #[doc = "The `readEntries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryReader`*"]
+ pub fn read_entries_with_callback_and_callback(
+ this: &FileSystemDirectoryReader,
+ success_callback: &::js_sys::Function,
+ error_callback: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "FileSystemEntriesCallback")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries)]
+ #[doc = "The `readEntries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryReader`, `FileSystemEntriesCallback`*"]
+ pub fn read_entries_with_file_system_entries_callback_and_callback(
+ this: &FileSystemDirectoryReader,
+ success_callback: &FileSystemEntriesCallback,
+ error_callback: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ErrorCallback")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries)]
+ #[doc = "The `readEntries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryReader`*"]
+ pub fn read_entries_with_callback_and_error_callback(
+ this: &FileSystemDirectoryReader,
+ success_callback: &::js_sys::Function,
+ error_callback: &ErrorCallback,
+ ) -> Result<(), JsValue>;
+ #[cfg(all(feature = "ErrorCallback", feature = "FileSystemEntriesCallback",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries)]
+ #[doc = "The `readEntries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryReader`, `FileSystemEntriesCallback`*"]
+ pub fn read_entries_with_file_system_entries_callback_and_error_callback(
+ this: &FileSystemDirectoryReader,
+ success_callback: &FileSystemEntriesCallback,
+ error_callback: &ErrorCallback,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_FileSystemEntriesCallback.rs b/vendor/web-sys/src/features/gen_FileSystemEntriesCallback.rs
new file mode 100644
index 000000000..f8ef26903
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FileSystemEntriesCallback.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemEntriesCallback)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FileSystemEntriesCallback` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntriesCallback`*"]
+ pub type FileSystemEntriesCallback;
+}
+impl FileSystemEntriesCallback {
+ #[doc = "Construct a new `FileSystemEntriesCallback`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntriesCallback`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `handleEvent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntriesCallback`*"]
+ pub fn handle_event(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("handleEvent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for FileSystemEntriesCallback {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FileSystemEntry.rs b/vendor/web-sys/src/features/gen_FileSystemEntry.rs
new file mode 100644
index 000000000..7834d6868
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FileSystemEntry.rs
@@ -0,0 +1,122 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemEntry , typescript_type = "FileSystemEntry")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FileSystemEntry` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntry`*"]
+ pub type FileSystemEntry;
+ # [wasm_bindgen (structural , method , getter , js_class = "FileSystemEntry" , js_name = isFile)]
+ #[doc = "Getter for the `isFile` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntry`*"]
+ pub fn is_file(this: &FileSystemEntry) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "FileSystemEntry" , js_name = isDirectory)]
+ #[doc = "Getter for the `isDirectory` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isDirectory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntry`*"]
+ pub fn is_directory(this: &FileSystemEntry) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "FileSystemEntry" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntry`*"]
+ pub fn name(this: &FileSystemEntry) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "FileSystemEntry" , js_name = fullPath)]
+ #[doc = "Getter for the `fullPath` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/fullPath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntry`*"]
+ pub fn full_path(this: &FileSystemEntry) -> String;
+ #[cfg(feature = "FileSystem")]
+ # [wasm_bindgen (structural , method , getter , js_class = "FileSystemEntry" , js_name = filesystem)]
+ #[doc = "Getter for the `filesystem` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/filesystem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystem`, `FileSystemEntry`*"]
+ pub fn filesystem(this: &FileSystemEntry) -> FileSystem;
+ # [wasm_bindgen (method , structural , js_class = "FileSystemEntry" , js_name = getParent)]
+ #[doc = "The `getParent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntry`*"]
+ pub fn get_parent(this: &FileSystemEntry);
+ # [wasm_bindgen (method , structural , js_class = "FileSystemEntry" , js_name = getParent)]
+ #[doc = "The `getParent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntry`*"]
+ pub fn get_parent_with_callback(this: &FileSystemEntry, success_callback: &::js_sys::Function);
+ #[cfg(feature = "FileSystemEntryCallback")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemEntry" , js_name = getParent)]
+ #[doc = "The `getParent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntry`, `FileSystemEntryCallback`*"]
+ pub fn get_parent_with_file_system_entry_callback(
+ this: &FileSystemEntry,
+ success_callback: &FileSystemEntryCallback,
+ );
+ # [wasm_bindgen (method , structural , js_class = "FileSystemEntry" , js_name = getParent)]
+ #[doc = "The `getParent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntry`*"]
+ pub fn get_parent_with_callback_and_callback(
+ this: &FileSystemEntry,
+ success_callback: &::js_sys::Function,
+ error_callback: &::js_sys::Function,
+ );
+ #[cfg(feature = "FileSystemEntryCallback")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemEntry" , js_name = getParent)]
+ #[doc = "The `getParent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntry`, `FileSystemEntryCallback`*"]
+ pub fn get_parent_with_file_system_entry_callback_and_callback(
+ this: &FileSystemEntry,
+ success_callback: &FileSystemEntryCallback,
+ error_callback: &::js_sys::Function,
+ );
+ #[cfg(feature = "ErrorCallback")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemEntry" , js_name = getParent)]
+ #[doc = "The `getParent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemEntry`*"]
+ pub fn get_parent_with_callback_and_error_callback(
+ this: &FileSystemEntry,
+ success_callback: &::js_sys::Function,
+ error_callback: &ErrorCallback,
+ );
+ #[cfg(all(feature = "ErrorCallback", feature = "FileSystemEntryCallback",))]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemEntry" , js_name = getParent)]
+ #[doc = "The `getParent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemEntry`, `FileSystemEntryCallback`*"]
+ pub fn get_parent_with_file_system_entry_callback_and_error_callback(
+ this: &FileSystemEntry,
+ success_callback: &FileSystemEntryCallback,
+ error_callback: &ErrorCallback,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_FileSystemEntryCallback.rs b/vendor/web-sys/src/features/gen_FileSystemEntryCallback.rs
new file mode 100644
index 000000000..38f4306e3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FileSystemEntryCallback.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemEntryCallback)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FileSystemEntryCallback` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntryCallback`*"]
+ pub type FileSystemEntryCallback;
+}
+impl FileSystemEntryCallback {
+ #[doc = "Construct a new `FileSystemEntryCallback`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntryCallback`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `handleEvent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemEntryCallback`*"]
+ pub fn handle_event(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("handleEvent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for FileSystemEntryCallback {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FileSystemFileEntry.rs b/vendor/web-sys/src/features/gen_FileSystemFileEntry.rs
new file mode 100644
index 000000000..84dc290ab
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FileSystemFileEntry.rs
@@ -0,0 +1,76 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = FileSystemEntry , extends = :: js_sys :: Object , js_name = FileSystemFileEntry , typescript_type = "FileSystemFileEntry")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FileSystemFileEntry` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemFileEntry`*"]
+ pub type FileSystemFileEntry;
+ # [wasm_bindgen (method , structural , js_class = "FileSystemFileEntry" , js_name = file)]
+ #[doc = "The `file()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemFileEntry`*"]
+ pub fn file_with_callback(this: &FileSystemFileEntry, success_callback: &::js_sys::Function);
+ #[cfg(feature = "FileCallback")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemFileEntry" , js_name = file)]
+ #[doc = "The `file()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileCallback`, `FileSystemFileEntry`*"]
+ pub fn file_with_file_callback(this: &FileSystemFileEntry, success_callback: &FileCallback);
+ # [wasm_bindgen (method , structural , js_class = "FileSystemFileEntry" , js_name = file)]
+ #[doc = "The `file()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemFileEntry`*"]
+ pub fn file_with_callback_and_callback(
+ this: &FileSystemFileEntry,
+ success_callback: &::js_sys::Function,
+ error_callback: &::js_sys::Function,
+ );
+ #[cfg(feature = "FileCallback")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemFileEntry" , js_name = file)]
+ #[doc = "The `file()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileCallback`, `FileSystemFileEntry`*"]
+ pub fn file_with_file_callback_and_callback(
+ this: &FileSystemFileEntry,
+ success_callback: &FileCallback,
+ error_callback: &::js_sys::Function,
+ );
+ #[cfg(feature = "ErrorCallback")]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemFileEntry" , js_name = file)]
+ #[doc = "The `file()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemFileEntry`*"]
+ pub fn file_with_callback_and_error_callback(
+ this: &FileSystemFileEntry,
+ success_callback: &::js_sys::Function,
+ error_callback: &ErrorCallback,
+ );
+ #[cfg(all(feature = "ErrorCallback", feature = "FileCallback",))]
+ # [wasm_bindgen (method , structural , js_class = "FileSystemFileEntry" , js_name = file)]
+ #[doc = "The `file()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`, `FileCallback`, `FileSystemFileEntry`*"]
+ pub fn file_with_file_callback_and_error_callback(
+ this: &FileSystemFileEntry,
+ success_callback: &FileCallback,
+ error_callback: &ErrorCallback,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_FileSystemFlags.rs b/vendor/web-sys/src/features/gen_FileSystemFlags.rs
new file mode 100644
index 000000000..3faa15247
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FileSystemFlags.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemFlags)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FileSystemFlags` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemFlags`*"]
+ pub type FileSystemFlags;
+}
+impl FileSystemFlags {
+ #[doc = "Construct a new `FileSystemFlags`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemFlags`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `create` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemFlags`*"]
+ pub fn create(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("create"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `exclusive` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileSystemFlags`*"]
+ pub fn exclusive(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("exclusive"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for FileSystemFlags {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FillMode.rs b/vendor/web-sys/src/features/gen_FillMode.rs
new file mode 100644
index 000000000..1e1001a68
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FillMode.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `FillMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `FillMode`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum FillMode {
+ None = "none",
+ Forwards = "forwards",
+ Backwards = "backwards",
+ Both = "both",
+ Auto = "auto",
+}
diff --git a/vendor/web-sys/src/features/gen_FlashClassification.rs b/vendor/web-sys/src/features/gen_FlashClassification.rs
new file mode 100644
index 000000000..eecf9f8f6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FlashClassification.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `FlashClassification` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `FlashClassification`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum FlashClassification {
+ Unclassified = "unclassified",
+ Unknown = "unknown",
+ Allowed = "allowed",
+ Denied = "denied",
+}
diff --git a/vendor/web-sys/src/features/gen_FlexLineGrowthState.rs b/vendor/web-sys/src/features/gen_FlexLineGrowthState.rs
new file mode 100644
index 000000000..ee9375312
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FlexLineGrowthState.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `FlexLineGrowthState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `FlexLineGrowthState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum FlexLineGrowthState {
+ Unchanged = "unchanged",
+ Shrinking = "shrinking",
+ Growing = "growing",
+}
diff --git a/vendor/web-sys/src/features/gen_FlowControlType.rs b/vendor/web-sys/src/features/gen_FlowControlType.rs
new file mode 100644
index 000000000..132d1872e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FlowControlType.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `FlowControlType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `FlowControlType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum FlowControlType {
+ None = "none",
+ Hardware = "hardware",
+}
diff --git a/vendor/web-sys/src/features/gen_FocusEvent.rs b/vendor/web-sys/src/features/gen_FocusEvent.rs
new file mode 100644
index 000000000..d50c0dca3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FocusEvent.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = UiEvent , extends = Event , extends = :: js_sys :: Object , js_name = FocusEvent , typescript_type = "FocusEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FocusEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FocusEvent`*"]
+ pub type FocusEvent;
+ #[cfg(feature = "EventTarget")]
+ # [wasm_bindgen (structural , method , getter , js_class = "FocusEvent" , js_name = relatedTarget)]
+ #[doc = "Getter for the `relatedTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/relatedTarget)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`, `FocusEvent`*"]
+ pub fn related_target(this: &FocusEvent) -> Option<EventTarget>;
+ #[wasm_bindgen(catch, constructor, js_class = "FocusEvent")]
+ #[doc = "The `new FocusEvent(..)` constructor, creating a new instance of `FocusEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/FocusEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FocusEvent`*"]
+ pub fn new(type_arg: &str) -> Result<FocusEvent, JsValue>;
+ #[cfg(feature = "FocusEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "FocusEvent")]
+ #[doc = "The `new FocusEvent(..)` constructor, creating a new instance of `FocusEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/FocusEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FocusEvent`, `FocusEventInit`*"]
+ pub fn new_with_focus_event_init_dict(
+ type_arg: &str,
+ focus_event_init_dict: &FocusEventInit,
+ ) -> Result<FocusEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_FocusEventInit.rs b/vendor/web-sys/src/features/gen_FocusEventInit.rs
new file mode 100644
index 000000000..b58db2076
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FocusEventInit.rs
@@ -0,0 +1,124 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FocusEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FocusEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FocusEventInit`*"]
+ pub type FocusEventInit;
+}
+impl FocusEventInit {
+ #[doc = "Construct a new `FocusEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FocusEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FocusEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FocusEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FocusEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FocusEventInit`*"]
+ pub fn detail(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detail"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Window")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FocusEventInit`, `Window`*"]
+ pub fn view(&mut self, val: Option<&Window>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "EventTarget")]
+ #[doc = "Change the `relatedTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`, `FocusEventInit`*"]
+ pub fn related_target(&mut self, val: Option<&EventTarget>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("relatedTarget"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for FocusEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FontFace.rs b/vendor/web-sys/src/features/gen_FontFace.rs
new file mode 100644
index 000000000..b1c93184a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FontFace.rs
@@ -0,0 +1,244 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FontFace , typescript_type = "FontFace")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FontFace` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub type FontFace;
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFace" , js_name = family)]
+ #[doc = "Getter for the `family` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/family)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn family(this: &FontFace) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "FontFace" , js_name = family)]
+ #[doc = "Setter for the `family` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/family)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn set_family(this: &FontFace, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFace" , js_name = style)]
+ #[doc = "Getter for the `style` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/style)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn style(this: &FontFace) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "FontFace" , js_name = style)]
+ #[doc = "Setter for the `style` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/style)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn set_style(this: &FontFace, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFace" , js_name = weight)]
+ #[doc = "Getter for the `weight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/weight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn weight(this: &FontFace) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "FontFace" , js_name = weight)]
+ #[doc = "Setter for the `weight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/weight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn set_weight(this: &FontFace, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFace" , js_name = stretch)]
+ #[doc = "Getter for the `stretch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/stretch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn stretch(this: &FontFace) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "FontFace" , js_name = stretch)]
+ #[doc = "Setter for the `stretch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/stretch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn set_stretch(this: &FontFace, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFace" , js_name = unicodeRange)]
+ #[doc = "Getter for the `unicodeRange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/unicodeRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn unicode_range(this: &FontFace) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "FontFace" , js_name = unicodeRange)]
+ #[doc = "Setter for the `unicodeRange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/unicodeRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn set_unicode_range(this: &FontFace, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFace" , js_name = variant)]
+ #[doc = "Getter for the `variant` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/variant)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn variant(this: &FontFace) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "FontFace" , js_name = variant)]
+ #[doc = "Setter for the `variant` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/variant)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn set_variant(this: &FontFace, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFace" , js_name = featureSettings)]
+ #[doc = "Getter for the `featureSettings` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/featureSettings)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn feature_settings(this: &FontFace) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "FontFace" , js_name = featureSettings)]
+ #[doc = "Setter for the `featureSettings` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/featureSettings)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn set_feature_settings(this: &FontFace, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFace" , js_name = variationSettings)]
+ #[doc = "Getter for the `variationSettings` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/variationSettings)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn variation_settings(this: &FontFace) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "FontFace" , js_name = variationSettings)]
+ #[doc = "Setter for the `variationSettings` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/variationSettings)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn set_variation_settings(this: &FontFace, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFace" , js_name = display)]
+ #[doc = "Getter for the `display` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/display)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn display(this: &FontFace) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "FontFace" , js_name = display)]
+ #[doc = "Setter for the `display` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/display)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn set_display(this: &FontFace, value: &str);
+ #[cfg(feature = "FontFaceLoadStatus")]
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFace" , js_name = status)]
+ #[doc = "Getter for the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/status)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`, `FontFaceLoadStatus`*"]
+ pub fn status(this: &FontFace) -> FontFaceLoadStatus;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "FontFace" , js_name = loaded)]
+ #[doc = "Getter for the `loaded` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/loaded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn loaded(this: &FontFace) -> Result<::js_sys::Promise, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "FontFace")]
+ #[doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn new_with_str(family: &str, source: &str) -> Result<FontFace, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "FontFace")]
+ #[doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn new_with_array_buffer(
+ family: &str,
+ source: &::js_sys::ArrayBuffer,
+ ) -> Result<FontFace, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "FontFace")]
+ #[doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn new_with_array_buffer_view(
+ family: &str,
+ source: &::js_sys::Object,
+ ) -> Result<FontFace, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "FontFace")]
+ #[doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn new_with_u8_array(family: &str, source: &[u8]) -> Result<FontFace, JsValue>;
+ #[cfg(feature = "FontFaceDescriptors")]
+ #[wasm_bindgen(catch, constructor, js_class = "FontFace")]
+ #[doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`, `FontFaceDescriptors`*"]
+ pub fn new_with_str_and_descriptors(
+ family: &str,
+ source: &str,
+ descriptors: &FontFaceDescriptors,
+ ) -> Result<FontFace, JsValue>;
+ #[cfg(feature = "FontFaceDescriptors")]
+ #[wasm_bindgen(catch, constructor, js_class = "FontFace")]
+ #[doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`, `FontFaceDescriptors`*"]
+ pub fn new_with_array_buffer_and_descriptors(
+ family: &str,
+ source: &::js_sys::ArrayBuffer,
+ descriptors: &FontFaceDescriptors,
+ ) -> Result<FontFace, JsValue>;
+ #[cfg(feature = "FontFaceDescriptors")]
+ #[wasm_bindgen(catch, constructor, js_class = "FontFace")]
+ #[doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`, `FontFaceDescriptors`*"]
+ pub fn new_with_array_buffer_view_and_descriptors(
+ family: &str,
+ source: &::js_sys::Object,
+ descriptors: &FontFaceDescriptors,
+ ) -> Result<FontFace, JsValue>;
+ #[cfg(feature = "FontFaceDescriptors")]
+ #[wasm_bindgen(catch, constructor, js_class = "FontFace")]
+ #[doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`, `FontFaceDescriptors`*"]
+ pub fn new_with_u8_array_and_descriptors(
+ family: &str,
+ source: &[u8],
+ descriptors: &FontFaceDescriptors,
+ ) -> Result<FontFace, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "FontFace" , js_name = load)]
+ #[doc = "The `load()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/load)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`*"]
+ pub fn load(this: &FontFace) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_FontFaceDescriptors.rs b/vendor/web-sys/src/features/gen_FontFaceDescriptors.rs
new file mode 100644
index 000000000..080792fc1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FontFaceDescriptors.rs
@@ -0,0 +1,156 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FontFaceDescriptors)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FontFaceDescriptors` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceDescriptors`*"]
+ pub type FontFaceDescriptors;
+}
+impl FontFaceDescriptors {
+ #[doc = "Construct a new `FontFaceDescriptors`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceDescriptors`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `display` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceDescriptors`*"]
+ pub fn display(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("display"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `featureSettings` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceDescriptors`*"]
+ pub fn feature_settings(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("featureSettings"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `stretch` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceDescriptors`*"]
+ pub fn stretch(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stretch"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `style` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceDescriptors`*"]
+ pub fn style(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("style"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `unicodeRange` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceDescriptors`*"]
+ pub fn unicode_range(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("unicodeRange"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `variant` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceDescriptors`*"]
+ pub fn variant(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("variant"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `variationSettings` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceDescriptors`*"]
+ pub fn variation_settings(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("variationSettings"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `weight` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceDescriptors`*"]
+ pub fn weight(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("weight"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for FontFaceDescriptors {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FontFaceLoadStatus.rs b/vendor/web-sys/src/features/gen_FontFaceLoadStatus.rs
new file mode 100644
index 000000000..f029f8cf1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FontFaceLoadStatus.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `FontFaceLoadStatus` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `FontFaceLoadStatus`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum FontFaceLoadStatus {
+ Unloaded = "unloaded",
+ Loading = "loading",
+ Loaded = "loaded",
+ Error = "error",
+}
diff --git a/vendor/web-sys/src/features/gen_FontFaceSet.rs b/vendor/web-sys/src/features/gen_FontFaceSet.rs
new file mode 100644
index 000000000..99c8a1f08
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FontFaceSet.rs
@@ -0,0 +1,171 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = FontFaceSet , typescript_type = "FontFaceSet")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FontFaceSet` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub type FontFaceSet;
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFaceSet" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn size(this: &FontFaceSet) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFaceSet" , js_name = onloading)]
+ #[doc = "Getter for the `onloading` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloading)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn onloading(this: &FontFaceSet) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "FontFaceSet" , js_name = onloading)]
+ #[doc = "Setter for the `onloading` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloading)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn set_onloading(this: &FontFaceSet, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFaceSet" , js_name = onloadingdone)]
+ #[doc = "Getter for the `onloadingdone` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloadingdone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn onloadingdone(this: &FontFaceSet) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "FontFaceSet" , js_name = onloadingdone)]
+ #[doc = "Setter for the `onloadingdone` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloadingdone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn set_onloadingdone(this: &FontFaceSet, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFaceSet" , js_name = onloadingerror)]
+ #[doc = "Getter for the `onloadingerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloadingerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn onloadingerror(this: &FontFaceSet) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "FontFaceSet" , js_name = onloadingerror)]
+ #[doc = "Setter for the `onloadingerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloadingerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn set_onloadingerror(this: &FontFaceSet, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "FontFaceSet" , js_name = ready)]
+ #[doc = "Getter for the `ready` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/ready)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn ready(this: &FontFaceSet) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "FontFaceSetLoadStatus")]
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFaceSet" , js_name = status)]
+ #[doc = "Getter for the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/status)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`, `FontFaceSetLoadStatus`*"]
+ pub fn status(this: &FontFaceSet) -> FontFaceSetLoadStatus;
+ #[cfg(feature = "FontFace")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FontFaceSet" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`, `FontFaceSet`*"]
+ pub fn add(this: &FontFaceSet, font: &FontFace) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "FontFaceSet" , js_name = check)]
+ #[doc = "The `check()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/check)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn check(this: &FontFaceSet, font: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "FontFaceSet" , js_name = check)]
+ #[doc = "The `check()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/check)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn check_with_text(this: &FontFaceSet, font: &str, text: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "FontFaceSet" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn clear(this: &FontFaceSet);
+ #[cfg(feature = "FontFace")]
+ # [wasm_bindgen (method , structural , js_class = "FontFaceSet" , js_name = delete)]
+ #[doc = "The `delete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/delete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`, `FontFaceSet`*"]
+ pub fn delete(this: &FontFaceSet, font: &FontFace) -> bool;
+ #[cfg(feature = "FontFaceSetIterator")]
+ # [wasm_bindgen (method , structural , js_class = "FontFaceSet" , js_name = entries)]
+ #[doc = "The `entries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/entries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`, `FontFaceSetIterator`*"]
+ pub fn entries(this: &FontFaceSet) -> FontFaceSetIterator;
+ # [wasm_bindgen (catch , method , structural , js_class = "FontFaceSet" , js_name = forEach)]
+ #[doc = "The `forEach()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/forEach)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn for_each(this: &FontFaceSet, cb: &::js_sys::Function) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "FontFaceSet" , js_name = forEach)]
+ #[doc = "The `forEach()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/forEach)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn for_each_with_this_arg(
+ this: &FontFaceSet,
+ cb: &::js_sys::Function,
+ this_arg: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "FontFace")]
+ # [wasm_bindgen (method , structural , js_class = "FontFaceSet" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFace`, `FontFaceSet`*"]
+ pub fn has(this: &FontFaceSet, font: &FontFace) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "FontFaceSet" , js_name = load)]
+ #[doc = "The `load()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/load)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn load(this: &FontFaceSet, font: &str) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "FontFaceSet" , js_name = load)]
+ #[doc = "The `load()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/load)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`*"]
+ pub fn load_with_text(this: &FontFaceSet, font: &str, text: &str) -> ::js_sys::Promise;
+ #[cfg(feature = "FontFaceSetIterator")]
+ # [wasm_bindgen (method , structural , js_class = "FontFaceSet" , js_name = values)]
+ #[doc = "The `values()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/values)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSet`, `FontFaceSetIterator`*"]
+ pub fn values(this: &FontFaceSet) -> FontFaceSetIterator;
+}
diff --git a/vendor/web-sys/src/features/gen_FontFaceSetIterator.rs b/vendor/web-sys/src/features/gen_FontFaceSetIterator.rs
new file mode 100644
index 000000000..8191f5d10
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FontFaceSetIterator.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = FontFaceSetIterator , typescript_type = "FontFaceSetIterator")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FontFaceSetIterator` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetIterator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetIterator`*"]
+ pub type FontFaceSetIterator;
+ #[cfg(feature = "FontFaceSetIteratorResult")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FontFaceSetIterator" , js_name = next)]
+ #[doc = "The `next()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetIterator/next)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetIterator`, `FontFaceSetIteratorResult`*"]
+ pub fn next(this: &FontFaceSetIterator) -> Result<FontFaceSetIteratorResult, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_FontFaceSetIteratorResult.rs b/vendor/web-sys/src/features/gen_FontFaceSetIteratorResult.rs
new file mode 100644
index 000000000..5b9bcf376
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FontFaceSetIteratorResult.rs
@@ -0,0 +1,50 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FontFaceSetIteratorResult)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FontFaceSetIteratorResult` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetIteratorResult`*"]
+ pub type FontFaceSetIteratorResult;
+}
+impl FontFaceSetIteratorResult {
+ #[doc = "Construct a new `FontFaceSetIteratorResult`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetIteratorResult`*"]
+ pub fn new(done: bool, value: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.done(done);
+ ret.value(value);
+ ret
+ }
+ #[doc = "Change the `done` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetIteratorResult`*"]
+ pub fn done(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("done"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetIteratorResult`*"]
+ pub fn value(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FontFaceSetLoadEvent.rs b/vendor/web-sys/src/features/gen_FontFaceSetLoadEvent.rs
new file mode 100644
index 000000000..800102f8f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FontFaceSetLoadEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = FontFaceSetLoadEvent , typescript_type = "FontFaceSetLoadEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FontFaceSetLoadEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetLoadEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetLoadEvent`*"]
+ pub type FontFaceSetLoadEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "FontFaceSetLoadEvent" , js_name = fontfaces)]
+ #[doc = "Getter for the `fontfaces` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetLoadEvent/fontfaces)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetLoadEvent`*"]
+ pub fn fontfaces(this: &FontFaceSetLoadEvent) -> ::js_sys::Array;
+ #[wasm_bindgen(catch, constructor, js_class = "FontFaceSetLoadEvent")]
+ #[doc = "The `new FontFaceSetLoadEvent(..)` constructor, creating a new instance of `FontFaceSetLoadEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetLoadEvent/FontFaceSetLoadEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetLoadEvent`*"]
+ pub fn new(type_: &str) -> Result<FontFaceSetLoadEvent, JsValue>;
+ #[cfg(feature = "FontFaceSetLoadEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "FontFaceSetLoadEvent")]
+ #[doc = "The `new FontFaceSetLoadEvent(..)` constructor, creating a new instance of `FontFaceSetLoadEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetLoadEvent/FontFaceSetLoadEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetLoadEvent`, `FontFaceSetLoadEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &FontFaceSetLoadEventInit,
+ ) -> Result<FontFaceSetLoadEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_FontFaceSetLoadEventInit.rs b/vendor/web-sys/src/features/gen_FontFaceSetLoadEventInit.rs
new file mode 100644
index 000000000..34570f4cb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FontFaceSetLoadEventInit.rs
@@ -0,0 +1,95 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FontFaceSetLoadEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FontFaceSetLoadEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetLoadEventInit`*"]
+ pub type FontFaceSetLoadEventInit;
+}
+impl FontFaceSetLoadEventInit {
+ #[doc = "Construct a new `FontFaceSetLoadEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetLoadEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetLoadEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetLoadEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetLoadEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `fontfaces` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FontFaceSetLoadEventInit`*"]
+ pub fn fontfaces(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("fontfaces"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for FontFaceSetLoadEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_FontFaceSetLoadStatus.rs b/vendor/web-sys/src/features/gen_FontFaceSetLoadStatus.rs
new file mode 100644
index 000000000..a97a1cefd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FontFaceSetLoadStatus.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `FontFaceSetLoadStatus` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `FontFaceSetLoadStatus`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum FontFaceSetLoadStatus {
+ Loading = "loading",
+ Loaded = "loaded",
+}
diff --git a/vendor/web-sys/src/features/gen_FormData.rs b/vendor/web-sys/src/features/gen_FormData.rs
new file mode 100644
index 000000000..e60528529
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FormData.rs
@@ -0,0 +1,113 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FormData , typescript_type = "FormData")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FormData` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`*"]
+ pub type FormData;
+ #[wasm_bindgen(catch, constructor, js_class = "FormData")]
+ #[doc = "The `new FormData(..)` constructor, creating a new instance of `FormData`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`*"]
+ pub fn new() -> Result<FormData, JsValue>;
+ #[cfg(feature = "HtmlFormElement")]
+ #[wasm_bindgen(catch, constructor, js_class = "FormData")]
+ #[doc = "The `new FormData(..)` constructor, creating a new instance of `FormData`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`, `HtmlFormElement`*"]
+ pub fn new_with_form(form: &HtmlFormElement) -> Result<FormData, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FormData" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FormData`*"]
+ pub fn append_with_blob(this: &FormData, name: &str, value: &Blob) -> Result<(), JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FormData" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FormData`*"]
+ pub fn append_with_blob_and_filename(
+ this: &FormData,
+ name: &str,
+ value: &Blob,
+ filename: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "FormData" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`*"]
+ pub fn append_with_str(this: &FormData, name: &str, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "FormData" , js_name = delete)]
+ #[doc = "The `delete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/delete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`*"]
+ pub fn delete(this: &FormData, name: &str);
+ # [wasm_bindgen (method , structural , js_class = "FormData" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`*"]
+ pub fn get(this: &FormData, name: &str) -> ::wasm_bindgen::JsValue;
+ # [wasm_bindgen (method , structural , js_class = "FormData" , js_name = getAll)]
+ #[doc = "The `getAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/getAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`*"]
+ pub fn get_all(this: &FormData, name: &str) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "FormData" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`*"]
+ pub fn has(this: &FormData, name: &str) -> bool;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FormData" , js_name = set)]
+ #[doc = "The `set()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/set)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FormData`*"]
+ pub fn set_with_blob(this: &FormData, name: &str, value: &Blob) -> Result<(), JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "FormData" , js_name = set)]
+ #[doc = "The `set()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/set)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `FormData`*"]
+ pub fn set_with_blob_and_filename(
+ this: &FormData,
+ name: &str,
+ value: &Blob,
+ filename: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "FormData" , js_name = set)]
+ #[doc = "The `set()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/set)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`*"]
+ pub fn set_with_str(this: &FormData, name: &str, value: &str) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_FrameType.rs b/vendor/web-sys/src/features/gen_FrameType.rs
new file mode 100644
index 000000000..2e3753426
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FrameType.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `FrameType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `FrameType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum FrameType {
+ Auxiliary = "auxiliary",
+ TopLevel = "top-level",
+ Nested = "nested",
+ None = "none",
+}
diff --git a/vendor/web-sys/src/features/gen_FuzzingFunctions.rs b/vendor/web-sys/src/features/gen_FuzzingFunctions.rs
new file mode 100644
index 000000000..f3a6d7fca
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_FuzzingFunctions.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FuzzingFunctions , typescript_type = "FuzzingFunctions")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `FuzzingFunctions` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FuzzingFunctions`*"]
+ pub type FuzzingFunctions;
+ # [wasm_bindgen (static_method_of = FuzzingFunctions , js_class = "FuzzingFunctions" , js_name = cycleCollect)]
+ #[doc = "The `cycleCollect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions/cycleCollect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FuzzingFunctions`*"]
+ pub fn cycle_collect();
+ # [wasm_bindgen (catch , static_method_of = FuzzingFunctions , js_class = "FuzzingFunctions" , js_name = enableAccessibility)]
+ #[doc = "The `enableAccessibility()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions/enableAccessibility)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FuzzingFunctions`*"]
+ pub fn enable_accessibility() -> Result<(), JsValue>;
+ # [wasm_bindgen (static_method_of = FuzzingFunctions , js_class = "FuzzingFunctions" , js_name = garbageCollect)]
+ #[doc = "The `garbageCollect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions/garbageCollect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FuzzingFunctions`*"]
+ pub fn garbage_collect();
+}
diff --git a/vendor/web-sys/src/features/gen_GainNode.rs b/vendor/web-sys/src/features/gen_GainNode.rs
new file mode 100644
index 000000000..fe5d28d70
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GainNode.rs
@@ -0,0 +1,41 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = GainNode , typescript_type = "GainNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GainNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GainNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GainNode`*"]
+ pub type GainNode;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GainNode" , js_name = gain)]
+ #[doc = "Getter for the `gain` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GainNode/gain)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `GainNode`*"]
+ pub fn gain(this: &GainNode) -> AudioParam;
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "GainNode")]
+ #[doc = "The `new GainNode(..)` constructor, creating a new instance of `GainNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GainNode/GainNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `GainNode`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<GainNode, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "GainOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "GainNode")]
+ #[doc = "The `new GainNode(..)` constructor, creating a new instance of `GainNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GainNode/GainNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `GainNode`, `GainOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &GainOptions,
+ ) -> Result<GainNode, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_GainOptions.rs b/vendor/web-sys/src/features/gen_GainOptions.rs
new file mode 100644
index 000000000..9fc6b7605
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GainOptions.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GainOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GainOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GainOptions`*"]
+ pub type GainOptions;
+}
+impl GainOptions {
+ #[doc = "Construct a new `GainOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GainOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GainOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`, `GainOptions`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`, `GainOptions`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `gain` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GainOptions`*"]
+ pub fn gain(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("gain"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for GainOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Gamepad.rs b/vendor/web-sys/src/features/gen_Gamepad.rs
new file mode 100644
index 000000000..7545cec16
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Gamepad.rs
@@ -0,0 +1,94 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Gamepad , typescript_type = "Gamepad")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Gamepad` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`*"]
+ pub type Gamepad;
+ # [wasm_bindgen (structural , method , getter , js_class = "Gamepad" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`*"]
+ pub fn id(this: &Gamepad) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Gamepad" , js_name = index)]
+ #[doc = "Getter for the `index` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/index)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`*"]
+ pub fn index(this: &Gamepad) -> u32;
+ #[cfg(feature = "GamepadMappingType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Gamepad" , js_name = mapping)]
+ #[doc = "Getter for the `mapping` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/mapping)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`, `GamepadMappingType`*"]
+ pub fn mapping(this: &Gamepad) -> GamepadMappingType;
+ #[cfg(feature = "GamepadHand")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Gamepad" , js_name = hand)]
+ #[doc = "Getter for the `hand` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/hand)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`, `GamepadHand`*"]
+ pub fn hand(this: &Gamepad) -> GamepadHand;
+ # [wasm_bindgen (structural , method , getter , js_class = "Gamepad" , js_name = displayId)]
+ #[doc = "Getter for the `displayId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/displayId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`*"]
+ pub fn display_id(this: &Gamepad) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Gamepad" , js_name = connected)]
+ #[doc = "Getter for the `connected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/connected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`*"]
+ pub fn connected(this: &Gamepad) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "Gamepad" , js_name = buttons)]
+ #[doc = "Getter for the `buttons` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/buttons)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`*"]
+ pub fn buttons(this: &Gamepad) -> ::js_sys::Array;
+ # [wasm_bindgen (structural , method , getter , js_class = "Gamepad" , js_name = axes)]
+ #[doc = "Getter for the `axes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/axes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`*"]
+ pub fn axes(this: &Gamepad) -> ::js_sys::Array;
+ # [wasm_bindgen (structural , method , getter , js_class = "Gamepad" , js_name = timestamp)]
+ #[doc = "Getter for the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/timestamp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`*"]
+ pub fn timestamp(this: &Gamepad) -> f64;
+ #[cfg(feature = "GamepadPose")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Gamepad" , js_name = pose)]
+ #[doc = "Getter for the `pose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/pose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`, `GamepadPose`*"]
+ pub fn pose(this: &Gamepad) -> Option<GamepadPose>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Gamepad" , js_name = hapticActuators)]
+ #[doc = "Getter for the `hapticActuators` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/hapticActuators)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`*"]
+ pub fn haptic_actuators(this: &Gamepad) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadAxisMoveEvent.rs b/vendor/web-sys/src/features/gen_GamepadAxisMoveEvent.rs
new file mode 100644
index 000000000..479cf3e4c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadAxisMoveEvent.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = GamepadEvent , extends = Event , extends = :: js_sys :: Object , js_name = GamepadAxisMoveEvent , typescript_type = "GamepadAxisMoveEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GamepadAxisMoveEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`*"]
+ pub type GamepadAxisMoveEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadAxisMoveEvent" , js_name = axis)]
+ #[doc = "Getter for the `axis` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent/axis)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`*"]
+ pub fn axis(this: &GamepadAxisMoveEvent) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadAxisMoveEvent" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`*"]
+ pub fn value(this: &GamepadAxisMoveEvent) -> f64;
+ #[wasm_bindgen(catch, constructor, js_class = "GamepadAxisMoveEvent")]
+ #[doc = "The `new GamepadAxisMoveEvent(..)` constructor, creating a new instance of `GamepadAxisMoveEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent/GamepadAxisMoveEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`*"]
+ pub fn new(type_: &str) -> Result<GamepadAxisMoveEvent, JsValue>;
+ #[cfg(feature = "GamepadAxisMoveEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "GamepadAxisMoveEvent")]
+ #[doc = "The `new GamepadAxisMoveEvent(..)` constructor, creating a new instance of `GamepadAxisMoveEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent/GamepadAxisMoveEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`, `GamepadAxisMoveEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &GamepadAxisMoveEventInit,
+ ) -> Result<GamepadAxisMoveEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadAxisMoveEventInit.rs b/vendor/web-sys/src/features/gen_GamepadAxisMoveEventInit.rs
new file mode 100644
index 000000000..4118c3e7a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadAxisMoveEventInit.rs
@@ -0,0 +1,122 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadAxisMoveEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GamepadAxisMoveEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadAxisMoveEventInit`*"]
+ pub type GamepadAxisMoveEventInit;
+}
+impl GamepadAxisMoveEventInit {
+ #[doc = "Construct a new `GamepadAxisMoveEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadAxisMoveEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadAxisMoveEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadAxisMoveEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadAxisMoveEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Gamepad")]
+ #[doc = "Change the `gamepad` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`, `GamepadAxisMoveEventInit`*"]
+ pub fn gamepad(&mut self, val: Option<&Gamepad>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("gamepad"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `axis` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadAxisMoveEventInit`*"]
+ pub fn axis(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("axis"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadAxisMoveEventInit`*"]
+ pub fn value(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for GamepadAxisMoveEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadButton.rs b/vendor/web-sys/src/features/gen_GamepadButton.rs
new file mode 100644
index 000000000..f06e3ec7d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadButton.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadButton , typescript_type = "GamepadButton")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GamepadButton` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButton`*"]
+ pub type GamepadButton;
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadButton" , js_name = pressed)]
+ #[doc = "Getter for the `pressed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton/pressed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButton`*"]
+ pub fn pressed(this: &GamepadButton) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadButton" , js_name = touched)]
+ #[doc = "Getter for the `touched` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton/touched)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButton`*"]
+ pub fn touched(this: &GamepadButton) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadButton" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButton`*"]
+ pub fn value(this: &GamepadButton) -> f64;
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadButtonEvent.rs b/vendor/web-sys/src/features/gen_GamepadButtonEvent.rs
new file mode 100644
index 000000000..c04f72496
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadButtonEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = GamepadEvent , extends = Event , extends = :: js_sys :: Object , js_name = GamepadButtonEvent , typescript_type = "GamepadButtonEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GamepadButtonEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButtonEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButtonEvent`*"]
+ pub type GamepadButtonEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadButtonEvent" , js_name = button)]
+ #[doc = "Getter for the `button` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButtonEvent/button)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButtonEvent`*"]
+ pub fn button(this: &GamepadButtonEvent) -> u32;
+ #[wasm_bindgen(catch, constructor, js_class = "GamepadButtonEvent")]
+ #[doc = "The `new GamepadButtonEvent(..)` constructor, creating a new instance of `GamepadButtonEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButtonEvent/GamepadButtonEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButtonEvent`*"]
+ pub fn new(type_: &str) -> Result<GamepadButtonEvent, JsValue>;
+ #[cfg(feature = "GamepadButtonEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "GamepadButtonEvent")]
+ #[doc = "The `new GamepadButtonEvent(..)` constructor, creating a new instance of `GamepadButtonEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButtonEvent/GamepadButtonEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButtonEvent`, `GamepadButtonEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &GamepadButtonEventInit,
+ ) -> Result<GamepadButtonEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadButtonEventInit.rs b/vendor/web-sys/src/features/gen_GamepadButtonEventInit.rs
new file mode 100644
index 000000000..3882908c9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadButtonEventInit.rs
@@ -0,0 +1,110 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadButtonEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GamepadButtonEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButtonEventInit`*"]
+ pub type GamepadButtonEventInit;
+}
+impl GamepadButtonEventInit {
+ #[doc = "Construct a new `GamepadButtonEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButtonEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButtonEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButtonEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButtonEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Gamepad")]
+ #[doc = "Change the `gamepad` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`, `GamepadButtonEventInit`*"]
+ pub fn gamepad(&mut self, val: Option<&Gamepad>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("gamepad"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `button` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadButtonEventInit`*"]
+ pub fn button(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("button"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for GamepadButtonEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadEvent.rs b/vendor/web-sys/src/features/gen_GamepadEvent.rs
new file mode 100644
index 000000000..22988feac
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadEvent.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = GamepadEvent , typescript_type = "GamepadEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GamepadEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadEvent`*"]
+ pub type GamepadEvent;
+ #[cfg(feature = "Gamepad")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadEvent" , js_name = gamepad)]
+ #[doc = "Getter for the `gamepad` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent/gamepad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`, `GamepadEvent`*"]
+ pub fn gamepad(this: &GamepadEvent) -> Option<Gamepad>;
+ #[wasm_bindgen(catch, constructor, js_class = "GamepadEvent")]
+ #[doc = "The `new GamepadEvent(..)` constructor, creating a new instance of `GamepadEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent/GamepadEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadEvent`*"]
+ pub fn new(type_: &str) -> Result<GamepadEvent, JsValue>;
+ #[cfg(feature = "GamepadEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "GamepadEvent")]
+ #[doc = "The `new GamepadEvent(..)` constructor, creating a new instance of `GamepadEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent/GamepadEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadEvent`, `GamepadEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &GamepadEventInit,
+ ) -> Result<GamepadEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadEventInit.rs b/vendor/web-sys/src/features/gen_GamepadEventInit.rs
new file mode 100644
index 000000000..67d67ad7b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadEventInit.rs
@@ -0,0 +1,96 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GamepadEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadEventInit`*"]
+ pub type GamepadEventInit;
+}
+impl GamepadEventInit {
+ #[doc = "Construct a new `GamepadEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Gamepad")]
+ #[doc = "Change the `gamepad` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`, `GamepadEventInit`*"]
+ pub fn gamepad(&mut self, val: Option<&Gamepad>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("gamepad"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for GamepadEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadHand.rs b/vendor/web-sys/src/features/gen_GamepadHand.rs
new file mode 100644
index 000000000..88650f3cb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadHand.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `GamepadHand` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GamepadHand`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GamepadHand {
+ None = "",
+ Left = "left",
+ Right = "right",
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadHapticActuator.rs b/vendor/web-sys/src/features/gen_GamepadHapticActuator.rs
new file mode 100644
index 000000000..98c01912e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadHapticActuator.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadHapticActuator , typescript_type = "GamepadHapticActuator")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GamepadHapticActuator` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadHapticActuator`*"]
+ pub type GamepadHapticActuator;
+ #[cfg(feature = "GamepadHapticActuatorType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadHapticActuator" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadHapticActuator`, `GamepadHapticActuatorType`*"]
+ pub fn type_(this: &GamepadHapticActuator) -> GamepadHapticActuatorType;
+ # [wasm_bindgen (catch , method , structural , js_class = "GamepadHapticActuator" , js_name = pulse)]
+ #[doc = "The `pulse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator/pulse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadHapticActuator`*"]
+ pub fn pulse(
+ this: &GamepadHapticActuator,
+ value: f64,
+ duration: f64,
+ ) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadHapticActuatorType.rs b/vendor/web-sys/src/features/gen_GamepadHapticActuatorType.rs
new file mode 100644
index 000000000..cc6bf0441
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadHapticActuatorType.rs
@@ -0,0 +1,10 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `GamepadHapticActuatorType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GamepadHapticActuatorType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GamepadHapticActuatorType {
+ Vibration = "vibration",
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadMappingType.rs b/vendor/web-sys/src/features/gen_GamepadMappingType.rs
new file mode 100644
index 000000000..14b69f24b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadMappingType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `GamepadMappingType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GamepadMappingType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GamepadMappingType {
+ None = "",
+ Standard = "standard",
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadPose.rs b/vendor/web-sys/src/features/gen_GamepadPose.rs
new file mode 100644
index 000000000..a8980c3f7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadPose.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadPose , typescript_type = "GamepadPose")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GamepadPose` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadPose`*"]
+ pub type GamepadPose;
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadPose" , js_name = hasOrientation)]
+ #[doc = "Getter for the `hasOrientation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasOrientation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadPose`*"]
+ pub fn has_orientation(this: &GamepadPose) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadPose" , js_name = hasPosition)]
+ #[doc = "Getter for the `hasPosition` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadPose`*"]
+ pub fn has_position(this: &GamepadPose) -> bool;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "GamepadPose" , js_name = position)]
+ #[doc = "Getter for the `position` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/position)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadPose`*"]
+ pub fn position(this: &GamepadPose) -> Result<Option<Vec<f32>>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "GamepadPose" , js_name = linearVelocity)]
+ #[doc = "Getter for the `linearVelocity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearVelocity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadPose`*"]
+ pub fn linear_velocity(this: &GamepadPose) -> Result<Option<Vec<f32>>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "GamepadPose" , js_name = linearAcceleration)]
+ #[doc = "Getter for the `linearAcceleration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearAcceleration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadPose`*"]
+ pub fn linear_acceleration(this: &GamepadPose) -> Result<Option<Vec<f32>>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "GamepadPose" , js_name = orientation)]
+ #[doc = "Getter for the `orientation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/orientation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadPose`*"]
+ pub fn orientation(this: &GamepadPose) -> Result<Option<Vec<f32>>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "GamepadPose" , js_name = angularVelocity)]
+ #[doc = "Getter for the `angularVelocity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularVelocity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadPose`*"]
+ pub fn angular_velocity(this: &GamepadPose) -> Result<Option<Vec<f32>>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "GamepadPose" , js_name = angularAcceleration)]
+ #[doc = "Getter for the `angularAcceleration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularAcceleration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadPose`*"]
+ pub fn angular_acceleration(this: &GamepadPose) -> Result<Option<Vec<f32>>, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_GamepadServiceTest.rs b/vendor/web-sys/src/features/gen_GamepadServiceTest.rs
new file mode 100644
index 000000000..93db83331
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GamepadServiceTest.rs
@@ -0,0 +1,127 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadServiceTest , typescript_type = "GamepadServiceTest")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GamepadServiceTest` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`*"]
+ pub type GamepadServiceTest;
+ #[cfg(feature = "GamepadMappingType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadServiceTest" , js_name = noMapping)]
+ #[doc = "Getter for the `noMapping` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/noMapping)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadMappingType`, `GamepadServiceTest`*"]
+ pub fn no_mapping(this: &GamepadServiceTest) -> GamepadMappingType;
+ #[cfg(feature = "GamepadMappingType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadServiceTest" , js_name = standardMapping)]
+ #[doc = "Getter for the `standardMapping` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/standardMapping)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadMappingType`, `GamepadServiceTest`*"]
+ pub fn standard_mapping(this: &GamepadServiceTest) -> GamepadMappingType;
+ #[cfg(feature = "GamepadHand")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadServiceTest" , js_name = noHand)]
+ #[doc = "Getter for the `noHand` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/noHand)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadHand`, `GamepadServiceTest`*"]
+ pub fn no_hand(this: &GamepadServiceTest) -> GamepadHand;
+ #[cfg(feature = "GamepadHand")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadServiceTest" , js_name = leftHand)]
+ #[doc = "Getter for the `leftHand` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/leftHand)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadHand`, `GamepadServiceTest`*"]
+ pub fn left_hand(this: &GamepadServiceTest) -> GamepadHand;
+ #[cfg(feature = "GamepadHand")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GamepadServiceTest" , js_name = rightHand)]
+ #[doc = "Getter for the `rightHand` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/rightHand)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadHand`, `GamepadServiceTest`*"]
+ pub fn right_hand(this: &GamepadServiceTest) -> GamepadHand;
+ #[cfg(all(feature = "GamepadHand", feature = "GamepadMappingType",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "GamepadServiceTest" , js_name = addGamepad)]
+ #[doc = "The `addGamepad()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/addGamepad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadHand`, `GamepadMappingType`, `GamepadServiceTest`*"]
+ pub fn add_gamepad(
+ this: &GamepadServiceTest,
+ id: &str,
+ mapping: GamepadMappingType,
+ hand: GamepadHand,
+ num_buttons: u32,
+ num_axes: u32,
+ num_haptics: u32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "GamepadServiceTest" , js_name = newAxisMoveEvent)]
+ #[doc = "The `newAxisMoveEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newAxisMoveEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`*"]
+ pub fn new_axis_move_event(this: &GamepadServiceTest, index: u32, axis: u32, value: f64);
+ # [wasm_bindgen (method , structural , js_class = "GamepadServiceTest" , js_name = newButtonEvent)]
+ #[doc = "The `newButtonEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newButtonEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`*"]
+ pub fn new_button_event(
+ this: &GamepadServiceTest,
+ index: u32,
+ button: u32,
+ pressed: bool,
+ touched: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "GamepadServiceTest" , js_name = newButtonValueEvent)]
+ #[doc = "The `newButtonValueEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newButtonValueEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`*"]
+ pub fn new_button_value_event(
+ this: &GamepadServiceTest,
+ index: u32,
+ button: u32,
+ pressed: bool,
+ touched: bool,
+ value: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "GamepadServiceTest" , js_name = newPoseMove)]
+ #[doc = "The `newPoseMove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newPoseMove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`*"]
+ pub fn new_pose_move(
+ this: &GamepadServiceTest,
+ index: u32,
+ orient: Option<&mut [f32]>,
+ pos: Option<&mut [f32]>,
+ ang_velocity: Option<&mut [f32]>,
+ ang_acceleration: Option<&mut [f32]>,
+ lin_velocity: Option<&mut [f32]>,
+ lin_acceleration: Option<&mut [f32]>,
+ );
+ # [wasm_bindgen (method , structural , js_class = "GamepadServiceTest" , js_name = removeGamepad)]
+ #[doc = "The `removeGamepad()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/removeGamepad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`*"]
+ pub fn remove_gamepad(this: &GamepadServiceTest, index: u32);
+}
diff --git a/vendor/web-sys/src/features/gen_Geolocation.rs b/vendor/web-sys/src/features/gen_Geolocation.rs
new file mode 100644
index 000000000..896b7ffb9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Geolocation.rs
@@ -0,0 +1,89 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = Geolocation , typescript_type = "Geolocation")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Geolocation` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Geolocation`*"]
+ pub type Geolocation;
+ # [wasm_bindgen (method , structural , js_class = "Geolocation" , js_name = clearWatch)]
+ #[doc = "The `clearWatch()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/clearWatch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Geolocation`*"]
+ pub fn clear_watch(this: &Geolocation, watch_id: i32);
+ # [wasm_bindgen (catch , method , structural , js_class = "Geolocation" , js_name = getCurrentPosition)]
+ #[doc = "The `getCurrentPosition()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/getCurrentPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Geolocation`*"]
+ pub fn get_current_position(
+ this: &Geolocation,
+ success_callback: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Geolocation" , js_name = getCurrentPosition)]
+ #[doc = "The `getCurrentPosition()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/getCurrentPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Geolocation`*"]
+ pub fn get_current_position_with_error_callback(
+ this: &Geolocation,
+ success_callback: &::js_sys::Function,
+ error_callback: Option<&::js_sys::Function>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "PositionOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Geolocation" , js_name = getCurrentPosition)]
+ #[doc = "The `getCurrentPosition()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/getCurrentPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Geolocation`, `PositionOptions`*"]
+ pub fn get_current_position_with_error_callback_and_options(
+ this: &Geolocation,
+ success_callback: &::js_sys::Function,
+ error_callback: Option<&::js_sys::Function>,
+ options: &PositionOptions,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Geolocation" , js_name = watchPosition)]
+ #[doc = "The `watchPosition()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/watchPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Geolocation`*"]
+ pub fn watch_position(
+ this: &Geolocation,
+ success_callback: &::js_sys::Function,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Geolocation" , js_name = watchPosition)]
+ #[doc = "The `watchPosition()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/watchPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Geolocation`*"]
+ pub fn watch_position_with_error_callback(
+ this: &Geolocation,
+ success_callback: &::js_sys::Function,
+ error_callback: Option<&::js_sys::Function>,
+ ) -> Result<i32, JsValue>;
+ #[cfg(feature = "PositionOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Geolocation" , js_name = watchPosition)]
+ #[doc = "The `watchPosition()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/watchPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Geolocation`, `PositionOptions`*"]
+ pub fn watch_position_with_error_callback_and_options(
+ this: &Geolocation,
+ success_callback: &::js_sys::Function,
+ error_callback: Option<&::js_sys::Function>,
+ options: &PositionOptions,
+ ) -> Result<i32, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_GetNotificationOptions.rs b/vendor/web-sys/src/features/gen_GetNotificationOptions.rs
new file mode 100644
index 000000000..3dc3788f7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GetNotificationOptions.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GetNotificationOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GetNotificationOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetNotificationOptions`*"]
+ pub type GetNotificationOptions;
+}
+impl GetNotificationOptions {
+ #[doc = "Construct a new `GetNotificationOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetNotificationOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `tag` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetNotificationOptions`*"]
+ pub fn tag(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("tag"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for GetNotificationOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GetRootNodeOptions.rs b/vendor/web-sys/src/features/gen_GetRootNodeOptions.rs
new file mode 100644
index 000000000..41a8cc3db
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GetRootNodeOptions.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GetRootNodeOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GetRootNodeOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetRootNodeOptions`*"]
+ pub type GetRootNodeOptions;
+}
+impl GetRootNodeOptions {
+ #[doc = "Construct a new `GetRootNodeOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetRootNodeOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetRootNodeOptions`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for GetRootNodeOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GetUserMediaRequest.rs b/vendor/web-sys/src/features/gen_GetUserMediaRequest.rs
new file mode 100644
index 000000000..da4a744cb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GetUserMediaRequest.rs
@@ -0,0 +1,71 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = GetUserMediaRequest , typescript_type = "GetUserMediaRequest")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GetUserMediaRequest` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
+ pub type GetUserMediaRequest;
+ # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = windowID)]
+ #[doc = "Getter for the `windowID` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/windowID)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
+ pub fn window_id(this: &GetUserMediaRequest) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = innerWindowID)]
+ #[doc = "Getter for the `innerWindowID` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/innerWindowID)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
+ pub fn inner_window_id(this: &GetUserMediaRequest) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = callID)]
+ #[doc = "Getter for the `callID` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/callID)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
+ pub fn call_id(this: &GetUserMediaRequest) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = rawID)]
+ #[doc = "Getter for the `rawID` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/rawID)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
+ pub fn raw_id(this: &GetUserMediaRequest) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = mediaSource)]
+ #[doc = "Getter for the `mediaSource` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/mediaSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
+ pub fn media_source(this: &GetUserMediaRequest) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = isSecure)]
+ #[doc = "Getter for the `isSecure` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/isSecure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
+ pub fn is_secure(this: &GetUserMediaRequest) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = isHandlingUserInput)]
+ #[doc = "Getter for the `isHandlingUserInput` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/isHandlingUserInput)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
+ pub fn is_handling_user_input(this: &GetUserMediaRequest) -> bool;
+ #[cfg(feature = "MediaStreamConstraints")]
+ # [wasm_bindgen (method , structural , js_class = "GetUserMediaRequest" , js_name = getConstraints)]
+ #[doc = "The `getConstraints()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/getConstraints)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`, `MediaStreamConstraints`*"]
+ pub fn get_constraints(this: &GetUserMediaRequest) -> MediaStreamConstraints;
+}
diff --git a/vendor/web-sys/src/features/gen_Gpu.rs b/vendor/web-sys/src/features/gen_Gpu.rs
new file mode 100644
index 000000000..6515bdab3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Gpu.rs
@@ -0,0 +1,56 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPU , typescript_type = "GPU")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Gpu` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPU)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gpu`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type Gpu;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureFormat")]
+ # [wasm_bindgen (method , structural , js_class = "GPU" , js_name = getPreferredCanvasFormat)]
+ #[doc = "The `getPreferredCanvasFormat()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPU/getPreferredCanvasFormat)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gpu`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_preferred_canvas_format(this: &Gpu) -> GpuTextureFormat;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPU" , js_name = requestAdapter)]
+ #[doc = "The `requestAdapter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPU/requestAdapter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gpu`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_adapter(this: &Gpu) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuRequestAdapterOptions")]
+ # [wasm_bindgen (method , structural , js_class = "GPU" , js_name = requestAdapter)]
+ #[doc = "The `requestAdapter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPU/requestAdapter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gpu`, `GpuRequestAdapterOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_adapter_with_options(
+ this: &Gpu,
+ options: &GpuRequestAdapterOptions,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuAdapter.rs b/vendor/web-sys/src/features/gen_GpuAdapter.rs
new file mode 100644
index 000000000..ee64df54a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuAdapter.rs
@@ -0,0 +1,104 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUAdapter , typescript_type = "GPUAdapter")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuAdapter` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuAdapter;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuSupportedFeatures")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUAdapter" , js_name = features)]
+ #[doc = "Getter for the `features` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/features)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapter`, `GpuSupportedFeatures`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn features(this: &GpuAdapter) -> GpuSupportedFeatures;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuSupportedLimits")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUAdapter" , js_name = limits)]
+ #[doc = "Getter for the `limits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/limits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapter`, `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn limits(this: &GpuAdapter) -> GpuSupportedLimits;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUAdapter" , js_name = isFallbackAdapter)]
+ #[doc = "Getter for the `isFallbackAdapter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/isFallbackAdapter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_fallback_adapter(this: &GpuAdapter) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUAdapter" , js_name = requestAdapterInfo)]
+ #[doc = "The `requestAdapterInfo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/requestAdapterInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_adapter_info(this: &GpuAdapter) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUAdapter" , js_name = requestAdapterInfo)]
+ #[doc = "The `requestAdapterInfo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/requestAdapterInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_adapter_info_with_unmask_hints(
+ this: &GpuAdapter,
+ unmask_hints: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUAdapter" , js_name = requestDevice)]
+ #[doc = "The `requestDevice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/requestDevice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_device(this: &GpuAdapter) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuDeviceDescriptor")]
+ # [wasm_bindgen (method , structural , js_class = "GPUAdapter" , js_name = requestDevice)]
+ #[doc = "The `requestDevice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/requestDevice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapter`, `GpuDeviceDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_device_with_descriptor(
+ this: &GpuAdapter,
+ descriptor: &GpuDeviceDescriptor,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuAdapterInfo.rs b/vendor/web-sys/src/features/gen_GpuAdapterInfo.rs
new file mode 100644
index 000000000..2e5609c56
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuAdapterInfo.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUAdapterInfo , typescript_type = "GPUAdapterInfo")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuAdapterInfo` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapterInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapterInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuAdapterInfo;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUAdapterInfo" , js_name = vendor)]
+ #[doc = "Getter for the `vendor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapterInfo/vendor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapterInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn vendor(this: &GpuAdapterInfo) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUAdapterInfo" , js_name = architecture)]
+ #[doc = "Getter for the `architecture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapterInfo/architecture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapterInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn architecture(this: &GpuAdapterInfo) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUAdapterInfo" , js_name = device)]
+ #[doc = "Getter for the `device` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapterInfo/device)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapterInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device(this: &GpuAdapterInfo) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUAdapterInfo" , js_name = description)]
+ #[doc = "Getter for the `description` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapterInfo/description)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAdapterInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn description(this: &GpuAdapterInfo) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuAddressMode.rs b/vendor/web-sys/src/features/gen_GpuAddressMode.rs
new file mode 100644
index 000000000..b607dc093
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuAddressMode.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuAddressMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuAddressMode`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuAddressMode {
+ ClampToEdge = "clamp-to-edge",
+ Repeat = "repeat",
+ MirrorRepeat = "mirror-repeat",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuAutoLayoutMode.rs b/vendor/web-sys/src/features/gen_GpuAutoLayoutMode.rs
new file mode 100644
index 000000000..95258c4bb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuAutoLayoutMode.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuAutoLayoutMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuAutoLayoutMode`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuAutoLayoutMode {
+ Auto = "auto",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBindGroup.rs b/vendor/web-sys/src/features/gen_GpuBindGroup.rs
new file mode 100644
index 000000000..1bef04717
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBindGroup.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroup , typescript_type = "GPUBindGroup")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuBindGroup` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuBindGroup;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUBindGroup" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBindGroup/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuBindGroup) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUBindGroup" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBindGroup/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuBindGroup, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBindGroupDescriptor.rs b/vendor/web-sys/src/features/gen_GpuBindGroupDescriptor.rs
new file mode 100644
index 000000000..528a40a46
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBindGroupDescriptor.rs
@@ -0,0 +1,90 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuBindGroupDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuBindGroupDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuBindGroupDescriptor {
+ #[cfg(feature = "GpuBindGroupLayout")]
+ #[doc = "Construct a new `GpuBindGroupDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupDescriptor`, `GpuBindGroupLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(entries: &::wasm_bindgen::JsValue, layout: &GpuBindGroupLayout) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.entries(entries);
+ ret.layout(layout);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `entries` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn entries(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("entries"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroupLayout")]
+ #[doc = "Change the `layout` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupDescriptor`, `GpuBindGroupLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn layout(&mut self, val: &GpuBindGroupLayout) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("layout"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBindGroupEntry.rs b/vendor/web-sys/src/features/gen_GpuBindGroupEntry.rs
new file mode 100644
index 000000000..72c7de2ac
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBindGroupEntry.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupEntry)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuBindGroupEntry` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuBindGroupEntry;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuBindGroupEntry {
+ #[doc = "Construct a new `GpuBindGroupEntry`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(binding: u32, resource: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.binding(binding);
+ ret.resource(resource);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `binding` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn binding(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("binding"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `resource` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn resource(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("resource"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBindGroupLayout.rs b/vendor/web-sys/src/features/gen_GpuBindGroupLayout.rs
new file mode 100644
index 000000000..0e4604fb1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBindGroupLayout.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupLayout , typescript_type = "GPUBindGroupLayout")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuBindGroupLayout` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBindGroupLayout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuBindGroupLayout;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUBindGroupLayout" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBindGroupLayout/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuBindGroupLayout) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUBindGroupLayout" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBindGroupLayout/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuBindGroupLayout, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBindGroupLayoutDescriptor.rs b/vendor/web-sys/src/features/gen_GpuBindGroupLayoutDescriptor.rs
new file mode 100644
index 000000000..0a67dc1bd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBindGroupLayoutDescriptor.rs
@@ -0,0 +1,69 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupLayoutDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuBindGroupLayoutDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuBindGroupLayoutDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuBindGroupLayoutDescriptor {
+ #[doc = "Construct a new `GpuBindGroupLayoutDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(entries: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.entries(entries);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `entries` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn entries(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("entries"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBindGroupLayoutEntry.rs b/vendor/web-sys/src/features/gen_GpuBindGroupLayoutEntry.rs
new file mode 100644
index 000000000..94e04dc42
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBindGroupLayoutEntry.rs
@@ -0,0 +1,181 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupLayoutEntry)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuBindGroupLayoutEntry` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuBindGroupLayoutEntry;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuBindGroupLayoutEntry {
+ #[doc = "Construct a new `GpuBindGroupLayoutEntry`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(binding: u32, visibility: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.binding(binding);
+ ret.visibility(visibility);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `binding` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn binding(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("binding"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBufferBindingLayout")]
+ #[doc = "Change the `buffer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutEntry`, `GpuBufferBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn buffer(&mut self, val: &GpuBufferBindingLayout) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("buffer"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuExternalTextureBindingLayout")]
+ #[doc = "Change the `externalTexture` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutEntry`, `GpuExternalTextureBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn external_texture(&mut self, val: &GpuExternalTextureBindingLayout) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("externalTexture"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuSamplerBindingLayout")]
+ #[doc = "Change the `sampler` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutEntry`, `GpuSamplerBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn sampler(&mut self, val: &GpuSamplerBindingLayout) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampler"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuStorageTextureBindingLayout")]
+ #[doc = "Change the `storageTexture` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutEntry`, `GpuStorageTextureBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn storage_texture(&mut self, val: &GpuStorageTextureBindingLayout) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("storageTexture"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureBindingLayout")]
+ #[doc = "Change the `texture` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutEntry`, `GpuTextureBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn texture(&mut self, val: &GpuTextureBindingLayout) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("texture"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `visibility` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayoutEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn visibility(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("visibility"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBlendComponent.rs b/vendor/web-sys/src/features/gen_GpuBlendComponent.rs
new file mode 100644
index 000000000..ed62e7dcb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBlendComponent.rs
@@ -0,0 +1,102 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBlendComponent)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuBlendComponent` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBlendComponent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuBlendComponent;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuBlendComponent {
+ #[doc = "Construct a new `GpuBlendComponent`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBlendComponent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBlendFactor")]
+ #[doc = "Change the `dstFactor` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBlendComponent`, `GpuBlendFactor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn dst_factor(&mut self, val: GpuBlendFactor) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dstFactor"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBlendOperation")]
+ #[doc = "Change the `operation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBlendComponent`, `GpuBlendOperation`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn operation(&mut self, val: GpuBlendOperation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("operation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBlendFactor")]
+ #[doc = "Change the `srcFactor` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBlendComponent`, `GpuBlendFactor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn src_factor(&mut self, val: GpuBlendFactor) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("srcFactor"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuBlendComponent {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBlendFactor.rs b/vendor/web-sys/src/features/gen_GpuBlendFactor.rs
new file mode 100644
index 000000000..77aed0f3e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBlendFactor.rs
@@ -0,0 +1,26 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuBlendFactor` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuBlendFactor`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuBlendFactor {
+ Zero = "zero",
+ One = "one",
+ Src = "src",
+ OneMinusSrc = "one-minus-src",
+ SrcAlpha = "src-alpha",
+ OneMinusSrcAlpha = "one-minus-src-alpha",
+ Dst = "dst",
+ OneMinusDst = "one-minus-dst",
+ DstAlpha = "dst-alpha",
+ OneMinusDstAlpha = "one-minus-dst-alpha",
+ SrcAlphaSaturated = "src-alpha-saturated",
+ Constant = "constant",
+ OneMinusConstant = "one-minus-constant",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBlendOperation.rs b/vendor/web-sys/src/features/gen_GpuBlendOperation.rs
new file mode 100644
index 000000000..69ae1f0ac
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBlendOperation.rs
@@ -0,0 +1,18 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuBlendOperation` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuBlendOperation`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuBlendOperation {
+ Add = "add",
+ Subtract = "subtract",
+ ReverseSubtract = "reverse-subtract",
+ Min = "min",
+ Max = "max",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBlendState.rs b/vendor/web-sys/src/features/gen_GpuBlendState.rs
new file mode 100644
index 000000000..3d9204ae7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBlendState.rs
@@ -0,0 +1,69 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBlendState)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuBlendState` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBlendState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuBlendState;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuBlendState {
+ #[cfg(feature = "GpuBlendComponent")]
+ #[doc = "Construct a new `GpuBlendState`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBlendComponent`, `GpuBlendState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(alpha: &GpuBlendComponent, color: &GpuBlendComponent) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.alpha(alpha);
+ ret.color(color);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBlendComponent")]
+ #[doc = "Change the `alpha` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBlendComponent`, `GpuBlendState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn alpha(&mut self, val: &GpuBlendComponent) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("alpha"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBlendComponent")]
+ #[doc = "Change the `color` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBlendComponent`, `GpuBlendState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn color(&mut self, val: &GpuBlendComponent) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("color"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBuffer.rs b/vendor/web-sys/src/features/gen_GpuBuffer.rs
new file mode 100644
index 000000000..ce58b85df
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBuffer.rs
@@ -0,0 +1,286 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBuffer , typescript_type = "GPUBuffer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuBuffer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuBuffer;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUBuffer" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn size(this: &GpuBuffer) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUBuffer" , js_name = usage)]
+ #[doc = "Getter for the `usage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/usage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usage(this: &GpuBuffer) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBufferMapState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUBuffer" , js_name = mapState)]
+ #[doc = "Getter for the `mapState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuBufferMapState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn map_state(this: &GpuBuffer) -> GpuBufferMapState;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUBuffer" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuBuffer) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUBuffer" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuBuffer, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = destroy)]
+ #[doc = "The `destroy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/destroy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn destroy(this: &GpuBuffer);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
+ #[doc = "The `getMappedRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_mapped_range(this: &GpuBuffer) -> ::js_sys::ArrayBuffer;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
+ #[doc = "The `getMappedRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_mapped_range_with_u32(this: &GpuBuffer, offset: u32) -> ::js_sys::ArrayBuffer;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
+ #[doc = "The `getMappedRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_mapped_range_with_f64(this: &GpuBuffer, offset: f64) -> ::js_sys::ArrayBuffer;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
+ #[doc = "The `getMappedRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_mapped_range_with_u32_and_u32(
+ this: &GpuBuffer,
+ offset: u32,
+ size: u32,
+ ) -> ::js_sys::ArrayBuffer;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
+ #[doc = "The `getMappedRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_mapped_range_with_f64_and_u32(
+ this: &GpuBuffer,
+ offset: f64,
+ size: u32,
+ ) -> ::js_sys::ArrayBuffer;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
+ #[doc = "The `getMappedRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_mapped_range_with_u32_and_f64(
+ this: &GpuBuffer,
+ offset: u32,
+ size: f64,
+ ) -> ::js_sys::ArrayBuffer;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = getMappedRange)]
+ #[doc = "The `getMappedRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/getMappedRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_mapped_range_with_f64_and_f64(
+ this: &GpuBuffer,
+ offset: f64,
+ size: f64,
+ ) -> ::js_sys::ArrayBuffer;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
+ #[doc = "The `mapAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn map_async(this: &GpuBuffer, mode: u32) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
+ #[doc = "The `mapAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn map_async_with_u32(this: &GpuBuffer, mode: u32, offset: u32) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
+ #[doc = "The `mapAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn map_async_with_f64(this: &GpuBuffer, mode: u32, offset: f64) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
+ #[doc = "The `mapAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn map_async_with_u32_and_u32(
+ this: &GpuBuffer,
+ mode: u32,
+ offset: u32,
+ size: u32,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
+ #[doc = "The `mapAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn map_async_with_f64_and_u32(
+ this: &GpuBuffer,
+ mode: u32,
+ offset: f64,
+ size: u32,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
+ #[doc = "The `mapAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn map_async_with_u32_and_f64(
+ this: &GpuBuffer,
+ mode: u32,
+ offset: u32,
+ size: f64,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapAsync)]
+ #[doc = "The `mapAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn map_async_with_f64_and_f64(
+ this: &GpuBuffer,
+ mode: u32,
+ offset: f64,
+ size: f64,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = unmap)]
+ #[doc = "The `unmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/unmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn unmap(this: &GpuBuffer);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBufferBinding.rs b/vendor/web-sys/src/features/gen_GpuBufferBinding.rs
new file mode 100644
index 000000000..0e0c89047
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBufferBinding.rs
@@ -0,0 +1,86 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBufferBinding)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuBufferBinding` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferBinding`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuBufferBinding;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuBufferBinding {
+ #[cfg(feature = "GpuBuffer")]
+ #[doc = "Construct a new `GpuBufferBinding`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuBufferBinding`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(buffer: &GpuBuffer) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.buffer(buffer);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ #[doc = "Change the `buffer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuBufferBinding`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn buffer(&mut self, val: &GpuBuffer) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("buffer"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferBinding`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn offset(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("offset"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferBinding`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn size(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("size"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBufferBindingLayout.rs b/vendor/web-sys/src/features/gen_GpuBufferBindingLayout.rs
new file mode 100644
index 000000000..e722860d6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBufferBindingLayout.rs
@@ -0,0 +1,96 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBufferBindingLayout)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuBufferBindingLayout` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuBufferBindingLayout;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuBufferBindingLayout {
+ #[doc = "Construct a new `GpuBufferBindingLayout`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `hasDynamicOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn has_dynamic_offset(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("hasDynamicOffset"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `minBindingSize` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn min_binding_size(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("minBindingSize"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBufferBindingType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferBindingLayout`, `GpuBufferBindingType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(&mut self, val: GpuBufferBindingType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuBufferBindingLayout {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBufferBindingType.rs b/vendor/web-sys/src/features/gen_GpuBufferBindingType.rs
new file mode 100644
index 000000000..8be5d8fe7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBufferBindingType.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuBufferBindingType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuBufferBindingType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuBufferBindingType {
+ Uniform = "uniform",
+ Storage = "storage",
+ ReadOnlyStorage = "read-only-storage",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBufferDescriptor.rs b/vendor/web-sys/src/features/gen_GpuBufferDescriptor.rs
new file mode 100644
index 000000000..cc677ecb5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBufferDescriptor.rs
@@ -0,0 +1,104 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBufferDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuBufferDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuBufferDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuBufferDescriptor {
+ #[doc = "Construct a new `GpuBufferDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(size: f64, usage: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.size(size);
+ ret.usage(usage);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `mappedAtCreation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn mapped_at_creation(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mappedAtCreation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn size(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("size"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBufferDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usage(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("usage"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuBufferMapState.rs b/vendor/web-sys/src/features/gen_GpuBufferMapState.rs
new file mode 100644
index 000000000..26bb64a84
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuBufferMapState.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuBufferMapState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuBufferMapState`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuBufferMapState {
+ Unmapped = "unmapped",
+ Pending = "pending",
+ Mapped = "mapped",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuCanvasAlphaMode.rs b/vendor/web-sys/src/features/gen_GpuCanvasAlphaMode.rs
new file mode 100644
index 000000000..d823caa47
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuCanvasAlphaMode.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuCanvasAlphaMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuCanvasAlphaMode`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuCanvasAlphaMode {
+ Opaque = "opaque",
+ Premultiplied = "premultiplied",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuCanvasConfiguration.rs b/vendor/web-sys/src/features/gen_GpuCanvasConfiguration.rs
new file mode 100644
index 000000000..883efb4b1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuCanvasConfiguration.rs
@@ -0,0 +1,131 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCanvasConfiguration)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuCanvasConfiguration` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCanvasConfiguration`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuCanvasConfiguration;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuCanvasConfiguration {
+ #[cfg(all(feature = "GpuDevice", feature = "GpuTextureFormat",))]
+ #[doc = "Construct a new `GpuCanvasConfiguration`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCanvasConfiguration`, `GpuDevice`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(device: &GpuDevice, format: GpuTextureFormat) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.device(device);
+ ret.format(format);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuCanvasAlphaMode")]
+ #[doc = "Change the `alphaMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCanvasAlphaMode`, `GpuCanvasConfiguration`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn alpha_mode(&mut self, val: GpuCanvasAlphaMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("alphaMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuDevice")]
+ #[doc = "Change the `device` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCanvasConfiguration`, `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device(&mut self, val: &GpuDevice) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("device"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureFormat")]
+ #[doc = "Change the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCanvasConfiguration`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(&mut self, val: GpuTextureFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("format"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCanvasConfiguration`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usage(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("usage"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `viewFormats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCanvasConfiguration`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn view_formats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("viewFormats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuCanvasContext.rs b/vendor/web-sys/src/features/gen_GpuCanvasContext.rs
new file mode 100644
index 000000000..797cfe0b2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuCanvasContext.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCanvasContext , typescript_type = "GPUCanvasContext")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuCanvasContext` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCanvasContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCanvasContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuCanvasContext;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUCanvasContext" , js_name = canvas)]
+ #[doc = "Getter for the `canvas` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCanvasContext/canvas)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCanvasContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn canvas(this: &GpuCanvasContext) -> ::js_sys::Object;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuCanvasConfiguration")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCanvasContext" , js_name = configure)]
+ #[doc = "The `configure()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCanvasContext/configure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCanvasConfiguration`, `GpuCanvasContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn configure(this: &GpuCanvasContext, configuration: &GpuCanvasConfiguration);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTexture")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCanvasContext" , js_name = getCurrentTexture)]
+ #[doc = "The `getCurrentTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCanvasContext/getCurrentTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCanvasContext`, `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_current_texture(this: &GpuCanvasContext) -> GpuTexture;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUCanvasContext" , js_name = unconfigure)]
+ #[doc = "The `unconfigure()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCanvasContext/unconfigure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCanvasContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn unconfigure(this: &GpuCanvasContext);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuColorDict.rs b/vendor/web-sys/src/features/gen_GpuColorDict.rs
new file mode 100644
index 000000000..de5420ee5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuColorDict.rs
@@ -0,0 +1,102 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUColorDict)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuColorDict` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuColorDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuColorDict;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuColorDict {
+ #[doc = "Construct a new `GpuColorDict`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuColorDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(a: f64, b: f64, g: f64, r: f64) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.a(a);
+ ret.b(b);
+ ret.g(g);
+ ret.r(r);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `a` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuColorDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn a(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("a"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `b` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuColorDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn b(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("b"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `g` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuColorDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn g(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("g"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `r` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuColorDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn r(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("r"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuColorTargetState.rs b/vendor/web-sys/src/features/gen_GpuColorTargetState.rs
new file mode 100644
index 000000000..2e910d7b6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuColorTargetState.rs
@@ -0,0 +1,90 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUColorTargetState)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuColorTargetState` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuColorTargetState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuColorTargetState;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuColorTargetState {
+ #[cfg(feature = "GpuTextureFormat")]
+ #[doc = "Construct a new `GpuColorTargetState`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuColorTargetState`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(format: GpuTextureFormat) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.format(format);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBlendState")]
+ #[doc = "Change the `blend` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBlendState`, `GpuColorTargetState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn blend(&mut self, val: &GpuBlendState) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("blend"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureFormat")]
+ #[doc = "Change the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuColorTargetState`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(&mut self, val: GpuTextureFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("format"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `writeMask` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuColorTargetState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_mask(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("writeMask"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuCommandBuffer.rs b/vendor/web-sys/src/features/gen_GpuCommandBuffer.rs
new file mode 100644
index 000000000..445d05b0e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuCommandBuffer.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCommandBuffer , typescript_type = "GPUCommandBuffer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuCommandBuffer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuCommandBuffer;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUCommandBuffer" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandBuffer/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuCommandBuffer) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUCommandBuffer" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandBuffer/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuCommandBuffer, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuCommandBufferDescriptor.rs b/vendor/web-sys/src/features/gen_GpuCommandBufferDescriptor.rs
new file mode 100644
index 000000000..c5fec9f8c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuCommandBufferDescriptor.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCommandBufferDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuCommandBufferDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandBufferDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuCommandBufferDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuCommandBufferDescriptor {
+ #[doc = "Construct a new `GpuCommandBufferDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandBufferDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandBufferDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuCommandBufferDescriptor {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuCommandEncoder.rs b/vendor/web-sys/src/features/gen_GpuCommandEncoder.rs
new file mode 100644
index 000000000..c4ae2dc74
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuCommandEncoder.rs
@@ -0,0 +1,561 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCommandEncoder , typescript_type = "GPUCommandEncoder")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuCommandEncoder` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuCommandEncoder;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUCommandEncoder" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuCommandEncoder) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUCommandEncoder" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuCommandEncoder, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuComputePassEncoder")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = beginComputePass)]
+ #[doc = "The `beginComputePass()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/beginComputePass)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`, `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn begin_compute_pass(this: &GpuCommandEncoder) -> GpuComputePassEncoder;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuComputePassDescriptor",
+ feature = "GpuComputePassEncoder",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = beginComputePass)]
+ #[doc = "The `beginComputePass()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/beginComputePass)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`, `GpuComputePassDescriptor`, `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn begin_compute_pass_with_descriptor(
+ this: &GpuCommandEncoder,
+ descriptor: &GpuComputePassDescriptor,
+ ) -> GpuComputePassEncoder;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuRenderPassDescriptor", feature = "GpuRenderPassEncoder",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = beginRenderPass)]
+ #[doc = "The `beginRenderPass()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/beginRenderPass)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`, `GpuRenderPassDescriptor`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn begin_render_pass(
+ this: &GpuCommandEncoder,
+ descriptor: &GpuRenderPassDescriptor,
+ ) -> GpuRenderPassEncoder;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
+ #[doc = "The `clearBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clear_buffer(this: &GpuCommandEncoder, buffer: &GpuBuffer);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
+ #[doc = "The `clearBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clear_buffer_with_u32(this: &GpuCommandEncoder, buffer: &GpuBuffer, offset: u32);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
+ #[doc = "The `clearBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clear_buffer_with_f64(this: &GpuCommandEncoder, buffer: &GpuBuffer, offset: f64);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
+ #[doc = "The `clearBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clear_buffer_with_u32_and_u32(
+ this: &GpuCommandEncoder,
+ buffer: &GpuBuffer,
+ offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
+ #[doc = "The `clearBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clear_buffer_with_f64_and_u32(
+ this: &GpuCommandEncoder,
+ buffer: &GpuBuffer,
+ offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
+ #[doc = "The `clearBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clear_buffer_with_u32_and_f64(
+ this: &GpuCommandEncoder,
+ buffer: &GpuBuffer,
+ offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = clearBuffer)]
+ #[doc = "The `clearBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/clearBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clear_buffer_with_f64_and_f64(
+ this: &GpuCommandEncoder,
+ buffer: &GpuBuffer,
+ offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
+ #[doc = "The `copyBufferToBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_buffer_to_buffer_with_u32_and_u32_and_u32(
+ this: &GpuCommandEncoder,
+ source: &GpuBuffer,
+ source_offset: u32,
+ destination: &GpuBuffer,
+ destination_offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
+ #[doc = "The `copyBufferToBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_buffer_to_buffer_with_f64_and_u32_and_u32(
+ this: &GpuCommandEncoder,
+ source: &GpuBuffer,
+ source_offset: f64,
+ destination: &GpuBuffer,
+ destination_offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
+ #[doc = "The `copyBufferToBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_buffer_to_buffer_with_u32_and_f64_and_u32(
+ this: &GpuCommandEncoder,
+ source: &GpuBuffer,
+ source_offset: u32,
+ destination: &GpuBuffer,
+ destination_offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
+ #[doc = "The `copyBufferToBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_buffer_to_buffer_with_f64_and_f64_and_u32(
+ this: &GpuCommandEncoder,
+ source: &GpuBuffer,
+ source_offset: f64,
+ destination: &GpuBuffer,
+ destination_offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
+ #[doc = "The `copyBufferToBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_buffer_to_buffer_with_u32_and_u32_and_f64(
+ this: &GpuCommandEncoder,
+ source: &GpuBuffer,
+ source_offset: u32,
+ destination: &GpuBuffer,
+ destination_offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
+ #[doc = "The `copyBufferToBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_buffer_to_buffer_with_f64_and_u32_and_f64(
+ this: &GpuCommandEncoder,
+ source: &GpuBuffer,
+ source_offset: f64,
+ destination: &GpuBuffer,
+ destination_offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
+ #[doc = "The `copyBufferToBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_buffer_to_buffer_with_u32_and_f64_and_f64(
+ this: &GpuCommandEncoder,
+ source: &GpuBuffer,
+ source_offset: u32,
+ destination: &GpuBuffer,
+ destination_offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)]
+ #[doc = "The `copyBufferToBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_buffer_to_buffer_with_f64_and_f64_and_f64(
+ this: &GpuCommandEncoder,
+ source: &GpuBuffer,
+ source_offset: f64,
+ destination: &GpuBuffer,
+ destination_offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuImageCopyBuffer", feature = "GpuImageCopyTexture",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToTexture)]
+ #[doc = "The `copyBufferToTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`, `GpuImageCopyBuffer`, `GpuImageCopyTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_buffer_to_texture_with_u32_sequence(
+ this: &GpuCommandEncoder,
+ source: &GpuImageCopyBuffer,
+ destination: &GpuImageCopyTexture,
+ copy_size: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuExtent3dDict",
+ feature = "GpuImageCopyBuffer",
+ feature = "GpuImageCopyTexture",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToTexture)]
+ #[doc = "The `copyBufferToTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`, `GpuExtent3dDict`, `GpuImageCopyBuffer`, `GpuImageCopyTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_buffer_to_texture_with_gpu_extent_3d_dict(
+ this: &GpuCommandEncoder,
+ source: &GpuImageCopyBuffer,
+ destination: &GpuImageCopyTexture,
+ copy_size: &GpuExtent3dDict,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuImageCopyBuffer", feature = "GpuImageCopyTexture",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyTextureToBuffer)]
+ #[doc = "The `copyTextureToBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`, `GpuImageCopyBuffer`, `GpuImageCopyTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_texture_to_buffer_with_u32_sequence(
+ this: &GpuCommandEncoder,
+ source: &GpuImageCopyTexture,
+ destination: &GpuImageCopyBuffer,
+ copy_size: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuExtent3dDict",
+ feature = "GpuImageCopyBuffer",
+ feature = "GpuImageCopyTexture",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyTextureToBuffer)]
+ #[doc = "The `copyTextureToBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`, `GpuExtent3dDict`, `GpuImageCopyBuffer`, `GpuImageCopyTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_texture_to_buffer_with_gpu_extent_3d_dict(
+ this: &GpuCommandEncoder,
+ source: &GpuImageCopyTexture,
+ destination: &GpuImageCopyBuffer,
+ copy_size: &GpuExtent3dDict,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuImageCopyTexture")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyTextureToTexture)]
+ #[doc = "The `copyTextureToTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyTextureToTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`, `GpuImageCopyTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_texture_to_texture_with_u32_sequence(
+ this: &GpuCommandEncoder,
+ source: &GpuImageCopyTexture,
+ destination: &GpuImageCopyTexture,
+ copy_size: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuExtent3dDict", feature = "GpuImageCopyTexture",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = copyTextureToTexture)]
+ #[doc = "The `copyTextureToTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyTextureToTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`, `GpuExtent3dDict`, `GpuImageCopyTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_texture_to_texture_with_gpu_extent_3d_dict(
+ this: &GpuCommandEncoder,
+ source: &GpuImageCopyTexture,
+ destination: &GpuImageCopyTexture,
+ copy_size: &GpuExtent3dDict,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuCommandBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = finish)]
+ #[doc = "The `finish()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/finish)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandBuffer`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn finish(this: &GpuCommandEncoder) -> GpuCommandBuffer;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuCommandBuffer", feature = "GpuCommandBufferDescriptor",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = finish)]
+ #[doc = "The `finish()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/finish)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandBuffer`, `GpuCommandBufferDescriptor`, `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn finish_with_descriptor(
+ this: &GpuCommandEncoder,
+ descriptor: &GpuCommandBufferDescriptor,
+ ) -> GpuCommandBuffer;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuQuerySet",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = resolveQuerySet)]
+ #[doc = "The `resolveQuerySet()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/resolveQuerySet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`, `GpuQuerySet`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn resolve_query_set_with_u32(
+ this: &GpuCommandEncoder,
+ query_set: &GpuQuerySet,
+ first_query: u32,
+ query_count: u32,
+ destination: &GpuBuffer,
+ destination_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuQuerySet",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = resolveQuerySet)]
+ #[doc = "The `resolveQuerySet()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/resolveQuerySet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`, `GpuQuerySet`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn resolve_query_set_with_f64(
+ this: &GpuCommandEncoder,
+ query_set: &GpuQuerySet,
+ first_query: u32,
+ query_count: u32,
+ destination: &GpuBuffer,
+ destination_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuQuerySet")]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = writeTimestamp)]
+ #[doc = "The `writeTimestamp()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/writeTimestamp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`, `GpuQuerySet`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_timestamp(this: &GpuCommandEncoder, query_set: &GpuQuerySet, query_index: u32);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = insertDebugMarker)]
+ #[doc = "The `insertDebugMarker()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/insertDebugMarker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn insert_debug_marker(this: &GpuCommandEncoder, marker_label: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = popDebugGroup)]
+ #[doc = "The `popDebugGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/popDebugGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn pop_debug_group(this: &GpuCommandEncoder);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUCommandEncoder" , js_name = pushDebugGroup)]
+ #[doc = "The `pushDebugGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/pushDebugGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn push_debug_group(this: &GpuCommandEncoder, group_label: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuCommandEncoderDescriptor.rs b/vendor/web-sys/src/features/gen_GpuCommandEncoderDescriptor.rs
new file mode 100644
index 000000000..2a858a294
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuCommandEncoderDescriptor.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCommandEncoderDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuCommandEncoderDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoderDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuCommandEncoderDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuCommandEncoderDescriptor {
+ #[doc = "Construct a new `GpuCommandEncoderDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoderDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoderDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuCommandEncoderDescriptor {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuCompareFunction.rs b/vendor/web-sys/src/features/gen_GpuCompareFunction.rs
new file mode 100644
index 000000000..cdbeaae6b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuCompareFunction.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuCompareFunction` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuCompareFunction`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuCompareFunction {
+ Never = "never",
+ Less = "less",
+ Equal = "equal",
+ LessEqual = "less-equal",
+ Greater = "greater",
+ NotEqual = "not-equal",
+ GreaterEqual = "greater-equal",
+ Always = "always",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuCompilationInfo.rs b/vendor/web-sys/src/features/gen_GpuCompilationInfo.rs
new file mode 100644
index 000000000..02974b615
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuCompilationInfo.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCompilationInfo , typescript_type = "GPUCompilationInfo")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuCompilationInfo` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCompilationInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuCompilationInfo;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationInfo" , js_name = messages)]
+ #[doc = "Getter for the `messages` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationInfo/messages)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCompilationInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn messages(this: &GpuCompilationInfo) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuCompilationMessage.rs b/vendor/web-sys/src/features/gen_GpuCompilationMessage.rs
new file mode 100644
index 000000000..927a3c545
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuCompilationMessage.rs
@@ -0,0 +1,85 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCompilationMessage , typescript_type = "GPUCompilationMessage")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuCompilationMessage` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCompilationMessage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuCompilationMessage;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationMessage" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCompilationMessage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn message(this: &GpuCompilationMessage) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuCompilationMessageType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationMessage" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCompilationMessage`, `GpuCompilationMessageType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(this: &GpuCompilationMessage) -> GpuCompilationMessageType;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationMessage" , js_name = lineNum)]
+ #[doc = "Getter for the `lineNum` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage/lineNum)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCompilationMessage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn line_num(this: &GpuCompilationMessage) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationMessage" , js_name = linePos)]
+ #[doc = "Getter for the `linePos` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage/linePos)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCompilationMessage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn line_pos(this: &GpuCompilationMessage) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationMessage" , js_name = offset)]
+ #[doc = "Getter for the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage/offset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCompilationMessage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn offset(this: &GpuCompilationMessage) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUCompilationMessage" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCompilationMessage/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCompilationMessage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn length(this: &GpuCompilationMessage) -> f64;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuCompilationMessageType.rs b/vendor/web-sys/src/features/gen_GpuCompilationMessageType.rs
new file mode 100644
index 000000000..6f1108141
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuCompilationMessageType.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuCompilationMessageType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuCompilationMessageType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuCompilationMessageType {
+ Error = "error",
+ Warning = "warning",
+ Info = "info",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuComputePassDescriptor.rs b/vendor/web-sys/src/features/gen_GpuComputePassDescriptor.rs
new file mode 100644
index 000000000..b708dc67e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuComputePassDescriptor.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePassDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuComputePassDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuComputePassDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuComputePassDescriptor {
+ #[doc = "Construct a new `GpuComputePassDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `timestampWrites` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn timestamp_writes(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestampWrites"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuComputePassDescriptor {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuComputePassEncoder.rs b/vendor/web-sys/src/features/gen_GpuComputePassEncoder.rs
new file mode 100644
index 000000000..a4b9e292c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuComputePassEncoder.rs
@@ -0,0 +1,237 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePassEncoder , typescript_type = "GPUComputePassEncoder")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuComputePassEncoder` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuComputePassEncoder;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUComputePassEncoder" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuComputePassEncoder) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUComputePassEncoder" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuComputePassEncoder, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchWorkgroups)]
+ #[doc = "The `dispatchWorkgroups()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroups)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn dispatch_workgroups(this: &GpuComputePassEncoder, workgroup_count_x: u32);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchWorkgroups)]
+ #[doc = "The `dispatchWorkgroups()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroups)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn dispatch_workgroups_with_workgroup_count_y(
+ this: &GpuComputePassEncoder,
+ workgroup_count_x: u32,
+ workgroup_count_y: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchWorkgroups)]
+ #[doc = "The `dispatchWorkgroups()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroups)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn dispatch_workgroups_with_workgroup_count_y_and_workgroup_count_z(
+ this: &GpuComputePassEncoder,
+ workgroup_count_x: u32,
+ workgroup_count_y: u32,
+ workgroup_count_z: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchWorkgroupsIndirect)]
+ #[doc = "The `dispatchWorkgroupsIndirect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroupsIndirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn dispatch_workgroups_indirect_with_u32(
+ this: &GpuComputePassEncoder,
+ indirect_buffer: &GpuBuffer,
+ indirect_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchWorkgroupsIndirect)]
+ #[doc = "The `dispatchWorkgroupsIndirect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroupsIndirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn dispatch_workgroups_indirect_with_f64(
+ this: &GpuComputePassEncoder,
+ indirect_buffer: &GpuBuffer,
+ indirect_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = end)]
+ #[doc = "The `end()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/end)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn end(this: &GpuComputePassEncoder);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuComputePipeline")]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = setPipeline)]
+ #[doc = "The `setPipeline()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setPipeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`, `GpuComputePipeline`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_pipeline(this: &GpuComputePassEncoder, pipeline: &GpuComputePipeline);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroup")]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup)]
+ #[doc = "The `setBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_bind_group(this: &GpuComputePassEncoder, index: u32, bind_group: &GpuBindGroup);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroup")]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup)]
+ #[doc = "The `setBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_bind_group_with_u32_sequence(
+ this: &GpuComputePassEncoder,
+ index: u32,
+ bind_group: &GpuBindGroup,
+ dynamic_offsets: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroup")]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup)]
+ #[doc = "The `setBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_bind_group_with_u32_array_and_u32_and_dynamic_offsets_data_length(
+ this: &GpuComputePassEncoder,
+ index: u32,
+ bind_group: &GpuBindGroup,
+ dynamic_offsets_data: &[u32],
+ dynamic_offsets_data_start: u32,
+ dynamic_offsets_data_length: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroup")]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup)]
+ #[doc = "The `setBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/setBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_bind_group_with_u32_array_and_f64_and_dynamic_offsets_data_length(
+ this: &GpuComputePassEncoder,
+ index: u32,
+ bind_group: &GpuBindGroup,
+ dynamic_offsets_data: &[u32],
+ dynamic_offsets_data_start: f64,
+ dynamic_offsets_data_length: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = insertDebugMarker)]
+ #[doc = "The `insertDebugMarker()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/insertDebugMarker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn insert_debug_marker(this: &GpuComputePassEncoder, marker_label: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = popDebugGroup)]
+ #[doc = "The `popDebugGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/popDebugGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn pop_debug_group(this: &GpuComputePassEncoder);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = pushDebugGroup)]
+ #[doc = "The `pushDebugGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/pushDebugGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn push_debug_group(this: &GpuComputePassEncoder, group_label: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuComputePassTimestampLocation.rs b/vendor/web-sys/src/features/gen_GpuComputePassTimestampLocation.rs
new file mode 100644
index 000000000..72142d131
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuComputePassTimestampLocation.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuComputePassTimestampLocation` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuComputePassTimestampLocation`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuComputePassTimestampLocation {
+ Beginning = "beginning",
+ End = "end",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuComputePassTimestampWrite.rs b/vendor/web-sys/src/features/gen_GpuComputePassTimestampWrite.rs
new file mode 100644
index 000000000..0d6c36da0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuComputePassTimestampWrite.rs
@@ -0,0 +1,103 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePassTimestampWrite)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuComputePassTimestampWrite` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassTimestampWrite`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuComputePassTimestampWrite;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuComputePassTimestampWrite {
+ #[cfg(all(feature = "GpuComputePassTimestampLocation", feature = "GpuQuerySet",))]
+ #[doc = "Construct a new `GpuComputePassTimestampWrite`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassTimestampLocation`, `GpuComputePassTimestampWrite`, `GpuQuerySet`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ location: GpuComputePassTimestampLocation,
+ query_index: u32,
+ query_set: &GpuQuerySet,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.location(location);
+ ret.query_index(query_index);
+ ret.query_set(query_set);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuComputePassTimestampLocation")]
+ #[doc = "Change the `location` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassTimestampLocation`, `GpuComputePassTimestampWrite`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn location(&mut self, val: GpuComputePassTimestampLocation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("location"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `queryIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassTimestampWrite`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn query_index(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("queryIndex"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuQuerySet")]
+ #[doc = "Change the `querySet` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePassTimestampWrite`, `GpuQuerySet`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn query_set(&mut self, val: &GpuQuerySet) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("querySet"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuComputePipeline.rs b/vendor/web-sys/src/features/gen_GpuComputePipeline.rs
new file mode 100644
index 000000000..e47a232b2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuComputePipeline.rs
@@ -0,0 +1,52 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePipeline , typescript_type = "GPUComputePipeline")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuComputePipeline` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePipeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePipeline`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuComputePipeline;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUComputePipeline" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePipeline/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePipeline`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuComputePipeline) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUComputePipeline" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePipeline/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePipeline`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuComputePipeline, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroupLayout")]
+ # [wasm_bindgen (method , structural , js_class = "GPUComputePipeline" , js_name = getBindGroupLayout)]
+ #[doc = "The `getBindGroupLayout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePipeline/getBindGroupLayout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayout`, `GpuComputePipeline`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_bind_group_layout(this: &GpuComputePipeline, index: u32) -> GpuBindGroupLayout;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuComputePipelineDescriptor.rs b/vendor/web-sys/src/features/gen_GpuComputePipelineDescriptor.rs
new file mode 100644
index 000000000..33ff02f84
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuComputePipelineDescriptor.rs
@@ -0,0 +1,90 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePipelineDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuComputePipelineDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePipelineDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuComputePipelineDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuComputePipelineDescriptor {
+ #[cfg(feature = "GpuProgrammableStage")]
+ #[doc = "Construct a new `GpuComputePipelineDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePipelineDescriptor`, `GpuProgrammableStage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(layout: &::wasm_bindgen::JsValue, compute: &GpuProgrammableStage) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.layout(layout);
+ ret.compute(compute);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePipelineDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `layout` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePipelineDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn layout(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("layout"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuProgrammableStage")]
+ #[doc = "Change the `compute` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePipelineDescriptor`, `GpuProgrammableStage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn compute(&mut self, val: &GpuProgrammableStage) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("compute"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuCullMode.rs b/vendor/web-sys/src/features/gen_GpuCullMode.rs
new file mode 100644
index 000000000..4c53e8e88
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuCullMode.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuCullMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuCullMode`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuCullMode {
+ None = "none",
+ Front = "front",
+ Back = "back",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuDepthStencilState.rs b/vendor/web-sys/src/features/gen_GpuDepthStencilState.rs
new file mode 100644
index 000000000..cad23eadf
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuDepthStencilState.rs
@@ -0,0 +1,243 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUDepthStencilState)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuDepthStencilState` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDepthStencilState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuDepthStencilState;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuDepthStencilState {
+ #[cfg(feature = "GpuTextureFormat")]
+ #[doc = "Construct a new `GpuDepthStencilState`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDepthStencilState`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(format: GpuTextureFormat) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.format(format);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `depthBias` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDepthStencilState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_bias(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthBias"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `depthBiasClamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDepthStencilState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_bias_clamp(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthBiasClamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `depthBiasSlopeScale` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDepthStencilState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_bias_slope_scale(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthBiasSlopeScale"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuCompareFunction")]
+ #[doc = "Change the `depthCompare` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCompareFunction`, `GpuDepthStencilState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_compare(&mut self, val: GpuCompareFunction) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthCompare"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `depthWriteEnabled` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDepthStencilState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_write_enabled(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthWriteEnabled"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureFormat")]
+ #[doc = "Change the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDepthStencilState`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(&mut self, val: GpuTextureFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("format"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuStencilFaceState")]
+ #[doc = "Change the `stencilBack` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDepthStencilState`, `GpuStencilFaceState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stencil_back(&mut self, val: &GpuStencilFaceState) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stencilBack"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuStencilFaceState")]
+ #[doc = "Change the `stencilFront` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDepthStencilState`, `GpuStencilFaceState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stencil_front(&mut self, val: &GpuStencilFaceState) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stencilFront"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `stencilReadMask` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDepthStencilState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stencil_read_mask(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stencilReadMask"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `stencilWriteMask` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDepthStencilState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stencil_write_mask(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stencilWriteMask"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuDevice.rs b/vendor/web-sys/src/features/gen_GpuDevice.rs
new file mode 100644
index 000000000..05382204e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuDevice.rs
@@ -0,0 +1,393 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = GPUDevice , typescript_type = "GPUDevice")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuDevice` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuDevice;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuSupportedFeatures")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = features)]
+ #[doc = "Getter for the `features` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/features)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuSupportedFeatures`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn features(this: &GpuDevice) -> GpuSupportedFeatures;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuSupportedLimits")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = limits)]
+ #[doc = "Getter for the `limits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/limits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn limits(this: &GpuDevice) -> GpuSupportedLimits;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuQueue")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = queue)]
+ #[doc = "Getter for the `queue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/queue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn queue(this: &GpuDevice) -> GpuQueue;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = lost)]
+ #[doc = "Getter for the `lost` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/lost)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn lost(this: &GpuDevice) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = onuncapturederror)]
+ #[doc = "Getter for the `onuncapturederror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/onuncapturederror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onuncapturederror(this: &GpuDevice) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUDevice" , js_name = onuncapturederror)]
+ #[doc = "Setter for the `onuncapturederror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/onuncapturederror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onuncapturederror(this: &GpuDevice, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuDevice) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUDevice" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuDevice, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBindGroup", feature = "GpuBindGroupDescriptor",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createBindGroup)]
+ #[doc = "The `createBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuBindGroupDescriptor`, `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_bind_group(this: &GpuDevice, descriptor: &GpuBindGroupDescriptor)
+ -> GpuBindGroup;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuBindGroupLayout",
+ feature = "GpuBindGroupLayoutDescriptor",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createBindGroupLayout)]
+ #[doc = "The `createBindGroupLayout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createBindGroupLayout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayout`, `GpuBindGroupLayoutDescriptor`, `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_bind_group_layout(
+ this: &GpuDevice,
+ descriptor: &GpuBindGroupLayoutDescriptor,
+ ) -> GpuBindGroupLayout;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuBufferDescriptor",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createBuffer)]
+ #[doc = "The `createBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuBufferDescriptor`, `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_buffer(this: &GpuDevice, descriptor: &GpuBufferDescriptor) -> GpuBuffer;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuCommandEncoder")]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createCommandEncoder)]
+ #[doc = "The `createCommandEncoder()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createCommandEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`, `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_command_encoder(this: &GpuDevice) -> GpuCommandEncoder;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuCommandEncoder", feature = "GpuCommandEncoderDescriptor",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createCommandEncoder)]
+ #[doc = "The `createCommandEncoder()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createCommandEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCommandEncoder`, `GpuCommandEncoderDescriptor`, `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_command_encoder_with_descriptor(
+ this: &GpuDevice,
+ descriptor: &GpuCommandEncoderDescriptor,
+ ) -> GpuCommandEncoder;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuComputePipeline",
+ feature = "GpuComputePipelineDescriptor",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createComputePipeline)]
+ #[doc = "The `createComputePipeline()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createComputePipeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePipeline`, `GpuComputePipelineDescriptor`, `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_compute_pipeline(
+ this: &GpuDevice,
+ descriptor: &GpuComputePipelineDescriptor,
+ ) -> GpuComputePipeline;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuComputePipelineDescriptor")]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createComputePipelineAsync)]
+ #[doc = "The `createComputePipelineAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createComputePipelineAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuComputePipelineDescriptor`, `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_compute_pipeline_async(
+ this: &GpuDevice,
+ descriptor: &GpuComputePipelineDescriptor,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuPipelineLayout", feature = "GpuPipelineLayoutDescriptor",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createPipelineLayout)]
+ #[doc = "The `createPipelineLayout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createPipelineLayout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuPipelineLayout`, `GpuPipelineLayoutDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_pipeline_layout(
+ this: &GpuDevice,
+ descriptor: &GpuPipelineLayoutDescriptor,
+ ) -> GpuPipelineLayout;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuQuerySet", feature = "GpuQuerySetDescriptor",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createQuerySet)]
+ #[doc = "The `createQuerySet()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createQuerySet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuQuerySet`, `GpuQuerySetDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_query_set(this: &GpuDevice, descriptor: &GpuQuerySetDescriptor) -> GpuQuerySet;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuRenderBundleEncoder",
+ feature = "GpuRenderBundleEncoderDescriptor",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createRenderBundleEncoder)]
+ #[doc = "The `createRenderBundleEncoder()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createRenderBundleEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuRenderBundleEncoder`, `GpuRenderBundleEncoderDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_render_bundle_encoder(
+ this: &GpuDevice,
+ descriptor: &GpuRenderBundleEncoderDescriptor,
+ ) -> GpuRenderBundleEncoder;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuRenderPipeline", feature = "GpuRenderPipelineDescriptor",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createRenderPipeline)]
+ #[doc = "The `createRenderPipeline()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createRenderPipeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuRenderPipeline`, `GpuRenderPipelineDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_render_pipeline(
+ this: &GpuDevice,
+ descriptor: &GpuRenderPipelineDescriptor,
+ ) -> GpuRenderPipeline;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuRenderPipelineDescriptor")]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createRenderPipelineAsync)]
+ #[doc = "The `createRenderPipelineAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createRenderPipelineAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuRenderPipelineDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_render_pipeline_async(
+ this: &GpuDevice,
+ descriptor: &GpuRenderPipelineDescriptor,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuSampler")]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createSampler)]
+ #[doc = "The `createSampler()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createSampler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuSampler`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_sampler(this: &GpuDevice) -> GpuSampler;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuSampler", feature = "GpuSamplerDescriptor",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createSampler)]
+ #[doc = "The `createSampler()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createSampler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuSampler`, `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_sampler_with_descriptor(
+ this: &GpuDevice,
+ descriptor: &GpuSamplerDescriptor,
+ ) -> GpuSampler;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuShaderModule", feature = "GpuShaderModuleDescriptor",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createShaderModule)]
+ #[doc = "The `createShaderModule()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createShaderModule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuShaderModule`, `GpuShaderModuleDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_shader_module(
+ this: &GpuDevice,
+ descriptor: &GpuShaderModuleDescriptor,
+ ) -> GpuShaderModule;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuTexture", feature = "GpuTextureDescriptor",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createTexture)]
+ #[doc = "The `createTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuTexture`, `GpuTextureDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_texture(this: &GpuDevice, descriptor: &GpuTextureDescriptor) -> GpuTexture;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = destroy)]
+ #[doc = "The `destroy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/destroy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn destroy(this: &GpuDevice);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuExternalTexture",
+ feature = "GpuExternalTextureDescriptor",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = importExternalTexture)]
+ #[doc = "The `importExternalTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/importExternalTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuExternalTexture`, `GpuExternalTextureDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn import_external_texture(
+ this: &GpuDevice,
+ descriptor: &GpuExternalTextureDescriptor,
+ ) -> GpuExternalTexture;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = popErrorScope)]
+ #[doc = "The `popErrorScope()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/popErrorScope)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn pop_error_scope(this: &GpuDevice) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuErrorFilter")]
+ # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = pushErrorScope)]
+ #[doc = "The `pushErrorScope()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/pushErrorScope)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDevice`, `GpuErrorFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn push_error_scope(this: &GpuDevice, filter: GpuErrorFilter);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuDeviceDescriptor.rs b/vendor/web-sys/src/features/gen_GpuDeviceDescriptor.rs
new file mode 100644
index 000000000..d29661fdc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuDeviceDescriptor.rs
@@ -0,0 +1,96 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUDeviceDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuDeviceDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDeviceDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuDeviceDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuDeviceDescriptor {
+ #[doc = "Construct a new `GpuDeviceDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDeviceDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDeviceDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuQueueDescriptor")]
+ #[doc = "Change the `defaultQueue` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDeviceDescriptor`, `GpuQueueDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn default_queue(&mut self, val: &GpuQueueDescriptor) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("defaultQueue"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `requiredFeatures` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDeviceDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn required_features(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("requiredFeatures"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuDeviceDescriptor {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuDeviceLostInfo.rs b/vendor/web-sys/src/features/gen_GpuDeviceLostInfo.rs
new file mode 100644
index 000000000..bcc59f58e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuDeviceLostInfo.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUDeviceLostInfo , typescript_type = "GPUDeviceLostInfo")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuDeviceLostInfo` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDeviceLostInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDeviceLostInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuDeviceLostInfo;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUDeviceLostInfo" , js_name = reason)]
+ #[doc = "Getter for the `reason` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDeviceLostInfo/reason)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDeviceLostInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn reason(this: &GpuDeviceLostInfo) -> ::wasm_bindgen::JsValue;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUDeviceLostInfo" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDeviceLostInfo/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDeviceLostInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn message(this: &GpuDeviceLostInfo) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuDeviceLostReason.rs b/vendor/web-sys/src/features/gen_GpuDeviceLostReason.rs
new file mode 100644
index 000000000..1317793dc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuDeviceLostReason.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuDeviceLostReason` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuDeviceLostReason`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuDeviceLostReason {
+ Destroyed = "destroyed",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuError.rs b/vendor/web-sys/src/features/gen_GpuError.rs
new file mode 100644
index 000000000..dd91c879f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuError.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUError , typescript_type = "GPUError")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuError` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuError`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuError;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUError" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUError/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuError`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn message(this: &GpuError) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuErrorFilter.rs b/vendor/web-sys/src/features/gen_GpuErrorFilter.rs
new file mode 100644
index 000000000..36244a057
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuErrorFilter.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuErrorFilter` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuErrorFilter`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuErrorFilter {
+ Validation = "validation",
+ OutOfMemory = "out-of-memory",
+ Internal = "internal",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuExtent3dDict.rs b/vendor/web-sys/src/features/gen_GpuExtent3dDict.rs
new file mode 100644
index 000000000..5d0c8aafa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuExtent3dDict.rs
@@ -0,0 +1,87 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUExtent3DDict)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuExtent3dDict` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuExtent3dDict;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuExtent3dDict {
+ #[doc = "Construct a new `GpuExtent3dDict`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(width: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.width(width);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `depthOrArrayLayers` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_or_array_layers(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthOrArrayLayers"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn height(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("height"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn width(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("width"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuExternalTexture.rs b/vendor/web-sys/src/features/gen_GpuExternalTexture.rs
new file mode 100644
index 000000000..e04f4776e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuExternalTexture.rs
@@ -0,0 +1,51 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUExternalTexture , typescript_type = "GPUExternalTexture")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuExternalTexture` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUExternalTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExternalTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuExternalTexture;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUExternalTexture" , js_name = expired)]
+ #[doc = "Getter for the `expired` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUExternalTexture/expired)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExternalTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn expired(this: &GpuExternalTexture) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUExternalTexture" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUExternalTexture/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExternalTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuExternalTexture) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUExternalTexture" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUExternalTexture/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExternalTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuExternalTexture, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuExternalTextureBindingLayout.rs b/vendor/web-sys/src/features/gen_GpuExternalTextureBindingLayout.rs
new file mode 100644
index 000000000..d9d6071ca
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuExternalTextureBindingLayout.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUExternalTextureBindingLayout)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuExternalTextureBindingLayout` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExternalTextureBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuExternalTextureBindingLayout;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuExternalTextureBindingLayout {
+ #[doc = "Construct a new `GpuExternalTextureBindingLayout`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExternalTextureBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuExternalTextureBindingLayout {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuExternalTextureDescriptor.rs b/vendor/web-sys/src/features/gen_GpuExternalTextureDescriptor.rs
new file mode 100644
index 000000000..623b06493
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuExternalTextureDescriptor.rs
@@ -0,0 +1,68 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUExternalTextureDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuExternalTextureDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExternalTextureDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuExternalTextureDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuExternalTextureDescriptor {
+ #[cfg(feature = "HtmlVideoElement")]
+ #[doc = "Construct a new `GpuExternalTextureDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExternalTextureDescriptor`, `HtmlVideoElement`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(source: &HtmlVideoElement) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.source(source);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExternalTextureDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HtmlVideoElement")]
+ #[doc = "Change the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExternalTextureDescriptor`, `HtmlVideoElement`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn source(&mut self, val: &HtmlVideoElement) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("source"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuFeatureName.rs b/vendor/web-sys/src/features/gen_GpuFeatureName.rs
new file mode 100644
index 000000000..9a34268be
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuFeatureName.rs
@@ -0,0 +1,23 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuFeatureName` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuFeatureName`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuFeatureName {
+ DepthClipControl = "depth-clip-control",
+ Depth32floatStencil8 = "depth32float-stencil8",
+ TextureCompressionBc = "texture-compression-bc",
+ TextureCompressionEtc2 = "texture-compression-etc2",
+ TextureCompressionAstc = "texture-compression-astc",
+ TimestampQuery = "timestamp-query",
+ IndirectFirstInstance = "indirect-first-instance",
+ ShaderF16 = "shader-f16",
+ Bgra8unormStorage = "bgra8unorm-storage",
+ Rg11b10ufloatRenderable = "rg11b10ufloat-renderable",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuFilterMode.rs b/vendor/web-sys/src/features/gen_GpuFilterMode.rs
new file mode 100644
index 000000000..b1a7f1d18
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuFilterMode.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuFilterMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuFilterMode`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuFilterMode {
+ Nearest = "nearest",
+ Linear = "linear",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuFragmentState.rs b/vendor/web-sys/src/features/gen_GpuFragmentState.rs
new file mode 100644
index 000000000..395df4ffd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuFragmentState.rs
@@ -0,0 +1,99 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUFragmentState)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuFragmentState` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuFragmentState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuFragmentState;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuFragmentState {
+ #[cfg(feature = "GpuShaderModule")]
+ #[doc = "Construct a new `GpuFragmentState`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuFragmentState`, `GpuShaderModule`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ entry_point: &str,
+ module: &GpuShaderModule,
+ targets: &::wasm_bindgen::JsValue,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.entry_point(entry_point);
+ ret.module(module);
+ ret.targets(targets);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `entryPoint` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuFragmentState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn entry_point(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("entryPoint"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuShaderModule")]
+ #[doc = "Change the `module` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuFragmentState`, `GpuShaderModule`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn module(&mut self, val: &GpuShaderModule) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("module"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `targets` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuFragmentState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn targets(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("targets"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuFrontFace.rs b/vendor/web-sys/src/features/gen_GpuFrontFace.rs
new file mode 100644
index 000000000..04eac273c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuFrontFace.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuFrontFace` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuFrontFace`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuFrontFace {
+ Ccw = "ccw",
+ Cw = "cw",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuImageCopyBuffer.rs b/vendor/web-sys/src/features/gen_GpuImageCopyBuffer.rs
new file mode 100644
index 000000000..150bc9dcd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuImageCopyBuffer.rs
@@ -0,0 +1,111 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUImageCopyBuffer)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuImageCopyBuffer` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuImageCopyBuffer;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuImageCopyBuffer {
+ #[cfg(feature = "GpuBuffer")]
+ #[doc = "Construct a new `GpuImageCopyBuffer`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuImageCopyBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(buffer: &GpuBuffer) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.buffer(buffer);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bytesPerRow` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bytes_per_row(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bytesPerRow"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn offset(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("offset"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `rowsPerImage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn rows_per_image(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rowsPerImage"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ #[doc = "Change the `buffer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuImageCopyBuffer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn buffer(&mut self, val: &GpuBuffer) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("buffer"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuImageCopyExternalImage.rs b/vendor/web-sys/src/features/gen_GpuImageCopyExternalImage.rs
new file mode 100644
index 000000000..03d1f9c37
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuImageCopyExternalImage.rs
@@ -0,0 +1,84 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUImageCopyExternalImage)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuImageCopyExternalImage` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyExternalImage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuImageCopyExternalImage;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuImageCopyExternalImage {
+ #[doc = "Construct a new `GpuImageCopyExternalImage`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyExternalImage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(source: &::js_sys::Object) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.source(source);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `flipY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyExternalImage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn flip_y(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("flipY"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyExternalImage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn origin(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("origin"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyExternalImage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn source(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("source"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuImageCopyTexture.rs b/vendor/web-sys/src/features/gen_GpuImageCopyTexture.rs
new file mode 100644
index 000000000..0e55fc2cc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuImageCopyTexture.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUImageCopyTexture)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuImageCopyTexture` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuImageCopyTexture;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuImageCopyTexture {
+ #[cfg(feature = "GpuTexture")]
+ #[doc = "Construct a new `GpuImageCopyTexture`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTexture`, `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(texture: &GpuTexture) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.texture(texture);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureAspect")]
+ #[doc = "Change the `aspect` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTexture`, `GpuTextureAspect`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn aspect(&mut self, val: GpuTextureAspect) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("aspect"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `mipLevel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn mip_level(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mipLevel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn origin(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("origin"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTexture")]
+ #[doc = "Change the `texture` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTexture`, `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn texture(&mut self, val: &GpuTexture) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("texture"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuImageCopyTextureTagged.rs b/vendor/web-sys/src/features/gen_GpuImageCopyTextureTagged.rs
new file mode 100644
index 000000000..8d69dbe30
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuImageCopyTextureTagged.rs
@@ -0,0 +1,133 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUImageCopyTextureTagged)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuImageCopyTextureTagged` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTextureTagged`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuImageCopyTextureTagged;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuImageCopyTextureTagged {
+ #[cfg(feature = "GpuTexture")]
+ #[doc = "Construct a new `GpuImageCopyTextureTagged`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTextureTagged`, `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(texture: &GpuTexture) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.texture(texture);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureAspect")]
+ #[doc = "Change the `aspect` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTextureTagged`, `GpuTextureAspect`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn aspect(&mut self, val: GpuTextureAspect) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("aspect"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `mipLevel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTextureTagged`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn mip_level(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mipLevel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTextureTagged`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn origin(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("origin"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTexture")]
+ #[doc = "Change the `texture` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTextureTagged`, `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn texture(&mut self, val: &GpuTexture) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("texture"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `premultipliedAlpha` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTextureTagged`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn premultiplied_alpha(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("premultipliedAlpha"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuImageDataLayout.rs b/vendor/web-sys/src/features/gen_GpuImageDataLayout.rs
new file mode 100644
index 000000000..80be6b079
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuImageDataLayout.rs
@@ -0,0 +1,96 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUImageDataLayout)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuImageDataLayout` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageDataLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuImageDataLayout;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuImageDataLayout {
+ #[doc = "Construct a new `GpuImageDataLayout`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageDataLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bytesPerRow` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageDataLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bytes_per_row(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bytesPerRow"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageDataLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn offset(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("offset"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `rowsPerImage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageDataLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn rows_per_image(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rowsPerImage"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuImageDataLayout {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuIndexFormat.rs b/vendor/web-sys/src/features/gen_GpuIndexFormat.rs
new file mode 100644
index 000000000..ffc65c10b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuIndexFormat.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuIndexFormat` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuIndexFormat`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuIndexFormat {
+ Uint16 = "uint16",
+ Uint32 = "uint32",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuInternalError.rs b/vendor/web-sys/src/features/gen_GpuInternalError.rs
new file mode 100644
index 000000000..3625b54dd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuInternalError.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = GpuError , extends = :: js_sys :: Object , js_name = GPUInternalError , typescript_type = "GPUInternalError")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuInternalError` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUInternalError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuInternalError`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuInternalError;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "GPUInternalError")]
+ #[doc = "The `new GpuInternalError(..)` constructor, creating a new instance of `GpuInternalError`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUInternalError/GPUInternalError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuInternalError`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(message: &str) -> Result<GpuInternalError, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuLoadOp.rs b/vendor/web-sys/src/features/gen_GpuLoadOp.rs
new file mode 100644
index 000000000..7812306cd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuLoadOp.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuLoadOp` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuLoadOp`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuLoadOp {
+ Load = "load",
+ Clear = "clear",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuMipmapFilterMode.rs b/vendor/web-sys/src/features/gen_GpuMipmapFilterMode.rs
new file mode 100644
index 000000000..65718e9a4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuMipmapFilterMode.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuMipmapFilterMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuMipmapFilterMode`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuMipmapFilterMode {
+ Nearest = "nearest",
+ Linear = "linear",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuMultisampleState.rs b/vendor/web-sys/src/features/gen_GpuMultisampleState.rs
new file mode 100644
index 000000000..1cb538ded
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuMultisampleState.rs
@@ -0,0 +1,91 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUMultisampleState)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuMultisampleState` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuMultisampleState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuMultisampleState;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuMultisampleState {
+ #[doc = "Construct a new `GpuMultisampleState`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuMultisampleState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `alphaToCoverageEnabled` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuMultisampleState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn alpha_to_coverage_enabled(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("alphaToCoverageEnabled"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `count` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuMultisampleState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("count"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `mask` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuMultisampleState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn mask(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("mask"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuMultisampleState {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuObjectDescriptorBase.rs b/vendor/web-sys/src/features/gen_GpuObjectDescriptorBase.rs
new file mode 100644
index 000000000..a8fe68445
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuObjectDescriptorBase.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUObjectDescriptorBase)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuObjectDescriptorBase` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuObjectDescriptorBase`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuObjectDescriptorBase;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuObjectDescriptorBase {
+ #[doc = "Construct a new `GpuObjectDescriptorBase`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuObjectDescriptorBase`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuObjectDescriptorBase`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuObjectDescriptorBase {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuOrigin2dDict.rs b/vendor/web-sys/src/features/gen_GpuOrigin2dDict.rs
new file mode 100644
index 000000000..7e608ca10
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuOrigin2dDict.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUOrigin2DDict)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuOrigin2dDict` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuOrigin2dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuOrigin2dDict;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuOrigin2dDict {
+ #[doc = "Construct a new `GpuOrigin2dDict`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuOrigin2dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuOrigin2dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn x(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("x"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuOrigin2dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn y(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("y"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuOrigin2dDict {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuOrigin3dDict.rs b/vendor/web-sys/src/features/gen_GpuOrigin3dDict.rs
new file mode 100644
index 000000000..6bc5fb63b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuOrigin3dDict.rs
@@ -0,0 +1,87 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUOrigin3DDict)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuOrigin3dDict` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuOrigin3dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuOrigin3dDict;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuOrigin3dDict {
+ #[doc = "Construct a new `GpuOrigin3dDict`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuOrigin3dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuOrigin3dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn x(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("x"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuOrigin3dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn y(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("y"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `z` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuOrigin3dDict`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn z(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("z"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuOrigin3dDict {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuOutOfMemoryError.rs b/vendor/web-sys/src/features/gen_GpuOutOfMemoryError.rs
new file mode 100644
index 000000000..91a605915
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuOutOfMemoryError.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = GpuError , extends = :: js_sys :: Object , js_name = GPUOutOfMemoryError , typescript_type = "GPUOutOfMemoryError")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuOutOfMemoryError` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUOutOfMemoryError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuOutOfMemoryError`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuOutOfMemoryError;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "GPUOutOfMemoryError")]
+ #[doc = "The `new GpuOutOfMemoryError(..)` constructor, creating a new instance of `GpuOutOfMemoryError`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUOutOfMemoryError/GPUOutOfMemoryError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuOutOfMemoryError`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(message: &str) -> Result<GpuOutOfMemoryError, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuPipelineDescriptorBase.rs b/vendor/web-sys/src/features/gen_GpuPipelineDescriptorBase.rs
new file mode 100644
index 000000000..f88b58b02
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuPipelineDescriptorBase.rs
@@ -0,0 +1,66 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUPipelineDescriptorBase)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuPipelineDescriptorBase` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPipelineDescriptorBase`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuPipelineDescriptorBase;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuPipelineDescriptorBase {
+ #[doc = "Construct a new `GpuPipelineDescriptorBase`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPipelineDescriptorBase`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(layout: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.layout(layout);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPipelineDescriptorBase`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `layout` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPipelineDescriptorBase`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn layout(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("layout"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuPipelineLayout.rs b/vendor/web-sys/src/features/gen_GpuPipelineLayout.rs
new file mode 100644
index 000000000..85978241f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuPipelineLayout.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUPipelineLayout , typescript_type = "GPUPipelineLayout")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuPipelineLayout` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUPipelineLayout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPipelineLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuPipelineLayout;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUPipelineLayout" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUPipelineLayout/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPipelineLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuPipelineLayout) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUPipelineLayout" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUPipelineLayout/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPipelineLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuPipelineLayout, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuPipelineLayoutDescriptor.rs b/vendor/web-sys/src/features/gen_GpuPipelineLayoutDescriptor.rs
new file mode 100644
index 000000000..4e9b55e5f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuPipelineLayoutDescriptor.rs
@@ -0,0 +1,69 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUPipelineLayoutDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuPipelineLayoutDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPipelineLayoutDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuPipelineLayoutDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuPipelineLayoutDescriptor {
+ #[doc = "Construct a new `GpuPipelineLayoutDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPipelineLayoutDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(bind_group_layouts: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.bind_group_layouts(bind_group_layouts);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPipelineLayoutDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bindGroupLayouts` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPipelineLayoutDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bind_group_layouts(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bindGroupLayouts"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuPowerPreference.rs b/vendor/web-sys/src/features/gen_GpuPowerPreference.rs
new file mode 100644
index 000000000..1bf7015f2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuPowerPreference.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuPowerPreference` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuPowerPreference`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuPowerPreference {
+ LowPower = "low-power",
+ HighPerformance = "high-performance",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuPrimitiveState.rs b/vendor/web-sys/src/features/gen_GpuPrimitiveState.rs
new file mode 100644
index 000000000..ff82fb1e0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuPrimitiveState.rs
@@ -0,0 +1,145 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUPrimitiveState)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuPrimitiveState` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPrimitiveState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuPrimitiveState;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuPrimitiveState {
+ #[doc = "Construct a new `GpuPrimitiveState`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPrimitiveState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuCullMode")]
+ #[doc = "Change the `cullMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCullMode`, `GpuPrimitiveState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cull_mode(&mut self, val: GpuCullMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cullMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuFrontFace")]
+ #[doc = "Change the `frontFace` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuFrontFace`, `GpuPrimitiveState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn front_face(&mut self, val: GpuFrontFace) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frontFace"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuIndexFormat")]
+ #[doc = "Change the `stripIndexFormat` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuIndexFormat`, `GpuPrimitiveState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn strip_index_format(&mut self, val: GpuIndexFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stripIndexFormat"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuPrimitiveTopology")]
+ #[doc = "Change the `topology` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPrimitiveState`, `GpuPrimitiveTopology`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn topology(&mut self, val: GpuPrimitiveTopology) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("topology"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `unclippedDepth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPrimitiveState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn unclipped_depth(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("unclippedDepth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuPrimitiveState {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuPrimitiveTopology.rs b/vendor/web-sys/src/features/gen_GpuPrimitiveTopology.rs
new file mode 100644
index 000000000..341611a19
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuPrimitiveTopology.rs
@@ -0,0 +1,18 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuPrimitiveTopology` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuPrimitiveTopology`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuPrimitiveTopology {
+ PointList = "point-list",
+ LineList = "line-list",
+ LineStrip = "line-strip",
+ TriangleList = "triangle-list",
+ TriangleStrip = "triangle-strip",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuProgrammableStage.rs b/vendor/web-sys/src/features/gen_GpuProgrammableStage.rs
new file mode 100644
index 000000000..cf569c1e4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuProgrammableStage.rs
@@ -0,0 +1,73 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUProgrammableStage)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuProgrammableStage` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuProgrammableStage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuProgrammableStage;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuProgrammableStage {
+ #[cfg(feature = "GpuShaderModule")]
+ #[doc = "Construct a new `GpuProgrammableStage`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuProgrammableStage`, `GpuShaderModule`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(entry_point: &str, module: &GpuShaderModule) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.entry_point(entry_point);
+ ret.module(module);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `entryPoint` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuProgrammableStage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn entry_point(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("entryPoint"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuShaderModule")]
+ #[doc = "Change the `module` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuProgrammableStage`, `GpuShaderModule`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn module(&mut self, val: &GpuShaderModule) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("module"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuQuerySet.rs b/vendor/web-sys/src/features/gen_GpuQuerySet.rs
new file mode 100644
index 000000000..802057965
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuQuerySet.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQuerySet , typescript_type = "GPUQuerySet")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuQuerySet` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQuerySet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySet`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuQuerySet;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuQueryType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUQuerySet" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQuerySet/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySet`, `GpuQueryType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(this: &GpuQuerySet) -> GpuQueryType;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUQuerySet" , js_name = count)]
+ #[doc = "Getter for the `count` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQuerySet/count)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySet`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn count(this: &GpuQuerySet) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUQuerySet" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQuerySet/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySet`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuQuerySet) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUQuerySet" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQuerySet/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySet`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuQuerySet, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUQuerySet" , js_name = destroy)]
+ #[doc = "The `destroy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQuerySet/destroy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySet`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn destroy(this: &GpuQuerySet);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuQuerySetDescriptor.rs b/vendor/web-sys/src/features/gen_GpuQuerySetDescriptor.rs
new file mode 100644
index 000000000..be7fbda54
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuQuerySetDescriptor.rs
@@ -0,0 +1,85 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQuerySetDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuQuerySetDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySetDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuQuerySetDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuQuerySetDescriptor {
+ #[cfg(feature = "GpuQueryType")]
+ #[doc = "Construct a new `GpuQuerySetDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySetDescriptor`, `GpuQueryType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(count: u32, type_: GpuQueryType) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.count(count);
+ ret.type_(type_);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySetDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `count` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySetDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("count"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuQueryType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySetDescriptor`, `GpuQueryType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(&mut self, val: GpuQueryType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuQueryType.rs b/vendor/web-sys/src/features/gen_GpuQueryType.rs
new file mode 100644
index 000000000..5fa437b6a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuQueryType.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuQueryType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuQueryType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuQueryType {
+ Occlusion = "occlusion",
+ Timestamp = "timestamp",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuQueue.rs b/vendor/web-sys/src/features/gen_GpuQueue.rs
new file mode 100644
index 000000000..45b0bfeb8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuQueue.rs
@@ -0,0 +1,699 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQueue , typescript_type = "GPUQueue")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuQueue` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuQueue;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUQueue" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuQueue) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUQueue" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuQueue, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuImageCopyExternalImage",
+ feature = "GpuImageCopyTextureTagged",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = copyExternalImageToTexture)]
+ #[doc = "The `copyExternalImageToTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/copyExternalImageToTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyExternalImage`, `GpuImageCopyTextureTagged`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_external_image_to_texture_with_u32_sequence(
+ this: &GpuQueue,
+ source: &GpuImageCopyExternalImage,
+ destination: &GpuImageCopyTextureTagged,
+ copy_size: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuExtent3dDict",
+ feature = "GpuImageCopyExternalImage",
+ feature = "GpuImageCopyTextureTagged",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = copyExternalImageToTexture)]
+ #[doc = "The `copyExternalImageToTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/copyExternalImageToTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`, `GpuImageCopyExternalImage`, `GpuImageCopyTextureTagged`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_external_image_to_texture_with_gpu_extent_3d_dict(
+ this: &GpuQueue,
+ source: &GpuImageCopyExternalImage,
+ destination: &GpuImageCopyTextureTagged,
+ copy_size: &GpuExtent3dDict,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = onSubmittedWorkDone)]
+ #[doc = "The `onSubmittedWorkDone()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/onSubmittedWorkDone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn on_submitted_work_done(this: &GpuQueue) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = submit)]
+ #[doc = "The `submit()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/submit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn submit(this: &GpuQueue, command_buffers: &::wasm_bindgen::JsValue);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ data_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ data_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ data_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ data_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ data_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ data_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ data_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ data_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source_and_u32_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ data_offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source_and_u32_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ data_offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array_and_u32_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ data_offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array_and_u32_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ data_offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source_and_f64_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ data_offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source_and_f64_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ data_offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array_and_f64_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ data_offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array_and_f64_and_u32(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ data_offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source_and_u32_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ data_offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source_and_u32_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ data_offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array_and_u32_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ data_offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array_and_u32_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ data_offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_buffer_source_and_f64_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &::js_sys::Object,
+ data_offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_buffer_source_and_f64_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &::js_sys::Object,
+ data_offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_u32_and_u8_array_and_f64_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: u32,
+ data: &[u8],
+ data_offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeBuffer)]
+ #[doc = "The `writeBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_buffer_with_f64_and_u8_array_and_f64_and_f64(
+ this: &GpuQueue,
+ buffer: &GpuBuffer,
+ buffer_offset: f64,
+ data: &[u8],
+ data_offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuImageCopyTexture", feature = "GpuImageDataLayout",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
+ #[doc = "The `writeTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTexture`, `GpuImageDataLayout`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_texture_with_buffer_source_and_u32_sequence(
+ this: &GpuQueue,
+ destination: &GpuImageCopyTexture,
+ data: &::js_sys::Object,
+ data_layout: &GpuImageDataLayout,
+ size: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuImageCopyTexture", feature = "GpuImageDataLayout",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
+ #[doc = "The `writeTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuImageCopyTexture`, `GpuImageDataLayout`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_texture_with_u8_array_and_u32_sequence(
+ this: &GpuQueue,
+ destination: &GpuImageCopyTexture,
+ data: &[u8],
+ data_layout: &GpuImageDataLayout,
+ size: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuExtent3dDict",
+ feature = "GpuImageCopyTexture",
+ feature = "GpuImageDataLayout",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
+ #[doc = "The `writeTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`, `GpuImageCopyTexture`, `GpuImageDataLayout`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_texture_with_buffer_source_and_gpu_extent_3d_dict(
+ this: &GpuQueue,
+ destination: &GpuImageCopyTexture,
+ data: &::js_sys::Object,
+ data_layout: &GpuImageDataLayout,
+ size: &GpuExtent3dDict,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "GpuExtent3dDict",
+ feature = "GpuImageCopyTexture",
+ feature = "GpuImageDataLayout",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = writeTexture)]
+ #[doc = "The `writeTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/writeTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuExtent3dDict`, `GpuImageCopyTexture`, `GpuImageDataLayout`, `GpuQueue`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn write_texture_with_u8_array_and_gpu_extent_3d_dict(
+ this: &GpuQueue,
+ destination: &GpuImageCopyTexture,
+ data: &[u8],
+ data_layout: &GpuImageDataLayout,
+ size: &GpuExtent3dDict,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_GpuQueueDescriptor.rs b/vendor/web-sys/src/features/gen_GpuQueueDescriptor.rs
new file mode 100644
index 000000000..26f6e28d3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuQueueDescriptor.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQueueDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuQueueDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueueDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuQueueDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuQueueDescriptor {
+ #[doc = "Construct a new `GpuQueueDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueueDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQueueDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuQueueDescriptor {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderBundle.rs b/vendor/web-sys/src/features/gen_GpuRenderBundle.rs
new file mode 100644
index 000000000..2fba3c333
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderBundle.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderBundle , typescript_type = "GPURenderBundle")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRenderBundle` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundle`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRenderBundle;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPURenderBundle" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundle/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundle`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuRenderBundle) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPURenderBundle" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundle/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundle`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuRenderBundle, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderBundleDescriptor.rs b/vendor/web-sys/src/features/gen_GpuRenderBundleDescriptor.rs
new file mode 100644
index 000000000..22ef82ce8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderBundleDescriptor.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderBundleDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRenderBundleDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRenderBundleDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuRenderBundleDescriptor {
+ #[doc = "Construct a new `GpuRenderBundleDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuRenderBundleDescriptor {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderBundleEncoder.rs b/vendor/web-sys/src/features/gen_GpuRenderBundleEncoder.rs
new file mode 100644
index 000000000..c2222f67a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderBundleEncoder.rs
@@ -0,0 +1,619 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderBundleEncoder , typescript_type = "GPURenderBundleEncoder")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRenderBundleEncoder` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRenderBundleEncoder;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPURenderBundleEncoder" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuRenderBundleEncoder) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPURenderBundleEncoder" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuRenderBundleEncoder, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuRenderBundle")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = finish)]
+ #[doc = "The `finish()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/finish)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundle`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn finish(this: &GpuRenderBundleEncoder) -> GpuRenderBundle;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuRenderBundle", feature = "GpuRenderBundleDescriptor",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = finish)]
+ #[doc = "The `finish()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/finish)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundle`, `GpuRenderBundleDescriptor`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn finish_with_descriptor(
+ this: &GpuRenderBundleEncoder,
+ descriptor: &GpuRenderBundleDescriptor,
+ ) -> GpuRenderBundle;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroup")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup)]
+ #[doc = "The `setBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_bind_group(this: &GpuRenderBundleEncoder, index: u32, bind_group: &GpuBindGroup);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroup")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup)]
+ #[doc = "The `setBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_bind_group_with_u32_sequence(
+ this: &GpuRenderBundleEncoder,
+ index: u32,
+ bind_group: &GpuBindGroup,
+ dynamic_offsets: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroup")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup)]
+ #[doc = "The `setBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_bind_group_with_u32_array_and_u32_and_dynamic_offsets_data_length(
+ this: &GpuRenderBundleEncoder,
+ index: u32,
+ bind_group: &GpuBindGroup,
+ dynamic_offsets_data: &[u32],
+ dynamic_offsets_data_start: u32,
+ dynamic_offsets_data_length: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroup")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup)]
+ #[doc = "The `setBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_bind_group_with_u32_array_and_f64_and_dynamic_offsets_data_length(
+ this: &GpuRenderBundleEncoder,
+ index: u32,
+ bind_group: &GpuBindGroup,
+ dynamic_offsets_data: &[u32],
+ dynamic_offsets_data_start: f64,
+ dynamic_offsets_data_length: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = insertDebugMarker)]
+ #[doc = "The `insertDebugMarker()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/insertDebugMarker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn insert_debug_marker(this: &GpuRenderBundleEncoder, marker_label: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = popDebugGroup)]
+ #[doc = "The `popDebugGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/popDebugGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn pop_debug_group(this: &GpuRenderBundleEncoder);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = pushDebugGroup)]
+ #[doc = "The `pushDebugGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/pushDebugGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn push_debug_group(this: &GpuRenderBundleEncoder, group_label: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw)]
+ #[doc = "The `draw()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw(this: &GpuRenderBundleEncoder, vertex_count: u32);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw)]
+ #[doc = "The `draw()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_with_instance_count(
+ this: &GpuRenderBundleEncoder,
+ vertex_count: u32,
+ instance_count: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw)]
+ #[doc = "The `draw()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_with_instance_count_and_first_vertex(
+ this: &GpuRenderBundleEncoder,
+ vertex_count: u32,
+ instance_count: u32,
+ first_vertex: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw)]
+ #[doc = "The `draw()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/draw)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_with_instance_count_and_first_vertex_and_first_instance(
+ this: &GpuRenderBundleEncoder,
+ vertex_count: u32,
+ instance_count: u32,
+ first_vertex: u32,
+ first_instance: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed)]
+ #[doc = "The `drawIndexed()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed(this: &GpuRenderBundleEncoder, index_count: u32);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed)]
+ #[doc = "The `drawIndexed()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed_with_instance_count(
+ this: &GpuRenderBundleEncoder,
+ index_count: u32,
+ instance_count: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed)]
+ #[doc = "The `drawIndexed()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed_with_instance_count_and_first_index(
+ this: &GpuRenderBundleEncoder,
+ index_count: u32,
+ instance_count: u32,
+ first_index: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed)]
+ #[doc = "The `drawIndexed()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed_with_instance_count_and_first_index_and_base_vertex(
+ this: &GpuRenderBundleEncoder,
+ index_count: u32,
+ instance_count: u32,
+ first_index: u32,
+ base_vertex: i32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed)]
+ #[doc = "The `drawIndexed()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed_with_instance_count_and_first_index_and_base_vertex_and_first_instance(
+ this: &GpuRenderBundleEncoder,
+ index_count: u32,
+ instance_count: u32,
+ first_index: u32,
+ base_vertex: i32,
+ first_instance: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexedIndirect)]
+ #[doc = "The `drawIndexedIndirect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexedIndirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed_indirect_with_u32(
+ this: &GpuRenderBundleEncoder,
+ indirect_buffer: &GpuBuffer,
+ indirect_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexedIndirect)]
+ #[doc = "The `drawIndexedIndirect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndexedIndirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed_indirect_with_f64(
+ this: &GpuRenderBundleEncoder,
+ indirect_buffer: &GpuBuffer,
+ indirect_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndirect)]
+ #[doc = "The `drawIndirect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indirect_with_u32(
+ this: &GpuRenderBundleEncoder,
+ indirect_buffer: &GpuBuffer,
+ indirect_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndirect)]
+ #[doc = "The `drawIndirect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/drawIndirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indirect_with_f64(
+ this: &GpuRenderBundleEncoder,
+ indirect_buffer: &GpuBuffer,
+ indirect_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer(
+ this: &GpuRenderBundleEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer_with_u32(
+ this: &GpuRenderBundleEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer_with_f64(
+ this: &GpuRenderBundleEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer_with_u32_and_u32(
+ this: &GpuRenderBundleEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer_with_f64_and_u32(
+ this: &GpuRenderBundleEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer_with_u32_and_f64(
+ this: &GpuRenderBundleEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer_with_f64_and_f64(
+ this: &GpuRenderBundleEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuRenderPipeline")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setPipeline)]
+ #[doc = "The `setPipeline()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setPipeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoder`, `GpuRenderPipeline`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_pipeline(this: &GpuRenderBundleEncoder, pipeline: &GpuRenderPipeline);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer(this: &GpuRenderBundleEncoder, slot: u32, buffer: &GpuBuffer);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer_with_u32(
+ this: &GpuRenderBundleEncoder,
+ slot: u32,
+ buffer: &GpuBuffer,
+ offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer_with_f64(
+ this: &GpuRenderBundleEncoder,
+ slot: u32,
+ buffer: &GpuBuffer,
+ offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer_with_u32_and_u32(
+ this: &GpuRenderBundleEncoder,
+ slot: u32,
+ buffer: &GpuBuffer,
+ offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer_with_f64_and_u32(
+ this: &GpuRenderBundleEncoder,
+ slot: u32,
+ buffer: &GpuBuffer,
+ offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer_with_u32_and_f64(
+ this: &GpuRenderBundleEncoder,
+ slot: u32,
+ buffer: &GpuBuffer,
+ offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderBundleEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer_with_f64_and_f64(
+ this: &GpuRenderBundleEncoder,
+ slot: u32,
+ buffer: &GpuBuffer,
+ offset: f64,
+ size: f64,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderBundleEncoderDescriptor.rs b/vendor/web-sys/src/features/gen_GpuRenderBundleEncoderDescriptor.rs
new file mode 100644
index 000000000..d120becc5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderBundleEncoderDescriptor.rs
@@ -0,0 +1,154 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderBundleEncoderDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRenderBundleEncoderDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoderDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRenderBundleEncoderDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuRenderBundleEncoderDescriptor {
+ #[doc = "Construct a new `GpuRenderBundleEncoderDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoderDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(color_formats: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.color_formats(color_formats);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoderDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `colorFormats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoderDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn color_formats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("colorFormats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureFormat")]
+ #[doc = "Change the `depthStencilFormat` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoderDescriptor`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_stencil_format(&mut self, val: GpuTextureFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthStencilFormat"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `sampleCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoderDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn sample_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampleCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `depthReadOnly` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoderDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_read_only(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthReadOnly"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `stencilReadOnly` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderBundleEncoderDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stencil_read_only(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stencilReadOnly"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassColorAttachment.rs b/vendor/web-sys/src/features/gen_GpuRenderPassColorAttachment.rs
new file mode 100644
index 000000000..9945950eb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderPassColorAttachment.rs
@@ -0,0 +1,140 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassColorAttachment)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRenderPassColorAttachment` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassColorAttachment`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRenderPassColorAttachment;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuRenderPassColorAttachment {
+ #[cfg(all(
+ feature = "GpuLoadOp",
+ feature = "GpuStoreOp",
+ feature = "GpuTextureView",
+ ))]
+ #[doc = "Construct a new `GpuRenderPassColorAttachment`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuLoadOp`, `GpuRenderPassColorAttachment`, `GpuStoreOp`, `GpuTextureView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(load_op: GpuLoadOp, store_op: GpuStoreOp, view: &GpuTextureView) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.load_op(load_op);
+ ret.store_op(store_op);
+ ret.view(view);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `clearValue` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassColorAttachment`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clear_value(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clearValue"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuLoadOp")]
+ #[doc = "Change the `loadOp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuLoadOp`, `GpuRenderPassColorAttachment`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn load_op(&mut self, val: GpuLoadOp) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("loadOp"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureView")]
+ #[doc = "Change the `resolveTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassColorAttachment`, `GpuTextureView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn resolve_target(&mut self, val: &GpuTextureView) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("resolveTarget"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuStoreOp")]
+ #[doc = "Change the `storeOp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassColorAttachment`, `GpuStoreOp`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn store_op(&mut self, val: GpuStoreOp) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("storeOp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureView")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassColorAttachment`, `GpuTextureView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn view(&mut self, val: &GpuTextureView) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassDepthStencilAttachment.rs b/vendor/web-sys/src/features/gen_GpuRenderPassDepthStencilAttachment.rs
new file mode 100644
index 000000000..86117851b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderPassDepthStencilAttachment.rs
@@ -0,0 +1,222 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassDepthStencilAttachment)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRenderPassDepthStencilAttachment` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDepthStencilAttachment`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRenderPassDepthStencilAttachment;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuRenderPassDepthStencilAttachment {
+ #[cfg(feature = "GpuTextureView")]
+ #[doc = "Construct a new `GpuRenderPassDepthStencilAttachment`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDepthStencilAttachment`, `GpuTextureView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(view: &GpuTextureView) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.view(view);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `depthClearValue` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDepthStencilAttachment`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_clear_value(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthClearValue"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuLoadOp")]
+ #[doc = "Change the `depthLoadOp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuLoadOp`, `GpuRenderPassDepthStencilAttachment`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_load_op(&mut self, val: GpuLoadOp) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthLoadOp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `depthReadOnly` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDepthStencilAttachment`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_read_only(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthReadOnly"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuStoreOp")]
+ #[doc = "Change the `depthStoreOp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDepthStencilAttachment`, `GpuStoreOp`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_store_op(&mut self, val: GpuStoreOp) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthStoreOp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `stencilClearValue` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDepthStencilAttachment`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stencil_clear_value(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stencilClearValue"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuLoadOp")]
+ #[doc = "Change the `stencilLoadOp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuLoadOp`, `GpuRenderPassDepthStencilAttachment`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stencil_load_op(&mut self, val: GpuLoadOp) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stencilLoadOp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `stencilReadOnly` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDepthStencilAttachment`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stencil_read_only(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stencilReadOnly"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuStoreOp")]
+ #[doc = "Change the `stencilStoreOp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDepthStencilAttachment`, `GpuStoreOp`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stencil_store_op(&mut self, val: GpuStoreOp) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stencilStoreOp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureView")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDepthStencilAttachment`, `GpuTextureView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn view(&mut self, val: &GpuTextureView) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassDescriptor.rs b/vendor/web-sys/src/features/gen_GpuRenderPassDescriptor.rs
new file mode 100644
index 000000000..bb7592999
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderPassDescriptor.rs
@@ -0,0 +1,158 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRenderPassDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRenderPassDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuRenderPassDescriptor {
+ #[doc = "Construct a new `GpuRenderPassDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(color_attachments: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.color_attachments(color_attachments);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `colorAttachments` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn color_attachments(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("colorAttachments"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuRenderPassDepthStencilAttachment")]
+ #[doc = "Change the `depthStencilAttachment` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDepthStencilAttachment`, `GpuRenderPassDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_stencil_attachment(
+ &mut self,
+ val: &GpuRenderPassDepthStencilAttachment,
+ ) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthStencilAttachment"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `maxDrawCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_draw_count(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maxDrawCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuQuerySet")]
+ #[doc = "Change the `occlusionQuerySet` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySet`, `GpuRenderPassDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn occlusion_query_set(&mut self, val: &GpuQuerySet) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("occlusionQuerySet"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `timestampWrites` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn timestamp_writes(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestampWrites"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassEncoder.rs b/vendor/web-sys/src/features/gen_GpuRenderPassEncoder.rs
new file mode 100644
index 000000000..ba680dfca
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderPassEncoder.rs
@@ -0,0 +1,706 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassEncoder , typescript_type = "GPURenderPassEncoder")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRenderPassEncoder` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRenderPassEncoder;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPURenderPassEncoder" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuRenderPassEncoder) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPURenderPassEncoder" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuRenderPassEncoder, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = beginOcclusionQuery)]
+ #[doc = "The `beginOcclusionQuery()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/beginOcclusionQuery)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn begin_occlusion_query(this: &GpuRenderPassEncoder, query_index: u32);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = end)]
+ #[doc = "The `end()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/end)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn end(this: &GpuRenderPassEncoder);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = endOcclusionQuery)]
+ #[doc = "The `endOcclusionQuery()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/endOcclusionQuery)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn end_occlusion_query(this: &GpuRenderPassEncoder);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = executeBundles)]
+ #[doc = "The `executeBundles()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/executeBundles)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn execute_bundles(this: &GpuRenderPassEncoder, bundles: &::wasm_bindgen::JsValue);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBlendConstant)]
+ #[doc = "The `setBlendConstant()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBlendConstant)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_blend_constant_with_f64_sequence(
+ this: &GpuRenderPassEncoder,
+ color: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuColorDict")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBlendConstant)]
+ #[doc = "The `setBlendConstant()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBlendConstant)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuColorDict`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_blend_constant_with_gpu_color_dict(
+ this: &GpuRenderPassEncoder,
+ color: &GpuColorDict,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setScissorRect)]
+ #[doc = "The `setScissorRect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setScissorRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_scissor_rect(this: &GpuRenderPassEncoder, x: u32, y: u32, width: u32, height: u32);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setStencilReference)]
+ #[doc = "The `setStencilReference()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setStencilReference)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_stencil_reference(this: &GpuRenderPassEncoder, reference: u32);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setViewport)]
+ #[doc = "The `setViewport()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setViewport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_viewport(
+ this: &GpuRenderPassEncoder,
+ x: f32,
+ y: f32,
+ width: f32,
+ height: f32,
+ min_depth: f32,
+ max_depth: f32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroup")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)]
+ #[doc = "The `setBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_bind_group(this: &GpuRenderPassEncoder, index: u32, bind_group: &GpuBindGroup);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroup")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)]
+ #[doc = "The `setBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_bind_group_with_u32_sequence(
+ this: &GpuRenderPassEncoder,
+ index: u32,
+ bind_group: &GpuBindGroup,
+ dynamic_offsets: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroup")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)]
+ #[doc = "The `setBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_bind_group_with_u32_array_and_u32_and_dynamic_offsets_data_length(
+ this: &GpuRenderPassEncoder,
+ index: u32,
+ bind_group: &GpuBindGroup,
+ dynamic_offsets_data: &[u32],
+ dynamic_offsets_data_start: u32,
+ dynamic_offsets_data_length: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroup")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup)]
+ #[doc = "The `setBindGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroup`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_bind_group_with_u32_array_and_f64_and_dynamic_offsets_data_length(
+ this: &GpuRenderPassEncoder,
+ index: u32,
+ bind_group: &GpuBindGroup,
+ dynamic_offsets_data: &[u32],
+ dynamic_offsets_data_start: f64,
+ dynamic_offsets_data_length: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = insertDebugMarker)]
+ #[doc = "The `insertDebugMarker()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/insertDebugMarker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn insert_debug_marker(this: &GpuRenderPassEncoder, marker_label: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = popDebugGroup)]
+ #[doc = "The `popDebugGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/popDebugGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn pop_debug_group(this: &GpuRenderPassEncoder);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = pushDebugGroup)]
+ #[doc = "The `pushDebugGroup()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/pushDebugGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn push_debug_group(this: &GpuRenderPassEncoder, group_label: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = draw)]
+ #[doc = "The `draw()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw(this: &GpuRenderPassEncoder, vertex_count: u32);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = draw)]
+ #[doc = "The `draw()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_with_instance_count(
+ this: &GpuRenderPassEncoder,
+ vertex_count: u32,
+ instance_count: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = draw)]
+ #[doc = "The `draw()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_with_instance_count_and_first_vertex(
+ this: &GpuRenderPassEncoder,
+ vertex_count: u32,
+ instance_count: u32,
+ first_vertex: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = draw)]
+ #[doc = "The `draw()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/draw)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_with_instance_count_and_first_vertex_and_first_instance(
+ this: &GpuRenderPassEncoder,
+ vertex_count: u32,
+ instance_count: u32,
+ first_vertex: u32,
+ first_instance: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)]
+ #[doc = "The `drawIndexed()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed(this: &GpuRenderPassEncoder, index_count: u32);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)]
+ #[doc = "The `drawIndexed()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed_with_instance_count(
+ this: &GpuRenderPassEncoder,
+ index_count: u32,
+ instance_count: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)]
+ #[doc = "The `drawIndexed()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed_with_instance_count_and_first_index(
+ this: &GpuRenderPassEncoder,
+ index_count: u32,
+ instance_count: u32,
+ first_index: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)]
+ #[doc = "The `drawIndexed()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed_with_instance_count_and_first_index_and_base_vertex(
+ this: &GpuRenderPassEncoder,
+ index_count: u32,
+ instance_count: u32,
+ first_index: u32,
+ base_vertex: i32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed)]
+ #[doc = "The `drawIndexed()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed_with_instance_count_and_first_index_and_base_vertex_and_first_instance(
+ this: &GpuRenderPassEncoder,
+ index_count: u32,
+ instance_count: u32,
+ first_index: u32,
+ base_vertex: i32,
+ first_instance: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexedIndirect)]
+ #[doc = "The `drawIndexedIndirect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexedIndirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed_indirect_with_u32(
+ this: &GpuRenderPassEncoder,
+ indirect_buffer: &GpuBuffer,
+ indirect_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexedIndirect)]
+ #[doc = "The `drawIndexedIndirect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndexedIndirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indexed_indirect_with_f64(
+ this: &GpuRenderPassEncoder,
+ indirect_buffer: &GpuBuffer,
+ indirect_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndirect)]
+ #[doc = "The `drawIndirect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indirect_with_u32(
+ this: &GpuRenderPassEncoder,
+ indirect_buffer: &GpuBuffer,
+ indirect_offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndirect)]
+ #[doc = "The `drawIndirect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/drawIndirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn draw_indirect_with_f64(
+ this: &GpuRenderPassEncoder,
+ indirect_buffer: &GpuBuffer,
+ indirect_offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer(
+ this: &GpuRenderPassEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer_with_u32(
+ this: &GpuRenderPassEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer_with_f64(
+ this: &GpuRenderPassEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer_with_u32_and_u32(
+ this: &GpuRenderPassEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer_with_f64_and_u32(
+ this: &GpuRenderPassEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer_with_u32_and_f64(
+ this: &GpuRenderPassEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuBuffer", feature = "GpuIndexFormat",))]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer)]
+ #[doc = "The `setIndexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setIndexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuIndexFormat`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_index_buffer_with_f64_and_f64(
+ this: &GpuRenderPassEncoder,
+ buffer: &GpuBuffer,
+ index_format: GpuIndexFormat,
+ offset: f64,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuRenderPipeline")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setPipeline)]
+ #[doc = "The `setPipeline()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setPipeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassEncoder`, `GpuRenderPipeline`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_pipeline(this: &GpuRenderPassEncoder, pipeline: &GpuRenderPipeline);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer(this: &GpuRenderPassEncoder, slot: u32, buffer: &GpuBuffer);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer_with_u32(
+ this: &GpuRenderPassEncoder,
+ slot: u32,
+ buffer: &GpuBuffer,
+ offset: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer_with_f64(
+ this: &GpuRenderPassEncoder,
+ slot: u32,
+ buffer: &GpuBuffer,
+ offset: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer_with_u32_and_u32(
+ this: &GpuRenderPassEncoder,
+ slot: u32,
+ buffer: &GpuBuffer,
+ offset: u32,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer_with_f64_and_u32(
+ this: &GpuRenderPassEncoder,
+ slot: u32,
+ buffer: &GpuBuffer,
+ offset: f64,
+ size: u32,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer_with_u32_and_f64(
+ this: &GpuRenderPassEncoder,
+ slot: u32,
+ buffer: &GpuBuffer,
+ offset: u32,
+ size: f64,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer)]
+ #[doc = "The `setVertexBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setVertexBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuRenderPassEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_vertex_buffer_with_f64_and_f64(
+ this: &GpuRenderPassEncoder,
+ slot: u32,
+ buffer: &GpuBuffer,
+ offset: f64,
+ size: f64,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassLayout.rs b/vendor/web-sys/src/features/gen_GpuRenderPassLayout.rs
new file mode 100644
index 000000000..f583d10b3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderPassLayout.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassLayout)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRenderPassLayout` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRenderPassLayout;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuRenderPassLayout {
+ #[doc = "Construct a new `GpuRenderPassLayout`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(color_formats: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.color_formats(color_formats);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `colorFormats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn color_formats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("colorFormats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureFormat")]
+ #[doc = "Change the `depthStencilFormat` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassLayout`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_stencil_format(&mut self, val: GpuTextureFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthStencilFormat"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `sampleCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn sample_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampleCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassTimestampLocation.rs b/vendor/web-sys/src/features/gen_GpuRenderPassTimestampLocation.rs
new file mode 100644
index 000000000..449d1264b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderPassTimestampLocation.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuRenderPassTimestampLocation` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuRenderPassTimestampLocation`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuRenderPassTimestampLocation {
+ Beginning = "beginning",
+ End = "end",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassTimestampWrite.rs b/vendor/web-sys/src/features/gen_GpuRenderPassTimestampWrite.rs
new file mode 100644
index 000000000..fa35942a6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderPassTimestampWrite.rs
@@ -0,0 +1,103 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassTimestampWrite)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRenderPassTimestampWrite` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassTimestampWrite`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRenderPassTimestampWrite;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuRenderPassTimestampWrite {
+ #[cfg(all(feature = "GpuQuerySet", feature = "GpuRenderPassTimestampLocation",))]
+ #[doc = "Construct a new `GpuRenderPassTimestampWrite`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySet`, `GpuRenderPassTimestampLocation`, `GpuRenderPassTimestampWrite`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ location: GpuRenderPassTimestampLocation,
+ query_index: u32,
+ query_set: &GpuQuerySet,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.location(location);
+ ret.query_index(query_index);
+ ret.query_set(query_set);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuRenderPassTimestampLocation")]
+ #[doc = "Change the `location` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassTimestampLocation`, `GpuRenderPassTimestampWrite`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn location(&mut self, val: GpuRenderPassTimestampLocation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("location"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `queryIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPassTimestampWrite`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn query_index(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("queryIndex"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuQuerySet")]
+ #[doc = "Change the `querySet` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuQuerySet`, `GpuRenderPassTimestampWrite`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn query_set(&mut self, val: &GpuQuerySet) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("querySet"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderPipeline.rs b/vendor/web-sys/src/features/gen_GpuRenderPipeline.rs
new file mode 100644
index 000000000..5655855ca
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderPipeline.rs
@@ -0,0 +1,52 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPipeline , typescript_type = "GPURenderPipeline")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRenderPipeline` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPipeline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPipeline`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRenderPipeline;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPURenderPipeline" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPipeline/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPipeline`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuRenderPipeline) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPURenderPipeline" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPipeline/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPipeline`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuRenderPipeline, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuBindGroupLayout")]
+ # [wasm_bindgen (method , structural , js_class = "GPURenderPipeline" , js_name = getBindGroupLayout)]
+ #[doc = "The `getBindGroupLayout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPipeline/getBindGroupLayout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuBindGroupLayout`, `GpuRenderPipeline`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_bind_group_layout(this: &GpuRenderPipeline, index: u32) -> GpuBindGroupLayout;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRenderPipelineDescriptor.rs b/vendor/web-sys/src/features/gen_GpuRenderPipelineDescriptor.rs
new file mode 100644
index 000000000..b7ede7f58
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRenderPipelineDescriptor.rs
@@ -0,0 +1,175 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPipelineDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRenderPipelineDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPipelineDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRenderPipelineDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuRenderPipelineDescriptor {
+ #[cfg(feature = "GpuVertexState")]
+ #[doc = "Construct a new `GpuRenderPipelineDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPipelineDescriptor`, `GpuVertexState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(layout: &::wasm_bindgen::JsValue, vertex: &GpuVertexState) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.layout(layout);
+ ret.vertex(vertex);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPipelineDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `layout` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPipelineDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn layout(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("layout"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuDepthStencilState")]
+ #[doc = "Change the `depthStencil` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuDepthStencilState`, `GpuRenderPipelineDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_stencil(&mut self, val: &GpuDepthStencilState) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthStencil"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuFragmentState")]
+ #[doc = "Change the `fragment` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuFragmentState`, `GpuRenderPipelineDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn fragment(&mut self, val: &GpuFragmentState) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("fragment"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuMultisampleState")]
+ #[doc = "Change the `multisample` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuMultisampleState`, `GpuRenderPipelineDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn multisample(&mut self, val: &GpuMultisampleState) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("multisample"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuPrimitiveState")]
+ #[doc = "Change the `primitive` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPrimitiveState`, `GpuRenderPipelineDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn primitive(&mut self, val: &GpuPrimitiveState) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("primitive"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuVertexState")]
+ #[doc = "Change the `vertex` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRenderPipelineDescriptor`, `GpuVertexState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn vertex(&mut self, val: &GpuVertexState) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("vertex"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuRequestAdapterOptions.rs b/vendor/web-sys/src/features/gen_GpuRequestAdapterOptions.rs
new file mode 100644
index 000000000..43019647d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuRequestAdapterOptions.rs
@@ -0,0 +1,79 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURequestAdapterOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuRequestAdapterOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRequestAdapterOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuRequestAdapterOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuRequestAdapterOptions {
+ #[doc = "Construct a new `GpuRequestAdapterOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRequestAdapterOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `forceFallbackAdapter` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuRequestAdapterOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn force_fallback_adapter(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("forceFallbackAdapter"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuPowerPreference")]
+ #[doc = "Change the `powerPreference` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuPowerPreference`, `GpuRequestAdapterOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn power_preference(&mut self, val: GpuPowerPreference) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("powerPreference"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuRequestAdapterOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuSampler.rs b/vendor/web-sys/src/features/gen_GpuSampler.rs
new file mode 100644
index 000000000..e98b38642
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuSampler.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUSampler , typescript_type = "GPUSampler")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuSampler` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSampler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSampler`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuSampler;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSampler" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSampler/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSampler`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuSampler) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUSampler" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSampler/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSampler`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuSampler, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuSamplerBindingLayout.rs b/vendor/web-sys/src/features/gen_GpuSamplerBindingLayout.rs
new file mode 100644
index 000000000..aba8ea665
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuSamplerBindingLayout.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUSamplerBindingLayout)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuSamplerBindingLayout` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSamplerBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuSamplerBindingLayout;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuSamplerBindingLayout {
+ #[doc = "Construct a new `GpuSamplerBindingLayout`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSamplerBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuSamplerBindingType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSamplerBindingLayout`, `GpuSamplerBindingType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(&mut self, val: GpuSamplerBindingType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuSamplerBindingLayout {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuSamplerBindingType.rs b/vendor/web-sys/src/features/gen_GpuSamplerBindingType.rs
new file mode 100644
index 000000000..ea4a3c446
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuSamplerBindingType.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuSamplerBindingType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuSamplerBindingType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuSamplerBindingType {
+ Filtering = "filtering",
+ NonFiltering = "non-filtering",
+ Comparison = "comparison",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuSamplerDescriptor.rs b/vendor/web-sys/src/features/gen_GpuSamplerDescriptor.rs
new file mode 100644
index 000000000..431414b80
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuSamplerDescriptor.rs
@@ -0,0 +1,270 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUSamplerDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuSamplerDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuSamplerDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuSamplerDescriptor {
+ #[doc = "Construct a new `GpuSamplerDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuAddressMode")]
+ #[doc = "Change the `addressModeU` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAddressMode`, `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn address_mode_u(&mut self, val: GpuAddressMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("addressModeU"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuAddressMode")]
+ #[doc = "Change the `addressModeV` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAddressMode`, `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn address_mode_v(&mut self, val: GpuAddressMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("addressModeV"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuAddressMode")]
+ #[doc = "Change the `addressModeW` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuAddressMode`, `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn address_mode_w(&mut self, val: GpuAddressMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("addressModeW"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuCompareFunction")]
+ #[doc = "Change the `compare` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCompareFunction`, `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn compare(&mut self, val: GpuCompareFunction) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("compare"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `lodMaxClamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn lod_max_clamp(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lodMaxClamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `lodMinClamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn lod_min_clamp(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lodMinClamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuFilterMode")]
+ #[doc = "Change the `magFilter` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuFilterMode`, `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn mag_filter(&mut self, val: GpuFilterMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("magFilter"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `maxAnisotropy` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_anisotropy(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maxAnisotropy"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuFilterMode")]
+ #[doc = "Change the `minFilter` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuFilterMode`, `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn min_filter(&mut self, val: GpuFilterMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("minFilter"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuMipmapFilterMode")]
+ #[doc = "Change the `mipmapFilter` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuMipmapFilterMode`, `GpuSamplerDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn mipmap_filter(&mut self, val: GpuMipmapFilterMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mipmapFilter"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuSamplerDescriptor {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuShaderModule.rs b/vendor/web-sys/src/features/gen_GpuShaderModule.rs
new file mode 100644
index 000000000..18b78c1a4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuShaderModule.rs
@@ -0,0 +1,51 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUShaderModule , typescript_type = "GPUShaderModule")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuShaderModule` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUShaderModule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModule`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuShaderModule;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUShaderModule" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUShaderModule/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModule`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuShaderModule) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUShaderModule" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUShaderModule/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModule`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuShaderModule, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUShaderModule" , js_name = compilationInfo)]
+ #[doc = "The `compilationInfo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUShaderModule/compilationInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModule`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn compilation_info(this: &GpuShaderModule) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuShaderModuleCompilationHint.rs b/vendor/web-sys/src/features/gen_GpuShaderModuleCompilationHint.rs
new file mode 100644
index 000000000..729bf0bd1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuShaderModuleCompilationHint.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUShaderModuleCompilationHint)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuShaderModuleCompilationHint` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModuleCompilationHint`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuShaderModuleCompilationHint;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuShaderModuleCompilationHint {
+ #[doc = "Construct a new `GpuShaderModuleCompilationHint`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModuleCompilationHint`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `layout` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModuleCompilationHint`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn layout(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("layout"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuShaderModuleCompilationHint {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuShaderModuleDescriptor.rs b/vendor/web-sys/src/features/gen_GpuShaderModuleDescriptor.rs
new file mode 100644
index 000000000..fcf1c9784
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuShaderModuleDescriptor.rs
@@ -0,0 +1,86 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUShaderModuleDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuShaderModuleDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModuleDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuShaderModuleDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuShaderModuleDescriptor {
+ #[doc = "Construct a new `GpuShaderModuleDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModuleDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(code: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.code(code);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModuleDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `code` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModuleDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn code(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("code"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `sourceMap` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModuleDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn source_map(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sourceMap"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuStencilFaceState.rs b/vendor/web-sys/src/features/gen_GpuStencilFaceState.rs
new file mode 100644
index 000000000..80b4e5212
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuStencilFaceState.rs
@@ -0,0 +1,118 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUStencilFaceState)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuStencilFaceState` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuStencilFaceState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuStencilFaceState;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuStencilFaceState {
+ #[doc = "Construct a new `GpuStencilFaceState`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuStencilFaceState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuCompareFunction")]
+ #[doc = "Change the `compare` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuCompareFunction`, `GpuStencilFaceState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn compare(&mut self, val: GpuCompareFunction) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("compare"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuStencilOperation")]
+ #[doc = "Change the `depthFailOp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuStencilFaceState`, `GpuStencilOperation`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_fail_op(&mut self, val: GpuStencilOperation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthFailOp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuStencilOperation")]
+ #[doc = "Change the `failOp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuStencilFaceState`, `GpuStencilOperation`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn fail_op(&mut self, val: GpuStencilOperation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("failOp"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuStencilOperation")]
+ #[doc = "Change the `passOp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuStencilFaceState`, `GpuStencilOperation`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn pass_op(&mut self, val: GpuStencilOperation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("passOp"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuStencilFaceState {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuStencilOperation.rs b/vendor/web-sys/src/features/gen_GpuStencilOperation.rs
new file mode 100644
index 000000000..6b9573f72
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuStencilOperation.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuStencilOperation` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuStencilOperation`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuStencilOperation {
+ Keep = "keep",
+ Zero = "zero",
+ Replace = "replace",
+ Invert = "invert",
+ IncrementClamp = "increment-clamp",
+ DecrementClamp = "decrement-clamp",
+ IncrementWrap = "increment-wrap",
+ DecrementWrap = "decrement-wrap",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuStorageTextureAccess.rs b/vendor/web-sys/src/features/gen_GpuStorageTextureAccess.rs
new file mode 100644
index 000000000..e5dd0af10
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuStorageTextureAccess.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuStorageTextureAccess` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuStorageTextureAccess`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuStorageTextureAccess {
+ WriteOnly = "write-only",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuStorageTextureBindingLayout.rs b/vendor/web-sys/src/features/gen_GpuStorageTextureBindingLayout.rs
new file mode 100644
index 000000000..90555a09b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuStorageTextureBindingLayout.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUStorageTextureBindingLayout)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuStorageTextureBindingLayout` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuStorageTextureBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuStorageTextureBindingLayout;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuStorageTextureBindingLayout {
+ #[cfg(feature = "GpuTextureFormat")]
+ #[doc = "Construct a new `GpuStorageTextureBindingLayout`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuStorageTextureBindingLayout`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(format: GpuTextureFormat) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.format(format);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuStorageTextureAccess")]
+ #[doc = "Change the `access` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuStorageTextureAccess`, `GpuStorageTextureBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn access(&mut self, val: GpuStorageTextureAccess) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("access"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureFormat")]
+ #[doc = "Change the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuStorageTextureBindingLayout`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(&mut self, val: GpuTextureFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("format"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureViewDimension")]
+ #[doc = "Change the `viewDimension` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuStorageTextureBindingLayout`, `GpuTextureViewDimension`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn view_dimension(&mut self, val: GpuTextureViewDimension) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("viewDimension"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuStoreOp.rs b/vendor/web-sys/src/features/gen_GpuStoreOp.rs
new file mode 100644
index 000000000..d1e178498
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuStoreOp.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuStoreOp` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuStoreOp`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuStoreOp {
+ Store = "store",
+ Discard = "discard",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuSupportedFeatures.rs b/vendor/web-sys/src/features/gen_GpuSupportedFeatures.rs
new file mode 100644
index 000000000..7d893c05c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuSupportedFeatures.rs
@@ -0,0 +1,87 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUSupportedFeatures , typescript_type = "GPUSupportedFeatures")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuSupportedFeatures` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedFeatures)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedFeatures`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuSupportedFeatures;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedFeatures" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedFeatures/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedFeatures`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn size(this: &GpuSupportedFeatures) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUSupportedFeatures" , js_name = entries)]
+ #[doc = "The `entries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedFeatures/entries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedFeatures`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn entries(this: &GpuSupportedFeatures) -> ::js_sys::Iterator;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (catch , method , structural , js_class = "GPUSupportedFeatures" , js_name = forEach)]
+ #[doc = "The `forEach()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedFeatures/forEach)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedFeatures`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn for_each(
+ this: &GpuSupportedFeatures,
+ callback: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUSupportedFeatures" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedFeatures/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedFeatures`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn has(this: &GpuSupportedFeatures, value: &str) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUSupportedFeatures" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedFeatures/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedFeatures`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn keys(this: &GpuSupportedFeatures) -> ::js_sys::Iterator;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUSupportedFeatures" , js_name = values)]
+ #[doc = "The `values()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedFeatures/values)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedFeatures`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn values(this: &GpuSupportedFeatures) -> ::js_sys::Iterator;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuSupportedLimits.rs b/vendor/web-sys/src/features/gen_GpuSupportedLimits.rs
new file mode 100644
index 000000000..4751a2021
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuSupportedLimits.rs
@@ -0,0 +1,359 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUSupportedLimits , typescript_type = "GPUSupportedLimits")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuSupportedLimits` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuSupportedLimits;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxTextureDimension1D)]
+ #[doc = "Getter for the `maxTextureDimension1D` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureDimension1D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_texture_dimension_1d(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxTextureDimension2D)]
+ #[doc = "Getter for the `maxTextureDimension2D` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureDimension2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_texture_dimension_2d(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxTextureDimension3D)]
+ #[doc = "Getter for the `maxTextureDimension3D` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureDimension3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_texture_dimension_3d(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxTextureArrayLayers)]
+ #[doc = "Getter for the `maxTextureArrayLayers` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureArrayLayers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_texture_array_layers(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxBindGroups)]
+ #[doc = "Getter for the `maxBindGroups` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxBindGroups)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_bind_groups(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxBindingsPerBindGroup)]
+ #[doc = "Getter for the `maxBindingsPerBindGroup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxBindingsPerBindGroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_bindings_per_bind_group(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxDynamicUniformBuffersPerPipelineLayout)]
+ #[doc = "Getter for the `maxDynamicUniformBuffersPerPipelineLayout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxDynamicUniformBuffersPerPipelineLayout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_dynamic_uniform_buffers_per_pipeline_layout(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxDynamicStorageBuffersPerPipelineLayout)]
+ #[doc = "Getter for the `maxDynamicStorageBuffersPerPipelineLayout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxDynamicStorageBuffersPerPipelineLayout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_dynamic_storage_buffers_per_pipeline_layout(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxSampledTexturesPerShaderStage)]
+ #[doc = "Getter for the `maxSampledTexturesPerShaderStage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxSampledTexturesPerShaderStage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_sampled_textures_per_shader_stage(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxSamplersPerShaderStage)]
+ #[doc = "Getter for the `maxSamplersPerShaderStage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxSamplersPerShaderStage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_samplers_per_shader_stage(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxStorageBuffersPerShaderStage)]
+ #[doc = "Getter for the `maxStorageBuffersPerShaderStage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageBuffersPerShaderStage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_storage_buffers_per_shader_stage(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxStorageTexturesPerShaderStage)]
+ #[doc = "Getter for the `maxStorageTexturesPerShaderStage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageTexturesPerShaderStage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_storage_textures_per_shader_stage(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxUniformBuffersPerShaderStage)]
+ #[doc = "Getter for the `maxUniformBuffersPerShaderStage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxUniformBuffersPerShaderStage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_uniform_buffers_per_shader_stage(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxUniformBufferBindingSize)]
+ #[doc = "Getter for the `maxUniformBufferBindingSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxUniformBufferBindingSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_uniform_buffer_binding_size(this: &GpuSupportedLimits) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxStorageBufferBindingSize)]
+ #[doc = "Getter for the `maxStorageBufferBindingSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageBufferBindingSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_storage_buffer_binding_size(this: &GpuSupportedLimits) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = minUniformBufferOffsetAlignment)]
+ #[doc = "Getter for the `minUniformBufferOffsetAlignment` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/minUniformBufferOffsetAlignment)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn min_uniform_buffer_offset_alignment(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = minStorageBufferOffsetAlignment)]
+ #[doc = "Getter for the `minStorageBufferOffsetAlignment` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/minStorageBufferOffsetAlignment)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn min_storage_buffer_offset_alignment(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxVertexBuffers)]
+ #[doc = "Getter for the `maxVertexBuffers` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxVertexBuffers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_vertex_buffers(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxBufferSize)]
+ #[doc = "Getter for the `maxBufferSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxBufferSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_buffer_size(this: &GpuSupportedLimits) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxVertexAttributes)]
+ #[doc = "Getter for the `maxVertexAttributes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxVertexAttributes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_vertex_attributes(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxVertexBufferArrayStride)]
+ #[doc = "Getter for the `maxVertexBufferArrayStride` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxVertexBufferArrayStride)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_vertex_buffer_array_stride(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxInterStageShaderComponents)]
+ #[doc = "Getter for the `maxInterStageShaderComponents` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxInterStageShaderComponents)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_inter_stage_shader_components(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxInterStageShaderVariables)]
+ #[doc = "Getter for the `maxInterStageShaderVariables` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxInterStageShaderVariables)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_inter_stage_shader_variables(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxColorAttachments)]
+ #[doc = "Getter for the `maxColorAttachments` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxColorAttachments)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_color_attachments(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxColorAttachmentBytesPerPixel)]
+ #[doc = "Getter for the `maxColorAttachmentBytesPerPixel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxColorAttachmentBytesPerPixel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_color_attachment_bytes_per_pixel(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupStorageSize)]
+ #[doc = "Getter for the `maxComputeWorkgroupStorageSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupStorageSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_compute_workgroup_storage_size(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeInvocationsPerWorkgroup)]
+ #[doc = "Getter for the `maxComputeInvocationsPerWorkgroup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeInvocationsPerWorkgroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_compute_invocations_per_workgroup(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupSizeX)]
+ #[doc = "Getter for the `maxComputeWorkgroupSizeX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupSizeX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_compute_workgroup_size_x(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupSizeY)]
+ #[doc = "Getter for the `maxComputeWorkgroupSizeY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupSizeY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_compute_workgroup_size_y(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupSizeZ)]
+ #[doc = "Getter for the `maxComputeWorkgroupSizeZ` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupSizeZ)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_compute_workgroup_size_z(this: &GpuSupportedLimits) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupsPerDimension)]
+ #[doc = "Getter for the `maxComputeWorkgroupsPerDimension` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupsPerDimension)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_compute_workgroups_per_dimension(this: &GpuSupportedLimits) -> u32;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuTexture.rs b/vendor/web-sys/src/features/gen_GpuTexture.rs
new file mode 100644
index 000000000..acd4ffb11
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuTexture.rs
@@ -0,0 +1,168 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUTexture , typescript_type = "GPUTexture")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuTexture` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuTexture;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUTexture" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn width(this: &GpuTexture) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUTexture" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn height(this: &GpuTexture) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUTexture" , js_name = depthOrArrayLayers)]
+ #[doc = "Getter for the `depthOrArrayLayers` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/depthOrArrayLayers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_or_array_layers(this: &GpuTexture) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUTexture" , js_name = mipLevelCount)]
+ #[doc = "Getter for the `mipLevelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/mipLevelCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn mip_level_count(this: &GpuTexture) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUTexture" , js_name = sampleCount)]
+ #[doc = "Getter for the `sampleCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/sampleCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn sample_count(this: &GpuTexture) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureDimension")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUTexture" , js_name = dimension)]
+ #[doc = "Getter for the `dimension` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/dimension)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`, `GpuTextureDimension`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn dimension(this: &GpuTexture) -> GpuTextureDimension;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureFormat")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUTexture" , js_name = format)]
+ #[doc = "Getter for the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/format)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(this: &GpuTexture) -> GpuTextureFormat;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUTexture" , js_name = usage)]
+ #[doc = "Getter for the `usage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/usage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usage(this: &GpuTexture) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUTexture" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuTexture) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUTexture" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuTexture, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureView")]
+ # [wasm_bindgen (method , structural , js_class = "GPUTexture" , js_name = createView)]
+ #[doc = "The `createView()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/createView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`, `GpuTextureView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_view(this: &GpuTexture) -> GpuTextureView;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "GpuTextureView", feature = "GpuTextureViewDescriptor",))]
+ # [wasm_bindgen (method , structural , js_class = "GPUTexture" , js_name = createView)]
+ #[doc = "The `createView()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/createView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`, `GpuTextureView`, `GpuTextureViewDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_view_with_descriptor(
+ this: &GpuTexture,
+ descriptor: &GpuTextureViewDescriptor,
+ ) -> GpuTextureView;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "GPUTexture" , js_name = destroy)]
+ #[doc = "The `destroy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTexture/destroy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTexture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn destroy(this: &GpuTexture);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuTextureAspect.rs b/vendor/web-sys/src/features/gen_GpuTextureAspect.rs
new file mode 100644
index 000000000..0a0742d53
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuTextureAspect.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuTextureAspect` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuTextureAspect`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuTextureAspect {
+ All = "all",
+ StencilOnly = "stencil-only",
+ DepthOnly = "depth-only",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuTextureBindingLayout.rs b/vendor/web-sys/src/features/gen_GpuTextureBindingLayout.rs
new file mode 100644
index 000000000..621e6d23b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuTextureBindingLayout.rs
@@ -0,0 +1,101 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUTextureBindingLayout)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuTextureBindingLayout` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuTextureBindingLayout;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuTextureBindingLayout {
+ #[doc = "Construct a new `GpuTextureBindingLayout`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `multisampled` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureBindingLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn multisampled(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("multisampled"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureSampleType")]
+ #[doc = "Change the `sampleType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureBindingLayout`, `GpuTextureSampleType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn sample_type(&mut self, val: GpuTextureSampleType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampleType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureViewDimension")]
+ #[doc = "Change the `viewDimension` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureBindingLayout`, `GpuTextureViewDimension`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn view_dimension(&mut self, val: GpuTextureViewDimension) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("viewDimension"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuTextureBindingLayout {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuTextureDescriptor.rs b/vendor/web-sys/src/features/gen_GpuTextureDescriptor.rs
new file mode 100644
index 000000000..d4087b3f6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuTextureDescriptor.rs
@@ -0,0 +1,189 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUTextureDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuTextureDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuTextureDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuTextureDescriptor {
+ #[cfg(feature = "GpuTextureFormat")]
+ #[doc = "Construct a new `GpuTextureDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureDescriptor`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(format: GpuTextureFormat, size: &::wasm_bindgen::JsValue, usage: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.format(format);
+ ret.size(size);
+ ret.usage(usage);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureDimension")]
+ #[doc = "Change the `dimension` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureDescriptor`, `GpuTextureDimension`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn dimension(&mut self, val: GpuTextureDimension) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dimension"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureFormat")]
+ #[doc = "Change the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureDescriptor`, `GpuTextureFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(&mut self, val: GpuTextureFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("format"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `mipLevelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn mip_level_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mipLevelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `sampleCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn sample_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampleCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn size(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("size"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usage(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("usage"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `viewFormats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn view_formats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("viewFormats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuTextureDimension.rs b/vendor/web-sys/src/features/gen_GpuTextureDimension.rs
new file mode 100644
index 000000000..363675117
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuTextureDimension.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuTextureDimension` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuTextureDimension`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuTextureDimension {
+ N1d = "1d",
+ N2d = "2d",
+ N3d = "3d",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuTextureFormat.rs b/vendor/web-sys/src/features/gen_GpuTextureFormat.rs
new file mode 100644
index 000000000..7f2772bb0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuTextureFormat.rs
@@ -0,0 +1,107 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuTextureFormat` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuTextureFormat`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuTextureFormat {
+ R8unorm = "r8unorm",
+ R8snorm = "r8snorm",
+ R8uint = "r8uint",
+ R8sint = "r8sint",
+ R16uint = "r16uint",
+ R16sint = "r16sint",
+ R16float = "r16float",
+ Rg8unorm = "rg8unorm",
+ Rg8snorm = "rg8snorm",
+ Rg8uint = "rg8uint",
+ Rg8sint = "rg8sint",
+ R32uint = "r32uint",
+ R32sint = "r32sint",
+ R32float = "r32float",
+ Rg16uint = "rg16uint",
+ Rg16sint = "rg16sint",
+ Rg16float = "rg16float",
+ Rgba8unorm = "rgba8unorm",
+ Rgba8unormSrgb = "rgba8unorm-srgb",
+ Rgba8snorm = "rgba8snorm",
+ Rgba8uint = "rgba8uint",
+ Rgba8sint = "rgba8sint",
+ Bgra8unorm = "bgra8unorm",
+ Bgra8unormSrgb = "bgra8unorm-srgb",
+ Rgb9e5ufloat = "rgb9e5ufloat",
+ Rgb10a2unorm = "rgb10a2unorm",
+ Rg11b10ufloat = "rg11b10ufloat",
+ Rg32uint = "rg32uint",
+ Rg32sint = "rg32sint",
+ Rg32float = "rg32float",
+ Rgba16uint = "rgba16uint",
+ Rgba16sint = "rgba16sint",
+ Rgba16float = "rgba16float",
+ Rgba32uint = "rgba32uint",
+ Rgba32sint = "rgba32sint",
+ Rgba32float = "rgba32float",
+ Stencil8 = "stencil8",
+ Depth16unorm = "depth16unorm",
+ Depth24plus = "depth24plus",
+ Depth24plusStencil8 = "depth24plus-stencil8",
+ Depth32float = "depth32float",
+ Depth32floatStencil8 = "depth32float-stencil8",
+ Bc1RgbaUnorm = "bc1-rgba-unorm",
+ Bc1RgbaUnormSrgb = "bc1-rgba-unorm-srgb",
+ Bc2RgbaUnorm = "bc2-rgba-unorm",
+ Bc2RgbaUnormSrgb = "bc2-rgba-unorm-srgb",
+ Bc3RgbaUnorm = "bc3-rgba-unorm",
+ Bc3RgbaUnormSrgb = "bc3-rgba-unorm-srgb",
+ Bc4RUnorm = "bc4-r-unorm",
+ Bc4RSnorm = "bc4-r-snorm",
+ Bc5RgUnorm = "bc5-rg-unorm",
+ Bc5RgSnorm = "bc5-rg-snorm",
+ Bc6hRgbUfloat = "bc6h-rgb-ufloat",
+ Bc6hRgbFloat = "bc6h-rgb-float",
+ Bc7RgbaUnorm = "bc7-rgba-unorm",
+ Bc7RgbaUnormSrgb = "bc7-rgba-unorm-srgb",
+ Etc2Rgb8unorm = "etc2-rgb8unorm",
+ Etc2Rgb8unormSrgb = "etc2-rgb8unorm-srgb",
+ Etc2Rgb8a1unorm = "etc2-rgb8a1unorm",
+ Etc2Rgb8a1unormSrgb = "etc2-rgb8a1unorm-srgb",
+ Etc2Rgba8unorm = "etc2-rgba8unorm",
+ Etc2Rgba8unormSrgb = "etc2-rgba8unorm-srgb",
+ EacR11unorm = "eac-r11unorm",
+ EacR11snorm = "eac-r11snorm",
+ EacRg11unorm = "eac-rg11unorm",
+ EacRg11snorm = "eac-rg11snorm",
+ Astc4x4Unorm = "astc-4x4-unorm",
+ Astc4x4UnormSrgb = "astc-4x4-unorm-srgb",
+ Astc5x4Unorm = "astc-5x4-unorm",
+ Astc5x4UnormSrgb = "astc-5x4-unorm-srgb",
+ Astc5x5Unorm = "astc-5x5-unorm",
+ Astc5x5UnormSrgb = "astc-5x5-unorm-srgb",
+ Astc6x5Unorm = "astc-6x5-unorm",
+ Astc6x5UnormSrgb = "astc-6x5-unorm-srgb",
+ Astc6x6Unorm = "astc-6x6-unorm",
+ Astc6x6UnormSrgb = "astc-6x6-unorm-srgb",
+ Astc8x5Unorm = "astc-8x5-unorm",
+ Astc8x5UnormSrgb = "astc-8x5-unorm-srgb",
+ Astc8x6Unorm = "astc-8x6-unorm",
+ Astc8x6UnormSrgb = "astc-8x6-unorm-srgb",
+ Astc8x8Unorm = "astc-8x8-unorm",
+ Astc8x8UnormSrgb = "astc-8x8-unorm-srgb",
+ Astc10x5Unorm = "astc-10x5-unorm",
+ Astc10x5UnormSrgb = "astc-10x5-unorm-srgb",
+ Astc10x6Unorm = "astc-10x6-unorm",
+ Astc10x6UnormSrgb = "astc-10x6-unorm-srgb",
+ Astc10x8Unorm = "astc-10x8-unorm",
+ Astc10x8UnormSrgb = "astc-10x8-unorm-srgb",
+ Astc10x10Unorm = "astc-10x10-unorm",
+ Astc10x10UnormSrgb = "astc-10x10-unorm-srgb",
+ Astc12x10Unorm = "astc-12x10-unorm",
+ Astc12x10UnormSrgb = "astc-12x10-unorm-srgb",
+ Astc12x12Unorm = "astc-12x12-unorm",
+ Astc12x12UnormSrgb = "astc-12x12-unorm-srgb",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuTextureSampleType.rs b/vendor/web-sys/src/features/gen_GpuTextureSampleType.rs
new file mode 100644
index 000000000..6007e61c1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuTextureSampleType.rs
@@ -0,0 +1,18 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuTextureSampleType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuTextureSampleType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuTextureSampleType {
+ Float = "float",
+ UnfilterableFloat = "unfilterable-float",
+ Depth = "depth",
+ Sint = "sint",
+ Uint = "uint",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuTextureView.rs b/vendor/web-sys/src/features/gen_GpuTextureView.rs
new file mode 100644
index 000000000..4ab52473e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuTextureView.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUTextureView , typescript_type = "GPUTextureView")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuTextureView` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTextureView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuTextureView;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUTextureView" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTextureView/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(this: &GpuTextureView) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "GPUTextureView" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUTextureView/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_label(this: &GpuTextureView, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_GpuTextureViewDescriptor.rs b/vendor/web-sys/src/features/gen_GpuTextureViewDescriptor.rs
new file mode 100644
index 000000000..acc8216ff
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuTextureViewDescriptor.rs
@@ -0,0 +1,197 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUTextureViewDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuTextureViewDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureViewDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuTextureViewDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuTextureViewDescriptor {
+ #[doc = "Construct a new `GpuTextureViewDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureViewDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureViewDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `arrayLayerCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureViewDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn array_layer_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("arrayLayerCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureAspect")]
+ #[doc = "Change the `aspect` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureAspect`, `GpuTextureViewDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn aspect(&mut self, val: GpuTextureAspect) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("aspect"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `baseArrayLayer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureViewDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn base_array_layer(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("baseArrayLayer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `baseMipLevel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureViewDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn base_mip_level(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("baseMipLevel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureViewDimension")]
+ #[doc = "Change the `dimension` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureViewDescriptor`, `GpuTextureViewDimension`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn dimension(&mut self, val: GpuTextureViewDimension) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dimension"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuTextureFormat")]
+ #[doc = "Change the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureFormat`, `GpuTextureViewDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(&mut self, val: GpuTextureFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("format"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `mipLevelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuTextureViewDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn mip_level_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mipLevelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for GpuTextureViewDescriptor {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuTextureViewDimension.rs b/vendor/web-sys/src/features/gen_GpuTextureViewDimension.rs
new file mode 100644
index 000000000..77d8e5d1b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuTextureViewDimension.rs
@@ -0,0 +1,19 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuTextureViewDimension` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuTextureViewDimension`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuTextureViewDimension {
+ N1d = "1d",
+ N2d = "2d",
+ N2dArray = "2d-array",
+ Cube = "cube",
+ CubeArray = "cube-array",
+ N3d = "3d",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuUncapturedErrorEvent.rs b/vendor/web-sys/src/features/gen_GpuUncapturedErrorEvent.rs
new file mode 100644
index 000000000..07f10daa5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuUncapturedErrorEvent.rs
@@ -0,0 +1,45 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = GPUUncapturedErrorEvent , typescript_type = "GPUUncapturedErrorEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuUncapturedErrorEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUUncapturedErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuUncapturedErrorEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuUncapturedErrorEvent;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuError")]
+ # [wasm_bindgen (structural , method , getter , js_class = "GPUUncapturedErrorEvent" , js_name = error)]
+ #[doc = "Getter for the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUUncapturedErrorEvent/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuError`, `GpuUncapturedErrorEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn error(this: &GpuUncapturedErrorEvent) -> GpuError;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuUncapturedErrorEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "GPUUncapturedErrorEvent")]
+ #[doc = "The `new GpuUncapturedErrorEvent(..)` constructor, creating a new instance of `GpuUncapturedErrorEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUUncapturedErrorEvent/GPUUncapturedErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuUncapturedErrorEvent`, `GpuUncapturedErrorEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ type_: &str,
+ gpu_uncaptured_error_event_init_dict: &GpuUncapturedErrorEventInit,
+ ) -> Result<GpuUncapturedErrorEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuUncapturedErrorEventInit.rs b/vendor/web-sys/src/features/gen_GpuUncapturedErrorEventInit.rs
new file mode 100644
index 000000000..986dd5048
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuUncapturedErrorEventInit.rs
@@ -0,0 +1,113 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUUncapturedErrorEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuUncapturedErrorEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuUncapturedErrorEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuUncapturedErrorEventInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuUncapturedErrorEventInit {
+ #[cfg(feature = "GpuError")]
+ #[doc = "Construct a new `GpuUncapturedErrorEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuError`, `GpuUncapturedErrorEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(error: &GpuError) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.error(error);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuUncapturedErrorEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuUncapturedErrorEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuUncapturedErrorEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuError")]
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuError`, `GpuUncapturedErrorEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn error(&mut self, val: &GpuError) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuValidationError.rs b/vendor/web-sys/src/features/gen_GpuValidationError.rs
new file mode 100644
index 000000000..7b6b0d7db
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuValidationError.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = GpuError , extends = :: js_sys :: Object , js_name = GPUValidationError , typescript_type = "GPUValidationError")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuValidationError` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUValidationError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuValidationError`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuValidationError;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "GPUValidationError")]
+ #[doc = "The `new GpuValidationError(..)` constructor, creating a new instance of `GpuValidationError`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUValidationError/GPUValidationError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuValidationError`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(message: &str) -> Result<GpuValidationError, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_GpuVertexAttribute.rs b/vendor/web-sys/src/features/gen_GpuVertexAttribute.rs
new file mode 100644
index 000000000..2fde6d181
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuVertexAttribute.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUVertexAttribute)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuVertexAttribute` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexAttribute`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuVertexAttribute;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuVertexAttribute {
+ #[cfg(feature = "GpuVertexFormat")]
+ #[doc = "Construct a new `GpuVertexAttribute`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexAttribute`, `GpuVertexFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(format: GpuVertexFormat, offset: f64, shader_location: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.format(format);
+ ret.offset(offset);
+ ret.shader_location(shader_location);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuVertexFormat")]
+ #[doc = "Change the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexAttribute`, `GpuVertexFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(&mut self, val: GpuVertexFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("format"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexAttribute`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn offset(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("offset"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `shaderLocation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexAttribute`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn shader_location(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("shaderLocation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuVertexBufferLayout.rs b/vendor/web-sys/src/features/gen_GpuVertexBufferLayout.rs
new file mode 100644
index 000000000..e8843020f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuVertexBufferLayout.rs
@@ -0,0 +1,96 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUVertexBufferLayout)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuVertexBufferLayout` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexBufferLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuVertexBufferLayout;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuVertexBufferLayout {
+ #[doc = "Construct a new `GpuVertexBufferLayout`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexBufferLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(array_stride: f64, attributes: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.array_stride(array_stride);
+ ret.attributes(attributes);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `arrayStride` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexBufferLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn array_stride(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("arrayStride"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `attributes` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexBufferLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn attributes(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("attributes"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuVertexStepMode")]
+ #[doc = "Change the `stepMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexBufferLayout`, `GpuVertexStepMode`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn step_mode(&mut self, val: GpuVertexStepMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stepMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuVertexFormat.rs b/vendor/web-sys/src/features/gen_GpuVertexFormat.rs
new file mode 100644
index 000000000..07e4d22b5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuVertexFormat.rs
@@ -0,0 +1,43 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuVertexFormat` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuVertexFormat`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuVertexFormat {
+ Uint8x2 = "uint8x2",
+ Uint8x4 = "uint8x4",
+ Sint8x2 = "sint8x2",
+ Sint8x4 = "sint8x4",
+ Unorm8x2 = "unorm8x2",
+ Unorm8x4 = "unorm8x4",
+ Snorm8x2 = "snorm8x2",
+ Snorm8x4 = "snorm8x4",
+ Uint16x2 = "uint16x2",
+ Uint16x4 = "uint16x4",
+ Sint16x2 = "sint16x2",
+ Sint16x4 = "sint16x4",
+ Unorm16x2 = "unorm16x2",
+ Unorm16x4 = "unorm16x4",
+ Snorm16x2 = "snorm16x2",
+ Snorm16x4 = "snorm16x4",
+ Float16x2 = "float16x2",
+ Float16x4 = "float16x4",
+ Float32 = "float32",
+ Float32x2 = "float32x2",
+ Float32x3 = "float32x3",
+ Float32x4 = "float32x4",
+ Uint32 = "uint32",
+ Uint32x2 = "uint32x2",
+ Uint32x3 = "uint32x3",
+ Uint32x4 = "uint32x4",
+ Sint32 = "sint32",
+ Sint32x2 = "sint32x2",
+ Sint32x3 = "sint32x3",
+ Sint32x4 = "sint32x4",
+}
diff --git a/vendor/web-sys/src/features/gen_GpuVertexState.rs b/vendor/web-sys/src/features/gen_GpuVertexState.rs
new file mode 100644
index 000000000..4086fe436
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuVertexState.rs
@@ -0,0 +1,94 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUVertexState)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GpuVertexState` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type GpuVertexState;
+}
+#[cfg(web_sys_unstable_apis)]
+impl GpuVertexState {
+ #[cfg(feature = "GpuShaderModule")]
+ #[doc = "Construct a new `GpuVertexState`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModule`, `GpuVertexState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(entry_point: &str, module: &GpuShaderModule) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.entry_point(entry_point);
+ ret.module(module);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `entryPoint` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn entry_point(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("entryPoint"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "GpuShaderModule")]
+ #[doc = "Change the `module` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuShaderModule`, `GpuVertexState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn module(&mut self, val: &GpuShaderModule) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("module"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `buffers` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GpuVertexState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn buffers(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("buffers"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_GpuVertexStepMode.rs b/vendor/web-sys/src/features/gen_GpuVertexStepMode.rs
new file mode 100644
index 000000000..49140a4b8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GpuVertexStepMode.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `GpuVertexStepMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GpuVertexStepMode`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GpuVertexStepMode {
+ Vertex = "vertex",
+ Instance = "instance",
+}
diff --git a/vendor/web-sys/src/features/gen_GridDeclaration.rs b/vendor/web-sys/src/features/gen_GridDeclaration.rs
new file mode 100644
index 000000000..325ac2bbc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GridDeclaration.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `GridDeclaration` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GridDeclaration`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GridDeclaration {
+ Explicit = "explicit",
+ Implicit = "implicit",
+}
diff --git a/vendor/web-sys/src/features/gen_GridTrackState.rs b/vendor/web-sys/src/features/gen_GridTrackState.rs
new file mode 100644
index 000000000..0ff0ee27e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GridTrackState.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `GridTrackState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `GridTrackState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum GridTrackState {
+ Static = "static",
+ Repeat = "repeat",
+ Removed = "removed",
+}
diff --git a/vendor/web-sys/src/features/gen_GroupedHistoryEventInit.rs b/vendor/web-sys/src/features/gen_GroupedHistoryEventInit.rs
new file mode 100644
index 000000000..c0e2441e7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_GroupedHistoryEventInit.rs
@@ -0,0 +1,96 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GroupedHistoryEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `GroupedHistoryEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GroupedHistoryEventInit`*"]
+ pub type GroupedHistoryEventInit;
+}
+impl GroupedHistoryEventInit {
+ #[doc = "Construct a new `GroupedHistoryEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GroupedHistoryEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GroupedHistoryEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GroupedHistoryEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GroupedHistoryEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Element")]
+ #[doc = "Change the `otherBrowser` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `GroupedHistoryEventInit`*"]
+ pub fn other_browser(&mut self, val: Option<&Element>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("otherBrowser"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for GroupedHistoryEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HalfOpenInfoDict.rs b/vendor/web-sys/src/features/gen_HalfOpenInfoDict.rs
new file mode 100644
index 000000000..6cef66fd8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HalfOpenInfoDict.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HalfOpenInfoDict)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HalfOpenInfoDict` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HalfOpenInfoDict`*"]
+ pub type HalfOpenInfoDict;
+}
+impl HalfOpenInfoDict {
+ #[doc = "Construct a new `HalfOpenInfoDict`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HalfOpenInfoDict`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `speculative` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HalfOpenInfoDict`*"]
+ pub fn speculative(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("speculative"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for HalfOpenInfoDict {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HardwareAcceleration.rs b/vendor/web-sys/src/features/gen_HardwareAcceleration.rs
new file mode 100644
index 000000000..6ca41d5b6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HardwareAcceleration.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `HardwareAcceleration` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `HardwareAcceleration`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum HardwareAcceleration {
+ NoPreference = "no-preference",
+ PreferHardware = "prefer-hardware",
+ PreferSoftware = "prefer-software",
+}
diff --git a/vendor/web-sys/src/features/gen_HashChangeEvent.rs b/vendor/web-sys/src/features/gen_HashChangeEvent.rs
new file mode 100644
index 000000000..9623ed333
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HashChangeEvent.rs
@@ -0,0 +1,103 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = HashChangeEvent , typescript_type = "HashChangeEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HashChangeEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEvent`*"]
+ pub type HashChangeEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "HashChangeEvent" , js_name = oldURL)]
+ #[doc = "Getter for the `oldURL` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/oldURL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEvent`*"]
+ pub fn old_url(this: &HashChangeEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "HashChangeEvent" , js_name = newURL)]
+ #[doc = "Getter for the `newURL` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/newURL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEvent`*"]
+ pub fn new_url(this: &HashChangeEvent) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "HashChangeEvent")]
+ #[doc = "The `new HashChangeEvent(..)` constructor, creating a new instance of `HashChangeEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/HashChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEvent`*"]
+ pub fn new(type_: &str) -> Result<HashChangeEvent, JsValue>;
+ #[cfg(feature = "HashChangeEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "HashChangeEvent")]
+ #[doc = "The `new HashChangeEvent(..)` constructor, creating a new instance of `HashChangeEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/HashChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEvent`, `HashChangeEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &HashChangeEventInit,
+ ) -> Result<HashChangeEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "HashChangeEvent" , js_name = initHashChangeEvent)]
+ #[doc = "The `initHashChangeEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEvent`*"]
+ pub fn init_hash_change_event(this: &HashChangeEvent, type_arg: &str);
+ # [wasm_bindgen (method , structural , js_class = "HashChangeEvent" , js_name = initHashChangeEvent)]
+ #[doc = "The `initHashChangeEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEvent`*"]
+ pub fn init_hash_change_event_with_can_bubble_arg(
+ this: &HashChangeEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "HashChangeEvent" , js_name = initHashChangeEvent)]
+ #[doc = "The `initHashChangeEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEvent`*"]
+ pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg(
+ this: &HashChangeEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "HashChangeEvent" , js_name = initHashChangeEvent)]
+ #[doc = "The `initHashChangeEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEvent`*"]
+ pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg(
+ this: &HashChangeEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ old_url_arg: &str,
+ );
+ # [wasm_bindgen (method , structural , js_class = "HashChangeEvent" , js_name = initHashChangeEvent)]
+ #[doc = "The `initHashChangeEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEvent`*"]
+ pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_and_new_url_arg(
+ this: &HashChangeEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ old_url_arg: &str,
+ new_url_arg: &str,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_HashChangeEventInit.rs b/vendor/web-sys/src/features/gen_HashChangeEventInit.rs
new file mode 100644
index 000000000..75e3f7f5c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HashChangeEventInit.rs
@@ -0,0 +1,106 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HashChangeEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HashChangeEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEventInit`*"]
+ pub type HashChangeEventInit;
+}
+impl HashChangeEventInit {
+ #[doc = "Construct a new `HashChangeEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `newURL` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEventInit`*"]
+ pub fn new_url(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("newURL"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `oldURL` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HashChangeEventInit`*"]
+ pub fn old_url(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("oldURL"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for HashChangeEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Headers.rs b/vendor/web-sys/src/features/gen_Headers.rs
new file mode 100644
index 000000000..47e0261ff
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Headers.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Headers , typescript_type = "Headers")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Headers` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Headers`*"]
+ pub type Headers;
+ #[wasm_bindgen(catch, constructor, js_class = "Headers")]
+ #[doc = "The `new Headers(..)` constructor, creating a new instance of `Headers`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Headers`*"]
+ pub fn new() -> Result<Headers, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Headers")]
+ #[doc = "The `new Headers(..)` constructor, creating a new instance of `Headers`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Headers`*"]
+ pub fn new_with_headers(init: &Headers) -> Result<Headers, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Headers")]
+ #[doc = "The `new Headers(..)` constructor, creating a new instance of `Headers`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Headers`*"]
+ pub fn new_with_str_sequence_sequence(
+ init: &::wasm_bindgen::JsValue,
+ ) -> Result<Headers, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Headers" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Headers`*"]
+ pub fn append(this: &Headers, name: &str, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Headers" , js_name = delete)]
+ #[doc = "The `delete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/delete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Headers`*"]
+ pub fn delete(this: &Headers, name: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Headers" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Headers`*"]
+ pub fn get(this: &Headers, name: &str) -> Result<Option<String>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Headers" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Headers`*"]
+ pub fn has(this: &Headers, name: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Headers" , js_name = set)]
+ #[doc = "The `set()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/set)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Headers`*"]
+ pub fn set(this: &Headers, name: &str, value: &str) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HeadersGuardEnum.rs b/vendor/web-sys/src/features/gen_HeadersGuardEnum.rs
new file mode 100644
index 000000000..0f5c714e4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HeadersGuardEnum.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `HeadersGuardEnum` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `HeadersGuardEnum`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum HeadersGuardEnum {
+ None = "none",
+ Request = "request",
+ RequestNoCors = "request-no-cors",
+ Response = "response",
+ Immutable = "immutable",
+}
diff --git a/vendor/web-sys/src/features/gen_Hid.rs b/vendor/web-sys/src/features/gen_Hid.rs
new file mode 100644
index 000000000..1980c6d65
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Hid.rs
@@ -0,0 +1,85 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = HID , typescript_type = "HID")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Hid` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HID)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Hid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type Hid;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "HID" , js_name = onconnect)]
+ #[doc = "Getter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HID/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Hid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onconnect(this: &Hid) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "HID" , js_name = onconnect)]
+ #[doc = "Setter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HID/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Hid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onconnect(this: &Hid, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "HID" , js_name = ondisconnect)]
+ #[doc = "Getter for the `ondisconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HID/ondisconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Hid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn ondisconnect(this: &Hid) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "HID" , js_name = ondisconnect)]
+ #[doc = "Setter for the `ondisconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HID/ondisconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Hid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_ondisconnect(this: &Hid, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "HID" , js_name = getDevices)]
+ #[doc = "The `getDevices()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HID/getDevices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Hid`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_devices(this: &Hid) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HidDeviceRequestOptions")]
+ # [wasm_bindgen (method , structural , js_class = "HID" , js_name = requestDevice)]
+ #[doc = "The `requestDevice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HID/requestDevice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Hid`, `HidDeviceRequestOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_device(this: &Hid, options: &HidDeviceRequestOptions) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_HidCollectionInfo.rs b/vendor/web-sys/src/features/gen_HidCollectionInfo.rs
new file mode 100644
index 000000000..41af4f16c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HidCollectionInfo.rs
@@ -0,0 +1,175 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HIDCollectionInfo)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HidCollectionInfo` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidCollectionInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type HidCollectionInfo;
+}
+#[cfg(web_sys_unstable_apis)]
+impl HidCollectionInfo {
+ #[doc = "Construct a new `HidCollectionInfo`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidCollectionInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `children` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidCollectionInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn children(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("children"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `featureReports` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidCollectionInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn feature_reports(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("featureReports"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `inputReports` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidCollectionInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn input_reports(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("inputReports"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `outputReports` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidCollectionInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn output_reports(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("outputReports"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidCollectionInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidCollectionInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usage(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("usage"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usagePage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidCollectionInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usage_page(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("usagePage"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for HidCollectionInfo {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HidConnectionEvent.rs b/vendor/web-sys/src/features/gen_HidConnectionEvent.rs
new file mode 100644
index 000000000..87dae4e4b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HidConnectionEvent.rs
@@ -0,0 +1,45 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = HIDConnectionEvent , typescript_type = "HIDConnectionEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HidConnectionEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDConnectionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidConnectionEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type HidConnectionEvent;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HidDevice")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HIDConnectionEvent" , js_name = device)]
+ #[doc = "Getter for the `device` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDConnectionEvent/device)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidConnectionEvent`, `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device(this: &HidConnectionEvent) -> HidDevice;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HidConnectionEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "HIDConnectionEvent")]
+ #[doc = "The `new HidConnectionEvent(..)` constructor, creating a new instance of `HidConnectionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDConnectionEvent/HIDConnectionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidConnectionEvent`, `HidConnectionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &HidConnectionEventInit,
+ ) -> Result<HidConnectionEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HidConnectionEventInit.rs b/vendor/web-sys/src/features/gen_HidConnectionEventInit.rs
new file mode 100644
index 000000000..09e6261d3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HidConnectionEventInit.rs
@@ -0,0 +1,114 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HIDConnectionEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HidConnectionEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidConnectionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type HidConnectionEventInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl HidConnectionEventInit {
+ #[cfg(feature = "HidDevice")]
+ #[doc = "Construct a new `HidConnectionEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidConnectionEventInit`, `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(device: &HidDevice) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.device(device);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidConnectionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidConnectionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidConnectionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HidDevice")]
+ #[doc = "Change the `device` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidConnectionEventInit`, `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device(&mut self, val: &HidDevice) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("device"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HidDevice.rs b/vendor/web-sys/src/features/gen_HidDevice.rs
new file mode 100644
index 000000000..5416e544d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HidDevice.rs
@@ -0,0 +1,188 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = HIDDevice , typescript_type = "HIDDevice")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HidDevice` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type HidDevice;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "HIDDevice" , js_name = oninputreport)]
+ #[doc = "Getter for the `oninputreport` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/oninputreport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn oninputreport(this: &HidDevice) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "HIDDevice" , js_name = oninputreport)]
+ #[doc = "Setter for the `oninputreport` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/oninputreport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_oninputreport(this: &HidDevice, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "HIDDevice" , js_name = opened)]
+ #[doc = "Getter for the `opened` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/opened)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn opened(this: &HidDevice) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "HIDDevice" , js_name = vendorId)]
+ #[doc = "Getter for the `vendorId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/vendorId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn vendor_id(this: &HidDevice) -> u16;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "HIDDevice" , js_name = productId)]
+ #[doc = "Getter for the `productId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/productId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn product_id(this: &HidDevice) -> u16;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "HIDDevice" , js_name = productName)]
+ #[doc = "Getter for the `productName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/productName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn product_name(this: &HidDevice) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "HIDDevice" , js_name = collections)]
+ #[doc = "Getter for the `collections` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/collections)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn collections(this: &HidDevice) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "HIDDevice" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn close(this: &HidDevice) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "HIDDevice" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn open(this: &HidDevice) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "HIDDevice" , js_name = receiveFeatureReport)]
+ #[doc = "The `receiveFeatureReport()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/receiveFeatureReport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn receive_feature_report(this: &HidDevice, report_id: u8) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "HIDDevice" , js_name = sendFeatureReport)]
+ #[doc = "The `sendFeatureReport()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/sendFeatureReport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn send_feature_report_with_buffer_source(
+ this: &HidDevice,
+ report_id: u8,
+ data: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "HIDDevice" , js_name = sendFeatureReport)]
+ #[doc = "The `sendFeatureReport()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/sendFeatureReport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn send_feature_report_with_u8_array(
+ this: &HidDevice,
+ report_id: u8,
+ data: &mut [u8],
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "HIDDevice" , js_name = sendReport)]
+ #[doc = "The `sendReport()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/sendReport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn send_report_with_buffer_source(
+ this: &HidDevice,
+ report_id: u8,
+ data: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "HIDDevice" , js_name = sendReport)]
+ #[doc = "The `sendReport()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/sendReport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn send_report_with_u8_array(
+ this: &HidDevice,
+ report_id: u8,
+ data: &mut [u8],
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_HidDeviceFilter.rs b/vendor/web-sys/src/features/gen_HidDeviceFilter.rs
new file mode 100644
index 000000000..48b756484
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HidDeviceFilter.rs
@@ -0,0 +1,116 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HIDDeviceFilter)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HidDeviceFilter` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type HidDeviceFilter;
+}
+#[cfg(web_sys_unstable_apis)]
+impl HidDeviceFilter {
+ #[doc = "Construct a new `HidDeviceFilter`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `productId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn product_id(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("productId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usage(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("usage"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usagePage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usage_page(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("usagePage"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `vendorId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn vendor_id(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("vendorId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for HidDeviceFilter {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HidDeviceRequestOptions.rs b/vendor/web-sys/src/features/gen_HidDeviceRequestOptions.rs
new file mode 100644
index 000000000..0dfe5999b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HidDeviceRequestOptions.rs
@@ -0,0 +1,52 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HIDDeviceRequestOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HidDeviceRequestOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDeviceRequestOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type HidDeviceRequestOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl HidDeviceRequestOptions {
+ #[doc = "Construct a new `HidDeviceRequestOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDeviceRequestOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(filters: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.filters(filters);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `filters` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDeviceRequestOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn filters(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("filters"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HidInputReportEvent.rs b/vendor/web-sys/src/features/gen_HidInputReportEvent.rs
new file mode 100644
index 000000000..95e57da6a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HidInputReportEvent.rs
@@ -0,0 +1,67 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = HIDInputReportEvent , typescript_type = "HIDInputReportEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HidInputReportEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDInputReportEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidInputReportEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type HidInputReportEvent;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HidDevice")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HIDInputReportEvent" , js_name = device)]
+ #[doc = "Getter for the `device` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDInputReportEvent/device)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`, `HidInputReportEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device(this: &HidInputReportEvent) -> HidDevice;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "HIDInputReportEvent" , js_name = reportId)]
+ #[doc = "Getter for the `reportId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDInputReportEvent/reportId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidInputReportEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn report_id(this: &HidInputReportEvent) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "HIDInputReportEvent" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDInputReportEvent/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidInputReportEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data(this: &HidInputReportEvent) -> ::js_sys::DataView;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HidInputReportEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "HIDInputReportEvent")]
+ #[doc = "The `new HidInputReportEvent(..)` constructor, creating a new instance of `HidInputReportEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HIDInputReportEvent/HIDInputReportEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidInputReportEvent`, `HidInputReportEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &HidInputReportEventInit,
+ ) -> Result<HidInputReportEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HidInputReportEventInit.rs b/vendor/web-sys/src/features/gen_HidInputReportEventInit.rs
new file mode 100644
index 000000000..7b0c9b54d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HidInputReportEventInit.rs
@@ -0,0 +1,154 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HIDInputReportEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HidInputReportEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidInputReportEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type HidInputReportEventInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl HidInputReportEventInit {
+ #[cfg(feature = "HidDevice")]
+ #[doc = "Construct a new `HidInputReportEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`, `HidInputReportEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(data: &::js_sys::DataView, device: &HidDevice, report_id: u8) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.data(data);
+ ret.device(device);
+ ret.report_id(report_id);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidInputReportEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidInputReportEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidInputReportEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidInputReportEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data(&mut self, val: &::js_sys::DataView) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HidDevice")]
+ #[doc = "Change the `device` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidDevice`, `HidInputReportEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device(&mut self, val: &HidDevice) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("device"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `reportId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidInputReportEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn report_id(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("reportId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HidReportInfo.rs b/vendor/web-sys/src/features/gen_HidReportInfo.rs
new file mode 100644
index 000000000..660093a88
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HidReportInfo.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HIDReportInfo)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HidReportInfo` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type HidReportInfo;
+}
+#[cfg(web_sys_unstable_apis)]
+impl HidReportInfo {
+ #[doc = "Construct a new `HidReportInfo`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `items` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn items(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("items"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `reportId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn report_id(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("reportId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for HidReportInfo {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HidReportItem.rs b/vendor/web-sys/src/features/gen_HidReportItem.rs
new file mode 100644
index 000000000..51af5203b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HidReportItem.rs
@@ -0,0 +1,618 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HIDReportItem)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HidReportItem` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type HidReportItem;
+}
+#[cfg(web_sys_unstable_apis)]
+impl HidReportItem {
+ #[doc = "Construct a new `HidReportItem`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `hasNull` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn has_null(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("hasNull"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `hasPreferredState` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn has_preferred_state(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("hasPreferredState"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `isAbsolute` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_absolute(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isAbsolute"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `isArray` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_array(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isArray"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `isBufferedBytes` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_buffered_bytes(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isBufferedBytes"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `isConstant` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_constant(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isConstant"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `isLinear` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_linear(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isLinear"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `isRange` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_range(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isRange"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `isVolatile` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_volatile(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isVolatile"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `logicalMaximum` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn logical_maximum(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("logicalMaximum"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `logicalMinimum` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn logical_minimum(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("logicalMinimum"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `physicalMaximum` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn physical_maximum(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("physicalMaximum"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `physicalMinimum` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn physical_minimum(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("physicalMinimum"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `reportCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn report_count(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("reportCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `reportSize` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn report_size(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("reportSize"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `strings` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn strings(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("strings"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `unitExponent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn unit_exponent(&mut self, val: i8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("unitExponent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `unitFactorCurrentExponent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn unit_factor_current_exponent(&mut self, val: i8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("unitFactorCurrentExponent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `unitFactorLengthExponent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn unit_factor_length_exponent(&mut self, val: i8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("unitFactorLengthExponent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `unitFactorLuminousIntensityExponent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn unit_factor_luminous_intensity_exponent(&mut self, val: i8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("unitFactorLuminousIntensityExponent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `unitFactorMassExponent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn unit_factor_mass_exponent(&mut self, val: i8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("unitFactorMassExponent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `unitFactorTemperatureExponent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn unit_factor_temperature_exponent(&mut self, val: i8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("unitFactorTemperatureExponent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `unitFactorTimeExponent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn unit_factor_time_exponent(&mut self, val: i8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("unitFactorTimeExponent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HidUnitSystem")]
+ #[doc = "Change the `unitSystem` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`, `HidUnitSystem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn unit_system(&mut self, val: HidUnitSystem) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("unitSystem"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usageMaximum` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usage_maximum(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("usageMaximum"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usageMinimum` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usage_minimum(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("usageMinimum"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usages` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usages(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("usages"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `wrap` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HidReportItem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn wrap(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("wrap"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for HidReportItem {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HidUnitSystem.rs b/vendor/web-sys/src/features/gen_HidUnitSystem.rs
new file mode 100644
index 000000000..866d30536
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HidUnitSystem.rs
@@ -0,0 +1,20 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `HidUnitSystem` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `HidUnitSystem`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum HidUnitSystem {
+ None = "none",
+ SiLinear = "si-linear",
+ SiRotation = "si-rotation",
+ EnglishLinear = "english-linear",
+ EnglishRotation = "english-rotation",
+ VendorDefined = "vendor-defined",
+ Reserved = "reserved",
+}
diff --git a/vendor/web-sys/src/features/gen_HiddenPluginEventInit.rs b/vendor/web-sys/src/features/gen_HiddenPluginEventInit.rs
new file mode 100644
index 000000000..5ed75adec
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HiddenPluginEventInit.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HiddenPluginEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HiddenPluginEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HiddenPluginEventInit`*"]
+ pub type HiddenPluginEventInit;
+}
+impl HiddenPluginEventInit {
+ #[doc = "Construct a new `HiddenPluginEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HiddenPluginEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HiddenPluginEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HiddenPluginEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HiddenPluginEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for HiddenPluginEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_History.rs b/vendor/web-sys/src/features/gen_History.rs
new file mode 100644
index 000000000..50d9b9ad0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_History.rs
@@ -0,0 +1,118 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = History , typescript_type = "History")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `History` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`*"]
+ pub type History;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "History" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`*"]
+ pub fn length(this: &History) -> Result<u32, JsValue>;
+ #[cfg(feature = "ScrollRestoration")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "History" , js_name = scrollRestoration)]
+ #[doc = "Getter for the `scrollRestoration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/scrollRestoration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`, `ScrollRestoration`*"]
+ pub fn scroll_restoration(this: &History) -> Result<ScrollRestoration, JsValue>;
+ #[cfg(feature = "ScrollRestoration")]
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "History" , js_name = scrollRestoration)]
+ #[doc = "Setter for the `scrollRestoration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/scrollRestoration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`, `ScrollRestoration`*"]
+ pub fn set_scroll_restoration(this: &History, value: ScrollRestoration) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "History" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`*"]
+ pub fn state(this: &History) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "History" , js_name = back)]
+ #[doc = "The `back()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/back)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`*"]
+ pub fn back(this: &History) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "History" , js_name = forward)]
+ #[doc = "The `forward()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/forward)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`*"]
+ pub fn forward(this: &History) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "History" , js_name = go)]
+ #[doc = "The `go()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/go)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`*"]
+ pub fn go(this: &History) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "History" , js_name = go)]
+ #[doc = "The `go()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/go)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`*"]
+ pub fn go_with_delta(this: &History, delta: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "History" , js_name = pushState)]
+ #[doc = "The `pushState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/pushState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`*"]
+ pub fn push_state(
+ this: &History,
+ data: &::wasm_bindgen::JsValue,
+ title: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "History" , js_name = pushState)]
+ #[doc = "The `pushState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/pushState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`*"]
+ pub fn push_state_with_url(
+ this: &History,
+ data: &::wasm_bindgen::JsValue,
+ title: &str,
+ url: Option<&str>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "History" , js_name = replaceState)]
+ #[doc = "The `replaceState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`*"]
+ pub fn replace_state(
+ this: &History,
+ data: &::wasm_bindgen::JsValue,
+ title: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "History" , js_name = replaceState)]
+ #[doc = "The `replaceState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`*"]
+ pub fn replace_state_with_url(
+ this: &History,
+ data: &::wasm_bindgen::JsValue,
+ title: &str,
+ url: Option<&str>,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HitRegionOptions.rs b/vendor/web-sys/src/features/gen_HitRegionOptions.rs
new file mode 100644
index 000000000..a06540990
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HitRegionOptions.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HitRegionOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HitRegionOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HitRegionOptions`*"]
+ pub type HitRegionOptions;
+}
+impl HitRegionOptions {
+ #[doc = "Construct a new `HitRegionOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HitRegionOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "Element")]
+ #[doc = "Change the `control` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `HitRegionOptions`*"]
+ pub fn control(&mut self, val: Option<&Element>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("control"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HitRegionOptions`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Path2d")]
+ #[doc = "Change the `path` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HitRegionOptions`, `Path2d`*"]
+ pub fn path(&mut self, val: Option<&Path2d>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("path"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for HitRegionOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HkdfParams.rs b/vendor/web-sys/src/features/gen_HkdfParams.rs
new file mode 100644
index 000000000..059bbe356
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HkdfParams.rs
@@ -0,0 +1,83 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HkdfParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HkdfParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HkdfParams`*"]
+ pub type HkdfParams;
+}
+impl HkdfParams {
+ #[doc = "Construct a new `HkdfParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HkdfParams`*"]
+ pub fn new(
+ name: &str,
+ hash: &::wasm_bindgen::JsValue,
+ info: &::js_sys::Object,
+ salt: &::js_sys::Object,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.hash(hash);
+ ret.info(info);
+ ret.salt(salt);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HkdfParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HkdfParams`*"]
+ pub fn hash(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("hash"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `info` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HkdfParams`*"]
+ pub fn info(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("info"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `salt` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HkdfParams`*"]
+ pub fn salt(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("salt"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HmacDerivedKeyParams.rs b/vendor/web-sys/src/features/gen_HmacDerivedKeyParams.rs
new file mode 100644
index 000000000..b1708bcff
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HmacDerivedKeyParams.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HmacDerivedKeyParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HmacDerivedKeyParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacDerivedKeyParams`*"]
+ pub type HmacDerivedKeyParams;
+}
+impl HmacDerivedKeyParams {
+ #[doc = "Construct a new `HmacDerivedKeyParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacDerivedKeyParams`*"]
+ pub fn new(name: &str, hash: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.hash(hash);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacDerivedKeyParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacDerivedKeyParams`*"]
+ pub fn hash(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("hash"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacDerivedKeyParams`*"]
+ pub fn length(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("length"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HmacImportParams.rs b/vendor/web-sys/src/features/gen_HmacImportParams.rs
new file mode 100644
index 000000000..eb9489c05
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HmacImportParams.rs
@@ -0,0 +1,50 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HmacImportParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HmacImportParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacImportParams`*"]
+ pub type HmacImportParams;
+}
+impl HmacImportParams {
+ #[doc = "Construct a new `HmacImportParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacImportParams`*"]
+ pub fn new(name: &str, hash: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.hash(hash);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacImportParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacImportParams`*"]
+ pub fn hash(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("hash"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HmacKeyAlgorithm.rs b/vendor/web-sys/src/features/gen_HmacKeyAlgorithm.rs
new file mode 100644
index 000000000..5910552e3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HmacKeyAlgorithm.rs
@@ -0,0 +1,67 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HmacKeyAlgorithm)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HmacKeyAlgorithm` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacKeyAlgorithm`*"]
+ pub type HmacKeyAlgorithm;
+}
+impl HmacKeyAlgorithm {
+ #[cfg(feature = "KeyAlgorithm")]
+ #[doc = "Construct a new `HmacKeyAlgorithm`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacKeyAlgorithm`, `KeyAlgorithm`*"]
+ pub fn new(name: &str, hash: &KeyAlgorithm, length: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.hash(hash);
+ ret.length(length);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacKeyAlgorithm`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "KeyAlgorithm")]
+ #[doc = "Change the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacKeyAlgorithm`, `KeyAlgorithm`*"]
+ pub fn hash(&mut self, val: &KeyAlgorithm) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("hash"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacKeyAlgorithm`*"]
+ pub fn length(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("length"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HmacKeyGenParams.rs b/vendor/web-sys/src/features/gen_HmacKeyGenParams.rs
new file mode 100644
index 000000000..3903d71a7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HmacKeyGenParams.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HmacKeyGenParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HmacKeyGenParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacKeyGenParams`*"]
+ pub type HmacKeyGenParams;
+}
+impl HmacKeyGenParams {
+ #[doc = "Construct a new `HmacKeyGenParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacKeyGenParams`*"]
+ pub fn new(name: &str, hash: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.hash(hash);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacKeyGenParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacKeyGenParams`*"]
+ pub fn hash(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("hash"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HmacKeyGenParams`*"]
+ pub fn length(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("length"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlAllCollection.rs b/vendor/web-sys/src/features/gen_HtmlAllCollection.rs
new file mode 100644
index 000000000..8510f7f4c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlAllCollection.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HTMLAllCollection , typescript_type = "HTMLAllCollection")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlAllCollection` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAllCollection`*"]
+ pub type HtmlAllCollection;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAllCollection" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAllCollection`*"]
+ pub fn length(this: &HtmlAllCollection) -> u32;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (method , structural , js_class = "HTMLAllCollection" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAllCollection`, `Node`*"]
+ pub fn item_with_index(this: &HtmlAllCollection, index: u32) -> Option<Node>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLAllCollection" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAllCollection`*"]
+ pub fn item_with_name(this: &HtmlAllCollection, name: &str) -> Option<::js_sys::Object>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLAllCollection" , js_name = namedItem)]
+ #[doc = "The `namedItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/namedItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAllCollection`*"]
+ pub fn named_item(this: &HtmlAllCollection, name: &str) -> Option<::js_sys::Object>;
+ #[cfg(feature = "Node")]
+ #[wasm_bindgen(method, structural, js_class = "HTMLAllCollection", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAllCollection`, `Node`*"]
+ pub fn get_with_index(this: &HtmlAllCollection, index: u32) -> Option<Node>;
+ #[wasm_bindgen(method, structural, js_class = "HTMLAllCollection", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAllCollection`*"]
+ pub fn get_with_name(this: &HtmlAllCollection, name: &str) -> Option<::js_sys::Object>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlAnchorElement.rs b/vendor/web-sys/src/features/gen_HtmlAnchorElement.rs
new file mode 100644
index 000000000..0b953108c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlAnchorElement.rs
@@ -0,0 +1,351 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLAnchorElement , typescript_type = "HTMLAnchorElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlAnchorElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub type HtmlAnchorElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn target(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = target)]
+ #[doc = "Setter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_target(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = download)]
+ #[doc = "Getter for the `download` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn download(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = download)]
+ #[doc = "Setter for the `download` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_download(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = ping)]
+ #[doc = "Getter for the `ping` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/ping)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn ping(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = ping)]
+ #[doc = "Setter for the `ping` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/ping)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_ping(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = rel)]
+ #[doc = "Getter for the `rel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn rel(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = rel)]
+ #[doc = "Setter for the `rel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_rel(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = referrerPolicy)]
+ #[doc = "Getter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn referrer_policy(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = referrerPolicy)]
+ #[doc = "Setter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_referrer_policy(this: &HtmlAnchorElement, value: &str);
+ #[cfg(feature = "DomTokenList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = relList)]
+ #[doc = "Getter for the `relList` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/relList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `HtmlAnchorElement`*"]
+ pub fn rel_list(this: &HtmlAnchorElement) -> DomTokenList;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = hreflang)]
+ #[doc = "Getter for the `hreflang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hreflang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn hreflang(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = hreflang)]
+ #[doc = "Setter for the `hreflang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hreflang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_hreflang(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn type_(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_type(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLAnchorElement" , js_name = text)]
+ #[doc = "Getter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn text(this: &HtmlAnchorElement) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLAnchorElement" , js_name = text)]
+ #[doc = "Setter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_text(this: &HtmlAnchorElement, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = coords)]
+ #[doc = "Getter for the `coords` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/coords)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn coords(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = coords)]
+ #[doc = "Setter for the `coords` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/coords)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_coords(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = charset)]
+ #[doc = "Getter for the `charset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/charset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn charset(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = charset)]
+ #[doc = "Setter for the `charset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/charset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_charset(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn name(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_name(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = rev)]
+ #[doc = "Getter for the `rev` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rev)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn rev(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = rev)]
+ #[doc = "Setter for the `rev` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rev)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_rev(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = shape)]
+ #[doc = "Getter for the `shape` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/shape)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn shape(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = shape)]
+ #[doc = "Setter for the `shape` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/shape)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_shape(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn href(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = href)]
+ #[doc = "Setter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_href(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = origin)]
+ #[doc = "Getter for the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/origin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn origin(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = protocol)]
+ #[doc = "Getter for the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/protocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn protocol(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = protocol)]
+ #[doc = "Setter for the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/protocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_protocol(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = username)]
+ #[doc = "Getter for the `username` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/username)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn username(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = username)]
+ #[doc = "Setter for the `username` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/username)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_username(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = password)]
+ #[doc = "Getter for the `password` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/password)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn password(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = password)]
+ #[doc = "Setter for the `password` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/password)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_password(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = host)]
+ #[doc = "Getter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn host(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = host)]
+ #[doc = "Setter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_host(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = hostname)]
+ #[doc = "Getter for the `hostname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hostname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn hostname(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = hostname)]
+ #[doc = "Setter for the `hostname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hostname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_hostname(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = port)]
+ #[doc = "Getter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn port(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = port)]
+ #[doc = "Setter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_port(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = pathname)]
+ #[doc = "Getter for the `pathname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/pathname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn pathname(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = pathname)]
+ #[doc = "Setter for the `pathname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/pathname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_pathname(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = search)]
+ #[doc = "Getter for the `search` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/search)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn search(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = search)]
+ #[doc = "Setter for the `search` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/search)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_search(this: &HtmlAnchorElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = hash)]
+ #[doc = "Getter for the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn hash(this: &HtmlAnchorElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = hash)]
+ #[doc = "Setter for the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
+ pub fn set_hash(this: &HtmlAnchorElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlAreaElement.rs b/vendor/web-sys/src/features/gen_HtmlAreaElement.rs
new file mode 100644
index 000000000..23a9ae2c7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlAreaElement.rs
@@ -0,0 +1,295 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLAreaElement , typescript_type = "HTMLAreaElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlAreaElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub type HtmlAreaElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = alt)]
+ #[doc = "Getter for the `alt` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/alt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn alt(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = alt)]
+ #[doc = "Setter for the `alt` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/alt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_alt(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = coords)]
+ #[doc = "Getter for the `coords` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/coords)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn coords(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = coords)]
+ #[doc = "Setter for the `coords` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/coords)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_coords(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = shape)]
+ #[doc = "Getter for the `shape` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/shape)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn shape(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = shape)]
+ #[doc = "Setter for the `shape` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/shape)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_shape(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn target(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = target)]
+ #[doc = "Setter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_target(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = download)]
+ #[doc = "Getter for the `download` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/download)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn download(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = download)]
+ #[doc = "Setter for the `download` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/download)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_download(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = ping)]
+ #[doc = "Getter for the `ping` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/ping)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn ping(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = ping)]
+ #[doc = "Setter for the `ping` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/ping)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_ping(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = rel)]
+ #[doc = "Getter for the `rel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/rel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn rel(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = rel)]
+ #[doc = "Setter for the `rel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/rel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_rel(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = referrerPolicy)]
+ #[doc = "Getter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn referrer_policy(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = referrerPolicy)]
+ #[doc = "Setter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_referrer_policy(this: &HtmlAreaElement, value: &str);
+ #[cfg(feature = "DomTokenList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = relList)]
+ #[doc = "Getter for the `relList` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/relList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `HtmlAreaElement`*"]
+ pub fn rel_list(this: &HtmlAreaElement) -> DomTokenList;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = noHref)]
+ #[doc = "Getter for the `noHref` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/noHref)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn no_href(this: &HtmlAreaElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = noHref)]
+ #[doc = "Setter for the `noHref` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/noHref)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_no_href(this: &HtmlAreaElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn href(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = href)]
+ #[doc = "Setter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_href(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = origin)]
+ #[doc = "Getter for the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/origin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn origin(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = protocol)]
+ #[doc = "Getter for the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/protocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn protocol(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = protocol)]
+ #[doc = "Setter for the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/protocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_protocol(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = username)]
+ #[doc = "Getter for the `username` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/username)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn username(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = username)]
+ #[doc = "Setter for the `username` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/username)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_username(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = password)]
+ #[doc = "Getter for the `password` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/password)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn password(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = password)]
+ #[doc = "Setter for the `password` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/password)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_password(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = host)]
+ #[doc = "Getter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn host(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = host)]
+ #[doc = "Setter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_host(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = hostname)]
+ #[doc = "Getter for the `hostname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hostname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn hostname(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = hostname)]
+ #[doc = "Setter for the `hostname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hostname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_hostname(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = port)]
+ #[doc = "Getter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn port(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = port)]
+ #[doc = "Setter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_port(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = pathname)]
+ #[doc = "Getter for the `pathname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/pathname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn pathname(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = pathname)]
+ #[doc = "Setter for the `pathname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/pathname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_pathname(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = search)]
+ #[doc = "Getter for the `search` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/search)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn search(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = search)]
+ #[doc = "Setter for the `search` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/search)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_search(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = hash)]
+ #[doc = "Getter for the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn hash(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = hash)]
+ #[doc = "Setter for the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_hash(this: &HtmlAreaElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlAudioElement.rs b/vendor/web-sys/src/features/gen_HtmlAudioElement.rs
new file mode 100644
index 000000000..03ea58ccf
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlAudioElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlMediaElement , extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLAudioElement , typescript_type = "HTMLAudioElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlAudioElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAudioElement`*"]
+ pub type HtmlAudioElement;
+ #[wasm_bindgen(catch, constructor, js_class = "Audio")]
+ #[doc = "The `new HtmlAudioElement(..)` constructor, creating a new instance of `HtmlAudioElement`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/HTMLAudioElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAudioElement`*"]
+ pub fn new() -> Result<HtmlAudioElement, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Audio")]
+ #[doc = "The `new HtmlAudioElement(..)` constructor, creating a new instance of `HtmlAudioElement`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/HTMLAudioElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAudioElement`*"]
+ pub fn new_with_src(src: &str) -> Result<HtmlAudioElement, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlBaseElement.rs b/vendor/web-sys/src/features/gen_HtmlBaseElement.rs
new file mode 100644
index 000000000..d521cabb7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlBaseElement.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLBaseElement , typescript_type = "HTMLBaseElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlBaseElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBaseElement`*"]
+ pub type HtmlBaseElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBaseElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBaseElement`*"]
+ pub fn href(this: &HtmlBaseElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBaseElement" , js_name = href)]
+ #[doc = "Setter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBaseElement`*"]
+ pub fn set_href(this: &HtmlBaseElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBaseElement" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBaseElement`*"]
+ pub fn target(this: &HtmlBaseElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBaseElement" , js_name = target)]
+ #[doc = "Setter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBaseElement`*"]
+ pub fn set_target(this: &HtmlBaseElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlBodyElement.rs b/vendor/web-sys/src/features/gen_HtmlBodyElement.rs
new file mode 100644
index 000000000..f7355c4c3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlBodyElement.rs
@@ -0,0 +1,294 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLBodyElement , typescript_type = "HTMLBodyElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlBodyElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub type HtmlBodyElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = text)]
+ #[doc = "Getter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn text(this: &HtmlBodyElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = text)]
+ #[doc = "Setter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_text(this: &HtmlBodyElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = link)]
+ #[doc = "Getter for the `link` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/link)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn link(this: &HtmlBodyElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = link)]
+ #[doc = "Setter for the `link` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/link)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_link(this: &HtmlBodyElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = vLink)]
+ #[doc = "Getter for the `vLink` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/vLink)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn v_link(this: &HtmlBodyElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = vLink)]
+ #[doc = "Setter for the `vLink` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/vLink)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_v_link(this: &HtmlBodyElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = aLink)]
+ #[doc = "Getter for the `aLink` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/aLink)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn a_link(this: &HtmlBodyElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = aLink)]
+ #[doc = "Setter for the `aLink` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/aLink)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_a_link(this: &HtmlBodyElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = bgColor)]
+ #[doc = "Getter for the `bgColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/bgColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn bg_color(this: &HtmlBodyElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = bgColor)]
+ #[doc = "Setter for the `bgColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/bgColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_bg_color(this: &HtmlBodyElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = background)]
+ #[doc = "Getter for the `background` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/background)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn background(this: &HtmlBodyElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = background)]
+ #[doc = "Setter for the `background` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/background)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_background(this: &HtmlBodyElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onafterprint)]
+ #[doc = "Getter for the `onafterprint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onafterprint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onafterprint(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onafterprint)]
+ #[doc = "Setter for the `onafterprint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onafterprint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onafterprint(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onbeforeprint)]
+ #[doc = "Getter for the `onbeforeprint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeprint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onbeforeprint(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onbeforeprint)]
+ #[doc = "Setter for the `onbeforeprint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeprint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onbeforeprint(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onbeforeunload)]
+ #[doc = "Getter for the `onbeforeunload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeunload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onbeforeunload(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onbeforeunload)]
+ #[doc = "Setter for the `onbeforeunload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeunload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onbeforeunload(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onhashchange)]
+ #[doc = "Getter for the `onhashchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onhashchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onhashchange(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onhashchange)]
+ #[doc = "Setter for the `onhashchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onhashchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onhashchange(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onlanguagechange)]
+ #[doc = "Getter for the `onlanguagechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onlanguagechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onlanguagechange(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onlanguagechange)]
+ #[doc = "Setter for the `onlanguagechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onlanguagechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onlanguagechange(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onmessage(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onmessage(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onmessageerror)]
+ #[doc = "Getter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onmessageerror(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onmessageerror)]
+ #[doc = "Setter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onmessageerror(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onoffline)]
+ #[doc = "Getter for the `onoffline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onoffline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onoffline(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onoffline)]
+ #[doc = "Setter for the `onoffline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onoffline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onoffline(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = ononline)]
+ #[doc = "Getter for the `ononline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/ononline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn ononline(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = ononline)]
+ #[doc = "Setter for the `ononline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/ononline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_ononline(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onpagehide)]
+ #[doc = "Getter for the `onpagehide` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpagehide)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onpagehide(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onpagehide)]
+ #[doc = "Setter for the `onpagehide` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpagehide)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onpagehide(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onpageshow)]
+ #[doc = "Getter for the `onpageshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpageshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onpageshow(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onpageshow)]
+ #[doc = "Setter for the `onpageshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpageshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onpageshow(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onpopstate)]
+ #[doc = "Getter for the `onpopstate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpopstate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onpopstate(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onpopstate)]
+ #[doc = "Setter for the `onpopstate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpopstate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onpopstate(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onstorage)]
+ #[doc = "Getter for the `onstorage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onstorage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onstorage(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onstorage)]
+ #[doc = "Setter for the `onstorage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onstorage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onstorage(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBodyElement" , js_name = onunload)]
+ #[doc = "Getter for the `onunload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onunload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn onunload(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBodyElement" , js_name = onunload)]
+ #[doc = "Setter for the `onunload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onunload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
+ pub fn set_onunload(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlBrElement.rs b/vendor/web-sys/src/features/gen_HtmlBrElement.rs
new file mode 100644
index 000000000..aa332a90a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlBrElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLBRElement , typescript_type = "HTMLBRElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlBrElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBrElement`*"]
+ pub type HtmlBrElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLBRElement" , js_name = clear)]
+ #[doc = "Getter for the `clear` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBrElement`*"]
+ pub fn clear(this: &HtmlBrElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLBRElement" , js_name = clear)]
+ #[doc = "Setter for the `clear` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlBrElement`*"]
+ pub fn set_clear(this: &HtmlBrElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlButtonElement.rs b/vendor/web-sys/src/features/gen_HtmlButtonElement.rs
new file mode 100644
index 000000000..e8958b145
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlButtonElement.rs
@@ -0,0 +1,213 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLButtonElement , typescript_type = "HTMLButtonElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlButtonElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub type HtmlButtonElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = autofocus)]
+ #[doc = "Getter for the `autofocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/autofocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn autofocus(this: &HtmlButtonElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLButtonElement" , js_name = autofocus)]
+ #[doc = "Setter for the `autofocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/autofocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn set_autofocus(this: &HtmlButtonElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = disabled)]
+ #[doc = "Getter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn disabled(this: &HtmlButtonElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLButtonElement" , js_name = disabled)]
+ #[doc = "Setter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn set_disabled(this: &HtmlButtonElement, value: bool);
+ #[cfg(feature = "HtmlFormElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = form)]
+ #[doc = "Getter for the `form` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/form)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`, `HtmlFormElement`*"]
+ pub fn form(this: &HtmlButtonElement) -> Option<HtmlFormElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = formAction)]
+ #[doc = "Getter for the `formAction` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formAction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn form_action(this: &HtmlButtonElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLButtonElement" , js_name = formAction)]
+ #[doc = "Setter for the `formAction` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formAction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn set_form_action(this: &HtmlButtonElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = formEnctype)]
+ #[doc = "Getter for the `formEnctype` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formEnctype)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn form_enctype(this: &HtmlButtonElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLButtonElement" , js_name = formEnctype)]
+ #[doc = "Setter for the `formEnctype` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formEnctype)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn set_form_enctype(this: &HtmlButtonElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = formMethod)]
+ #[doc = "Getter for the `formMethod` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formMethod)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn form_method(this: &HtmlButtonElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLButtonElement" , js_name = formMethod)]
+ #[doc = "Setter for the `formMethod` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formMethod)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn set_form_method(this: &HtmlButtonElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = formNoValidate)]
+ #[doc = "Getter for the `formNoValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formNoValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn form_no_validate(this: &HtmlButtonElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLButtonElement" , js_name = formNoValidate)]
+ #[doc = "Setter for the `formNoValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formNoValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn set_form_no_validate(this: &HtmlButtonElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = formTarget)]
+ #[doc = "Getter for the `formTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formTarget)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn form_target(this: &HtmlButtonElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLButtonElement" , js_name = formTarget)]
+ #[doc = "Setter for the `formTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formTarget)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn set_form_target(this: &HtmlButtonElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn name(this: &HtmlButtonElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLButtonElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn set_name(this: &HtmlButtonElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn type_(this: &HtmlButtonElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLButtonElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn set_type(this: &HtmlButtonElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn value(this: &HtmlButtonElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLButtonElement" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn set_value(this: &HtmlButtonElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = willValidate)]
+ #[doc = "Getter for the `willValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/willValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn will_validate(this: &HtmlButtonElement) -> bool;
+ #[cfg(feature = "ValidityState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = validity)]
+ #[doc = "Getter for the `validity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/validity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`, `ValidityState`*"]
+ pub fn validity(this: &HtmlButtonElement) -> ValidityState;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLButtonElement" , js_name = validationMessage)]
+ #[doc = "Getter for the `validationMessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/validationMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn validation_message(this: &HtmlButtonElement) -> Result<String, JsValue>;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLButtonElement" , js_name = labels)]
+ #[doc = "Getter for the `labels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/labels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`, `NodeList`*"]
+ pub fn labels(this: &HtmlButtonElement) -> NodeList;
+ # [wasm_bindgen (method , structural , js_class = "HTMLButtonElement" , js_name = checkValidity)]
+ #[doc = "The `checkValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/checkValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn check_validity(this: &HtmlButtonElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLButtonElement" , js_name = reportValidity)]
+ #[doc = "The `reportValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/reportValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn report_validity(this: &HtmlButtonElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLButtonElement" , js_name = setCustomValidity)]
+ #[doc = "The `setCustomValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/setCustomValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"]
+ pub fn set_custom_validity(this: &HtmlButtonElement, error: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlCanvasElement.rs b/vendor/web-sys/src/features/gen_HtmlCanvasElement.rs
new file mode 100644
index 000000000..ff8ab7e2d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlCanvasElement.rs
@@ -0,0 +1,128 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLCanvasElement , typescript_type = "HTMLCanvasElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlCanvasElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub type HtmlCanvasElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLCanvasElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub fn width(this: &HtmlCanvasElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLCanvasElement" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub fn set_width(this: &HtmlCanvasElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLCanvasElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub fn height(this: &HtmlCanvasElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLCanvasElement" , js_name = height)]
+ #[doc = "Setter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub fn set_height(this: &HtmlCanvasElement, value: u32);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLCanvasElement" , js_name = getContext)]
+ #[doc = "The `getContext()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub fn get_context(
+ this: &HtmlCanvasElement,
+ context_id: &str,
+ ) -> Result<Option<::js_sys::Object>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLCanvasElement" , js_name = getContext)]
+ #[doc = "The `getContext()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub fn get_context_with_context_options(
+ this: &HtmlCanvasElement,
+ context_id: &str,
+ context_options: &::wasm_bindgen::JsValue,
+ ) -> Result<Option<::js_sys::Object>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLCanvasElement" , js_name = toBlob)]
+ #[doc = "The `toBlob()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub fn to_blob(this: &HtmlCanvasElement, callback: &::js_sys::Function) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLCanvasElement" , js_name = toBlob)]
+ #[doc = "The `toBlob()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub fn to_blob_with_type(
+ this: &HtmlCanvasElement,
+ callback: &::js_sys::Function,
+ type_: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLCanvasElement" , js_name = toBlob)]
+ #[doc = "The `toBlob()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub fn to_blob_with_type_and_encoder_options(
+ this: &HtmlCanvasElement,
+ callback: &::js_sys::Function,
+ type_: &str,
+ encoder_options: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLCanvasElement" , js_name = toDataURL)]
+ #[doc = "The `toDataURL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub fn to_data_url(this: &HtmlCanvasElement) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLCanvasElement" , js_name = toDataURL)]
+ #[doc = "The `toDataURL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub fn to_data_url_with_type(this: &HtmlCanvasElement, type_: &str) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLCanvasElement" , js_name = toDataURL)]
+ #[doc = "The `toDataURL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"]
+ pub fn to_data_url_with_type_and_encoder_options(
+ this: &HtmlCanvasElement,
+ type_: &str,
+ encoder_options: &::wasm_bindgen::JsValue,
+ ) -> Result<String, JsValue>;
+ #[cfg(feature = "OffscreenCanvas")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLCanvasElement" , js_name = transferControlToOffscreen)]
+ #[doc = "The `transferControlToOffscreen()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/transferControlToOffscreen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `OffscreenCanvas`*"]
+ pub fn transfer_control_to_offscreen(
+ this: &HtmlCanvasElement,
+ ) -> Result<OffscreenCanvas, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlCollection.rs b/vendor/web-sys/src/features/gen_HtmlCollection.rs
new file mode 100644
index 000000000..cf3ff4fbe
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlCollection.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HTMLCollection , typescript_type = "HTMLCollection")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlCollection` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`*"]
+ pub type HtmlCollection;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLCollection" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`*"]
+ pub fn length(this: &HtmlCollection) -> u32;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "HTMLCollection" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"]
+ pub fn item(this: &HtmlCollection, index: u32) -> Option<Element>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "HTMLCollection" , js_name = namedItem)]
+ #[doc = "The `namedItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/namedItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"]
+ pub fn named_item(this: &HtmlCollection, name: &str) -> Option<Element>;
+ #[cfg(feature = "Element")]
+ #[wasm_bindgen(method, structural, js_class = "HTMLCollection", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"]
+ pub fn get_with_index(this: &HtmlCollection, index: u32) -> Option<Element>;
+ #[cfg(feature = "Element")]
+ #[wasm_bindgen(method, structural, js_class = "HTMLCollection", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"]
+ pub fn get_with_name(this: &HtmlCollection, name: &str) -> Option<Element>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlDListElement.rs b/vendor/web-sys/src/features/gen_HtmlDListElement.rs
new file mode 100644
index 000000000..74fab306a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlDListElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLDListElement , typescript_type = "HTMLDListElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlDListElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDListElement`*"]
+ pub type HtmlDListElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDListElement" , js_name = compact)]
+ #[doc = "Getter for the `compact` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement/compact)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDListElement`*"]
+ pub fn compact(this: &HtmlDListElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDListElement" , js_name = compact)]
+ #[doc = "Setter for the `compact` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement/compact)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDListElement`*"]
+ pub fn set_compact(this: &HtmlDListElement, value: bool);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlDataElement.rs b/vendor/web-sys/src/features/gen_HtmlDataElement.rs
new file mode 100644
index 000000000..f43586af6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlDataElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLDataElement , typescript_type = "HTMLDataElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlDataElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDataElement`*"]
+ pub type HtmlDataElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDataElement" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDataElement`*"]
+ pub fn value(this: &HtmlDataElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDataElement" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDataElement`*"]
+ pub fn set_value(this: &HtmlDataElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlDataListElement.rs b/vendor/web-sys/src/features/gen_HtmlDataListElement.rs
new file mode 100644
index 000000000..b19b0c19e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlDataListElement.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLDataListElement , typescript_type = "HTMLDataListElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlDataListElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDataListElement`*"]
+ pub type HtmlDataListElement;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDataListElement" , js_name = options)]
+ #[doc = "Getter for the `options` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement/options)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlDataListElement`*"]
+ pub fn options(this: &HtmlDataListElement) -> HtmlCollection;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlDetailsElement.rs b/vendor/web-sys/src/features/gen_HtmlDetailsElement.rs
new file mode 100644
index 000000000..a816f04e7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlDetailsElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLDetailsElement , typescript_type = "HTMLDetailsElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlDetailsElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDetailsElement`*"]
+ pub type HtmlDetailsElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDetailsElement" , js_name = open)]
+ #[doc = "Getter for the `open` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDetailsElement`*"]
+ pub fn open(this: &HtmlDetailsElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDetailsElement" , js_name = open)]
+ #[doc = "Setter for the `open` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDetailsElement`*"]
+ pub fn set_open(this: &HtmlDetailsElement, value: bool);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlDialogElement.rs b/vendor/web-sys/src/features/gen_HtmlDialogElement.rs
new file mode 100644
index 000000000..9fda1ac7d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlDialogElement.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLDialogElement , typescript_type = "HTMLDialogElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlDialogElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDialogElement`*"]
+ pub type HtmlDialogElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDialogElement" , js_name = open)]
+ #[doc = "Getter for the `open` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDialogElement`*"]
+ pub fn open(this: &HtmlDialogElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDialogElement" , js_name = open)]
+ #[doc = "Setter for the `open` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDialogElement`*"]
+ pub fn set_open(this: &HtmlDialogElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDialogElement" , js_name = returnValue)]
+ #[doc = "Getter for the `returnValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/returnValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDialogElement`*"]
+ pub fn return_value(this: &HtmlDialogElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDialogElement" , js_name = returnValue)]
+ #[doc = "Setter for the `returnValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/returnValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDialogElement`*"]
+ pub fn set_return_value(this: &HtmlDialogElement, value: &str);
+ # [wasm_bindgen (method , structural , js_class = "HTMLDialogElement" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDialogElement`*"]
+ pub fn close(this: &HtmlDialogElement);
+ # [wasm_bindgen (method , structural , js_class = "HTMLDialogElement" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDialogElement`*"]
+ pub fn close_with_return_value(this: &HtmlDialogElement, return_value: &str);
+ # [wasm_bindgen (method , structural , js_class = "HTMLDialogElement" , js_name = show)]
+ #[doc = "The `show()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/show)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDialogElement`*"]
+ pub fn show(this: &HtmlDialogElement);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDialogElement" , js_name = showModal)]
+ #[doc = "The `showModal()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/showModal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDialogElement`*"]
+ pub fn show_modal(this: &HtmlDialogElement) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlDirectoryElement.rs b/vendor/web-sys/src/features/gen_HtmlDirectoryElement.rs
new file mode 100644
index 000000000..5302969c2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlDirectoryElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLDirectoryElement , typescript_type = "HTMLDirectoryElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlDirectoryElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDirectoryElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDirectoryElement`*"]
+ pub type HtmlDirectoryElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDirectoryElement" , js_name = compact)]
+ #[doc = "Getter for the `compact` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDirectoryElement/compact)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDirectoryElement`*"]
+ pub fn compact(this: &HtmlDirectoryElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDirectoryElement" , js_name = compact)]
+ #[doc = "Setter for the `compact` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDirectoryElement/compact)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDirectoryElement`*"]
+ pub fn set_compact(this: &HtmlDirectoryElement, value: bool);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlDivElement.rs b/vendor/web-sys/src/features/gen_HtmlDivElement.rs
new file mode 100644
index 000000000..eadb4fb7d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlDivElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLDivElement , typescript_type = "HTMLDivElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlDivElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDivElement`*"]
+ pub type HtmlDivElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDivElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDivElement`*"]
+ pub fn align(this: &HtmlDivElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDivElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDivElement`*"]
+ pub fn set_align(this: &HtmlDivElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlDocument.rs b/vendor/web-sys/src/features/gen_HtmlDocument.rs
new file mode 100644
index 000000000..94c2d0cdb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlDocument.rs
@@ -0,0 +1,482 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Document , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLDocument , typescript_type = "HTMLDocument")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlDocument` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub type HtmlDocument;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = domain)]
+ #[doc = "Getter for the `domain` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/domain)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn domain(this: &HtmlDocument) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = domain)]
+ #[doc = "Setter for the `domain` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/domain)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn set_domain(this: &HtmlDocument, value: &str);
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLDocument" , js_name = cookie)]
+ #[doc = "Getter for the `cookie` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/cookie)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn cookie(this: &HtmlDocument) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLDocument" , js_name = cookie)]
+ #[doc = "Setter for the `cookie` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/cookie)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn set_cookie(this: &HtmlDocument, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = designMode)]
+ #[doc = "Getter for the `designMode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/designMode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn design_mode(this: &HtmlDocument) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = designMode)]
+ #[doc = "Setter for the `designMode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/designMode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn set_design_mode(this: &HtmlDocument, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = fgColor)]
+ #[doc = "Getter for the `fgColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/fgColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn fg_color(this: &HtmlDocument) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = fgColor)]
+ #[doc = "Setter for the `fgColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/fgColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn set_fg_color(this: &HtmlDocument, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = linkColor)]
+ #[doc = "Getter for the `linkColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/linkColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn link_color(this: &HtmlDocument) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = linkColor)]
+ #[doc = "Setter for the `linkColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/linkColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn set_link_color(this: &HtmlDocument, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = vlinkColor)]
+ #[doc = "Getter for the `vlinkColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/vlinkColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn vlink_color(this: &HtmlDocument) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = vlinkColor)]
+ #[doc = "Setter for the `vlinkColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/vlinkColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn set_vlink_color(this: &HtmlDocument, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = alinkColor)]
+ #[doc = "Getter for the `alinkColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/alinkColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn alink_color(this: &HtmlDocument) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = alinkColor)]
+ #[doc = "Setter for the `alinkColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/alinkColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn set_alink_color(this: &HtmlDocument, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = bgColor)]
+ #[doc = "Getter for the `bgColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/bgColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn bg_color(this: &HtmlDocument) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = bgColor)]
+ #[doc = "Setter for the `bgColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/bgColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn set_bg_color(this: &HtmlDocument, value: &str);
+ #[cfg(feature = "HtmlAllCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = all)]
+ #[doc = "Getter for the `all` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/all)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAllCollection`, `HtmlDocument`*"]
+ pub fn all(this: &HtmlDocument) -> HtmlAllCollection;
+ # [wasm_bindgen (method , structural , js_class = "HTMLDocument" , js_name = captureEvents)]
+ #[doc = "The `captureEvents()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/captureEvents)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn capture_events(this: &HtmlDocument);
+ # [wasm_bindgen (method , structural , js_class = "HTMLDocument" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn clear(this: &HtmlDocument);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn close(this: &HtmlDocument) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = execCommand)]
+ #[doc = "The `execCommand()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/execCommand)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn exec_command(this: &HtmlDocument, command_id: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = execCommand)]
+ #[doc = "The `execCommand()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/execCommand)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn exec_command_with_show_ui(
+ this: &HtmlDocument,
+ command_id: &str,
+ show_ui: bool,
+ ) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = execCommand)]
+ #[doc = "The `execCommand()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/execCommand)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn exec_command_with_show_ui_and_value(
+ this: &HtmlDocument,
+ command_id: &str,
+ show_ui: bool,
+ value: &str,
+ ) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn open(this: &HtmlDocument) -> Result<Document, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn open_with_type(this: &HtmlDocument, type_: &str) -> Result<Document, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn open_with_type_and_replace(
+ this: &HtmlDocument,
+ type_: &str,
+ replace: &str,
+ ) -> Result<Document, JsValue>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`, `Window`*"]
+ pub fn open_with_url_and_name_and_features(
+ this: &HtmlDocument,
+ url: &str,
+ name: &str,
+ features: &str,
+ ) -> Result<Option<Window>, JsValue>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`, `Window`*"]
+ pub fn open_with_url_and_name_and_features_and_replace(
+ this: &HtmlDocument,
+ url: &str,
+ name: &str,
+ features: &str,
+ replace: bool,
+ ) -> Result<Option<Window>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = queryCommandEnabled)]
+ #[doc = "The `queryCommandEnabled()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandEnabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn query_command_enabled(this: &HtmlDocument, command_id: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = queryCommandIndeterm)]
+ #[doc = "The `queryCommandIndeterm()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandIndeterm)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn query_command_indeterm(this: &HtmlDocument, command_id: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = queryCommandState)]
+ #[doc = "The `queryCommandState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn query_command_state(this: &HtmlDocument, command_id: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLDocument" , js_name = queryCommandSupported)]
+ #[doc = "The `queryCommandSupported()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandSupported)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn query_command_supported(this: &HtmlDocument, command_id: &str) -> bool;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = queryCommandValue)]
+ #[doc = "The `queryCommandValue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn query_command_value(this: &HtmlDocument, command_id: &str) -> Result<String, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLDocument" , js_name = releaseEvents)]
+ #[doc = "The `releaseEvents()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/releaseEvents)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn release_events(this: &HtmlDocument);
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "HTMLDocument" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn write(this: &HtmlDocument, text: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn write_0(this: &HtmlDocument) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn write_1(this: &HtmlDocument, text_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn write_2(this: &HtmlDocument, text_1: &str, text_2: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn write_3(
+ this: &HtmlDocument,
+ text_1: &str,
+ text_2: &str,
+ text_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn write_4(
+ this: &HtmlDocument,
+ text_1: &str,
+ text_2: &str,
+ text_3: &str,
+ text_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn write_5(
+ this: &HtmlDocument,
+ text_1: &str,
+ text_2: &str,
+ text_3: &str,
+ text_4: &str,
+ text_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn write_6(
+ this: &HtmlDocument,
+ text_1: &str,
+ text_2: &str,
+ text_3: &str,
+ text_4: &str,
+ text_5: &str,
+ text_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn write_7(
+ this: &HtmlDocument,
+ text_1: &str,
+ text_2: &str,
+ text_3: &str,
+ text_4: &str,
+ text_5: &str,
+ text_6: &str,
+ text_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "HTMLDocument" , js_name = writeln)]
+ #[doc = "The `writeln()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn writeln(this: &HtmlDocument, text: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
+ #[doc = "The `writeln()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn writeln_0(this: &HtmlDocument) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
+ #[doc = "The `writeln()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn writeln_1(this: &HtmlDocument, text_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
+ #[doc = "The `writeln()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn writeln_2(this: &HtmlDocument, text_1: &str, text_2: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
+ #[doc = "The `writeln()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn writeln_3(
+ this: &HtmlDocument,
+ text_1: &str,
+ text_2: &str,
+ text_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
+ #[doc = "The `writeln()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn writeln_4(
+ this: &HtmlDocument,
+ text_1: &str,
+ text_2: &str,
+ text_3: &str,
+ text_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
+ #[doc = "The `writeln()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn writeln_5(
+ this: &HtmlDocument,
+ text_1: &str,
+ text_2: &str,
+ text_3: &str,
+ text_4: &str,
+ text_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
+ #[doc = "The `writeln()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn writeln_6(
+ this: &HtmlDocument,
+ text_1: &str,
+ text_2: &str,
+ text_3: &str,
+ text_4: &str,
+ text_5: &str,
+ text_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
+ #[doc = "The `writeln()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn writeln_7(
+ this: &HtmlDocument,
+ text_1: &str,
+ text_2: &str,
+ text_3: &str,
+ text_4: &str,
+ text_5: &str,
+ text_6: &str,
+ text_7: &str,
+ ) -> Result<(), JsValue>;
+ #[wasm_bindgen(catch, method, structural, js_class = "HTMLDocument", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
+ pub fn get(this: &HtmlDocument, name: &str) -> Result<::js_sys::Object, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlElement.rs b/vendor/web-sys/src/features/gen_HtmlElement.rs
new file mode 100644
index 000000000..b7850a6fc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlElement.rs
@@ -0,0 +1,1528 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLElement , typescript_type = "HTMLElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub type HtmlElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = title)]
+ #[doc = "Getter for the `title` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/title)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn title(this: &HtmlElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = title)]
+ #[doc = "Setter for the `title` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/title)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_title(this: &HtmlElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = scrollHeight)]
+ #[doc = "Getter for the `scrollHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn scroll_height(this: &HtmlElement) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = scrollHeight)]
+ #[doc = "Setter for the `scrollHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_scroll_height(this: &HtmlElement, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = scrollTop)]
+ #[doc = "Getter for the `scrollTop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollTop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn scroll_top(this: &HtmlElement) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = scrollTop)]
+ #[doc = "Setter for the `scrollTop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollTop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_scroll_top(this: &HtmlElement, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = lang)]
+ #[doc = "Getter for the `lang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn lang(this: &HtmlElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = lang)]
+ #[doc = "Setter for the `lang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_lang(this: &HtmlElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = dir)]
+ #[doc = "Getter for the `dir` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn dir(this: &HtmlElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = dir)]
+ #[doc = "Setter for the `dir` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_dir(this: &HtmlElement, value: &str);
+ #[cfg(feature = "DomStringMap")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = dataset)]
+ #[doc = "Getter for the `dataset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringMap`, `HtmlElement`*"]
+ pub fn dataset(this: &HtmlElement) -> DomStringMap;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = innerText)]
+ #[doc = "Getter for the `innerText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn inner_text(this: &HtmlElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = innerText)]
+ #[doc = "Setter for the `innerText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_inner_text(this: &HtmlElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = hidden)]
+ #[doc = "Getter for the `hidden` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidden)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn hidden(this: &HtmlElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = hidden)]
+ #[doc = "Setter for the `hidden` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidden)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_hidden(this: &HtmlElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = tabIndex)]
+ #[doc = "Getter for the `tabIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn tab_index(this: &HtmlElement) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = tabIndex)]
+ #[doc = "Setter for the `tabIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_tab_index(this: &HtmlElement, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = accessKey)]
+ #[doc = "Getter for the `accessKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn access_key(this: &HtmlElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = accessKey)]
+ #[doc = "Setter for the `accessKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_access_key(this: &HtmlElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = accessKeyLabel)]
+ #[doc = "Getter for the `accessKeyLabel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKeyLabel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn access_key_label(this: &HtmlElement) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = draggable)]
+ #[doc = "Getter for the `draggable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/draggable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn draggable(this: &HtmlElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = draggable)]
+ #[doc = "Setter for the `draggable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/draggable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_draggable(this: &HtmlElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = contentEditable)]
+ #[doc = "Getter for the `contentEditable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn content_editable(this: &HtmlElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = contentEditable)]
+ #[doc = "Setter for the `contentEditable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_content_editable(this: &HtmlElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = isContentEditable)]
+ #[doc = "Getter for the `isContentEditable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/isContentEditable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn is_content_editable(this: &HtmlElement) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = spellcheck)]
+ #[doc = "Getter for the `spellcheck` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/spellcheck)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn spellcheck(this: &HtmlElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = spellcheck)]
+ #[doc = "Setter for the `spellcheck` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/spellcheck)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_spellcheck(this: &HtmlElement, value: bool);
+ #[cfg(feature = "CssStyleDeclaration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = style)]
+ #[doc = "Getter for the `style` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`, `HtmlElement`*"]
+ pub fn style(this: &HtmlElement) -> CssStyleDeclaration;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = offsetParent)]
+ #[doc = "Getter for the `offsetParent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn offset_parent(this: &HtmlElement) -> Option<Element>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = offsetTop)]
+ #[doc = "Getter for the `offsetTop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetTop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn offset_top(this: &HtmlElement) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = offsetLeft)]
+ #[doc = "Getter for the `offsetLeft` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetLeft)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn offset_left(this: &HtmlElement) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = offsetWidth)]
+ #[doc = "Getter for the `offsetWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn offset_width(this: &HtmlElement) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = offsetHeight)]
+ #[doc = "Getter for the `offsetHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn offset_height(this: &HtmlElement) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = oncopy)]
+ #[doc = "Getter for the `oncopy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncopy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn oncopy(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = oncopy)]
+ #[doc = "Setter for the `oncopy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncopy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_oncopy(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = oncut)]
+ #[doc = "Getter for the `oncut` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn oncut(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = oncut)]
+ #[doc = "Setter for the `oncut` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_oncut(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onpaste)]
+ #[doc = "Getter for the `onpaste` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpaste)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onpaste(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onpaste)]
+ #[doc = "Setter for the `onpaste` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpaste)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onpaste(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onabort)]
+ #[doc = "Getter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onabort(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onabort)]
+ #[doc = "Setter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onabort(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onblur)]
+ #[doc = "Getter for the `onblur` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onblur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onblur(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onblur)]
+ #[doc = "Setter for the `onblur` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onblur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onblur(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onfocus)]
+ #[doc = "Getter for the `onfocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onfocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onfocus(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onfocus)]
+ #[doc = "Setter for the `onfocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onfocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onfocus(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onauxclick)]
+ #[doc = "Getter for the `onauxclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onauxclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onauxclick(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onauxclick)]
+ #[doc = "Setter for the `onauxclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onauxclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onauxclick(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = oncanplay)]
+ #[doc = "Getter for the `oncanplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn oncanplay(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = oncanplay)]
+ #[doc = "Setter for the `oncanplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_oncanplay(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = oncanplaythrough)]
+ #[doc = "Getter for the `oncanplaythrough` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplaythrough)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn oncanplaythrough(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = oncanplaythrough)]
+ #[doc = "Setter for the `oncanplaythrough` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplaythrough)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_oncanplaythrough(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onchange(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onchange(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onclick)]
+ #[doc = "Getter for the `onclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onclick(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onclick)]
+ #[doc = "Setter for the `onclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onclick(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onclose)]
+ #[doc = "Getter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onclose(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onclose)]
+ #[doc = "Setter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onclose(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = oncontextmenu)]
+ #[doc = "Getter for the `oncontextmenu` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncontextmenu)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn oncontextmenu(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = oncontextmenu)]
+ #[doc = "Setter for the `oncontextmenu` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncontextmenu)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_oncontextmenu(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ondblclick)]
+ #[doc = "Getter for the `ondblclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondblclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ondblclick(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ondblclick)]
+ #[doc = "Setter for the `ondblclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondblclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ondblclick(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ondrag)]
+ #[doc = "Getter for the `ondrag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ondrag(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ondrag)]
+ #[doc = "Setter for the `ondrag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ondrag(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ondragend)]
+ #[doc = "Getter for the `ondragend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ondragend(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ondragend)]
+ #[doc = "Setter for the `ondragend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ondragend(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ondragenter)]
+ #[doc = "Getter for the `ondragenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ondragenter(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ondragenter)]
+ #[doc = "Setter for the `ondragenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ondragenter(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ondragexit)]
+ #[doc = "Getter for the `ondragexit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragexit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ondragexit(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ondragexit)]
+ #[doc = "Setter for the `ondragexit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragexit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ondragexit(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ondragleave)]
+ #[doc = "Getter for the `ondragleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ondragleave(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ondragleave)]
+ #[doc = "Setter for the `ondragleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ondragleave(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ondragover)]
+ #[doc = "Getter for the `ondragover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ondragover(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ondragover)]
+ #[doc = "Setter for the `ondragover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ondragover(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ondragstart)]
+ #[doc = "Getter for the `ondragstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ondragstart(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ondragstart)]
+ #[doc = "Setter for the `ondragstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ondragstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ondrop)]
+ #[doc = "Getter for the `ondrop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ondrop(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ondrop)]
+ #[doc = "Setter for the `ondrop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ondrop(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ondurationchange)]
+ #[doc = "Getter for the `ondurationchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondurationchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ondurationchange(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ondurationchange)]
+ #[doc = "Setter for the `ondurationchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondurationchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ondurationchange(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onemptied)]
+ #[doc = "Getter for the `onemptied` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onemptied)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onemptied(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onemptied)]
+ #[doc = "Setter for the `onemptied` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onemptied)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onemptied(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onended)]
+ #[doc = "Getter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onended(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onended)]
+ #[doc = "Setter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onended(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = oninput)]
+ #[doc = "Getter for the `oninput` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninput)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn oninput(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = oninput)]
+ #[doc = "Setter for the `oninput` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninput)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_oninput(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = oninvalid)]
+ #[doc = "Getter for the `oninvalid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninvalid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn oninvalid(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = oninvalid)]
+ #[doc = "Setter for the `oninvalid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninvalid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_oninvalid(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onkeydown)]
+ #[doc = "Getter for the `onkeydown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeydown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onkeydown(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onkeydown)]
+ #[doc = "Setter for the `onkeydown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeydown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onkeydown(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onkeypress)]
+ #[doc = "Getter for the `onkeypress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeypress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onkeypress(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onkeypress)]
+ #[doc = "Setter for the `onkeypress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeypress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onkeypress(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onkeyup)]
+ #[doc = "Getter for the `onkeyup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeyup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onkeyup(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onkeyup)]
+ #[doc = "Setter for the `onkeyup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeyup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onkeyup(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onload)]
+ #[doc = "Getter for the `onload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onload(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onload)]
+ #[doc = "Setter for the `onload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onload(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onloadeddata)]
+ #[doc = "Getter for the `onloadeddata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadeddata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onloadeddata(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onloadeddata)]
+ #[doc = "Setter for the `onloadeddata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadeddata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onloadeddata(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onloadedmetadata)]
+ #[doc = "Getter for the `onloadedmetadata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadedmetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onloadedmetadata(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onloadedmetadata)]
+ #[doc = "Setter for the `onloadedmetadata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadedmetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onloadedmetadata(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onloadend)]
+ #[doc = "Getter for the `onloadend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onloadend(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onloadend)]
+ #[doc = "Setter for the `onloadend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onloadend(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onloadstart)]
+ #[doc = "Getter for the `onloadstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onloadstart(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onloadstart)]
+ #[doc = "Setter for the `onloadstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onloadstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onmousedown)]
+ #[doc = "Getter for the `onmousedown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousedown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onmousedown(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onmousedown)]
+ #[doc = "Setter for the `onmousedown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousedown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onmousedown(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onmouseenter)]
+ #[doc = "Getter for the `onmouseenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onmouseenter(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onmouseenter)]
+ #[doc = "Setter for the `onmouseenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onmouseenter(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onmouseleave)]
+ #[doc = "Getter for the `onmouseleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onmouseleave(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onmouseleave)]
+ #[doc = "Setter for the `onmouseleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onmouseleave(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onmousemove)]
+ #[doc = "Getter for the `onmousemove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousemove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onmousemove(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onmousemove)]
+ #[doc = "Setter for the `onmousemove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousemove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onmousemove(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onmouseout)]
+ #[doc = "Getter for the `onmouseout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onmouseout(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onmouseout)]
+ #[doc = "Setter for the `onmouseout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onmouseout(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onmouseover)]
+ #[doc = "Getter for the `onmouseover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onmouseover(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onmouseover)]
+ #[doc = "Setter for the `onmouseover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onmouseover(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onmouseup)]
+ #[doc = "Getter for the `onmouseup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onmouseup(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onmouseup)]
+ #[doc = "Setter for the `onmouseup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onmouseup(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onwheel)]
+ #[doc = "Getter for the `onwheel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwheel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onwheel(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onwheel)]
+ #[doc = "Setter for the `onwheel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwheel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onwheel(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onpause)]
+ #[doc = "Getter for the `onpause` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onpause(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onpause)]
+ #[doc = "Setter for the `onpause` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onpause(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onplay)]
+ #[doc = "Getter for the `onplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onplay(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onplay)]
+ #[doc = "Setter for the `onplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onplay(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onplaying)]
+ #[doc = "Getter for the `onplaying` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplaying)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onplaying(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onplaying)]
+ #[doc = "Setter for the `onplaying` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplaying)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onplaying(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onprogress)]
+ #[doc = "Getter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onprogress(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onprogress)]
+ #[doc = "Setter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onprogress(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onratechange)]
+ #[doc = "Getter for the `onratechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onratechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onratechange(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onratechange)]
+ #[doc = "Setter for the `onratechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onratechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onratechange(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onreset)]
+ #[doc = "Getter for the `onreset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onreset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onreset(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onreset)]
+ #[doc = "Setter for the `onreset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onreset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onreset(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onresize)]
+ #[doc = "Getter for the `onresize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onresize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onresize(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onresize)]
+ #[doc = "Setter for the `onresize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onresize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onresize(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onscroll)]
+ #[doc = "Getter for the `onscroll` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onscroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onscroll(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onscroll)]
+ #[doc = "Setter for the `onscroll` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onscroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onscroll(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onseeked)]
+ #[doc = "Getter for the `onseeked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onseeked(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onseeked)]
+ #[doc = "Setter for the `onseeked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onseeked(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onseeking)]
+ #[doc = "Getter for the `onseeking` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeking)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onseeking(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onseeking)]
+ #[doc = "Setter for the `onseeking` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeking)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onseeking(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onselect)]
+ #[doc = "Getter for the `onselect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onselect(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onselect)]
+ #[doc = "Setter for the `onselect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onselect(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onshow)]
+ #[doc = "Getter for the `onshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onshow(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onshow)]
+ #[doc = "Setter for the `onshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onshow(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onstalled)]
+ #[doc = "Getter for the `onstalled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onstalled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onstalled(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onstalled)]
+ #[doc = "Setter for the `onstalled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onstalled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onstalled(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onsubmit)]
+ #[doc = "Getter for the `onsubmit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsubmit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onsubmit(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onsubmit)]
+ #[doc = "Setter for the `onsubmit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsubmit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onsubmit(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onsuspend)]
+ #[doc = "Getter for the `onsuspend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsuspend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onsuspend(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onsuspend)]
+ #[doc = "Setter for the `onsuspend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsuspend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onsuspend(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ontimeupdate)]
+ #[doc = "Getter for the `ontimeupdate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontimeupdate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ontimeupdate(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ontimeupdate)]
+ #[doc = "Setter for the `ontimeupdate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontimeupdate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ontimeupdate(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onvolumechange)]
+ #[doc = "Getter for the `onvolumechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onvolumechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onvolumechange(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onvolumechange)]
+ #[doc = "Setter for the `onvolumechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onvolumechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onvolumechange(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onwaiting)]
+ #[doc = "Getter for the `onwaiting` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwaiting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onwaiting(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onwaiting)]
+ #[doc = "Setter for the `onwaiting` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwaiting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onwaiting(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onselectstart)]
+ #[doc = "Getter for the `onselectstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselectstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onselectstart(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onselectstart)]
+ #[doc = "Setter for the `onselectstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselectstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onselectstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ontoggle)]
+ #[doc = "Getter for the `ontoggle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontoggle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ontoggle(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ontoggle)]
+ #[doc = "Setter for the `ontoggle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontoggle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ontoggle(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onpointercancel)]
+ #[doc = "Getter for the `onpointercancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointercancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onpointercancel(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onpointercancel)]
+ #[doc = "Setter for the `onpointercancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointercancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onpointercancel(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onpointerdown)]
+ #[doc = "Getter for the `onpointerdown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerdown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onpointerdown(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onpointerdown)]
+ #[doc = "Setter for the `onpointerdown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerdown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onpointerdown(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onpointerup)]
+ #[doc = "Getter for the `onpointerup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onpointerup(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onpointerup)]
+ #[doc = "Setter for the `onpointerup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onpointerup(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onpointermove)]
+ #[doc = "Getter for the `onpointermove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointermove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onpointermove(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onpointermove)]
+ #[doc = "Setter for the `onpointermove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointermove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onpointermove(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onpointerout)]
+ #[doc = "Getter for the `onpointerout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onpointerout(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onpointerout)]
+ #[doc = "Setter for the `onpointerout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onpointerout(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onpointerover)]
+ #[doc = "Getter for the `onpointerover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onpointerover(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onpointerover)]
+ #[doc = "Setter for the `onpointerover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onpointerover(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onpointerenter)]
+ #[doc = "Getter for the `onpointerenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onpointerenter(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onpointerenter)]
+ #[doc = "Setter for the `onpointerenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onpointerenter(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onpointerleave)]
+ #[doc = "Getter for the `onpointerleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onpointerleave(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onpointerleave)]
+ #[doc = "Setter for the `onpointerleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onpointerleave(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ongotpointercapture)]
+ #[doc = "Getter for the `ongotpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ongotpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ongotpointercapture(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ongotpointercapture)]
+ #[doc = "Setter for the `ongotpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ongotpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ongotpointercapture(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onlostpointercapture)]
+ #[doc = "Getter for the `onlostpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onlostpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onlostpointercapture(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onlostpointercapture)]
+ #[doc = "Setter for the `onlostpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onlostpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onlostpointercapture(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onanimationcancel)]
+ #[doc = "Getter for the `onanimationcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onanimationcancel(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onanimationcancel)]
+ #[doc = "Setter for the `onanimationcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onanimationcancel(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onanimationend)]
+ #[doc = "Getter for the `onanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onanimationend(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onanimationend)]
+ #[doc = "Setter for the `onanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onanimationend(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onanimationiteration)]
+ #[doc = "Getter for the `onanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onanimationiteration(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onanimationiteration)]
+ #[doc = "Setter for the `onanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onanimationiteration(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onanimationstart)]
+ #[doc = "Getter for the `onanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onanimationstart(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onanimationstart)]
+ #[doc = "Setter for the `onanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onanimationstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ontransitioncancel)]
+ #[doc = "Getter for the `ontransitioncancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitioncancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ontransitioncancel(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ontransitioncancel)]
+ #[doc = "Setter for the `ontransitioncancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitioncancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ontransitioncancel(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ontransitionend)]
+ #[doc = "Getter for the `ontransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ontransitionend(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ontransitionend)]
+ #[doc = "Setter for the `ontransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ontransitionend(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ontransitionrun)]
+ #[doc = "Getter for the `ontransitionrun` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionrun)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ontransitionrun(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ontransitionrun)]
+ #[doc = "Setter for the `ontransitionrun` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionrun)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ontransitionrun(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ontransitionstart)]
+ #[doc = "Getter for the `ontransitionstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ontransitionstart(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ontransitionstart)]
+ #[doc = "Setter for the `ontransitionstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ontransitionstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onwebkitanimationend)]
+ #[doc = "Getter for the `onwebkitanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onwebkitanimationend(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onwebkitanimationend)]
+ #[doc = "Setter for the `onwebkitanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onwebkitanimationend(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onwebkitanimationiteration)]
+ #[doc = "Getter for the `onwebkitanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onwebkitanimationiteration(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onwebkitanimationiteration)]
+ #[doc = "Setter for the `onwebkitanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onwebkitanimationiteration(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onwebkitanimationstart)]
+ #[doc = "Getter for the `onwebkitanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onwebkitanimationstart(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onwebkitanimationstart)]
+ #[doc = "Setter for the `onwebkitanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onwebkitanimationstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onwebkittransitionend)]
+ #[doc = "Getter for the `onwebkittransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkittransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onwebkittransitionend(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onwebkittransitionend)]
+ #[doc = "Setter for the `onwebkittransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkittransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onwebkittransitionend(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn onerror(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_onerror(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ontouchstart)]
+ #[doc = "Getter for the `ontouchstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ontouchstart(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ontouchstart)]
+ #[doc = "Setter for the `ontouchstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ontouchstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ontouchend)]
+ #[doc = "Getter for the `ontouchend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ontouchend(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ontouchend)]
+ #[doc = "Setter for the `ontouchend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ontouchend(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ontouchmove)]
+ #[doc = "Getter for the `ontouchmove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchmove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ontouchmove(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ontouchmove)]
+ #[doc = "Setter for the `ontouchmove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchmove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ontouchmove(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLElement" , js_name = ontouchcancel)]
+ #[doc = "Getter for the `ontouchcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn ontouchcancel(this: &HtmlElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLElement" , js_name = ontouchcancel)]
+ #[doc = "Setter for the `ontouchcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn set_ontouchcancel(this: &HtmlElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLElement" , js_name = blur)]
+ #[doc = "The `blur()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/blur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn blur(this: &HtmlElement) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLElement" , js_name = click)]
+ #[doc = "The `click()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn click(this: &HtmlElement);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLElement" , js_name = focus)]
+ #[doc = "The `focus()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
+ pub fn focus(this: &HtmlElement) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlEmbedElement.rs b/vendor/web-sys/src/features/gen_HtmlEmbedElement.rs
new file mode 100644
index 000000000..704b7d125
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlEmbedElement.rs
@@ -0,0 +1,106 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLEmbedElement , typescript_type = "HTMLEmbedElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlEmbedElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub type HtmlEmbedElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = src)]
+ #[doc = "Getter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub fn src(this: &HtmlEmbedElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = src)]
+ #[doc = "Setter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub fn set_src(this: &HtmlEmbedElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub fn type_(this: &HtmlEmbedElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub fn set_type(this: &HtmlEmbedElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub fn width(this: &HtmlEmbedElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub fn set_width(this: &HtmlEmbedElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub fn height(this: &HtmlEmbedElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = height)]
+ #[doc = "Setter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub fn set_height(this: &HtmlEmbedElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub fn align(this: &HtmlEmbedElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub fn set_align(this: &HtmlEmbedElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub fn name(this: &HtmlEmbedElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
+ pub fn set_name(this: &HtmlEmbedElement, value: &str);
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (method , structural , js_class = "HTMLEmbedElement" , js_name = getSVGDocument)]
+ #[doc = "The `getSVGDocument()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/getSVGDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlEmbedElement`*"]
+ pub fn get_svg_document(this: &HtmlEmbedElement) -> Option<Document>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlFieldSetElement.rs b/vendor/web-sys/src/features/gen_HtmlFieldSetElement.rs
new file mode 100644
index 000000000..8c32c0171
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlFieldSetElement.rs
@@ -0,0 +1,108 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLFieldSetElement , typescript_type = "HTMLFieldSetElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlFieldSetElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
+ pub type HtmlFieldSetElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = disabled)]
+ #[doc = "Getter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
+ pub fn disabled(this: &HtmlFieldSetElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFieldSetElement" , js_name = disabled)]
+ #[doc = "Setter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
+ pub fn set_disabled(this: &HtmlFieldSetElement, value: bool);
+ #[cfg(feature = "HtmlFormElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = form)]
+ #[doc = "Getter for the `form` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/form)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`, `HtmlFormElement`*"]
+ pub fn form(this: &HtmlFieldSetElement) -> Option<HtmlFormElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
+ pub fn name(this: &HtmlFieldSetElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFieldSetElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
+ pub fn set_name(this: &HtmlFieldSetElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
+ pub fn type_(this: &HtmlFieldSetElement) -> String;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = elements)]
+ #[doc = "Getter for the `elements` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/elements)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlFieldSetElement`*"]
+ pub fn elements(this: &HtmlFieldSetElement) -> HtmlCollection;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = willValidate)]
+ #[doc = "Getter for the `willValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/willValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
+ pub fn will_validate(this: &HtmlFieldSetElement) -> bool;
+ #[cfg(feature = "ValidityState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = validity)]
+ #[doc = "Getter for the `validity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/validity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`, `ValidityState`*"]
+ pub fn validity(this: &HtmlFieldSetElement) -> ValidityState;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLFieldSetElement" , js_name = validationMessage)]
+ #[doc = "Getter for the `validationMessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/validationMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
+ pub fn validation_message(this: &HtmlFieldSetElement) -> Result<String, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLFieldSetElement" , js_name = checkValidity)]
+ #[doc = "The `checkValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/checkValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
+ pub fn check_validity(this: &HtmlFieldSetElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLFieldSetElement" , js_name = reportValidity)]
+ #[doc = "The `reportValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/reportValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
+ pub fn report_validity(this: &HtmlFieldSetElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLFieldSetElement" , js_name = setCustomValidity)]
+ #[doc = "The `setCustomValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/setCustomValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFieldSetElement`*"]
+ pub fn set_custom_validity(this: &HtmlFieldSetElement, error: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlFontElement.rs b/vendor/web-sys/src/features/gen_HtmlFontElement.rs
new file mode 100644
index 000000000..d12ce40cc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlFontElement.rs
@@ -0,0 +1,56 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLFontElement , typescript_type = "HTMLFontElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlFontElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
+ pub type HtmlFontElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFontElement" , js_name = color)]
+ #[doc = "Getter for the `color` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
+ pub fn color(this: &HtmlFontElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFontElement" , js_name = color)]
+ #[doc = "Setter for the `color` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
+ pub fn set_color(this: &HtmlFontElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFontElement" , js_name = face)]
+ #[doc = "Getter for the `face` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/face)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
+ pub fn face(this: &HtmlFontElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFontElement" , js_name = face)]
+ #[doc = "Setter for the `face` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/face)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
+ pub fn set_face(this: &HtmlFontElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFontElement" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
+ pub fn size(this: &HtmlFontElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFontElement" , js_name = size)]
+ #[doc = "Setter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
+ pub fn set_size(this: &HtmlFontElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlFormControlsCollection.rs b/vendor/web-sys/src/features/gen_HtmlFormControlsCollection.rs
new file mode 100644
index 000000000..1972cc54b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlFormControlsCollection.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlCollection , extends = :: js_sys :: Object , js_name = HTMLFormControlsCollection , typescript_type = "HTMLFormControlsCollection")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlFormControlsCollection` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormControlsCollection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormControlsCollection`*"]
+ pub type HtmlFormControlsCollection;
+ # [wasm_bindgen (method , structural , js_class = "HTMLFormControlsCollection" , js_name = namedItem)]
+ #[doc = "The `namedItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormControlsCollection/namedItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormControlsCollection`*"]
+ pub fn named_item(this: &HtmlFormControlsCollection, name: &str) -> Option<::js_sys::Object>;
+ #[wasm_bindgen(
+ method,
+ structural,
+ js_class = "HTMLFormControlsCollection",
+ indexing_getter
+ )]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormControlsCollection`*"]
+ pub fn get(this: &HtmlFormControlsCollection, name: &str) -> Option<::js_sys::Object>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlFormElement.rs b/vendor/web-sys/src/features/gen_HtmlFormElement.rs
new file mode 100644
index 000000000..0b8e49735
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlFormElement.rs
@@ -0,0 +1,197 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLFormElement , typescript_type = "HTMLFormElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlFormElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub type HtmlFormElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFormElement" , js_name = acceptCharset)]
+ #[doc = "Getter for the `acceptCharset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/acceptCharset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn accept_charset(this: &HtmlFormElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFormElement" , js_name = acceptCharset)]
+ #[doc = "Setter for the `acceptCharset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/acceptCharset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn set_accept_charset(this: &HtmlFormElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFormElement" , js_name = action)]
+ #[doc = "Getter for the `action` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/action)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn action(this: &HtmlFormElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFormElement" , js_name = action)]
+ #[doc = "Setter for the `action` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/action)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn set_action(this: &HtmlFormElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFormElement" , js_name = autocomplete)]
+ #[doc = "Getter for the `autocomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/autocomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn autocomplete(this: &HtmlFormElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFormElement" , js_name = autocomplete)]
+ #[doc = "Setter for the `autocomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/autocomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn set_autocomplete(this: &HtmlFormElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFormElement" , js_name = enctype)]
+ #[doc = "Getter for the `enctype` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/enctype)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn enctype(this: &HtmlFormElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFormElement" , js_name = enctype)]
+ #[doc = "Setter for the `enctype` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/enctype)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn set_enctype(this: &HtmlFormElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFormElement" , js_name = encoding)]
+ #[doc = "Getter for the `encoding` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/encoding)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn encoding(this: &HtmlFormElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFormElement" , js_name = encoding)]
+ #[doc = "Setter for the `encoding` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/encoding)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn set_encoding(this: &HtmlFormElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFormElement" , js_name = method)]
+ #[doc = "Getter for the `method` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/method)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn method(this: &HtmlFormElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFormElement" , js_name = method)]
+ #[doc = "Setter for the `method` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/method)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn set_method(this: &HtmlFormElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFormElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn name(this: &HtmlFormElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFormElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn set_name(this: &HtmlFormElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFormElement" , js_name = noValidate)]
+ #[doc = "Getter for the `noValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/noValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn no_validate(this: &HtmlFormElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFormElement" , js_name = noValidate)]
+ #[doc = "Setter for the `noValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/noValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn set_no_validate(this: &HtmlFormElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFormElement" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn target(this: &HtmlFormElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFormElement" , js_name = target)]
+ #[doc = "Setter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn set_target(this: &HtmlFormElement, value: &str);
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFormElement" , js_name = elements)]
+ #[doc = "Getter for the `elements` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlFormElement`*"]
+ pub fn elements(this: &HtmlFormElement) -> HtmlCollection;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFormElement" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn length(this: &HtmlFormElement) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "HTMLFormElement" , js_name = checkValidity)]
+ #[doc = "The `checkValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/checkValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn check_validity(this: &HtmlFormElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLFormElement" , js_name = reportValidity)]
+ #[doc = "The `reportValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/reportValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn report_validity(this: &HtmlFormElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLFormElement" , js_name = reset)]
+ #[doc = "The `reset()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/reset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn reset(this: &HtmlFormElement);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLFormElement" , js_name = submit)]
+ #[doc = "The `submit()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn submit(this: &HtmlFormElement) -> Result<(), JsValue>;
+ #[wasm_bindgen(method, structural, js_class = "HTMLFormElement", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn get_with_index(this: &HtmlFormElement, index: u32) -> Option<Element>;
+ #[wasm_bindgen(method, structural, js_class = "HTMLFormElement", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`*"]
+ pub fn get_with_name(this: &HtmlFormElement, name: &str) -> Option<::js_sys::Object>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlFrameElement.rs b/vendor/web-sys/src/features/gen_HtmlFrameElement.rs
new file mode 100644
index 000000000..6f7b5afc4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlFrameElement.rs
@@ -0,0 +1,142 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLFrameElement , typescript_type = "HTMLFrameElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlFrameElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub type HtmlFrameElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn name(this: &HtmlFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn set_name(this: &HtmlFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = scrolling)]
+ #[doc = "Getter for the `scrolling` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/scrolling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn scrolling(this: &HtmlFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = scrolling)]
+ #[doc = "Setter for the `scrolling` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/scrolling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn set_scrolling(this: &HtmlFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = src)]
+ #[doc = "Getter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn src(this: &HtmlFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = src)]
+ #[doc = "Setter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn set_src(this: &HtmlFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = frameBorder)]
+ #[doc = "Getter for the `frameBorder` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/frameBorder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn frame_border(this: &HtmlFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = frameBorder)]
+ #[doc = "Setter for the `frameBorder` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/frameBorder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn set_frame_border(this: &HtmlFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = longDesc)]
+ #[doc = "Getter for the `longDesc` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/longDesc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn long_desc(this: &HtmlFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = longDesc)]
+ #[doc = "Setter for the `longDesc` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/longDesc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn set_long_desc(this: &HtmlFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = noResize)]
+ #[doc = "Getter for the `noResize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/noResize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn no_resize(this: &HtmlFrameElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = noResize)]
+ #[doc = "Setter for the `noResize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/noResize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn set_no_resize(this: &HtmlFrameElement, value: bool);
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = contentDocument)]
+ #[doc = "Getter for the `contentDocument` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/contentDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlFrameElement`*"]
+ pub fn content_document(this: &HtmlFrameElement) -> Option<Document>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = contentWindow)]
+ #[doc = "Getter for the `contentWindow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/contentWindow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`, `Window`*"]
+ pub fn content_window(this: &HtmlFrameElement) -> Option<Window>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = marginHeight)]
+ #[doc = "Getter for the `marginHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn margin_height(this: &HtmlFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = marginHeight)]
+ #[doc = "Setter for the `marginHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn set_margin_height(this: &HtmlFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = marginWidth)]
+ #[doc = "Getter for the `marginWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn margin_width(this: &HtmlFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = marginWidth)]
+ #[doc = "Setter for the `marginWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
+ pub fn set_margin_width(this: &HtmlFrameElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlFrameSetElement.rs b/vendor/web-sys/src/features/gen_HtmlFrameSetElement.rs
new file mode 100644
index 000000000..eeda63cfa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlFrameSetElement.rs
@@ -0,0 +1,238 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLFrameSetElement , typescript_type = "HTMLFrameSetElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlFrameSetElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub type HtmlFrameSetElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = cols)]
+ #[doc = "Getter for the `cols` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/cols)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn cols(this: &HtmlFrameSetElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = cols)]
+ #[doc = "Setter for the `cols` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/cols)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_cols(this: &HtmlFrameSetElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = rows)]
+ #[doc = "Getter for the `rows` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/rows)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn rows(this: &HtmlFrameSetElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = rows)]
+ #[doc = "Setter for the `rows` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/rows)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_rows(this: &HtmlFrameSetElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onafterprint)]
+ #[doc = "Getter for the `onafterprint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onafterprint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onafterprint(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onafterprint)]
+ #[doc = "Setter for the `onafterprint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onafterprint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onafterprint(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onbeforeprint)]
+ #[doc = "Getter for the `onbeforeprint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onbeforeprint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onbeforeprint(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onbeforeprint)]
+ #[doc = "Setter for the `onbeforeprint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onbeforeprint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onbeforeprint(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onbeforeunload)]
+ #[doc = "Getter for the `onbeforeunload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onbeforeunload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onbeforeunload(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onbeforeunload)]
+ #[doc = "Setter for the `onbeforeunload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onbeforeunload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onbeforeunload(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onhashchange)]
+ #[doc = "Getter for the `onhashchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onhashchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onhashchange(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onhashchange)]
+ #[doc = "Setter for the `onhashchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onhashchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onhashchange(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onlanguagechange)]
+ #[doc = "Getter for the `onlanguagechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onlanguagechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onlanguagechange(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onlanguagechange)]
+ #[doc = "Setter for the `onlanguagechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onlanguagechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onlanguagechange(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onmessage(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onmessage(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onmessageerror)]
+ #[doc = "Getter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onmessageerror(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onmessageerror)]
+ #[doc = "Setter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onmessageerror(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onoffline)]
+ #[doc = "Getter for the `onoffline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onoffline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onoffline(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onoffline)]
+ #[doc = "Setter for the `onoffline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onoffline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onoffline(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = ononline)]
+ #[doc = "Getter for the `ononline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/ononline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn ononline(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = ononline)]
+ #[doc = "Setter for the `ononline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/ononline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_ononline(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onpagehide)]
+ #[doc = "Getter for the `onpagehide` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpagehide)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onpagehide(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onpagehide)]
+ #[doc = "Setter for the `onpagehide` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpagehide)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onpagehide(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onpageshow)]
+ #[doc = "Getter for the `onpageshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpageshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onpageshow(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onpageshow)]
+ #[doc = "Setter for the `onpageshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpageshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onpageshow(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onpopstate)]
+ #[doc = "Getter for the `onpopstate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpopstate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onpopstate(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onpopstate)]
+ #[doc = "Setter for the `onpopstate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpopstate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onpopstate(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onstorage)]
+ #[doc = "Getter for the `onstorage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onstorage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onstorage(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onstorage)]
+ #[doc = "Setter for the `onstorage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onstorage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onstorage(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameSetElement" , js_name = onunload)]
+ #[doc = "Getter for the `onunload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onunload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn onunload(this: &HtmlFrameSetElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameSetElement" , js_name = onunload)]
+ #[doc = "Setter for the `onunload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onunload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFrameSetElement`*"]
+ pub fn set_onunload(this: &HtmlFrameSetElement, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlHeadElement.rs b/vendor/web-sys/src/features/gen_HtmlHeadElement.rs
new file mode 100644
index 000000000..23fbca796
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlHeadElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLHeadElement , typescript_type = "HTMLHeadElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlHeadElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHeadElement`*"]
+ pub type HtmlHeadElement;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlHeadingElement.rs b/vendor/web-sys/src/features/gen_HtmlHeadingElement.rs
new file mode 100644
index 000000000..0819e7dd8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlHeadingElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLHeadingElement , typescript_type = "HTMLHeadingElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlHeadingElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHeadingElement`*"]
+ pub type HtmlHeadingElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLHeadingElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHeadingElement`*"]
+ pub fn align(this: &HtmlHeadingElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLHeadingElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHeadingElement`*"]
+ pub fn set_align(this: &HtmlHeadingElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlHrElement.rs b/vendor/web-sys/src/features/gen_HtmlHrElement.rs
new file mode 100644
index 000000000..90b7b9b35
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlHrElement.rs
@@ -0,0 +1,84 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLHRElement , typescript_type = "HTMLHRElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlHrElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
+ pub type HtmlHrElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLHRElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
+ pub fn align(this: &HtmlHrElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLHRElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
+ pub fn set_align(this: &HtmlHrElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLHRElement" , js_name = color)]
+ #[doc = "Getter for the `color` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/color)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
+ pub fn color(this: &HtmlHrElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLHRElement" , js_name = color)]
+ #[doc = "Setter for the `color` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/color)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
+ pub fn set_color(this: &HtmlHrElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLHRElement" , js_name = noShade)]
+ #[doc = "Getter for the `noShade` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/noShade)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
+ pub fn no_shade(this: &HtmlHrElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLHRElement" , js_name = noShade)]
+ #[doc = "Setter for the `noShade` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/noShade)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
+ pub fn set_no_shade(this: &HtmlHrElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLHRElement" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
+ pub fn size(this: &HtmlHrElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLHRElement" , js_name = size)]
+ #[doc = "Setter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
+ pub fn set_size(this: &HtmlHrElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLHRElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
+ pub fn width(this: &HtmlHrElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLHRElement" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
+ pub fn set_width(this: &HtmlHrElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlHtmlElement.rs b/vendor/web-sys/src/features/gen_HtmlHtmlElement.rs
new file mode 100644
index 000000000..f3f8c63e3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlHtmlElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLHtmlElement , typescript_type = "HTMLHtmlElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlHtmlElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHtmlElement`*"]
+ pub type HtmlHtmlElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLHtmlElement" , js_name = version)]
+ #[doc = "Getter for the `version` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement/version)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHtmlElement`*"]
+ pub fn version(this: &HtmlHtmlElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLHtmlElement" , js_name = version)]
+ #[doc = "Setter for the `version` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement/version)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlHtmlElement`*"]
+ pub fn set_version(this: &HtmlHtmlElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlIFrameElement.rs b/vendor/web-sys/src/features/gen_HtmlIFrameElement.rs
new file mode 100644
index 000000000..5a2845293
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlIFrameElement.rs
@@ -0,0 +1,242 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLIFrameElement , typescript_type = "HTMLIFrameElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlIFrameElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub type HtmlIFrameElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = src)]
+ #[doc = "Getter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn src(this: &HtmlIFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = src)]
+ #[doc = "Setter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_src(this: &HtmlIFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = srcdoc)]
+ #[doc = "Getter for the `srcdoc` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/srcdoc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn srcdoc(this: &HtmlIFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = srcdoc)]
+ #[doc = "Setter for the `srcdoc` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/srcdoc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_srcdoc(this: &HtmlIFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn name(this: &HtmlIFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_name(this: &HtmlIFrameElement, value: &str);
+ #[cfg(feature = "DomTokenList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = sandbox)]
+ #[doc = "Getter for the `sandbox` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/sandbox)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `HtmlIFrameElement`*"]
+ pub fn sandbox(this: &HtmlIFrameElement) -> DomTokenList;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = allowFullscreen)]
+ #[doc = "Getter for the `allowFullscreen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowFullscreen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn allow_fullscreen(this: &HtmlIFrameElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = allowFullscreen)]
+ #[doc = "Setter for the `allowFullscreen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowFullscreen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_allow_fullscreen(this: &HtmlIFrameElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = allowPaymentRequest)]
+ #[doc = "Getter for the `allowPaymentRequest` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowPaymentRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn allow_payment_request(this: &HtmlIFrameElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = allowPaymentRequest)]
+ #[doc = "Setter for the `allowPaymentRequest` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowPaymentRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_allow_payment_request(this: &HtmlIFrameElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn width(this: &HtmlIFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_width(this: &HtmlIFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn height(this: &HtmlIFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = height)]
+ #[doc = "Setter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_height(this: &HtmlIFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = referrerPolicy)]
+ #[doc = "Getter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn referrer_policy(this: &HtmlIFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = referrerPolicy)]
+ #[doc = "Setter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_referrer_policy(this: &HtmlIFrameElement, value: &str);
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = contentDocument)]
+ #[doc = "Getter for the `contentDocument` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/contentDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlIFrameElement`*"]
+ pub fn content_document(this: &HtmlIFrameElement) -> Option<Document>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = contentWindow)]
+ #[doc = "Getter for the `contentWindow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/contentWindow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`, `Window`*"]
+ pub fn content_window(this: &HtmlIFrameElement) -> Option<Window>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn align(this: &HtmlIFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_align(this: &HtmlIFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = scrolling)]
+ #[doc = "Getter for the `scrolling` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/scrolling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn scrolling(this: &HtmlIFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = scrolling)]
+ #[doc = "Setter for the `scrolling` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/scrolling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_scrolling(this: &HtmlIFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = frameBorder)]
+ #[doc = "Getter for the `frameBorder` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/frameBorder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn frame_border(this: &HtmlIFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = frameBorder)]
+ #[doc = "Setter for the `frameBorder` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/frameBorder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_frame_border(this: &HtmlIFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = longDesc)]
+ #[doc = "Getter for the `longDesc` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/longDesc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn long_desc(this: &HtmlIFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = longDesc)]
+ #[doc = "Setter for the `longDesc` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/longDesc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_long_desc(this: &HtmlIFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = marginHeight)]
+ #[doc = "Getter for the `marginHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/marginHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn margin_height(this: &HtmlIFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = marginHeight)]
+ #[doc = "Setter for the `marginHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/marginHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_margin_height(this: &HtmlIFrameElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLIFrameElement" , js_name = marginWidth)]
+ #[doc = "Getter for the `marginWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/marginWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn margin_width(this: &HtmlIFrameElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLIFrameElement" , js_name = marginWidth)]
+ #[doc = "Setter for the `marginWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/marginWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlIFrameElement`*"]
+ pub fn set_margin_width(this: &HtmlIFrameElement, value: &str);
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (method , structural , js_class = "HTMLIFrameElement" , js_name = getSVGDocument)]
+ #[doc = "The `getSVGDocument()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/getSVGDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlIFrameElement`*"]
+ pub fn get_svg_document(this: &HtmlIFrameElement) -> Option<Document>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlImageElement.rs b/vendor/web-sys/src/features/gen_HtmlImageElement.rs
new file mode 100644
index 000000000..692dc64b6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlImageElement.rs
@@ -0,0 +1,308 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLImageElement , typescript_type = "HTMLImageElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlImageElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub type HtmlImageElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = alt)]
+ #[doc = "Getter for the `alt` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/alt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn alt(this: &HtmlImageElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = alt)]
+ #[doc = "Setter for the `alt` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/alt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_alt(this: &HtmlImageElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = src)]
+ #[doc = "Getter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn src(this: &HtmlImageElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = src)]
+ #[doc = "Setter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_src(this: &HtmlImageElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = srcset)]
+ #[doc = "Getter for the `srcset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn srcset(this: &HtmlImageElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = srcset)]
+ #[doc = "Setter for the `srcset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_srcset(this: &HtmlImageElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = crossOrigin)]
+ #[doc = "Getter for the `crossOrigin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn cross_origin(this: &HtmlImageElement) -> Option<String>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = crossOrigin)]
+ #[doc = "Setter for the `crossOrigin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_cross_origin(this: &HtmlImageElement, value: Option<&str>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = useMap)]
+ #[doc = "Getter for the `useMap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/useMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn use_map(this: &HtmlImageElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = useMap)]
+ #[doc = "Setter for the `useMap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/useMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_use_map(this: &HtmlImageElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = referrerPolicy)]
+ #[doc = "Getter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn referrer_policy(this: &HtmlImageElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = referrerPolicy)]
+ #[doc = "Setter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_referrer_policy(this: &HtmlImageElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = isMap)]
+ #[doc = "Getter for the `isMap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/isMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn is_map(this: &HtmlImageElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = isMap)]
+ #[doc = "Setter for the `isMap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/isMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_is_map(this: &HtmlImageElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn width(this: &HtmlImageElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_width(this: &HtmlImageElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn height(this: &HtmlImageElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = height)]
+ #[doc = "Setter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_height(this: &HtmlImageElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = decoding)]
+ #[doc = "Getter for the `decoding` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/decoding)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn decoding(this: &HtmlImageElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = decoding)]
+ #[doc = "Setter for the `decoding` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/decoding)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_decoding(this: &HtmlImageElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = naturalWidth)]
+ #[doc = "Getter for the `naturalWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/naturalWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn natural_width(this: &HtmlImageElement) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = naturalHeight)]
+ #[doc = "Getter for the `naturalHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/naturalHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn natural_height(this: &HtmlImageElement) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = complete)]
+ #[doc = "Getter for the `complete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/complete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn complete(this: &HtmlImageElement) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn name(this: &HtmlImageElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_name(this: &HtmlImageElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn align(this: &HtmlImageElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_align(this: &HtmlImageElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = hspace)]
+ #[doc = "Getter for the `hspace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/hspace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn hspace(this: &HtmlImageElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = hspace)]
+ #[doc = "Setter for the `hspace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/hspace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_hspace(this: &HtmlImageElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = vspace)]
+ #[doc = "Getter for the `vspace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/vspace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn vspace(this: &HtmlImageElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = vspace)]
+ #[doc = "Setter for the `vspace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/vspace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_vspace(this: &HtmlImageElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = longDesc)]
+ #[doc = "Getter for the `longDesc` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/longDesc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn long_desc(this: &HtmlImageElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = longDesc)]
+ #[doc = "Setter for the `longDesc` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/longDesc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_long_desc(this: &HtmlImageElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = border)]
+ #[doc = "Getter for the `border` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/border)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn border(this: &HtmlImageElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = border)]
+ #[doc = "Setter for the `border` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/border)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_border(this: &HtmlImageElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = sizes)]
+ #[doc = "Getter for the `sizes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/sizes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn sizes(this: &HtmlImageElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLImageElement" , js_name = sizes)]
+ #[doc = "Setter for the `sizes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/sizes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn set_sizes(this: &HtmlImageElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLImageElement" , js_name = currentSrc)]
+ #[doc = "Getter for the `currentSrc` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/currentSrc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn current_src(this: &HtmlImageElement) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "Image")]
+ #[doc = "The `new HtmlImageElement(..)` constructor, creating a new instance of `HtmlImageElement`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/HTMLImageElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn new() -> Result<HtmlImageElement, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Image")]
+ #[doc = "The `new HtmlImageElement(..)` constructor, creating a new instance of `HtmlImageElement`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/HTMLImageElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn new_with_width(width: u32) -> Result<HtmlImageElement, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Image")]
+ #[doc = "The `new HtmlImageElement(..)` constructor, creating a new instance of `HtmlImageElement`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/HTMLImageElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn new_with_width_and_height(width: u32, height: u32) -> Result<HtmlImageElement, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLImageElement" , js_name = decode)]
+ #[doc = "The `decode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/decode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`*"]
+ pub fn decode(this: &HtmlImageElement) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlInputElement.rs b/vendor/web-sys/src/features/gen_HtmlInputElement.rs
new file mode 100644
index 000000000..506557d24
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlInputElement.rs
@@ -0,0 +1,708 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLInputElement , typescript_type = "HTMLInputElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlInputElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub type HtmlInputElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = accept)]
+ #[doc = "Getter for the `accept` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/accept)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn accept(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = accept)]
+ #[doc = "Setter for the `accept` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/accept)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_accept(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = alt)]
+ #[doc = "Getter for the `alt` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/alt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn alt(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = alt)]
+ #[doc = "Setter for the `alt` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/alt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_alt(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = autocomplete)]
+ #[doc = "Getter for the `autocomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn autocomplete(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = autocomplete)]
+ #[doc = "Setter for the `autocomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_autocomplete(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = autofocus)]
+ #[doc = "Getter for the `autofocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autofocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn autofocus(this: &HtmlInputElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = autofocus)]
+ #[doc = "Setter for the `autofocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autofocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_autofocus(this: &HtmlInputElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = defaultChecked)]
+ #[doc = "Getter for the `defaultChecked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultChecked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn default_checked(this: &HtmlInputElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = defaultChecked)]
+ #[doc = "Setter for the `defaultChecked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultChecked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_default_checked(this: &HtmlInputElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = checked)]
+ #[doc = "Getter for the `checked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn checked(this: &HtmlInputElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = checked)]
+ #[doc = "Setter for the `checked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_checked(this: &HtmlInputElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = disabled)]
+ #[doc = "Getter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn disabled(this: &HtmlInputElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = disabled)]
+ #[doc = "Setter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_disabled(this: &HtmlInputElement, value: bool);
+ #[cfg(feature = "HtmlFormElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = form)]
+ #[doc = "Getter for the `form` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/form)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlInputElement`*"]
+ pub fn form(this: &HtmlInputElement) -> Option<HtmlFormElement>;
+ #[cfg(feature = "FileList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = files)]
+ #[doc = "Getter for the `files` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*"]
+ pub fn files(this: &HtmlInputElement) -> Option<FileList>;
+ #[cfg(feature = "FileList")]
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = files)]
+ #[doc = "Setter for the `files` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*"]
+ pub fn set_files(this: &HtmlInputElement, value: Option<&FileList>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formAction)]
+ #[doc = "Getter for the `formAction` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formAction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn form_action(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formAction)]
+ #[doc = "Setter for the `formAction` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formAction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_form_action(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formEnctype)]
+ #[doc = "Getter for the `formEnctype` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formEnctype)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn form_enctype(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formEnctype)]
+ #[doc = "Setter for the `formEnctype` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formEnctype)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_form_enctype(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formMethod)]
+ #[doc = "Getter for the `formMethod` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formMethod)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn form_method(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formMethod)]
+ #[doc = "Setter for the `formMethod` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formMethod)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_form_method(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formNoValidate)]
+ #[doc = "Getter for the `formNoValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formNoValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn form_no_validate(this: &HtmlInputElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formNoValidate)]
+ #[doc = "Setter for the `formNoValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formNoValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_form_no_validate(this: &HtmlInputElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formTarget)]
+ #[doc = "Getter for the `formTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formTarget)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn form_target(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formTarget)]
+ #[doc = "Setter for the `formTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formTarget)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_form_target(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn height(this: &HtmlInputElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = height)]
+ #[doc = "Setter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_height(this: &HtmlInputElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = indeterminate)]
+ #[doc = "Getter for the `indeterminate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn indeterminate(this: &HtmlInputElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = indeterminate)]
+ #[doc = "Setter for the `indeterminate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_indeterminate(this: &HtmlInputElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = inputMode)]
+ #[doc = "Getter for the `inputMode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/inputMode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn input_mode(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = inputMode)]
+ #[doc = "Setter for the `inputMode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/inputMode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_input_mode(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = list)]
+ #[doc = "Getter for the `list` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/list)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn list(this: &HtmlInputElement) -> Option<HtmlElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = max)]
+ #[doc = "Getter for the `max` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/max)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn max(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = max)]
+ #[doc = "Setter for the `max` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/max)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_max(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = maxLength)]
+ #[doc = "Getter for the `maxLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/maxLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn max_length(this: &HtmlInputElement) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = maxLength)]
+ #[doc = "Setter for the `maxLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/maxLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_max_length(this: &HtmlInputElement, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = min)]
+ #[doc = "Getter for the `min` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/min)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn min(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = min)]
+ #[doc = "Setter for the `min` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/min)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_min(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = minLength)]
+ #[doc = "Getter for the `minLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/minLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn min_length(this: &HtmlInputElement) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = minLength)]
+ #[doc = "Setter for the `minLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/minLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_min_length(this: &HtmlInputElement, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = multiple)]
+ #[doc = "Getter for the `multiple` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/multiple)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn multiple(this: &HtmlInputElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = multiple)]
+ #[doc = "Setter for the `multiple` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/multiple)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_multiple(this: &HtmlInputElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn name(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_name(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = pattern)]
+ #[doc = "Getter for the `pattern` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/pattern)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn pattern(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = pattern)]
+ #[doc = "Setter for the `pattern` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/pattern)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_pattern(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = placeholder)]
+ #[doc = "Getter for the `placeholder` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/placeholder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn placeholder(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = placeholder)]
+ #[doc = "Setter for the `placeholder` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/placeholder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_placeholder(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = readOnly)]
+ #[doc = "Getter for the `readOnly` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/readOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn read_only(this: &HtmlInputElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = readOnly)]
+ #[doc = "Setter for the `readOnly` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/readOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_read_only(this: &HtmlInputElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = required)]
+ #[doc = "Getter for the `required` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/required)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn required(this: &HtmlInputElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = required)]
+ #[doc = "Setter for the `required` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/required)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_required(this: &HtmlInputElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn size(this: &HtmlInputElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = size)]
+ #[doc = "Setter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_size(this: &HtmlInputElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = src)]
+ #[doc = "Getter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn src(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = src)]
+ #[doc = "Setter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_src(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = step)]
+ #[doc = "Getter for the `step` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/step)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn step(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = step)]
+ #[doc = "Setter for the `step` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/step)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_step(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn type_(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_type(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = defaultValue)]
+ #[doc = "Getter for the `defaultValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn default_value(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = defaultValue)]
+ #[doc = "Setter for the `defaultValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_default_value(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn value(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_value(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = valueAsNumber)]
+ #[doc = "Getter for the `valueAsNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn value_as_number(this: &HtmlInputElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = valueAsNumber)]
+ #[doc = "Setter for the `valueAsNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_value_as_number(this: &HtmlInputElement, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn width(this: &HtmlInputElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_width(this: &HtmlInputElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = willValidate)]
+ #[doc = "Getter for the `willValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/willValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn will_validate(this: &HtmlInputElement) -> bool;
+ #[cfg(feature = "ValidityState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = validity)]
+ #[doc = "Getter for the `validity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `ValidityState`*"]
+ pub fn validity(this: &HtmlInputElement) -> ValidityState;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = validationMessage)]
+ #[doc = "Getter for the `validationMessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validationMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn validation_message(this: &HtmlInputElement) -> Result<String, JsValue>;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = labels)]
+ #[doc = "Getter for the `labels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/labels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `NodeList`*"]
+ pub fn labels(this: &HtmlInputElement) -> Option<NodeList>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionStart)]
+ #[doc = "Getter for the `selectionStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn selection_start(this: &HtmlInputElement) -> Result<Option<u32>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionStart)]
+ #[doc = "Setter for the `selectionStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_selection_start(this: &HtmlInputElement, value: Option<u32>) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionEnd)]
+ #[doc = "Getter for the `selectionEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn selection_end(this: &HtmlInputElement) -> Result<Option<u32>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionEnd)]
+ #[doc = "Setter for the `selectionEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_selection_end(this: &HtmlInputElement, value: Option<u32>) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionDirection)]
+ #[doc = "Getter for the `selectionDirection` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn selection_direction(this: &HtmlInputElement) -> Result<Option<String>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionDirection)]
+ #[doc = "Setter for the `selectionDirection` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_selection_direction(
+ this: &HtmlInputElement,
+ value: Option<&str>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn align(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_align(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = useMap)]
+ #[doc = "Getter for the `useMap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn use_map(this: &HtmlInputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = useMap)]
+ #[doc = "Setter for the `useMap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_use_map(this: &HtmlInputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = webkitEntries)]
+ #[doc = "Getter for the `webkitEntries` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitEntries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn webkit_entries(this: &HtmlInputElement) -> ::js_sys::Array;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = webkitdirectory)]
+ #[doc = "Getter for the `webkitdirectory` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn webkitdirectory(this: &HtmlInputElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = webkitdirectory)]
+ #[doc = "Setter for the `webkitdirectory` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_webkitdirectory(this: &HtmlInputElement, value: bool);
+ # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = checkValidity)]
+ #[doc = "The `checkValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn check_validity(this: &HtmlInputElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = reportValidity)]
+ #[doc = "The `reportValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn report_validity(this: &HtmlInputElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = select)]
+ #[doc = "The `select()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn select(this: &HtmlInputElement);
+ # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = setCustomValidity)]
+ #[doc = "The `setCustomValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_custom_validity(this: &HtmlInputElement, error: &str);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setRangeText)]
+ #[doc = "The `setRangeText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_range_text(this: &HtmlInputElement, replacement: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setRangeText)]
+ #[doc = "The `setRangeText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_range_text_with_start_and_end(
+ this: &HtmlInputElement,
+ replacement: &str,
+ start: u32,
+ end: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setSelectionRange)]
+ #[doc = "The `setSelectionRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_selection_range(
+ this: &HtmlInputElement,
+ start: u32,
+ end: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setSelectionRange)]
+ #[doc = "The `setSelectionRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn set_selection_range_with_direction(
+ this: &HtmlInputElement,
+ start: u32,
+ end: u32,
+ direction: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = showPicker)]
+ #[doc = "The `showPicker()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
+ pub fn show_picker(this: &HtmlInputElement) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlLabelElement.rs b/vendor/web-sys/src/features/gen_HtmlLabelElement.rs
new file mode 100644
index 000000000..184ce648f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlLabelElement.rs
@@ -0,0 +1,43 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLLabelElement , typescript_type = "HTMLLabelElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlLabelElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLabelElement`*"]
+ pub type HtmlLabelElement;
+ #[cfg(feature = "HtmlFormElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLabelElement" , js_name = form)]
+ #[doc = "Getter for the `form` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/form)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlLabelElement`*"]
+ pub fn form(this: &HtmlLabelElement) -> Option<HtmlFormElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLabelElement" , js_name = htmlFor)]
+ #[doc = "Getter for the `htmlFor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/htmlFor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLabelElement`*"]
+ pub fn html_for(this: &HtmlLabelElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLabelElement" , js_name = htmlFor)]
+ #[doc = "Setter for the `htmlFor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/htmlFor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLabelElement`*"]
+ pub fn set_html_for(this: &HtmlLabelElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLabelElement" , js_name = control)]
+ #[doc = "Getter for the `control` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLabelElement`*"]
+ pub fn control(this: &HtmlLabelElement) -> Option<HtmlElement>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlLegendElement.rs b/vendor/web-sys/src/features/gen_HtmlLegendElement.rs
new file mode 100644
index 000000000..36ce3bda0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlLegendElement.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLLegendElement , typescript_type = "HTMLLegendElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlLegendElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLegendElement`*"]
+ pub type HtmlLegendElement;
+ #[cfg(feature = "HtmlFormElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLegendElement" , js_name = form)]
+ #[doc = "Getter for the `form` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement/form)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlLegendElement`*"]
+ pub fn form(this: &HtmlLegendElement) -> Option<HtmlFormElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLegendElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLegendElement`*"]
+ pub fn align(this: &HtmlLegendElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLegendElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLegendElement`*"]
+ pub fn set_align(this: &HtmlLegendElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlLiElement.rs b/vendor/web-sys/src/features/gen_HtmlLiElement.rs
new file mode 100644
index 000000000..3a5db06c8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlLiElement.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLLIElement , typescript_type = "HTMLLIElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlLiElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLiElement`*"]
+ pub type HtmlLiElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLIElement" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLiElement`*"]
+ pub fn value(this: &HtmlLiElement) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLIElement" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLiElement`*"]
+ pub fn set_value(this: &HtmlLiElement, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLIElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLiElement`*"]
+ pub fn type_(this: &HtmlLiElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLIElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLiElement`*"]
+ pub fn set_type(this: &HtmlLiElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlLinkElement.rs b/vendor/web-sys/src/features/gen_HtmlLinkElement.rs
new file mode 100644
index 000000000..c947f16c0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlLinkElement.rs
@@ -0,0 +1,220 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLLinkElement , typescript_type = "HTMLLinkElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlLinkElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub type HtmlLinkElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = disabled)]
+ #[doc = "Getter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn disabled(this: &HtmlLinkElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = disabled)]
+ #[doc = "Setter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_disabled(this: &HtmlLinkElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn href(this: &HtmlLinkElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = href)]
+ #[doc = "Setter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_href(this: &HtmlLinkElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = crossOrigin)]
+ #[doc = "Getter for the `crossOrigin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/crossOrigin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn cross_origin(this: &HtmlLinkElement) -> Option<String>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = crossOrigin)]
+ #[doc = "Setter for the `crossOrigin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/crossOrigin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_cross_origin(this: &HtmlLinkElement, value: Option<&str>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = rel)]
+ #[doc = "Getter for the `rel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn rel(this: &HtmlLinkElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = rel)]
+ #[doc = "Setter for the `rel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_rel(this: &HtmlLinkElement, value: &str);
+ #[cfg(feature = "DomTokenList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = relList)]
+ #[doc = "Getter for the `relList` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/relList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `HtmlLinkElement`*"]
+ pub fn rel_list(this: &HtmlLinkElement) -> DomTokenList;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = media)]
+ #[doc = "Getter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn media(this: &HtmlLinkElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = media)]
+ #[doc = "Setter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_media(this: &HtmlLinkElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = hreflang)]
+ #[doc = "Getter for the `hreflang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/hreflang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn hreflang(this: &HtmlLinkElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = hreflang)]
+ #[doc = "Setter for the `hreflang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/hreflang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_hreflang(this: &HtmlLinkElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn type_(this: &HtmlLinkElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_type(this: &HtmlLinkElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = referrerPolicy)]
+ #[doc = "Getter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn referrer_policy(this: &HtmlLinkElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = referrerPolicy)]
+ #[doc = "Setter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_referrer_policy(this: &HtmlLinkElement, value: &str);
+ #[cfg(feature = "DomTokenList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = sizes)]
+ #[doc = "Getter for the `sizes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/sizes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `HtmlLinkElement`*"]
+ pub fn sizes(this: &HtmlLinkElement) -> DomTokenList;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = charset)]
+ #[doc = "Getter for the `charset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/charset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn charset(this: &HtmlLinkElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = charset)]
+ #[doc = "Setter for the `charset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/charset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_charset(this: &HtmlLinkElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = rev)]
+ #[doc = "Getter for the `rev` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rev)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn rev(this: &HtmlLinkElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = rev)]
+ #[doc = "Setter for the `rev` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rev)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_rev(this: &HtmlLinkElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn target(this: &HtmlLinkElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = target)]
+ #[doc = "Setter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_target(this: &HtmlLinkElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = integrity)]
+ #[doc = "Getter for the `integrity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/integrity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn integrity(this: &HtmlLinkElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = integrity)]
+ #[doc = "Setter for the `integrity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/integrity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_integrity(this: &HtmlLinkElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = as)]
+ #[doc = "Getter for the `as` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/as)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn as_(this: &HtmlLinkElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLLinkElement" , js_name = as)]
+ #[doc = "Setter for the `as` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/as)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`*"]
+ pub fn set_as(this: &HtmlLinkElement, value: &str);
+ #[cfg(feature = "StyleSheet")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLLinkElement" , js_name = sheet)]
+ #[doc = "Getter for the `sheet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/sheet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlLinkElement`, `StyleSheet`*"]
+ pub fn sheet(this: &HtmlLinkElement) -> Option<StyleSheet>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlMapElement.rs b/vendor/web-sys/src/features/gen_HtmlMapElement.rs
new file mode 100644
index 000000000..f7dcc17ce
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlMapElement.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLMapElement , typescript_type = "HTMLMapElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlMapElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMapElement`*"]
+ pub type HtmlMapElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMapElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMapElement`*"]
+ pub fn name(this: &HtmlMapElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMapElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMapElement`*"]
+ pub fn set_name(this: &HtmlMapElement, value: &str);
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMapElement" , js_name = areas)]
+ #[doc = "Getter for the `areas` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement/areas)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlMapElement`*"]
+ pub fn areas(this: &HtmlMapElement) -> HtmlCollection;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlMediaElement.rs b/vendor/web-sys/src/features/gen_HtmlMediaElement.rs
new file mode 100644
index 000000000..8fba170ed
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlMediaElement.rs
@@ -0,0 +1,477 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLMediaElement , typescript_type = "HTMLMediaElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlMediaElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub type HtmlMediaElement;
+ #[cfg(feature = "MediaError")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = error)]
+ #[doc = "Getter for the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaError`*"]
+ pub fn error(this: &HtmlMediaElement) -> Option<MediaError>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = src)]
+ #[doc = "Getter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn src(this: &HtmlMediaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = src)]
+ #[doc = "Setter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_src(this: &HtmlMediaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = currentSrc)]
+ #[doc = "Getter for the `currentSrc` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/currentSrc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn current_src(this: &HtmlMediaElement) -> String;
+ #[cfg(feature = "MediaStream")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = srcObject)]
+ #[doc = "Getter for the `srcObject` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/srcObject)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaStream`*"]
+ pub fn src_object(this: &HtmlMediaElement) -> Option<MediaStream>;
+ #[cfg(feature = "MediaStream")]
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = srcObject)]
+ #[doc = "Setter for the `srcObject` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/srcObject)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaStream`*"]
+ pub fn set_src_object(this: &HtmlMediaElement, value: Option<&MediaStream>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = crossOrigin)]
+ #[doc = "Getter for the `crossOrigin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/crossOrigin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn cross_origin(this: &HtmlMediaElement) -> Option<String>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = crossOrigin)]
+ #[doc = "Setter for the `crossOrigin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/crossOrigin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_cross_origin(this: &HtmlMediaElement, value: Option<&str>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = networkState)]
+ #[doc = "Getter for the `networkState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/networkState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn network_state(this: &HtmlMediaElement) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = preload)]
+ #[doc = "Getter for the `preload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/preload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn preload(this: &HtmlMediaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = preload)]
+ #[doc = "Setter for the `preload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/preload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_preload(this: &HtmlMediaElement, value: &str);
+ #[cfg(feature = "TimeRanges")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = buffered)]
+ #[doc = "Getter for the `buffered` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/buffered)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `TimeRanges`*"]
+ pub fn buffered(this: &HtmlMediaElement) -> TimeRanges;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn ready_state(this: &HtmlMediaElement) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = seeking)]
+ #[doc = "Getter for the `seeking` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seeking)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn seeking(this: &HtmlMediaElement) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = currentTime)]
+ #[doc = "Getter for the `currentTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/currentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn current_time(this: &HtmlMediaElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = currentTime)]
+ #[doc = "Setter for the `currentTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/currentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_current_time(this: &HtmlMediaElement, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = duration)]
+ #[doc = "Getter for the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/duration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn duration(this: &HtmlMediaElement) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = paused)]
+ #[doc = "Getter for the `paused` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/paused)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn paused(this: &HtmlMediaElement) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = defaultPlaybackRate)]
+ #[doc = "Getter for the `defaultPlaybackRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/defaultPlaybackRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn default_playback_rate(this: &HtmlMediaElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = defaultPlaybackRate)]
+ #[doc = "Setter for the `defaultPlaybackRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/defaultPlaybackRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_default_playback_rate(this: &HtmlMediaElement, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = playbackRate)]
+ #[doc = "Getter for the `playbackRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/playbackRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn playback_rate(this: &HtmlMediaElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = playbackRate)]
+ #[doc = "Setter for the `playbackRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/playbackRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_playback_rate(this: &HtmlMediaElement, value: f64);
+ #[cfg(feature = "TimeRanges")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = played)]
+ #[doc = "Getter for the `played` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/played)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `TimeRanges`*"]
+ pub fn played(this: &HtmlMediaElement) -> TimeRanges;
+ #[cfg(feature = "TimeRanges")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = seekable)]
+ #[doc = "Getter for the `seekable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seekable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `TimeRanges`*"]
+ pub fn seekable(this: &HtmlMediaElement) -> TimeRanges;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = ended)]
+ #[doc = "Getter for the `ended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/ended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn ended(this: &HtmlMediaElement) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = autoplay)]
+ #[doc = "Getter for the `autoplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/autoplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn autoplay(this: &HtmlMediaElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = autoplay)]
+ #[doc = "Setter for the `autoplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/autoplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_autoplay(this: &HtmlMediaElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = loop)]
+ #[doc = "Getter for the `loop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/loop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn loop_(this: &HtmlMediaElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = loop)]
+ #[doc = "Setter for the `loop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/loop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_loop(this: &HtmlMediaElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = controls)]
+ #[doc = "Getter for the `controls` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/controls)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn controls(this: &HtmlMediaElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = controls)]
+ #[doc = "Setter for the `controls` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/controls)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_controls(this: &HtmlMediaElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = volume)]
+ #[doc = "Getter for the `volume` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/volume)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn volume(this: &HtmlMediaElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = volume)]
+ #[doc = "Setter for the `volume` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/volume)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_volume(this: &HtmlMediaElement, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = muted)]
+ #[doc = "Getter for the `muted` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/muted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn muted(this: &HtmlMediaElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = muted)]
+ #[doc = "Setter for the `muted` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/muted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_muted(this: &HtmlMediaElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = defaultMuted)]
+ #[doc = "Getter for the `defaultMuted` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/defaultMuted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn default_muted(this: &HtmlMediaElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = defaultMuted)]
+ #[doc = "Setter for the `defaultMuted` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/defaultMuted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_default_muted(this: &HtmlMediaElement, value: bool);
+ #[cfg(feature = "AudioTrackList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = audioTracks)]
+ #[doc = "Getter for the `audioTracks` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/audioTracks)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrackList`, `HtmlMediaElement`*"]
+ pub fn audio_tracks(this: &HtmlMediaElement) -> AudioTrackList;
+ #[cfg(feature = "VideoTrackList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = videoTracks)]
+ #[doc = "Getter for the `videoTracks` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/videoTracks)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `VideoTrackList`*"]
+ pub fn video_tracks(this: &HtmlMediaElement) -> VideoTrackList;
+ #[cfg(feature = "TextTrackList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = textTracks)]
+ #[doc = "Getter for the `textTracks` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/textTracks)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrackList`*"]
+ pub fn text_tracks(this: &HtmlMediaElement) -> Option<TextTrackList>;
+ #[cfg(feature = "MediaKeys")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = mediaKeys)]
+ #[doc = "Getter for the `mediaKeys` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/mediaKeys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaKeys`*"]
+ pub fn media_keys(this: &HtmlMediaElement) -> Option<MediaKeys>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = onencrypted)]
+ #[doc = "Getter for the `onencrypted` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/onencrypted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn onencrypted(this: &HtmlMediaElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = onencrypted)]
+ #[doc = "Setter for the `onencrypted` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/onencrypted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_onencrypted(this: &HtmlMediaElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMediaElement" , js_name = onwaitingforkey)]
+ #[doc = "Getter for the `onwaitingforkey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/onwaitingforkey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn onwaitingforkey(this: &HtmlMediaElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMediaElement" , js_name = onwaitingforkey)]
+ #[doc = "Setter for the `onwaitingforkey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/onwaitingforkey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_onwaitingforkey(this: &HtmlMediaElement, value: Option<&::js_sys::Function>);
+ #[cfg(all(feature = "TextTrack", feature = "TextTrackKind",))]
+ # [wasm_bindgen (method , structural , js_class = "HTMLMediaElement" , js_name = addTextTrack)]
+ #[doc = "The `addTextTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/addTextTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrack`, `TextTrackKind`*"]
+ pub fn add_text_track(this: &HtmlMediaElement, kind: TextTrackKind) -> TextTrack;
+ #[cfg(all(feature = "TextTrack", feature = "TextTrackKind",))]
+ # [wasm_bindgen (method , structural , js_class = "HTMLMediaElement" , js_name = addTextTrack)]
+ #[doc = "The `addTextTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/addTextTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrack`, `TextTrackKind`*"]
+ pub fn add_text_track_with_label(
+ this: &HtmlMediaElement,
+ kind: TextTrackKind,
+ label: &str,
+ ) -> TextTrack;
+ #[cfg(all(feature = "TextTrack", feature = "TextTrackKind",))]
+ # [wasm_bindgen (method , structural , js_class = "HTMLMediaElement" , js_name = addTextTrack)]
+ #[doc = "The `addTextTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/addTextTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrack`, `TextTrackKind`*"]
+ pub fn add_text_track_with_label_and_language(
+ this: &HtmlMediaElement,
+ kind: TextTrackKind,
+ label: &str,
+ language: &str,
+ ) -> TextTrack;
+ # [wasm_bindgen (method , structural , js_class = "HTMLMediaElement" , js_name = canPlayType)]
+ #[doc = "The `canPlayType()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/canPlayType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn can_play_type(this: &HtmlMediaElement, type_: &str) -> String;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLMediaElement" , js_name = fastSeek)]
+ #[doc = "The `fastSeek()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/fastSeek)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn fast_seek(this: &HtmlMediaElement, time: f64) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLMediaElement" , js_name = hasSuspendTaint)]
+ #[doc = "The `hasSuspendTaint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/hasSuspendTaint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn has_suspend_taint(this: &HtmlMediaElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLMediaElement" , js_name = load)]
+ #[doc = "The `load()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/load)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn load(this: &HtmlMediaElement);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLMediaElement" , js_name = pause)]
+ #[doc = "The `pause()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/pause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn pause(this: &HtmlMediaElement) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLMediaElement" , js_name = play)]
+ #[doc = "The `play()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn play(this: &HtmlMediaElement) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLMediaElement" , js_name = seekToNextFrame)]
+ #[doc = "The `seekToNextFrame()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seekToNextFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn seek_to_next_frame(this: &HtmlMediaElement) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "MediaKeys")]
+ # [wasm_bindgen (method , structural , js_class = "HTMLMediaElement" , js_name = setMediaKeys)]
+ #[doc = "The `setMediaKeys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/setMediaKeys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaKeys`*"]
+ pub fn set_media_keys(
+ this: &HtmlMediaElement,
+ media_keys: Option<&MediaKeys>,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "HTMLMediaElement" , js_name = setVisible)]
+ #[doc = "The `setVisible()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/setVisible)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub fn set_visible(this: &HtmlMediaElement, a_visible: bool);
+}
+impl HtmlMediaElement {
+ #[doc = "The `HTMLMediaElement.NETWORK_EMPTY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub const NETWORK_EMPTY: u16 = 0i64 as u16;
+ #[doc = "The `HTMLMediaElement.NETWORK_IDLE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub const NETWORK_IDLE: u16 = 1u64 as u16;
+ #[doc = "The `HTMLMediaElement.NETWORK_LOADING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub const NETWORK_LOADING: u16 = 2u64 as u16;
+ #[doc = "The `HTMLMediaElement.NETWORK_NO_SOURCE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub const NETWORK_NO_SOURCE: u16 = 3u64 as u16;
+ #[doc = "The `HTMLMediaElement.HAVE_NOTHING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub const HAVE_NOTHING: u16 = 0i64 as u16;
+ #[doc = "The `HTMLMediaElement.HAVE_METADATA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub const HAVE_METADATA: u16 = 1u64 as u16;
+ #[doc = "The `HTMLMediaElement.HAVE_CURRENT_DATA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub const HAVE_CURRENT_DATA: u16 = 2u64 as u16;
+ #[doc = "The `HTMLMediaElement.HAVE_FUTURE_DATA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub const HAVE_FUTURE_DATA: u16 = 3u64 as u16;
+ #[doc = "The `HTMLMediaElement.HAVE_ENOUGH_DATA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`*"]
+ pub const HAVE_ENOUGH_DATA: u16 = 4u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlMenuElement.rs b/vendor/web-sys/src/features/gen_HtmlMenuElement.rs
new file mode 100644
index 000000000..a271be1fa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlMenuElement.rs
@@ -0,0 +1,56 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLMenuElement , typescript_type = "HTMLMenuElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlMenuElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuElement`*"]
+ pub type HtmlMenuElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuElement`*"]
+ pub fn type_(this: &HtmlMenuElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuElement`*"]
+ pub fn set_type(this: &HtmlMenuElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuElement" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuElement`*"]
+ pub fn label(this: &HtmlMenuElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuElement" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuElement`*"]
+ pub fn set_label(this: &HtmlMenuElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuElement" , js_name = compact)]
+ #[doc = "Getter for the `compact` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/compact)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuElement`*"]
+ pub fn compact(this: &HtmlMenuElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuElement" , js_name = compact)]
+ #[doc = "Setter for the `compact` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/compact)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuElement`*"]
+ pub fn set_compact(this: &HtmlMenuElement, value: bool);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlMenuItemElement.rs b/vendor/web-sys/src/features/gen_HtmlMenuItemElement.rs
new file mode 100644
index 000000000..87a775374
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlMenuItemElement.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLMenuItemElement , typescript_type = "HTMLMenuItemElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlMenuItemElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub type HtmlMenuItemElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn type_(this: &HtmlMenuItemElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn set_type(this: &HtmlMenuItemElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn label(this: &HtmlMenuItemElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn set_label(this: &HtmlMenuItemElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = icon)]
+ #[doc = "Getter for the `icon` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/icon)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn icon(this: &HtmlMenuItemElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = icon)]
+ #[doc = "Setter for the `icon` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/icon)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn set_icon(this: &HtmlMenuItemElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = disabled)]
+ #[doc = "Getter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn disabled(this: &HtmlMenuItemElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = disabled)]
+ #[doc = "Setter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn set_disabled(this: &HtmlMenuItemElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = checked)]
+ #[doc = "Getter for the `checked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/checked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn checked(this: &HtmlMenuItemElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = checked)]
+ #[doc = "Setter for the `checked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/checked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn set_checked(this: &HtmlMenuItemElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = radiogroup)]
+ #[doc = "Getter for the `radiogroup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/radiogroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn radiogroup(this: &HtmlMenuItemElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = radiogroup)]
+ #[doc = "Setter for the `radiogroup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/radiogroup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn set_radiogroup(this: &HtmlMenuItemElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = defaultChecked)]
+ #[doc = "Getter for the `defaultChecked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/defaultChecked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn default_checked(this: &HtmlMenuItemElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = defaultChecked)]
+ #[doc = "Setter for the `defaultChecked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/defaultChecked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"]
+ pub fn set_default_checked(this: &HtmlMenuItemElement, value: bool);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlMetaElement.rs b/vendor/web-sys/src/features/gen_HtmlMetaElement.rs
new file mode 100644
index 000000000..5a1d570ea
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlMetaElement.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLMetaElement , typescript_type = "HTMLMetaElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlMetaElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
+ pub type HtmlMetaElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMetaElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
+ pub fn name(this: &HtmlMetaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMetaElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
+ pub fn set_name(this: &HtmlMetaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMetaElement" , js_name = httpEquiv)]
+ #[doc = "Getter for the `httpEquiv` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/httpEquiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
+ pub fn http_equiv(this: &HtmlMetaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMetaElement" , js_name = httpEquiv)]
+ #[doc = "Setter for the `httpEquiv` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/httpEquiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
+ pub fn set_http_equiv(this: &HtmlMetaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMetaElement" , js_name = content)]
+ #[doc = "Getter for the `content` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/content)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
+ pub fn content(this: &HtmlMetaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMetaElement" , js_name = content)]
+ #[doc = "Setter for the `content` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/content)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
+ pub fn set_content(this: &HtmlMetaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMetaElement" , js_name = scheme)]
+ #[doc = "Getter for the `scheme` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/scheme)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
+ pub fn scheme(this: &HtmlMetaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMetaElement" , js_name = scheme)]
+ #[doc = "Setter for the `scheme` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/scheme)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMetaElement`*"]
+ pub fn set_scheme(this: &HtmlMetaElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlMeterElement.rs b/vendor/web-sys/src/features/gen_HtmlMeterElement.rs
new file mode 100644
index 000000000..997245636
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlMeterElement.rs
@@ -0,0 +1,106 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLMeterElement , typescript_type = "HTMLMeterElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlMeterElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub type HtmlMeterElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub fn value(this: &HtmlMeterElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub fn set_value(this: &HtmlMeterElement, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = min)]
+ #[doc = "Getter for the `min` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/min)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub fn min(this: &HtmlMeterElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = min)]
+ #[doc = "Setter for the `min` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/min)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub fn set_min(this: &HtmlMeterElement, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = max)]
+ #[doc = "Getter for the `max` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/max)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub fn max(this: &HtmlMeterElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = max)]
+ #[doc = "Setter for the `max` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/max)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub fn set_max(this: &HtmlMeterElement, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = low)]
+ #[doc = "Getter for the `low` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/low)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub fn low(this: &HtmlMeterElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = low)]
+ #[doc = "Setter for the `low` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/low)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub fn set_low(this: &HtmlMeterElement, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = high)]
+ #[doc = "Getter for the `high` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/high)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub fn high(this: &HtmlMeterElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = high)]
+ #[doc = "Setter for the `high` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/high)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub fn set_high(this: &HtmlMeterElement, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = optimum)]
+ #[doc = "Getter for the `optimum` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/optimum)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub fn optimum(this: &HtmlMeterElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = optimum)]
+ #[doc = "Setter for the `optimum` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/optimum)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
+ pub fn set_optimum(this: &HtmlMeterElement, value: f64);
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = labels)]
+ #[doc = "Getter for the `labels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/labels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`, `NodeList`*"]
+ pub fn labels(this: &HtmlMeterElement) -> NodeList;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlModElement.rs b/vendor/web-sys/src/features/gen_HtmlModElement.rs
new file mode 100644
index 000000000..7ce1087a2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlModElement.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLModElement , typescript_type = "HTMLModElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlModElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlModElement`*"]
+ pub type HtmlModElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLModElement" , js_name = cite)]
+ #[doc = "Getter for the `cite` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement/cite)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlModElement`*"]
+ pub fn cite(this: &HtmlModElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLModElement" , js_name = cite)]
+ #[doc = "Setter for the `cite` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement/cite)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlModElement`*"]
+ pub fn set_cite(this: &HtmlModElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLModElement" , js_name = dateTime)]
+ #[doc = "Getter for the `dateTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement/dateTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlModElement`*"]
+ pub fn date_time(this: &HtmlModElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLModElement" , js_name = dateTime)]
+ #[doc = "Setter for the `dateTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement/dateTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlModElement`*"]
+ pub fn set_date_time(this: &HtmlModElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlOListElement.rs b/vendor/web-sys/src/features/gen_HtmlOListElement.rs
new file mode 100644
index 000000000..d57eb9a35
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlOListElement.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLOListElement , typescript_type = "HTMLOListElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlOListElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOListElement`*"]
+ pub type HtmlOListElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOListElement" , js_name = reversed)]
+ #[doc = "Getter for the `reversed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/reversed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOListElement`*"]
+ pub fn reversed(this: &HtmlOListElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOListElement" , js_name = reversed)]
+ #[doc = "Setter for the `reversed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/reversed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOListElement`*"]
+ pub fn set_reversed(this: &HtmlOListElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOListElement" , js_name = start)]
+ #[doc = "Getter for the `start` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOListElement`*"]
+ pub fn start(this: &HtmlOListElement) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOListElement" , js_name = start)]
+ #[doc = "Setter for the `start` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOListElement`*"]
+ pub fn set_start(this: &HtmlOListElement, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOListElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOListElement`*"]
+ pub fn type_(this: &HtmlOListElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOListElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOListElement`*"]
+ pub fn set_type(this: &HtmlOListElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOListElement" , js_name = compact)]
+ #[doc = "Getter for the `compact` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/compact)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOListElement`*"]
+ pub fn compact(this: &HtmlOListElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOListElement" , js_name = compact)]
+ #[doc = "Setter for the `compact` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/compact)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOListElement`*"]
+ pub fn set_compact(this: &HtmlOListElement, value: bool);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlObjectElement.rs b/vendor/web-sys/src/features/gen_HtmlObjectElement.rs
new file mode 100644
index 000000000..8ef2219a7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlObjectElement.rs
@@ -0,0 +1,327 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLObjectElement , typescript_type = "HTMLObjectElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlObjectElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub type HtmlObjectElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn data(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = data)]
+ #[doc = "Setter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_data(this: &HtmlObjectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn type_(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_type(this: &HtmlObjectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = typeMustMatch)]
+ #[doc = "Getter for the `typeMustMatch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/typeMustMatch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn type_must_match(this: &HtmlObjectElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = typeMustMatch)]
+ #[doc = "Setter for the `typeMustMatch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/typeMustMatch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_type_must_match(this: &HtmlObjectElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn name(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_name(this: &HtmlObjectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = useMap)]
+ #[doc = "Getter for the `useMap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/useMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn use_map(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = useMap)]
+ #[doc = "Setter for the `useMap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/useMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_use_map(this: &HtmlObjectElement, value: &str);
+ #[cfg(feature = "HtmlFormElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = form)]
+ #[doc = "Getter for the `form` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/form)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlObjectElement`*"]
+ pub fn form(this: &HtmlObjectElement) -> Option<HtmlFormElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn width(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_width(this: &HtmlObjectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn height(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = height)]
+ #[doc = "Setter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_height(this: &HtmlObjectElement, value: &str);
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = contentDocument)]
+ #[doc = "Getter for the `contentDocument` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/contentDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlObjectElement`*"]
+ pub fn content_document(this: &HtmlObjectElement) -> Option<Document>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = contentWindow)]
+ #[doc = "Getter for the `contentWindow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/contentWindow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`, `Window`*"]
+ pub fn content_window(this: &HtmlObjectElement) -> Option<Window>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = willValidate)]
+ #[doc = "Getter for the `willValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/willValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn will_validate(this: &HtmlObjectElement) -> bool;
+ #[cfg(feature = "ValidityState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = validity)]
+ #[doc = "Getter for the `validity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`, `ValidityState`*"]
+ pub fn validity(this: &HtmlObjectElement) -> ValidityState;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLObjectElement" , js_name = validationMessage)]
+ #[doc = "Getter for the `validationMessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validationMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn validation_message(this: &HtmlObjectElement) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn align(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_align(this: &HtmlObjectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = archive)]
+ #[doc = "Getter for the `archive` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/archive)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn archive(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = archive)]
+ #[doc = "Setter for the `archive` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/archive)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_archive(this: &HtmlObjectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = code)]
+ #[doc = "Getter for the `code` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/code)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn code(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = code)]
+ #[doc = "Setter for the `code` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/code)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_code(this: &HtmlObjectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = declare)]
+ #[doc = "Getter for the `declare` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/declare)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn declare(this: &HtmlObjectElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = declare)]
+ #[doc = "Setter for the `declare` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/declare)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_declare(this: &HtmlObjectElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = hspace)]
+ #[doc = "Getter for the `hspace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/hspace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn hspace(this: &HtmlObjectElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = hspace)]
+ #[doc = "Setter for the `hspace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/hspace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_hspace(this: &HtmlObjectElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = standby)]
+ #[doc = "Getter for the `standby` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/standby)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn standby(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = standby)]
+ #[doc = "Setter for the `standby` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/standby)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_standby(this: &HtmlObjectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = vspace)]
+ #[doc = "Getter for the `vspace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/vspace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn vspace(this: &HtmlObjectElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = vspace)]
+ #[doc = "Setter for the `vspace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/vspace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_vspace(this: &HtmlObjectElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = codeBase)]
+ #[doc = "Getter for the `codeBase` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeBase)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn code_base(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = codeBase)]
+ #[doc = "Setter for the `codeBase` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeBase)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_code_base(this: &HtmlObjectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = codeType)]
+ #[doc = "Getter for the `codeType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn code_type(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = codeType)]
+ #[doc = "Setter for the `codeType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_code_type(this: &HtmlObjectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = border)]
+ #[doc = "Getter for the `border` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/border)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn border(this: &HtmlObjectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = border)]
+ #[doc = "Setter for the `border` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/border)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_border(this: &HtmlObjectElement, value: &str);
+ # [wasm_bindgen (method , structural , js_class = "HTMLObjectElement" , js_name = checkValidity)]
+ #[doc = "The `checkValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/checkValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn check_validity(this: &HtmlObjectElement) -> bool;
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (method , structural , js_class = "HTMLObjectElement" , js_name = getSVGDocument)]
+ #[doc = "The `getSVGDocument()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/getSVGDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlObjectElement`*"]
+ pub fn get_svg_document(this: &HtmlObjectElement) -> Option<Document>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLObjectElement" , js_name = reportValidity)]
+ #[doc = "The `reportValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/reportValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn report_validity(this: &HtmlObjectElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLObjectElement" , js_name = setCustomValidity)]
+ #[doc = "The `setCustomValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/setCustomValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
+ pub fn set_custom_validity(this: &HtmlObjectElement, error: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlOptGroupElement.rs b/vendor/web-sys/src/features/gen_HtmlOptGroupElement.rs
new file mode 100644
index 000000000..a6510ff5b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlOptGroupElement.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLOptGroupElement , typescript_type = "HTMLOptGroupElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlOptGroupElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptGroupElement`*"]
+ pub type HtmlOptGroupElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOptGroupElement" , js_name = disabled)]
+ #[doc = "Getter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptGroupElement`*"]
+ pub fn disabled(this: &HtmlOptGroupElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOptGroupElement" , js_name = disabled)]
+ #[doc = "Setter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptGroupElement`*"]
+ pub fn set_disabled(this: &HtmlOptGroupElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOptGroupElement" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptGroupElement`*"]
+ pub fn label(this: &HtmlOptGroupElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOptGroupElement" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptGroupElement`*"]
+ pub fn set_label(this: &HtmlOptGroupElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlOptionElement.rs b/vendor/web-sys/src/features/gen_HtmlOptionElement.rs
new file mode 100644
index 000000000..5d34d0dc2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlOptionElement.rs
@@ -0,0 +1,157 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLOptionElement , typescript_type = "HTMLOptionElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlOptionElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub type HtmlOptionElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOptionElement" , js_name = disabled)]
+ #[doc = "Getter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn disabled(this: &HtmlOptionElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOptionElement" , js_name = disabled)]
+ #[doc = "Setter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn set_disabled(this: &HtmlOptionElement, value: bool);
+ #[cfg(feature = "HtmlFormElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOptionElement" , js_name = form)]
+ #[doc = "Getter for the `form` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/form)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlOptionElement`*"]
+ pub fn form(this: &HtmlOptionElement) -> Option<HtmlFormElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOptionElement" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn label(this: &HtmlOptionElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOptionElement" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn set_label(this: &HtmlOptionElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOptionElement" , js_name = defaultSelected)]
+ #[doc = "Getter for the `defaultSelected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/defaultSelected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn default_selected(this: &HtmlOptionElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOptionElement" , js_name = defaultSelected)]
+ #[doc = "Setter for the `defaultSelected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/defaultSelected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn set_default_selected(this: &HtmlOptionElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOptionElement" , js_name = selected)]
+ #[doc = "Getter for the `selected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/selected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn selected(this: &HtmlOptionElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOptionElement" , js_name = selected)]
+ #[doc = "Setter for the `selected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/selected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn set_selected(this: &HtmlOptionElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOptionElement" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn value(this: &HtmlOptionElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOptionElement" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn set_value(this: &HtmlOptionElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOptionElement" , js_name = text)]
+ #[doc = "Getter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn text(this: &HtmlOptionElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOptionElement" , js_name = text)]
+ #[doc = "Setter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn set_text(this: &HtmlOptionElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOptionElement" , js_name = index)]
+ #[doc = "Getter for the `index` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/index)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn index(this: &HtmlOptionElement) -> i32;
+ #[wasm_bindgen(catch, constructor, js_class = "Option")]
+ #[doc = "The `new HtmlOptionElement(..)` constructor, creating a new instance of `HtmlOptionElement`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn new() -> Result<HtmlOptionElement, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Option")]
+ #[doc = "The `new HtmlOptionElement(..)` constructor, creating a new instance of `HtmlOptionElement`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn new_with_text(text: &str) -> Result<HtmlOptionElement, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Option")]
+ #[doc = "The `new HtmlOptionElement(..)` constructor, creating a new instance of `HtmlOptionElement`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn new_with_text_and_value(text: &str, value: &str) -> Result<HtmlOptionElement, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Option")]
+ #[doc = "The `new HtmlOptionElement(..)` constructor, creating a new instance of `HtmlOptionElement`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn new_with_text_and_value_and_default_selected(
+ text: &str,
+ value: &str,
+ default_selected: bool,
+ ) -> Result<HtmlOptionElement, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Option")]
+ #[doc = "The `new HtmlOptionElement(..)` constructor, creating a new instance of `HtmlOptionElement`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`*"]
+ pub fn new_with_text_and_value_and_default_selected_and_selected(
+ text: &str,
+ value: &str,
+ default_selected: bool,
+ selected: bool,
+ ) -> Result<HtmlOptionElement, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlOptionsCollection.rs b/vendor/web-sys/src/features/gen_HtmlOptionsCollection.rs
new file mode 100644
index 000000000..2dca06380
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlOptionsCollection.rs
@@ -0,0 +1,137 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlCollection , extends = :: js_sys :: Object , js_name = HTMLOptionsCollection , typescript_type = "HTMLOptionsCollection")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlOptionsCollection` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionsCollection`*"]
+ pub type HtmlOptionsCollection;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOptionsCollection" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionsCollection`*"]
+ pub fn length(this: &HtmlOptionsCollection) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOptionsCollection" , js_name = length)]
+ #[doc = "Setter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionsCollection`*"]
+ pub fn set_length(this: &HtmlOptionsCollection, value: u32);
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLOptionsCollection" , js_name = selectedIndex)]
+ #[doc = "Getter for the `selectedIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/selectedIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionsCollection`*"]
+ pub fn selected_index(this: &HtmlOptionsCollection) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLOptionsCollection" , js_name = selectedIndex)]
+ #[doc = "Setter for the `selectedIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/selectedIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionsCollection`*"]
+ pub fn set_selected_index(this: &HtmlOptionsCollection, value: i32) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlOptionElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlOptionsCollection`*"]
+ pub fn add_with_html_option_element(
+ this: &HtmlOptionsCollection,
+ element: &HtmlOptionElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlOptGroupElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlOptionsCollection`*"]
+ pub fn add_with_html_opt_group_element(
+ this: &HtmlOptionsCollection,
+ element: &HtmlOptGroupElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(all(feature = "HtmlElement", feature = "HtmlOptionElement",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`, `HtmlOptionElement`, `HtmlOptionsCollection`*"]
+ pub fn add_with_html_option_element_and_opt_html_element(
+ this: &HtmlOptionsCollection,
+ element: &HtmlOptionElement,
+ before: Option<&HtmlElement>,
+ ) -> Result<(), JsValue>;
+ #[cfg(all(feature = "HtmlElement", feature = "HtmlOptGroupElement",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`, `HtmlOptGroupElement`, `HtmlOptionsCollection`*"]
+ pub fn add_with_html_opt_group_element_and_opt_html_element(
+ this: &HtmlOptionsCollection,
+ element: &HtmlOptGroupElement,
+ before: Option<&HtmlElement>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlOptionElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlOptionsCollection`*"]
+ pub fn add_with_html_option_element_and_opt_i32(
+ this: &HtmlOptionsCollection,
+ element: &HtmlOptionElement,
+ before: Option<i32>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlOptGroupElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlOptionsCollection`*"]
+ pub fn add_with_html_opt_group_element_and_opt_i32(
+ this: &HtmlOptionsCollection,
+ element: &HtmlOptGroupElement,
+ before: Option<i32>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionsCollection`*"]
+ pub fn remove(this: &HtmlOptionsCollection, index: i32) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlOptionElement")]
+ #[wasm_bindgen(
+ catch,
+ method,
+ structural,
+ js_class = "HTMLOptionsCollection",
+ indexing_setter
+ )]
+ #[doc = "Indexing setter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlOptionsCollection`*"]
+ pub fn set(
+ this: &HtmlOptionsCollection,
+ index: u32,
+ option: Option<&HtmlOptionElement>,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlOutputElement.rs b/vendor/web-sys/src/features/gen_HtmlOutputElement.rs
new file mode 100644
index 000000000..8cb898080
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlOutputElement.rs
@@ -0,0 +1,130 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLOutputElement , typescript_type = "HTMLOutputElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlOutputElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub type HtmlOutputElement;
+ #[cfg(feature = "DomTokenList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = htmlFor)]
+ #[doc = "Getter for the `htmlFor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/htmlFor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `HtmlOutputElement`*"]
+ pub fn html_for(this: &HtmlOutputElement) -> DomTokenList;
+ #[cfg(feature = "HtmlFormElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = form)]
+ #[doc = "Getter for the `form` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/form)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlOutputElement`*"]
+ pub fn form(this: &HtmlOutputElement) -> Option<HtmlFormElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn name(this: &HtmlOutputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOutputElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn set_name(this: &HtmlOutputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn type_(this: &HtmlOutputElement) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = defaultValue)]
+ #[doc = "Getter for the `defaultValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/defaultValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn default_value(this: &HtmlOutputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOutputElement" , js_name = defaultValue)]
+ #[doc = "Setter for the `defaultValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/defaultValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn set_default_value(this: &HtmlOutputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn value(this: &HtmlOutputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOutputElement" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn set_value(this: &HtmlOutputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = willValidate)]
+ #[doc = "Getter for the `willValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/willValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn will_validate(this: &HtmlOutputElement) -> bool;
+ #[cfg(feature = "ValidityState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = validity)]
+ #[doc = "Getter for the `validity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/validity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`, `ValidityState`*"]
+ pub fn validity(this: &HtmlOutputElement) -> ValidityState;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLOutputElement" , js_name = validationMessage)]
+ #[doc = "Getter for the `validationMessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/validationMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn validation_message(this: &HtmlOutputElement) -> Result<String, JsValue>;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = labels)]
+ #[doc = "Getter for the `labels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/labels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`, `NodeList`*"]
+ pub fn labels(this: &HtmlOutputElement) -> NodeList;
+ # [wasm_bindgen (method , structural , js_class = "HTMLOutputElement" , js_name = checkValidity)]
+ #[doc = "The `checkValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/checkValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn check_validity(this: &HtmlOutputElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLOutputElement" , js_name = reportValidity)]
+ #[doc = "The `reportValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/reportValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn report_validity(this: &HtmlOutputElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLOutputElement" , js_name = setCustomValidity)]
+ #[doc = "The `setCustomValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/setCustomValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn set_custom_validity(this: &HtmlOutputElement, error: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlParagraphElement.rs b/vendor/web-sys/src/features/gen_HtmlParagraphElement.rs
new file mode 100644
index 000000000..51e139c1c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlParagraphElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLParagraphElement , typescript_type = "HTMLParagraphElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlParagraphElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlParagraphElement`*"]
+ pub type HtmlParagraphElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLParagraphElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlParagraphElement`*"]
+ pub fn align(this: &HtmlParagraphElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLParagraphElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlParagraphElement`*"]
+ pub fn set_align(this: &HtmlParagraphElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlParamElement.rs b/vendor/web-sys/src/features/gen_HtmlParamElement.rs
new file mode 100644
index 000000000..a6ea0d411
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlParamElement.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLParamElement , typescript_type = "HTMLParamElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlParamElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlParamElement`*"]
+ pub type HtmlParamElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLParamElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlParamElement`*"]
+ pub fn name(this: &HtmlParamElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLParamElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlParamElement`*"]
+ pub fn set_name(this: &HtmlParamElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLParamElement" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlParamElement`*"]
+ pub fn value(this: &HtmlParamElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLParamElement" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlParamElement`*"]
+ pub fn set_value(this: &HtmlParamElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLParamElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlParamElement`*"]
+ pub fn type_(this: &HtmlParamElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLParamElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlParamElement`*"]
+ pub fn set_type(this: &HtmlParamElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLParamElement" , js_name = valueType)]
+ #[doc = "Getter for the `valueType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/valueType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlParamElement`*"]
+ pub fn value_type(this: &HtmlParamElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLParamElement" , js_name = valueType)]
+ #[doc = "Setter for the `valueType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/valueType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlParamElement`*"]
+ pub fn set_value_type(this: &HtmlParamElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlPictureElement.rs b/vendor/web-sys/src/features/gen_HtmlPictureElement.rs
new file mode 100644
index 000000000..26112ae99
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlPictureElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLPictureElement , typescript_type = "HTMLPictureElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlPictureElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLPictureElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlPictureElement`*"]
+ pub type HtmlPictureElement;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlPreElement.rs b/vendor/web-sys/src/features/gen_HtmlPreElement.rs
new file mode 100644
index 000000000..5ce97ef3f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlPreElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLPreElement , typescript_type = "HTMLPreElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlPreElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlPreElement`*"]
+ pub type HtmlPreElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLPreElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlPreElement`*"]
+ pub fn width(this: &HtmlPreElement) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLPreElement" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlPreElement`*"]
+ pub fn set_width(this: &HtmlPreElement, value: i32);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlProgressElement.rs b/vendor/web-sys/src/features/gen_HtmlProgressElement.rs
new file mode 100644
index 000000000..ba5c6a7ca
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlProgressElement.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLProgressElement , typescript_type = "HTMLProgressElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlProgressElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`*"]
+ pub type HtmlProgressElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLProgressElement" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`*"]
+ pub fn value(this: &HtmlProgressElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLProgressElement" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`*"]
+ pub fn set_value(this: &HtmlProgressElement, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLProgressElement" , js_name = max)]
+ #[doc = "Getter for the `max` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/max)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`*"]
+ pub fn max(this: &HtmlProgressElement) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLProgressElement" , js_name = max)]
+ #[doc = "Setter for the `max` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/max)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`*"]
+ pub fn set_max(this: &HtmlProgressElement, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLProgressElement" , js_name = position)]
+ #[doc = "Getter for the `position` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/position)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`*"]
+ pub fn position(this: &HtmlProgressElement) -> f64;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLProgressElement" , js_name = labels)]
+ #[doc = "Getter for the `labels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/labels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`, `NodeList`*"]
+ pub fn labels(this: &HtmlProgressElement) -> NodeList;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlQuoteElement.rs b/vendor/web-sys/src/features/gen_HtmlQuoteElement.rs
new file mode 100644
index 000000000..9d18e1382
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlQuoteElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLQuoteElement , typescript_type = "HTMLQuoteElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlQuoteElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlQuoteElement`*"]
+ pub type HtmlQuoteElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLQuoteElement" , js_name = cite)]
+ #[doc = "Getter for the `cite` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement/cite)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlQuoteElement`*"]
+ pub fn cite(this: &HtmlQuoteElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLQuoteElement" , js_name = cite)]
+ #[doc = "Setter for the `cite` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement/cite)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlQuoteElement`*"]
+ pub fn set_cite(this: &HtmlQuoteElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlScriptElement.rs b/vendor/web-sys/src/features/gen_HtmlScriptElement.rs
new file mode 100644
index 000000000..21198eb79
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlScriptElement.rs
@@ -0,0 +1,168 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLScriptElement , typescript_type = "HTMLScriptElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlScriptElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub type HtmlScriptElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = src)]
+ #[doc = "Getter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn src(this: &HtmlScriptElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = src)]
+ #[doc = "Setter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn set_src(this: &HtmlScriptElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn type_(this: &HtmlScriptElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn set_type(this: &HtmlScriptElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = noModule)]
+ #[doc = "Getter for the `noModule` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/noModule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn no_module(this: &HtmlScriptElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = noModule)]
+ #[doc = "Setter for the `noModule` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/noModule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn set_no_module(this: &HtmlScriptElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = charset)]
+ #[doc = "Getter for the `charset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/charset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn charset(this: &HtmlScriptElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = charset)]
+ #[doc = "Setter for the `charset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/charset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn set_charset(this: &HtmlScriptElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = async)]
+ #[doc = "Getter for the `async` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/async)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn r#async(this: &HtmlScriptElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = async)]
+ #[doc = "Setter for the `async` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/async)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn set_async(this: &HtmlScriptElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = defer)]
+ #[doc = "Getter for the `defer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/defer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn defer(this: &HtmlScriptElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = defer)]
+ #[doc = "Setter for the `defer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/defer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn set_defer(this: &HtmlScriptElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = crossOrigin)]
+ #[doc = "Getter for the `crossOrigin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/crossOrigin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn cross_origin(this: &HtmlScriptElement) -> Option<String>;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = crossOrigin)]
+ #[doc = "Setter for the `crossOrigin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/crossOrigin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn set_cross_origin(this: &HtmlScriptElement, value: Option<&str>);
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLScriptElement" , js_name = text)]
+ #[doc = "Getter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn text(this: &HtmlScriptElement) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLScriptElement" , js_name = text)]
+ #[doc = "Setter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn set_text(this: &HtmlScriptElement, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = event)]
+ #[doc = "Getter for the `event` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/event)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn event(this: &HtmlScriptElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = event)]
+ #[doc = "Setter for the `event` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/event)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn set_event(this: &HtmlScriptElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = htmlFor)]
+ #[doc = "Getter for the `htmlFor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/htmlFor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn html_for(this: &HtmlScriptElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = htmlFor)]
+ #[doc = "Setter for the `htmlFor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/htmlFor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn set_html_for(this: &HtmlScriptElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLScriptElement" , js_name = integrity)]
+ #[doc = "Getter for the `integrity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/integrity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn integrity(this: &HtmlScriptElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLScriptElement" , js_name = integrity)]
+ #[doc = "Setter for the `integrity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/integrity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlScriptElement`*"]
+ pub fn set_integrity(this: &HtmlScriptElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlSelectElement.rs b/vendor/web-sys/src/features/gen_HtmlSelectElement.rs
new file mode 100644
index 000000000..87f3ddd7a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlSelectElement.rs
@@ -0,0 +1,360 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLSelectElement , typescript_type = "HTMLSelectElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlSelectElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub type HtmlSelectElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = autofocus)]
+ #[doc = "Getter for the `autofocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/autofocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn autofocus(this: &HtmlSelectElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSelectElement" , js_name = autofocus)]
+ #[doc = "Setter for the `autofocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/autofocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn set_autofocus(this: &HtmlSelectElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = autocomplete)]
+ #[doc = "Getter for the `autocomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/autocomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn autocomplete(this: &HtmlSelectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSelectElement" , js_name = autocomplete)]
+ #[doc = "Setter for the `autocomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/autocomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn set_autocomplete(this: &HtmlSelectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = disabled)]
+ #[doc = "Getter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn disabled(this: &HtmlSelectElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSelectElement" , js_name = disabled)]
+ #[doc = "Setter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn set_disabled(this: &HtmlSelectElement, value: bool);
+ #[cfg(feature = "HtmlFormElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = form)]
+ #[doc = "Getter for the `form` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/form)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlSelectElement`*"]
+ pub fn form(this: &HtmlSelectElement) -> Option<HtmlFormElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = multiple)]
+ #[doc = "Getter for the `multiple` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/multiple)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn multiple(this: &HtmlSelectElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSelectElement" , js_name = multiple)]
+ #[doc = "Setter for the `multiple` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/multiple)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn set_multiple(this: &HtmlSelectElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn name(this: &HtmlSelectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSelectElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn set_name(this: &HtmlSelectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = required)]
+ #[doc = "Getter for the `required` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/required)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn required(this: &HtmlSelectElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSelectElement" , js_name = required)]
+ #[doc = "Setter for the `required` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/required)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn set_required(this: &HtmlSelectElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn size(this: &HtmlSelectElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSelectElement" , js_name = size)]
+ #[doc = "Setter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn set_size(this: &HtmlSelectElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn type_(this: &HtmlSelectElement) -> String;
+ #[cfg(feature = "HtmlOptionsCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = options)]
+ #[doc = "Getter for the `options` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/options)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionsCollection`, `HtmlSelectElement`*"]
+ pub fn options(this: &HtmlSelectElement) -> HtmlOptionsCollection;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn length(this: &HtmlSelectElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSelectElement" , js_name = length)]
+ #[doc = "Setter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn set_length(this: &HtmlSelectElement, value: u32);
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = selectedOptions)]
+ #[doc = "Getter for the `selectedOptions` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedOptions)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlSelectElement`*"]
+ pub fn selected_options(this: &HtmlSelectElement) -> HtmlCollection;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = selectedIndex)]
+ #[doc = "Getter for the `selectedIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn selected_index(this: &HtmlSelectElement) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSelectElement" , js_name = selectedIndex)]
+ #[doc = "Setter for the `selectedIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn set_selected_index(this: &HtmlSelectElement, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn value(this: &HtmlSelectElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSelectElement" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn set_value(this: &HtmlSelectElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = willValidate)]
+ #[doc = "Getter for the `willValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/willValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn will_validate(this: &HtmlSelectElement) -> bool;
+ #[cfg(feature = "ValidityState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = validity)]
+ #[doc = "Getter for the `validity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/validity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`, `ValidityState`*"]
+ pub fn validity(this: &HtmlSelectElement) -> ValidityState;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLSelectElement" , js_name = validationMessage)]
+ #[doc = "Getter for the `validationMessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/validationMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn validation_message(this: &HtmlSelectElement) -> Result<String, JsValue>;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSelectElement" , js_name = labels)]
+ #[doc = "Getter for the `labels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/labels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`, `NodeList`*"]
+ pub fn labels(this: &HtmlSelectElement) -> NodeList;
+ #[cfg(feature = "HtmlOptionElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLSelectElement" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*"]
+ pub fn add_with_html_option_element(
+ this: &HtmlSelectElement,
+ element: &HtmlOptionElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlOptGroupElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLSelectElement" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlSelectElement`*"]
+ pub fn add_with_html_opt_group_element(
+ this: &HtmlSelectElement,
+ element: &HtmlOptGroupElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlOptionElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLSelectElement" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*"]
+ pub fn add_with_html_option_element_and_opt_html_element(
+ this: &HtmlSelectElement,
+ element: &HtmlOptionElement,
+ before: Option<&HtmlElement>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlOptGroupElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLSelectElement" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlSelectElement`*"]
+ pub fn add_with_html_opt_group_element_and_opt_html_element(
+ this: &HtmlSelectElement,
+ element: &HtmlOptGroupElement,
+ before: Option<&HtmlElement>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlOptionElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLSelectElement" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*"]
+ pub fn add_with_html_option_element_and_opt_i32(
+ this: &HtmlSelectElement,
+ element: &HtmlOptionElement,
+ before: Option<i32>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlOptGroupElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLSelectElement" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlSelectElement`*"]
+ pub fn add_with_html_opt_group_element_and_opt_i32(
+ this: &HtmlSelectElement,
+ element: &HtmlOptGroupElement,
+ before: Option<i32>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLSelectElement" , js_name = checkValidity)]
+ #[doc = "The `checkValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/checkValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn check_validity(this: &HtmlSelectElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLSelectElement" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn item(this: &HtmlSelectElement, index: u32) -> Option<Element>;
+ #[cfg(feature = "HtmlOptionElement")]
+ # [wasm_bindgen (method , structural , js_class = "HTMLSelectElement" , js_name = namedItem)]
+ #[doc = "The `namedItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/namedItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*"]
+ pub fn named_item(this: &HtmlSelectElement, name: &str) -> Option<HtmlOptionElement>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLSelectElement" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn remove_with_index(this: &HtmlSelectElement, index: i32);
+ # [wasm_bindgen (method , structural , js_class = "HTMLSelectElement" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn remove(this: &HtmlSelectElement);
+ # [wasm_bindgen (method , structural , js_class = "HTMLSelectElement" , js_name = reportValidity)]
+ #[doc = "The `reportValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/reportValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn report_validity(this: &HtmlSelectElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLSelectElement" , js_name = setCustomValidity)]
+ #[doc = "The `setCustomValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/setCustomValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn set_custom_validity(this: &HtmlSelectElement, error: &str);
+ #[wasm_bindgen(method, structural, js_class = "HTMLSelectElement", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"]
+ pub fn get(this: &HtmlSelectElement, index: u32) -> Option<Element>;
+ #[cfg(feature = "HtmlOptionElement")]
+ #[wasm_bindgen(
+ catch,
+ method,
+ structural,
+ js_class = "HTMLSelectElement",
+ indexing_setter
+ )]
+ #[doc = "Indexing setter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*"]
+ pub fn set(
+ this: &HtmlSelectElement,
+ index: u32,
+ option: Option<&HtmlOptionElement>,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlSlotElement.rs b/vendor/web-sys/src/features/gen_HtmlSlotElement.rs
new file mode 100644
index 000000000..c822a2ee4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlSlotElement.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLSlotElement , typescript_type = "HTMLSlotElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlSlotElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSlotElement`*"]
+ pub type HtmlSlotElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSlotElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSlotElement`*"]
+ pub fn name(this: &HtmlSlotElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSlotElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSlotElement`*"]
+ pub fn set_name(this: &HtmlSlotElement, value: &str);
+ # [wasm_bindgen (method , structural , js_class = "HTMLSlotElement" , js_name = assignedNodes)]
+ #[doc = "The `assignedNodes()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/assignedNodes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSlotElement`*"]
+ pub fn assigned_nodes(this: &HtmlSlotElement) -> ::js_sys::Array;
+ #[cfg(feature = "AssignedNodesOptions")]
+ # [wasm_bindgen (method , structural , js_class = "HTMLSlotElement" , js_name = assignedNodes)]
+ #[doc = "The `assignedNodes()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/assignedNodes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AssignedNodesOptions`, `HtmlSlotElement`*"]
+ pub fn assigned_nodes_with_options(
+ this: &HtmlSlotElement,
+ options: &AssignedNodesOptions,
+ ) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlSourceElement.rs b/vendor/web-sys/src/features/gen_HtmlSourceElement.rs
new file mode 100644
index 000000000..fd01150d9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlSourceElement.rs
@@ -0,0 +1,84 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLSourceElement , typescript_type = "HTMLSourceElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlSourceElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSourceElement`*"]
+ pub type HtmlSourceElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSourceElement" , js_name = src)]
+ #[doc = "Getter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSourceElement`*"]
+ pub fn src(this: &HtmlSourceElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSourceElement" , js_name = src)]
+ #[doc = "Setter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSourceElement`*"]
+ pub fn set_src(this: &HtmlSourceElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSourceElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSourceElement`*"]
+ pub fn type_(this: &HtmlSourceElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSourceElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSourceElement`*"]
+ pub fn set_type(this: &HtmlSourceElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSourceElement" , js_name = srcset)]
+ #[doc = "Getter for the `srcset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/srcset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSourceElement`*"]
+ pub fn srcset(this: &HtmlSourceElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSourceElement" , js_name = srcset)]
+ #[doc = "Setter for the `srcset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/srcset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSourceElement`*"]
+ pub fn set_srcset(this: &HtmlSourceElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSourceElement" , js_name = sizes)]
+ #[doc = "Getter for the `sizes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/sizes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSourceElement`*"]
+ pub fn sizes(this: &HtmlSourceElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSourceElement" , js_name = sizes)]
+ #[doc = "Setter for the `sizes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/sizes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSourceElement`*"]
+ pub fn set_sizes(this: &HtmlSourceElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLSourceElement" , js_name = media)]
+ #[doc = "Getter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSourceElement`*"]
+ pub fn media(this: &HtmlSourceElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLSourceElement" , js_name = media)]
+ #[doc = "Setter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSourceElement`*"]
+ pub fn set_media(this: &HtmlSourceElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlSpanElement.rs b/vendor/web-sys/src/features/gen_HtmlSpanElement.rs
new file mode 100644
index 000000000..fee20cc82
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlSpanElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLSpanElement , typescript_type = "HTMLSpanElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlSpanElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSpanElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSpanElement`*"]
+ pub type HtmlSpanElement;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlStyleElement.rs b/vendor/web-sys/src/features/gen_HtmlStyleElement.rs
new file mode 100644
index 000000000..a8082b11c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlStyleElement.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLStyleElement , typescript_type = "HTMLStyleElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlStyleElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlStyleElement`*"]
+ pub type HtmlStyleElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLStyleElement" , js_name = disabled)]
+ #[doc = "Getter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlStyleElement`*"]
+ pub fn disabled(this: &HtmlStyleElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLStyleElement" , js_name = disabled)]
+ #[doc = "Setter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlStyleElement`*"]
+ pub fn set_disabled(this: &HtmlStyleElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLStyleElement" , js_name = media)]
+ #[doc = "Getter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlStyleElement`*"]
+ pub fn media(this: &HtmlStyleElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLStyleElement" , js_name = media)]
+ #[doc = "Setter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlStyleElement`*"]
+ pub fn set_media(this: &HtmlStyleElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLStyleElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlStyleElement`*"]
+ pub fn type_(this: &HtmlStyleElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLStyleElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlStyleElement`*"]
+ pub fn set_type(this: &HtmlStyleElement, value: &str);
+ #[cfg(feature = "StyleSheet")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLStyleElement" , js_name = sheet)]
+ #[doc = "Getter for the `sheet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/sheet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlStyleElement`, `StyleSheet`*"]
+ pub fn sheet(this: &HtmlStyleElement) -> Option<StyleSheet>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlTableCaptionElement.rs b/vendor/web-sys/src/features/gen_HtmlTableCaptionElement.rs
new file mode 100644
index 000000000..a3051b715
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlTableCaptionElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTableCaptionElement , typescript_type = "HTMLTableCaptionElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlTableCaptionElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCaptionElement`*"]
+ pub type HtmlTableCaptionElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCaptionElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCaptionElement`*"]
+ pub fn align(this: &HtmlTableCaptionElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCaptionElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCaptionElement`*"]
+ pub fn set_align(this: &HtmlTableCaptionElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlTableCellElement.rs b/vendor/web-sys/src/features/gen_HtmlTableCellElement.rs
new file mode 100644
index 000000000..343b94349
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlTableCellElement.rs
@@ -0,0 +1,189 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTableCellElement , typescript_type = "HTMLTableCellElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlTableCellElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub type HtmlTableCellElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = colSpan)]
+ #[doc = "Getter for the `colSpan` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/colSpan)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn col_span(this: &HtmlTableCellElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = colSpan)]
+ #[doc = "Setter for the `colSpan` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/colSpan)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn set_col_span(this: &HtmlTableCellElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = rowSpan)]
+ #[doc = "Getter for the `rowSpan` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/rowSpan)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn row_span(this: &HtmlTableCellElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = rowSpan)]
+ #[doc = "Setter for the `rowSpan` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/rowSpan)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn set_row_span(this: &HtmlTableCellElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = headers)]
+ #[doc = "Getter for the `headers` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/headers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn headers(this: &HtmlTableCellElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = headers)]
+ #[doc = "Setter for the `headers` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/headers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn set_headers(this: &HtmlTableCellElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = cellIndex)]
+ #[doc = "Getter for the `cellIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/cellIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn cell_index(this: &HtmlTableCellElement) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn align(this: &HtmlTableCellElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn set_align(this: &HtmlTableCellElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = axis)]
+ #[doc = "Getter for the `axis` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/axis)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn axis(this: &HtmlTableCellElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = axis)]
+ #[doc = "Setter for the `axis` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/axis)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn set_axis(this: &HtmlTableCellElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn height(this: &HtmlTableCellElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = height)]
+ #[doc = "Setter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn set_height(this: &HtmlTableCellElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn width(this: &HtmlTableCellElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn set_width(this: &HtmlTableCellElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = ch)]
+ #[doc = "Getter for the `ch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/ch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn ch(this: &HtmlTableCellElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = ch)]
+ #[doc = "Setter for the `ch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/ch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn set_ch(this: &HtmlTableCellElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = chOff)]
+ #[doc = "Getter for the `chOff` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/chOff)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn ch_off(this: &HtmlTableCellElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = chOff)]
+ #[doc = "Setter for the `chOff` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/chOff)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn set_ch_off(this: &HtmlTableCellElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = noWrap)]
+ #[doc = "Getter for the `noWrap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/noWrap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn no_wrap(this: &HtmlTableCellElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = noWrap)]
+ #[doc = "Setter for the `noWrap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/noWrap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn set_no_wrap(this: &HtmlTableCellElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = vAlign)]
+ #[doc = "Getter for the `vAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/vAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn v_align(this: &HtmlTableCellElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = vAlign)]
+ #[doc = "Setter for the `vAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/vAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn set_v_align(this: &HtmlTableCellElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = bgColor)]
+ #[doc = "Getter for the `bgColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/bgColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn bg_color(this: &HtmlTableCellElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = bgColor)]
+ #[doc = "Setter for the `bgColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/bgColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
+ pub fn set_bg_color(this: &HtmlTableCellElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlTableColElement.rs b/vendor/web-sys/src/features/gen_HtmlTableColElement.rs
new file mode 100644
index 000000000..d2e4e771a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlTableColElement.rs
@@ -0,0 +1,98 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTableColElement , typescript_type = "HTMLTableColElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlTableColElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub type HtmlTableColElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableColElement" , js_name = span)]
+ #[doc = "Getter for the `span` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/span)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub fn span(this: &HtmlTableColElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableColElement" , js_name = span)]
+ #[doc = "Setter for the `span` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/span)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub fn set_span(this: &HtmlTableColElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableColElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub fn align(this: &HtmlTableColElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableColElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub fn set_align(this: &HtmlTableColElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableColElement" , js_name = ch)]
+ #[doc = "Getter for the `ch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/ch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub fn ch(this: &HtmlTableColElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableColElement" , js_name = ch)]
+ #[doc = "Setter for the `ch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/ch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub fn set_ch(this: &HtmlTableColElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableColElement" , js_name = chOff)]
+ #[doc = "Getter for the `chOff` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/chOff)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub fn ch_off(this: &HtmlTableColElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableColElement" , js_name = chOff)]
+ #[doc = "Setter for the `chOff` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/chOff)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub fn set_ch_off(this: &HtmlTableColElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableColElement" , js_name = vAlign)]
+ #[doc = "Getter for the `vAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/vAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub fn v_align(this: &HtmlTableColElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableColElement" , js_name = vAlign)]
+ #[doc = "Setter for the `vAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/vAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub fn set_v_align(this: &HtmlTableColElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableColElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub fn width(this: &HtmlTableColElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableColElement" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
+ pub fn set_width(this: &HtmlTableColElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlTableElement.rs b/vendor/web-sys/src/features/gen_HtmlTableElement.rs
new file mode 100644
index 000000000..036e2ab88
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlTableElement.rs
@@ -0,0 +1,277 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTableElement , typescript_type = "HTMLTableElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlTableElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub type HtmlTableElement;
+ #[cfg(feature = "HtmlTableCaptionElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = caption)]
+ #[doc = "Getter for the `caption` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/caption)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCaptionElement`, `HtmlTableElement`*"]
+ pub fn caption(this: &HtmlTableElement) -> Option<HtmlTableCaptionElement>;
+ #[cfg(feature = "HtmlTableCaptionElement")]
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = caption)]
+ #[doc = "Setter for the `caption` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/caption)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableCaptionElement`, `HtmlTableElement`*"]
+ pub fn set_caption(this: &HtmlTableElement, value: Option<&HtmlTableCaptionElement>);
+ #[cfg(feature = "HtmlTableSectionElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = tHead)]
+ #[doc = "Getter for the `tHead` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tHead)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*"]
+ pub fn t_head(this: &HtmlTableElement) -> Option<HtmlTableSectionElement>;
+ #[cfg(feature = "HtmlTableSectionElement")]
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = tHead)]
+ #[doc = "Setter for the `tHead` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tHead)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*"]
+ pub fn set_t_head(this: &HtmlTableElement, value: Option<&HtmlTableSectionElement>);
+ #[cfg(feature = "HtmlTableSectionElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = tFoot)]
+ #[doc = "Getter for the `tFoot` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tFoot)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*"]
+ pub fn t_foot(this: &HtmlTableElement) -> Option<HtmlTableSectionElement>;
+ #[cfg(feature = "HtmlTableSectionElement")]
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = tFoot)]
+ #[doc = "Setter for the `tFoot` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tFoot)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*"]
+ pub fn set_t_foot(this: &HtmlTableElement, value: Option<&HtmlTableSectionElement>);
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = tBodies)]
+ #[doc = "Getter for the `tBodies` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tBodies)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableElement`*"]
+ pub fn t_bodies(this: &HtmlTableElement) -> HtmlCollection;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = rows)]
+ #[doc = "Getter for the `rows` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/rows)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableElement`*"]
+ pub fn rows(this: &HtmlTableElement) -> HtmlCollection;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn align(this: &HtmlTableElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn set_align(this: &HtmlTableElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = border)]
+ #[doc = "Getter for the `border` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/border)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn border(this: &HtmlTableElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = border)]
+ #[doc = "Setter for the `border` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/border)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn set_border(this: &HtmlTableElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = frame)]
+ #[doc = "Getter for the `frame` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/frame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn frame(this: &HtmlTableElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = frame)]
+ #[doc = "Setter for the `frame` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/frame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn set_frame(this: &HtmlTableElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = rules)]
+ #[doc = "Getter for the `rules` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/rules)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn rules(this: &HtmlTableElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = rules)]
+ #[doc = "Setter for the `rules` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/rules)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn set_rules(this: &HtmlTableElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = summary)]
+ #[doc = "Getter for the `summary` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/summary)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn summary(this: &HtmlTableElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = summary)]
+ #[doc = "Setter for the `summary` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/summary)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn set_summary(this: &HtmlTableElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn width(this: &HtmlTableElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn set_width(this: &HtmlTableElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = bgColor)]
+ #[doc = "Getter for the `bgColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/bgColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn bg_color(this: &HtmlTableElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = bgColor)]
+ #[doc = "Setter for the `bgColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/bgColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn set_bg_color(this: &HtmlTableElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = cellPadding)]
+ #[doc = "Getter for the `cellPadding` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellPadding)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn cell_padding(this: &HtmlTableElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = cellPadding)]
+ #[doc = "Setter for the `cellPadding` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellPadding)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn set_cell_padding(this: &HtmlTableElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = cellSpacing)]
+ #[doc = "Getter for the `cellSpacing` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellSpacing)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn cell_spacing(this: &HtmlTableElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = cellSpacing)]
+ #[doc = "Setter for the `cellSpacing` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellSpacing)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn set_cell_spacing(this: &HtmlTableElement, value: &str);
+ # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = createCaption)]
+ #[doc = "The `createCaption()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createCaption)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn create_caption(this: &HtmlTableElement) -> HtmlElement;
+ # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = createTBody)]
+ #[doc = "The `createTBody()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createTBody)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn create_t_body(this: &HtmlTableElement) -> HtmlElement;
+ # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = createTFoot)]
+ #[doc = "The `createTFoot()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createTFoot)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn create_t_foot(this: &HtmlTableElement) -> HtmlElement;
+ # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = createTHead)]
+ #[doc = "The `createTHead()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createTHead)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn create_t_head(this: &HtmlTableElement) -> HtmlElement;
+ # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = deleteCaption)]
+ #[doc = "The `deleteCaption()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteCaption)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn delete_caption(this: &HtmlTableElement);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableElement" , js_name = deleteRow)]
+ #[doc = "The `deleteRow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteRow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn delete_row(this: &HtmlTableElement, index: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = deleteTFoot)]
+ #[doc = "The `deleteTFoot()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteTFoot)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn delete_t_foot(this: &HtmlTableElement);
+ # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = deleteTHead)]
+ #[doc = "The `deleteTHead()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteTHead)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn delete_t_head(this: &HtmlTableElement);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableElement" , js_name = insertRow)]
+ #[doc = "The `insertRow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/insertRow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn insert_row(this: &HtmlTableElement) -> Result<HtmlElement, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableElement" , js_name = insertRow)]
+ #[doc = "The `insertRow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/insertRow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"]
+ pub fn insert_row_with_index(
+ this: &HtmlTableElement,
+ index: i32,
+ ) -> Result<HtmlElement, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlTableRowElement.rs b/vendor/web-sys/src/features/gen_HtmlTableRowElement.rs
new file mode 100644
index 000000000..222d7b0df
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlTableRowElement.rs
@@ -0,0 +1,130 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTableRowElement , typescript_type = "HTMLTableRowElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlTableRowElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub type HtmlTableRowElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = rowIndex)]
+ #[doc = "Getter for the `rowIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/rowIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn row_index(this: &HtmlTableRowElement) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = sectionRowIndex)]
+ #[doc = "Getter for the `sectionRowIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/sectionRowIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn section_row_index(this: &HtmlTableRowElement) -> i32;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = cells)]
+ #[doc = "Getter for the `cells` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/cells)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableRowElement`*"]
+ pub fn cells(this: &HtmlTableRowElement) -> HtmlCollection;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn align(this: &HtmlTableRowElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableRowElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn set_align(this: &HtmlTableRowElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = ch)]
+ #[doc = "Getter for the `ch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/ch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn ch(this: &HtmlTableRowElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableRowElement" , js_name = ch)]
+ #[doc = "Setter for the `ch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/ch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn set_ch(this: &HtmlTableRowElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = chOff)]
+ #[doc = "Getter for the `chOff` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/chOff)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn ch_off(this: &HtmlTableRowElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableRowElement" , js_name = chOff)]
+ #[doc = "Setter for the `chOff` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/chOff)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn set_ch_off(this: &HtmlTableRowElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = vAlign)]
+ #[doc = "Getter for the `vAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/vAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn v_align(this: &HtmlTableRowElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableRowElement" , js_name = vAlign)]
+ #[doc = "Setter for the `vAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/vAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn set_v_align(this: &HtmlTableRowElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = bgColor)]
+ #[doc = "Getter for the `bgColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/bgColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn bg_color(this: &HtmlTableRowElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableRowElement" , js_name = bgColor)]
+ #[doc = "Setter for the `bgColor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/bgColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn set_bg_color(this: &HtmlTableRowElement, value: &str);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableRowElement" , js_name = deleteCell)]
+ #[doc = "The `deleteCell()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/deleteCell)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn delete_cell(this: &HtmlTableRowElement, index: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableRowElement" , js_name = insertCell)]
+ #[doc = "The `insertCell()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/insertCell)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn insert_cell(this: &HtmlTableRowElement) -> Result<HtmlElement, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableRowElement" , js_name = insertCell)]
+ #[doc = "The `insertCell()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/insertCell)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
+ pub fn insert_cell_with_index(
+ this: &HtmlTableRowElement,
+ index: i32,
+ ) -> Result<HtmlElement, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlTableSectionElement.rs b/vendor/web-sys/src/features/gen_HtmlTableSectionElement.rs
new file mode 100644
index 000000000..503f2245e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlTableSectionElement.rs
@@ -0,0 +1,102 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTableSectionElement , typescript_type = "HTMLTableSectionElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlTableSectionElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
+ pub type HtmlTableSectionElement;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableSectionElement" , js_name = rows)]
+ #[doc = "Getter for the `rows` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/rows)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableSectionElement`*"]
+ pub fn rows(this: &HtmlTableSectionElement) -> HtmlCollection;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableSectionElement" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
+ pub fn align(this: &HtmlTableSectionElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableSectionElement" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
+ pub fn set_align(this: &HtmlTableSectionElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableSectionElement" , js_name = ch)]
+ #[doc = "Getter for the `ch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/ch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
+ pub fn ch(this: &HtmlTableSectionElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableSectionElement" , js_name = ch)]
+ #[doc = "Setter for the `ch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/ch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
+ pub fn set_ch(this: &HtmlTableSectionElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableSectionElement" , js_name = chOff)]
+ #[doc = "Getter for the `chOff` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/chOff)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
+ pub fn ch_off(this: &HtmlTableSectionElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableSectionElement" , js_name = chOff)]
+ #[doc = "Setter for the `chOff` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/chOff)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
+ pub fn set_ch_off(this: &HtmlTableSectionElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableSectionElement" , js_name = vAlign)]
+ #[doc = "Getter for the `vAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/vAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
+ pub fn v_align(this: &HtmlTableSectionElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableSectionElement" , js_name = vAlign)]
+ #[doc = "Setter for the `vAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/vAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
+ pub fn set_v_align(this: &HtmlTableSectionElement, value: &str);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableSectionElement" , js_name = deleteRow)]
+ #[doc = "The `deleteRow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/deleteRow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
+ pub fn delete_row(this: &HtmlTableSectionElement, index: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableSectionElement" , js_name = insertRow)]
+ #[doc = "The `insertRow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/insertRow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
+ pub fn insert_row(this: &HtmlTableSectionElement) -> Result<HtmlElement, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableSectionElement" , js_name = insertRow)]
+ #[doc = "The `insertRow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/insertRow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
+ pub fn insert_row_with_index(
+ this: &HtmlTableSectionElement,
+ index: i32,
+ ) -> Result<HtmlElement, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlTemplateElement.rs b/vendor/web-sys/src/features/gen_HtmlTemplateElement.rs
new file mode 100644
index 000000000..dba10b0c0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlTemplateElement.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTemplateElement , typescript_type = "HTMLTemplateElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlTemplateElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTemplateElement`*"]
+ pub type HtmlTemplateElement;
+ #[cfg(feature = "DocumentFragment")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTemplateElement" , js_name = content)]
+ #[doc = "Getter for the `content` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement/content)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `HtmlTemplateElement`*"]
+ pub fn content(this: &HtmlTemplateElement) -> DocumentFragment;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlTextAreaElement.rs b/vendor/web-sys/src/features/gen_HtmlTextAreaElement.rs
new file mode 100644
index 000000000..b21d4758a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlTextAreaElement.rs
@@ -0,0 +1,381 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTextAreaElement , typescript_type = "HTMLTextAreaElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlTextAreaElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub type HtmlTextAreaElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = autocomplete)]
+ #[doc = "Getter for the `autocomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autocomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn autocomplete(this: &HtmlTextAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = autocomplete)]
+ #[doc = "Setter for the `autocomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autocomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_autocomplete(this: &HtmlTextAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = autofocus)]
+ #[doc = "Getter for the `autofocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autofocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn autofocus(this: &HtmlTextAreaElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = autofocus)]
+ #[doc = "Setter for the `autofocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autofocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_autofocus(this: &HtmlTextAreaElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = cols)]
+ #[doc = "Getter for the `cols` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/cols)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn cols(this: &HtmlTextAreaElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = cols)]
+ #[doc = "Setter for the `cols` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/cols)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_cols(this: &HtmlTextAreaElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = disabled)]
+ #[doc = "Getter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn disabled(this: &HtmlTextAreaElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = disabled)]
+ #[doc = "Setter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_disabled(this: &HtmlTextAreaElement, value: bool);
+ #[cfg(feature = "HtmlFormElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = form)]
+ #[doc = "Getter for the `form` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/form)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlTextAreaElement`*"]
+ pub fn form(this: &HtmlTextAreaElement) -> Option<HtmlFormElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = maxLength)]
+ #[doc = "Getter for the `maxLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/maxLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn max_length(this: &HtmlTextAreaElement) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = maxLength)]
+ #[doc = "Setter for the `maxLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/maxLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_max_length(this: &HtmlTextAreaElement, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = minLength)]
+ #[doc = "Getter for the `minLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/minLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn min_length(this: &HtmlTextAreaElement) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = minLength)]
+ #[doc = "Setter for the `minLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/minLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_min_length(this: &HtmlTextAreaElement, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn name(this: &HtmlTextAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_name(this: &HtmlTextAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = placeholder)]
+ #[doc = "Getter for the `placeholder` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/placeholder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn placeholder(this: &HtmlTextAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = placeholder)]
+ #[doc = "Setter for the `placeholder` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/placeholder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_placeholder(this: &HtmlTextAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = readOnly)]
+ #[doc = "Getter for the `readOnly` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/readOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn read_only(this: &HtmlTextAreaElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = readOnly)]
+ #[doc = "Setter for the `readOnly` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/readOnly)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_read_only(this: &HtmlTextAreaElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = required)]
+ #[doc = "Getter for the `required` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/required)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn required(this: &HtmlTextAreaElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = required)]
+ #[doc = "Setter for the `required` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/required)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_required(this: &HtmlTextAreaElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = rows)]
+ #[doc = "Getter for the `rows` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/rows)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn rows(this: &HtmlTextAreaElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = rows)]
+ #[doc = "Setter for the `rows` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/rows)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_rows(this: &HtmlTextAreaElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = wrap)]
+ #[doc = "Getter for the `wrap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/wrap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn wrap(this: &HtmlTextAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = wrap)]
+ #[doc = "Setter for the `wrap` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/wrap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_wrap(this: &HtmlTextAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn type_(this: &HtmlTextAreaElement) -> String;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = defaultValue)]
+ #[doc = "Getter for the `defaultValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/defaultValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn default_value(this: &HtmlTextAreaElement) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = defaultValue)]
+ #[doc = "Setter for the `defaultValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/defaultValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_default_value(this: &HtmlTextAreaElement, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn value(this: &HtmlTextAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_value(this: &HtmlTextAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = textLength)]
+ #[doc = "Getter for the `textLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/textLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn text_length(this: &HtmlTextAreaElement) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = willValidate)]
+ #[doc = "Getter for the `willValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/willValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn will_validate(this: &HtmlTextAreaElement) -> bool;
+ #[cfg(feature = "ValidityState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = validity)]
+ #[doc = "Getter for the `validity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/validity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`, `ValidityState`*"]
+ pub fn validity(this: &HtmlTextAreaElement) -> ValidityState;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = validationMessage)]
+ #[doc = "Getter for the `validationMessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/validationMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn validation_message(this: &HtmlTextAreaElement) -> Result<String, JsValue>;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = labels)]
+ #[doc = "Getter for the `labels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/labels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`, `NodeList`*"]
+ pub fn labels(this: &HtmlTextAreaElement) -> NodeList;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = selectionStart)]
+ #[doc = "Getter for the `selectionStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn selection_start(this: &HtmlTextAreaElement) -> Result<Option<u32>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = selectionStart)]
+ #[doc = "Setter for the `selectionStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_selection_start(
+ this: &HtmlTextAreaElement,
+ value: Option<u32>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = selectionEnd)]
+ #[doc = "Getter for the `selectionEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn selection_end(this: &HtmlTextAreaElement) -> Result<Option<u32>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = selectionEnd)]
+ #[doc = "Setter for the `selectionEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_selection_end(this: &HtmlTextAreaElement, value: Option<u32>)
+ -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = selectionDirection)]
+ #[doc = "Getter for the `selectionDirection` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionDirection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn selection_direction(this: &HtmlTextAreaElement) -> Result<Option<String>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = selectionDirection)]
+ #[doc = "Setter for the `selectionDirection` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionDirection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_selection_direction(
+ this: &HtmlTextAreaElement,
+ value: Option<&str>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "HTMLTextAreaElement" , js_name = checkValidity)]
+ #[doc = "The `checkValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/checkValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn check_validity(this: &HtmlTextAreaElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLTextAreaElement" , js_name = reportValidity)]
+ #[doc = "The `reportValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/reportValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn report_validity(this: &HtmlTextAreaElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLTextAreaElement" , js_name = select)]
+ #[doc = "The `select()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/select)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn select(this: &HtmlTextAreaElement);
+ # [wasm_bindgen (method , structural , js_class = "HTMLTextAreaElement" , js_name = setCustomValidity)]
+ #[doc = "The `setCustomValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setCustomValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_custom_validity(this: &HtmlTextAreaElement, error: &str);
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setRangeText)]
+ #[doc = "The `setRangeText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setRangeText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_range_text(this: &HtmlTextAreaElement, replacement: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setRangeText)]
+ #[doc = "The `setRangeText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setRangeText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_range_text_with_start_and_end(
+ this: &HtmlTextAreaElement,
+ replacement: &str,
+ start: u32,
+ end: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setSelectionRange)]
+ #[doc = "The `setSelectionRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setSelectionRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_selection_range(
+ this: &HtmlTextAreaElement,
+ start: u32,
+ end: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setSelectionRange)]
+ #[doc = "The `setSelectionRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setSelectionRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
+ pub fn set_selection_range_with_direction(
+ this: &HtmlTextAreaElement,
+ start: u32,
+ end: u32,
+ direction: &str,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlTimeElement.rs b/vendor/web-sys/src/features/gen_HtmlTimeElement.rs
new file mode 100644
index 000000000..58b916fb6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlTimeElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTimeElement , typescript_type = "HTMLTimeElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlTimeElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTimeElement`*"]
+ pub type HtmlTimeElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTimeElement" , js_name = dateTime)]
+ #[doc = "Getter for the `dateTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement/dateTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTimeElement`*"]
+ pub fn date_time(this: &HtmlTimeElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTimeElement" , js_name = dateTime)]
+ #[doc = "Setter for the `dateTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement/dateTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTimeElement`*"]
+ pub fn set_date_time(this: &HtmlTimeElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlTitleElement.rs b/vendor/web-sys/src/features/gen_HtmlTitleElement.rs
new file mode 100644
index 000000000..7c3f6e78b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlTitleElement.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTitleElement , typescript_type = "HTMLTitleElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlTitleElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTitleElement`*"]
+ pub type HtmlTitleElement;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTitleElement" , js_name = text)]
+ #[doc = "Getter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTitleElement`*"]
+ pub fn text(this: &HtmlTitleElement) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTitleElement" , js_name = text)]
+ #[doc = "Setter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTitleElement`*"]
+ pub fn set_text(this: &HtmlTitleElement, value: &str) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlTrackElement.rs b/vendor/web-sys/src/features/gen_HtmlTrackElement.rs
new file mode 100644
index 000000000..e1dbf4b5a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlTrackElement.rs
@@ -0,0 +1,117 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTrackElement , typescript_type = "HTMLTrackElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlTrackElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub type HtmlTrackElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTrackElement" , js_name = kind)]
+ #[doc = "Getter for the `kind` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/kind)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub fn kind(this: &HtmlTrackElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTrackElement" , js_name = kind)]
+ #[doc = "Setter for the `kind` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/kind)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub fn set_kind(this: &HtmlTrackElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTrackElement" , js_name = src)]
+ #[doc = "Getter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub fn src(this: &HtmlTrackElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTrackElement" , js_name = src)]
+ #[doc = "Setter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub fn set_src(this: &HtmlTrackElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTrackElement" , js_name = srclang)]
+ #[doc = "Getter for the `srclang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/srclang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub fn srclang(this: &HtmlTrackElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTrackElement" , js_name = srclang)]
+ #[doc = "Setter for the `srclang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/srclang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub fn set_srclang(this: &HtmlTrackElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTrackElement" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub fn label(this: &HtmlTrackElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTrackElement" , js_name = label)]
+ #[doc = "Setter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub fn set_label(this: &HtmlTrackElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTrackElement" , js_name = default)]
+ #[doc = "Getter for the `default` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/default)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub fn default(this: &HtmlTrackElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLTrackElement" , js_name = default)]
+ #[doc = "Setter for the `default` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/default)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub fn set_default(this: &HtmlTrackElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTrackElement" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub fn ready_state(this: &HtmlTrackElement) -> u16;
+ #[cfg(feature = "TextTrack")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLTrackElement" , js_name = track)]
+ #[doc = "Getter for the `track` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/track)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`, `TextTrack`*"]
+ pub fn track(this: &HtmlTrackElement) -> Option<TextTrack>;
+}
+impl HtmlTrackElement {
+ #[doc = "The `HTMLTrackElement.NONE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub const NONE: u16 = 0i64 as u16;
+ #[doc = "The `HTMLTrackElement.LOADING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub const LOADING: u16 = 1u64 as u16;
+ #[doc = "The `HTMLTrackElement.LOADED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub const LOADED: u16 = 2u64 as u16;
+ #[doc = "The `HTMLTrackElement.ERROR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlTrackElement`*"]
+ pub const ERROR: u16 = 3u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlUListElement.rs b/vendor/web-sys/src/features/gen_HtmlUListElement.rs
new file mode 100644
index 000000000..484925a6c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlUListElement.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLUListElement , typescript_type = "HTMLUListElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlUListElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlUListElement`*"]
+ pub type HtmlUListElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLUListElement" , js_name = compact)]
+ #[doc = "Getter for the `compact` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/compact)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlUListElement`*"]
+ pub fn compact(this: &HtmlUListElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLUListElement" , js_name = compact)]
+ #[doc = "Setter for the `compact` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/compact)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlUListElement`*"]
+ pub fn set_compact(this: &HtmlUListElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLUListElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlUListElement`*"]
+ pub fn type_(this: &HtmlUListElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLUListElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlUListElement`*"]
+ pub fn set_type(this: &HtmlUListElement, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlUnknownElement.rs b/vendor/web-sys/src/features/gen_HtmlUnknownElement.rs
new file mode 100644
index 000000000..63a86e4e5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlUnknownElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLUnknownElement , typescript_type = "HTMLUnknownElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlUnknownElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlUnknownElement`*"]
+ pub type HtmlUnknownElement;
+}
diff --git a/vendor/web-sys/src/features/gen_HtmlVideoElement.rs b/vendor/web-sys/src/features/gen_HtmlVideoElement.rs
new file mode 100644
index 000000000..3301d64f5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlVideoElement.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlMediaElement , extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLVideoElement , typescript_type = "HTMLVideoElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlVideoElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`*"]
+ pub type HtmlVideoElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLVideoElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`*"]
+ pub fn width(this: &HtmlVideoElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLVideoElement" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`*"]
+ pub fn set_width(this: &HtmlVideoElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLVideoElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`*"]
+ pub fn height(this: &HtmlVideoElement) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLVideoElement" , js_name = height)]
+ #[doc = "Setter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`*"]
+ pub fn set_height(this: &HtmlVideoElement, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLVideoElement" , js_name = videoWidth)]
+ #[doc = "Getter for the `videoWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/videoWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`*"]
+ pub fn video_width(this: &HtmlVideoElement) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLVideoElement" , js_name = videoHeight)]
+ #[doc = "Getter for the `videoHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/videoHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`*"]
+ pub fn video_height(this: &HtmlVideoElement) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLVideoElement" , js_name = poster)]
+ #[doc = "Getter for the `poster` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/poster)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`*"]
+ pub fn poster(this: &HtmlVideoElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLVideoElement" , js_name = poster)]
+ #[doc = "Setter for the `poster` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/poster)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`*"]
+ pub fn set_poster(this: &HtmlVideoElement, value: &str);
+ #[cfg(feature = "VideoPlaybackQuality")]
+ # [wasm_bindgen (method , structural , js_class = "HTMLVideoElement" , js_name = getVideoPlaybackQuality)]
+ #[doc = "The `getVideoPlaybackQuality()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/getVideoPlaybackQuality)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `VideoPlaybackQuality`*"]
+ pub fn get_video_playback_quality(this: &HtmlVideoElement) -> VideoPlaybackQuality;
+}
diff --git a/vendor/web-sys/src/features/gen_HttpConnDict.rs b/vendor/web-sys/src/features/gen_HttpConnDict.rs
new file mode 100644
index 000000000..87eea9edc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HttpConnDict.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HttpConnDict)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HttpConnDict` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnDict`*"]
+ pub type HttpConnDict;
+}
+impl HttpConnDict {
+ #[doc = "Construct a new `HttpConnDict`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnDict`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `connections` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnDict`*"]
+ pub fn connections(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("connections"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for HttpConnDict {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HttpConnInfo.rs b/vendor/web-sys/src/features/gen_HttpConnInfo.rs
new file mode 100644
index 000000000..987420ebc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HttpConnInfo.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HttpConnInfo)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HttpConnInfo` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnInfo`*"]
+ pub type HttpConnInfo;
+}
+impl HttpConnInfo {
+ #[doc = "Construct a new `HttpConnInfo`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnInfo`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `protocolVersion` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnInfo`*"]
+ pub fn protocol_version(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("protocolVersion"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rtt` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnInfo`*"]
+ pub fn rtt(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("rtt"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ttl` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnInfo`*"]
+ pub fn ttl(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ttl"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for HttpConnInfo {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_HttpConnectionElement.rs b/vendor/web-sys/src/features/gen_HttpConnectionElement.rs
new file mode 100644
index 000000000..5fef1331a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HttpConnectionElement.rs
@@ -0,0 +1,123 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HttpConnectionElement)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HttpConnectionElement` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnectionElement`*"]
+ pub type HttpConnectionElement;
+}
+impl HttpConnectionElement {
+ #[doc = "Construct a new `HttpConnectionElement`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnectionElement`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `active` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnectionElement`*"]
+ pub fn active(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("active"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `halfOpens` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnectionElement`*"]
+ pub fn half_opens(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("halfOpens"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnectionElement`*"]
+ pub fn host(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("host"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `idle` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnectionElement`*"]
+ pub fn idle(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("idle"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnectionElement`*"]
+ pub fn port(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("port"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `spdy` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnectionElement`*"]
+ pub fn spdy(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("spdy"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ssl` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HttpConnectionElement`*"]
+ pub fn ssl(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ssl"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for HttpConnectionElement {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_IdbCursor.rs b/vendor/web-sys/src/features/gen_IdbCursor.rs
new file mode 100644
index 000000000..f7d124d03
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbCursor.rs
@@ -0,0 +1,103 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBCursor , typescript_type = "IDBCursor")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbCursor` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursor`*"]
+ pub type IdbCursor;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBCursor" , js_name = source)]
+ #[doc = "Getter for the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/source)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursor`*"]
+ pub fn source(this: &IdbCursor) -> ::js_sys::Object;
+ #[cfg(feature = "IdbCursorDirection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBCursor" , js_name = direction)]
+ #[doc = "Getter for the `direction` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/direction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursor`, `IdbCursorDirection`*"]
+ pub fn direction(this: &IdbCursor) -> IdbCursorDirection;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "IDBCursor" , js_name = key)]
+ #[doc = "Getter for the `key` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/key)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursor`*"]
+ pub fn key(this: &IdbCursor) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "IDBCursor" , js_name = primaryKey)]
+ #[doc = "Getter for the `primaryKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/primaryKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursor`*"]
+ pub fn primary_key(this: &IdbCursor) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBCursor" , js_name = request)]
+ #[doc = "Getter for the `request` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/request)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursor`, `IdbRequest`*"]
+ pub fn request(this: &IdbCursor) -> IdbRequest;
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBCursor" , js_name = advance)]
+ #[doc = "The `advance()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/advance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursor`*"]
+ pub fn advance(this: &IdbCursor, count: u32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBCursor" , js_name = continue)]
+ #[doc = "The `continue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursor`*"]
+ pub fn continue_(this: &IdbCursor) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBCursor" , js_name = continue)]
+ #[doc = "The `continue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursor`*"]
+ pub fn continue_with_key(
+ this: &IdbCursor,
+ key: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBCursor" , js_name = continuePrimaryKey)]
+ #[doc = "The `continuePrimaryKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continuePrimaryKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursor`*"]
+ pub fn continue_primary_key(
+ this: &IdbCursor,
+ key: &::wasm_bindgen::JsValue,
+ primary_key: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBCursor" , js_name = delete)]
+ #[doc = "The `delete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/delete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursor`, `IdbRequest`*"]
+ pub fn delete(this: &IdbCursor) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBCursor" , js_name = update)]
+ #[doc = "The `update()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/update)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursor`, `IdbRequest`*"]
+ pub fn update(this: &IdbCursor, value: &::wasm_bindgen::JsValue)
+ -> Result<IdbRequest, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IdbCursorDirection.rs b/vendor/web-sys/src/features/gen_IdbCursorDirection.rs
new file mode 100644
index 000000000..c01fef471
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbCursorDirection.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `IdbCursorDirection` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `IdbCursorDirection`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum IdbCursorDirection {
+ Next = "next",
+ Nextunique = "nextunique",
+ Prev = "prev",
+ Prevunique = "prevunique",
+}
diff --git a/vendor/web-sys/src/features/gen_IdbCursorWithValue.rs b/vendor/web-sys/src/features/gen_IdbCursorWithValue.rs
new file mode 100644
index 000000000..2f66c5a93
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbCursorWithValue.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = IdbCursor , extends = :: js_sys :: Object , js_name = IDBCursorWithValue , typescript_type = "IDBCursorWithValue")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbCursorWithValue` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursorWithValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursorWithValue`*"]
+ pub type IdbCursorWithValue;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "IDBCursorWithValue" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursorWithValue/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursorWithValue`*"]
+ pub fn value(this: &IdbCursorWithValue) -> Result<::wasm_bindgen::JsValue, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IdbDatabase.rs b/vendor/web-sys/src/features/gen_IdbDatabase.rs
new file mode 100644
index 000000000..ebcb2f627
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbDatabase.rs
@@ -0,0 +1,200 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBDatabase , typescript_type = "IDBDatabase")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbDatabase` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub type IdbDatabase;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBDatabase" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub fn name(this: &IdbDatabase) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBDatabase" , js_name = version)]
+ #[doc = "Getter for the `version` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/version)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub fn version(this: &IdbDatabase) -> f64;
+ #[cfg(feature = "DomStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBDatabase" , js_name = objectStoreNames)]
+ #[doc = "Getter for the `objectStoreNames` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/objectStoreNames)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringList`, `IdbDatabase`*"]
+ pub fn object_store_names(this: &IdbDatabase) -> DomStringList;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBDatabase" , js_name = onabort)]
+ #[doc = "Getter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub fn onabort(this: &IdbDatabase) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBDatabase" , js_name = onabort)]
+ #[doc = "Setter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub fn set_onabort(this: &IdbDatabase, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBDatabase" , js_name = onclose)]
+ #[doc = "Getter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub fn onclose(this: &IdbDatabase) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBDatabase" , js_name = onclose)]
+ #[doc = "Setter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub fn set_onclose(this: &IdbDatabase, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBDatabase" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub fn onerror(this: &IdbDatabase) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBDatabase" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub fn set_onerror(this: &IdbDatabase, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBDatabase" , js_name = onversionchange)]
+ #[doc = "Getter for the `onversionchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onversionchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub fn onversionchange(this: &IdbDatabase) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBDatabase" , js_name = onversionchange)]
+ #[doc = "Setter for the `onversionchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onversionchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub fn set_onversionchange(this: &IdbDatabase, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "StorageType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBDatabase" , js_name = storage)]
+ #[doc = "Getter for the `storage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/storage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `StorageType`*"]
+ pub fn storage(this: &IdbDatabase) -> StorageType;
+ # [wasm_bindgen (method , structural , js_class = "IDBDatabase" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub fn close(this: &IdbDatabase);
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBDatabase" , js_name = createMutableFile)]
+ #[doc = "The `createMutableFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/createMutableFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `IdbRequest`*"]
+ pub fn create_mutable_file(this: &IdbDatabase, name: &str) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBDatabase" , js_name = createMutableFile)]
+ #[doc = "The `createMutableFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/createMutableFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `IdbRequest`*"]
+ pub fn create_mutable_file_with_type(
+ this: &IdbDatabase,
+ name: &str,
+ type_: &str,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbObjectStore")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBDatabase" , js_name = createObjectStore)]
+ #[doc = "The `createObjectStore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/createObjectStore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `IdbObjectStore`*"]
+ pub fn create_object_store(this: &IdbDatabase, name: &str) -> Result<IdbObjectStore, JsValue>;
+ #[cfg(all(feature = "IdbObjectStore", feature = "IdbObjectStoreParameters",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBDatabase" , js_name = createObjectStore)]
+ #[doc = "The `createObjectStore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/createObjectStore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `IdbObjectStore`, `IdbObjectStoreParameters`*"]
+ pub fn create_object_store_with_optional_parameters(
+ this: &IdbDatabase,
+ name: &str,
+ optional_parameters: &IdbObjectStoreParameters,
+ ) -> Result<IdbObjectStore, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBDatabase" , js_name = deleteObjectStore)]
+ #[doc = "The `deleteObjectStore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/deleteObjectStore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`*"]
+ pub fn delete_object_store(this: &IdbDatabase, name: &str) -> Result<(), JsValue>;
+ #[cfg(feature = "IdbTransaction")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBDatabase" , js_name = transaction)]
+ #[doc = "The `transaction()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/transaction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `IdbTransaction`*"]
+ pub fn transaction_with_str(
+ this: &IdbDatabase,
+ store_names: &str,
+ ) -> Result<IdbTransaction, JsValue>;
+ #[cfg(feature = "IdbTransaction")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBDatabase" , js_name = transaction)]
+ #[doc = "The `transaction()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/transaction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `IdbTransaction`*"]
+ pub fn transaction_with_str_sequence(
+ this: &IdbDatabase,
+ store_names: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbTransaction, JsValue>;
+ #[cfg(all(feature = "IdbTransaction", feature = "IdbTransactionMode",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBDatabase" , js_name = transaction)]
+ #[doc = "The `transaction()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/transaction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `IdbTransaction`, `IdbTransactionMode`*"]
+ pub fn transaction_with_str_and_mode(
+ this: &IdbDatabase,
+ store_names: &str,
+ mode: IdbTransactionMode,
+ ) -> Result<IdbTransaction, JsValue>;
+ #[cfg(all(feature = "IdbTransaction", feature = "IdbTransactionMode",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBDatabase" , js_name = transaction)]
+ #[doc = "The `transaction()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/transaction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `IdbTransaction`, `IdbTransactionMode`*"]
+ pub fn transaction_with_str_sequence_and_mode(
+ this: &IdbDatabase,
+ store_names: &::wasm_bindgen::JsValue,
+ mode: IdbTransactionMode,
+ ) -> Result<IdbTransaction, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IdbFactory.rs b/vendor/web-sys/src/features/gen_IdbFactory.rs
new file mode 100644
index 000000000..30fac16d7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbFactory.rs
@@ -0,0 +1,89 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBFactory , typescript_type = "IDBFactory")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbFactory` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFactory`*"]
+ pub type IdbFactory;
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFactory" , js_name = cmp)]
+ #[doc = "The `cmp()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/cmp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFactory`*"]
+ pub fn cmp(
+ this: &IdbFactory,
+ first: &::wasm_bindgen::JsValue,
+ second: &::wasm_bindgen::JsValue,
+ ) -> Result<i16, JsValue>;
+ #[cfg(feature = "IdbOpenDbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFactory" , js_name = deleteDatabase)]
+ #[doc = "The `deleteDatabase()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/deleteDatabase)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*"]
+ pub fn delete_database(this: &IdbFactory, name: &str) -> Result<IdbOpenDbRequest, JsValue>;
+ #[cfg(all(feature = "IdbOpenDbOptions", feature = "IdbOpenDbRequest",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFactory" , js_name = deleteDatabase)]
+ #[doc = "The `deleteDatabase()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/deleteDatabase)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbOptions`, `IdbOpenDbRequest`*"]
+ pub fn delete_database_with_options(
+ this: &IdbFactory,
+ name: &str,
+ options: &IdbOpenDbOptions,
+ ) -> Result<IdbOpenDbRequest, JsValue>;
+ #[cfg(feature = "IdbOpenDbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFactory" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*"]
+ pub fn open_with_u32(
+ this: &IdbFactory,
+ name: &str,
+ version: u32,
+ ) -> Result<IdbOpenDbRequest, JsValue>;
+ #[cfg(feature = "IdbOpenDbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFactory" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*"]
+ pub fn open_with_f64(
+ this: &IdbFactory,
+ name: &str,
+ version: f64,
+ ) -> Result<IdbOpenDbRequest, JsValue>;
+ #[cfg(feature = "IdbOpenDbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFactory" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*"]
+ pub fn open(this: &IdbFactory, name: &str) -> Result<IdbOpenDbRequest, JsValue>;
+ #[cfg(all(feature = "IdbOpenDbOptions", feature = "IdbOpenDbRequest",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFactory" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbOptions`, `IdbOpenDbRequest`*"]
+ pub fn open_with_idb_open_db_options(
+ this: &IdbFactory,
+ name: &str,
+ options: &IdbOpenDbOptions,
+ ) -> Result<IdbOpenDbRequest, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IdbFileHandle.rs b/vendor/web-sys/src/features/gen_IdbFileHandle.rs
new file mode 100644
index 000000000..0e395303b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbFileHandle.rs
@@ -0,0 +1,335 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBFileHandle , typescript_type = "IDBFileHandle")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbFileHandle` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`*"]
+ pub type IdbFileHandle;
+ #[cfg(feature = "IdbMutableFile")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBFileHandle" , js_name = mutableFile)]
+ #[doc = "Getter for the `mutableFile` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/mutableFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbMutableFile`*"]
+ pub fn mutable_file(this: &IdbFileHandle) -> Option<IdbMutableFile>;
+ #[cfg(feature = "IdbMutableFile")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBFileHandle" , js_name = fileHandle)]
+ #[doc = "Getter for the `fileHandle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/fileHandle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbMutableFile`*"]
+ pub fn file_handle(this: &IdbFileHandle) -> Option<IdbMutableFile>;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBFileHandle" , js_name = active)]
+ #[doc = "Getter for the `active` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/active)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`*"]
+ pub fn active(this: &IdbFileHandle) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBFileHandle" , js_name = location)]
+ #[doc = "Getter for the `location` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/location)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`*"]
+ pub fn location(this: &IdbFileHandle) -> Option<f64>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBFileHandle" , js_name = location)]
+ #[doc = "Setter for the `location` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/location)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`*"]
+ pub fn set_location(this: &IdbFileHandle, value: Option<f64>);
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBFileHandle" , js_name = oncomplete)]
+ #[doc = "Getter for the `oncomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/oncomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`*"]
+ pub fn oncomplete(this: &IdbFileHandle) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBFileHandle" , js_name = oncomplete)]
+ #[doc = "Setter for the `oncomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/oncomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`*"]
+ pub fn set_oncomplete(this: &IdbFileHandle, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBFileHandle" , js_name = onabort)]
+ #[doc = "Getter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`*"]
+ pub fn onabort(this: &IdbFileHandle) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBFileHandle" , js_name = onabort)]
+ #[doc = "Setter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`*"]
+ pub fn set_onabort(this: &IdbFileHandle, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBFileHandle" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`*"]
+ pub fn onerror(this: &IdbFileHandle) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBFileHandle" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`*"]
+ pub fn set_onerror(this: &IdbFileHandle, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = abort)]
+ #[doc = "The `abort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/abort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`*"]
+ pub fn abort(this: &IdbFileHandle) -> Result<(), JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn append_with_str(
+ this: &IdbFileHandle,
+ value: &str,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn append_with_array_buffer(
+ this: &IdbFileHandle,
+ value: &::js_sys::ArrayBuffer,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn append_with_array_buffer_view(
+ this: &IdbFileHandle,
+ value: &::js_sys::Object,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn append_with_u8_array(
+ this: &IdbFileHandle,
+ value: &mut [u8],
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(all(feature = "Blob", feature = "IdbFileRequest",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn append_with_blob(
+ this: &IdbFileHandle,
+ value: &Blob,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = flush)]
+ #[doc = "The `flush()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/flush)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn flush(this: &IdbFileHandle) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = getMetadata)]
+ #[doc = "The `getMetadata()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/getMetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn get_metadata(this: &IdbFileHandle) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(all(feature = "IdbFileMetadataParameters", feature = "IdbFileRequest",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = getMetadata)]
+ #[doc = "The `getMetadata()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/getMetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileMetadataParameters`, `IdbFileRequest`*"]
+ pub fn get_metadata_with_parameters(
+ this: &IdbFileHandle,
+ parameters: &IdbFileMetadataParameters,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = readAsArrayBuffer)]
+ #[doc = "The `readAsArrayBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsArrayBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn read_as_array_buffer_with_u32(
+ this: &IdbFileHandle,
+ size: u32,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = readAsArrayBuffer)]
+ #[doc = "The `readAsArrayBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsArrayBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn read_as_array_buffer_with_f64(
+ this: &IdbFileHandle,
+ size: f64,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = readAsText)]
+ #[doc = "The `readAsText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn read_as_text_with_u32(
+ this: &IdbFileHandle,
+ size: u32,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = readAsText)]
+ #[doc = "The `readAsText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn read_as_text_with_f64(
+ this: &IdbFileHandle,
+ size: f64,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = readAsText)]
+ #[doc = "The `readAsText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn read_as_text_with_u32_and_encoding(
+ this: &IdbFileHandle,
+ size: u32,
+ encoding: Option<&str>,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = readAsText)]
+ #[doc = "The `readAsText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn read_as_text_with_f64_and_encoding(
+ this: &IdbFileHandle,
+ size: f64,
+ encoding: Option<&str>,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = truncate)]
+ #[doc = "The `truncate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/truncate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn truncate(this: &IdbFileHandle) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = truncate)]
+ #[doc = "The `truncate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/truncate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn truncate_with_u32(
+ this: &IdbFileHandle,
+ size: u32,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = truncate)]
+ #[doc = "The `truncate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/truncate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn truncate_with_f64(
+ this: &IdbFileHandle,
+ size: f64,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn write_with_str(
+ this: &IdbFileHandle,
+ value: &str,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn write_with_array_buffer(
+ this: &IdbFileHandle,
+ value: &::js_sys::ArrayBuffer,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn write_with_array_buffer_view(
+ this: &IdbFileHandle,
+ value: &::js_sys::Object,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(feature = "IdbFileRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn write_with_u8_array(
+ this: &IdbFileHandle,
+ value: &mut [u8],
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+ #[cfg(all(feature = "Blob", feature = "IdbFileRequest",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBFileHandle" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn write_with_blob(
+ this: &IdbFileHandle,
+ value: &Blob,
+ ) -> Result<Option<IdbFileRequest>, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IdbFileMetadataParameters.rs b/vendor/web-sys/src/features/gen_IdbFileMetadataParameters.rs
new file mode 100644
index 000000000..48e322cf1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbFileMetadataParameters.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBFileMetadataParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbFileMetadataParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileMetadataParameters`*"]
+ pub type IdbFileMetadataParameters;
+}
+impl IdbFileMetadataParameters {
+ #[doc = "Construct a new `IdbFileMetadataParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileMetadataParameters`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `lastModified` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileMetadataParameters`*"]
+ pub fn last_modified(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lastModified"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileMetadataParameters`*"]
+ pub fn size(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("size"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for IdbFileMetadataParameters {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_IdbFileRequest.rs b/vendor/web-sys/src/features/gen_IdbFileRequest.rs
new file mode 100644
index 000000000..e228c1a79
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbFileRequest.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = DomRequest , extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBFileRequest , typescript_type = "IDBFileRequest")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbFileRequest` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileRequest`*"]
+ pub type IdbFileRequest;
+ #[cfg(feature = "IdbFileHandle")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBFileRequest" , js_name = fileHandle)]
+ #[doc = "Getter for the `fileHandle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/fileHandle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn file_handle(this: &IdbFileRequest) -> Option<IdbFileHandle>;
+ #[cfg(feature = "IdbFileHandle")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBFileRequest" , js_name = lockedFile)]
+ #[doc = "Getter for the `lockedFile` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/lockedFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"]
+ pub fn locked_file(this: &IdbFileRequest) -> Option<IdbFileHandle>;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBFileRequest" , js_name = onprogress)]
+ #[doc = "Getter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileRequest`*"]
+ pub fn onprogress(this: &IdbFileRequest) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBFileRequest" , js_name = onprogress)]
+ #[doc = "Setter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileRequest`*"]
+ pub fn set_onprogress(this: &IdbFileRequest, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_IdbIndex.rs b/vendor/web-sys/src/features/gen_IdbIndex.rs
new file mode 100644
index 000000000..98a76e657
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbIndex.rs
@@ -0,0 +1,230 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBIndex , typescript_type = "IDBIndex")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbIndex` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`*"]
+ pub type IdbIndex;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBIndex" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`*"]
+ pub fn name(this: &IdbIndex) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBIndex" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`*"]
+ pub fn set_name(this: &IdbIndex, value: &str);
+ #[cfg(feature = "IdbObjectStore")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBIndex" , js_name = objectStore)]
+ #[doc = "Getter for the `objectStore` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/objectStore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbObjectStore`*"]
+ pub fn object_store(this: &IdbIndex) -> IdbObjectStore;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "IDBIndex" , js_name = keyPath)]
+ #[doc = "Getter for the `keyPath` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/keyPath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`*"]
+ pub fn key_path(this: &IdbIndex) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBIndex" , js_name = multiEntry)]
+ #[doc = "Getter for the `multiEntry` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/multiEntry)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`*"]
+ pub fn multi_entry(this: &IdbIndex) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBIndex" , js_name = unique)]
+ #[doc = "Getter for the `unique` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/unique)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`*"]
+ pub fn unique(this: &IdbIndex) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBIndex" , js_name = locale)]
+ #[doc = "Getter for the `locale` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/locale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`*"]
+ pub fn locale(this: &IdbIndex) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBIndex" , js_name = isAutoLocale)]
+ #[doc = "Getter for the `isAutoLocale` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/isAutoLocale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`*"]
+ pub fn is_auto_locale(this: &IdbIndex) -> bool;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = count)]
+ #[doc = "The `count()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/count)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn count(this: &IdbIndex) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = count)]
+ #[doc = "The `count()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/count)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn count_with_key(
+ this: &IdbIndex,
+ key: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn get(this: &IdbIndex, key: &::wasm_bindgen::JsValue) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = getAll)]
+ #[doc = "The `getAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn get_all(this: &IdbIndex) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = getAll)]
+ #[doc = "The `getAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn get_all_with_key(
+ this: &IdbIndex,
+ key: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = getAll)]
+ #[doc = "The `getAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn get_all_with_key_and_limit(
+ this: &IdbIndex,
+ key: &::wasm_bindgen::JsValue,
+ limit: u32,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = getAllKeys)]
+ #[doc = "The `getAllKeys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAllKeys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn get_all_keys(this: &IdbIndex) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = getAllKeys)]
+ #[doc = "The `getAllKeys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAllKeys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn get_all_keys_with_key(
+ this: &IdbIndex,
+ key: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = getAllKeys)]
+ #[doc = "The `getAllKeys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAllKeys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn get_all_keys_with_key_and_limit(
+ this: &IdbIndex,
+ key: &::wasm_bindgen::JsValue,
+ limit: u32,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = getKey)]
+ #[doc = "The `getKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn get_key(this: &IdbIndex, key: &::wasm_bindgen::JsValue) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = openCursor)]
+ #[doc = "The `openCursor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn open_cursor(this: &IdbIndex) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = openCursor)]
+ #[doc = "The `openCursor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn open_cursor_with_range(
+ this: &IdbIndex,
+ range: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(all(feature = "IdbCursorDirection", feature = "IdbRequest",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = openCursor)]
+ #[doc = "The `openCursor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursorDirection`, `IdbIndex`, `IdbRequest`*"]
+ pub fn open_cursor_with_range_and_direction(
+ this: &IdbIndex,
+ range: &::wasm_bindgen::JsValue,
+ direction: IdbCursorDirection,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = openKeyCursor)]
+ #[doc = "The `openKeyCursor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openKeyCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn open_key_cursor(this: &IdbIndex) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = openKeyCursor)]
+ #[doc = "The `openKeyCursor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openKeyCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"]
+ pub fn open_key_cursor_with_range(
+ this: &IdbIndex,
+ range: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(all(feature = "IdbCursorDirection", feature = "IdbRequest",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBIndex" , js_name = openKeyCursor)]
+ #[doc = "The `openKeyCursor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openKeyCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursorDirection`, `IdbIndex`, `IdbRequest`*"]
+ pub fn open_key_cursor_with_range_and_direction(
+ this: &IdbIndex,
+ range: &::wasm_bindgen::JsValue,
+ direction: IdbCursorDirection,
+ ) -> Result<IdbRequest, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IdbIndexParameters.rs b/vendor/web-sys/src/features/gen_IdbIndexParameters.rs
new file mode 100644
index 000000000..7da00bccf
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbIndexParameters.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBIndexParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbIndexParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndexParameters`*"]
+ pub type IdbIndexParameters;
+}
+impl IdbIndexParameters {
+ #[doc = "Construct a new `IdbIndexParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndexParameters`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `locale` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndexParameters`*"]
+ pub fn locale(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("locale"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `multiEntry` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndexParameters`*"]
+ pub fn multi_entry(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("multiEntry"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `unique` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndexParameters`*"]
+ pub fn unique(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("unique"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for IdbIndexParameters {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_IdbKeyRange.rs b/vendor/web-sys/src/features/gen_IdbKeyRange.rs
new file mode 100644
index 000000000..6a9841624
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbKeyRange.rs
@@ -0,0 +1,123 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBKeyRange , typescript_type = "IDBKeyRange")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbKeyRange` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub type IdbKeyRange;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "IDBKeyRange" , js_name = lower)]
+ #[doc = "Getter for the `lower` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lower)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn lower(this: &IdbKeyRange) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "IDBKeyRange" , js_name = upper)]
+ #[doc = "Getter for the `upper` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upper)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn upper(this: &IdbKeyRange) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBKeyRange" , js_name = lowerOpen)]
+ #[doc = "Getter for the `lowerOpen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerOpen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn lower_open(this: &IdbKeyRange) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBKeyRange" , js_name = upperOpen)]
+ #[doc = "Getter for the `upperOpen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperOpen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn upper_open(this: &IdbKeyRange) -> bool;
+ # [wasm_bindgen (catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = bound)]
+ #[doc = "The `bound()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/bound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn bound(
+ lower: &::wasm_bindgen::JsValue,
+ upper: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbKeyRange, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = bound)]
+ #[doc = "The `bound()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/bound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn bound_with_lower_open(
+ lower: &::wasm_bindgen::JsValue,
+ upper: &::wasm_bindgen::JsValue,
+ lower_open: bool,
+ ) -> Result<IdbKeyRange, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = bound)]
+ #[doc = "The `bound()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/bound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn bound_with_lower_open_and_upper_open(
+ lower: &::wasm_bindgen::JsValue,
+ upper: &::wasm_bindgen::JsValue,
+ lower_open: bool,
+ upper_open: bool,
+ ) -> Result<IdbKeyRange, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBKeyRange" , js_name = includes)]
+ #[doc = "The `includes()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/includes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn includes(this: &IdbKeyRange, key: &::wasm_bindgen::JsValue) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = lowerBound)]
+ #[doc = "The `lowerBound()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerBound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn lower_bound(lower: &::wasm_bindgen::JsValue) -> Result<IdbKeyRange, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = lowerBound)]
+ #[doc = "The `lowerBound()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerBound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn lower_bound_with_open(
+ lower: &::wasm_bindgen::JsValue,
+ open: bool,
+ ) -> Result<IdbKeyRange, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = only)]
+ #[doc = "The `only()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/only)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn only(value: &::wasm_bindgen::JsValue) -> Result<IdbKeyRange, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = upperBound)]
+ #[doc = "The `upperBound()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperBound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn upper_bound(upper: &::wasm_bindgen::JsValue) -> Result<IdbKeyRange, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = upperBound)]
+ #[doc = "The `upperBound()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperBound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbKeyRange`*"]
+ pub fn upper_bound_with_open(
+ upper: &::wasm_bindgen::JsValue,
+ open: bool,
+ ) -> Result<IdbKeyRange, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IdbLocaleAwareKeyRange.rs b/vendor/web-sys/src/features/gen_IdbLocaleAwareKeyRange.rs
new file mode 100644
index 000000000..09420bd3b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbLocaleAwareKeyRange.rs
@@ -0,0 +1,47 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = IdbKeyRange , extends = :: js_sys :: Object , js_name = IDBLocaleAwareKeyRange , typescript_type = "IDBLocaleAwareKeyRange")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbLocaleAwareKeyRange` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*"]
+ pub type IdbLocaleAwareKeyRange;
+ # [wasm_bindgen (catch , static_method_of = IdbLocaleAwareKeyRange , js_class = "IDBLocaleAwareKeyRange" , js_name = bound)]
+ #[doc = "The `bound()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*"]
+ pub fn bound(
+ lower: &::wasm_bindgen::JsValue,
+ upper: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbLocaleAwareKeyRange, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = IdbLocaleAwareKeyRange , js_class = "IDBLocaleAwareKeyRange" , js_name = bound)]
+ #[doc = "The `bound()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*"]
+ pub fn bound_with_lower_open(
+ lower: &::wasm_bindgen::JsValue,
+ upper: &::wasm_bindgen::JsValue,
+ lower_open: bool,
+ ) -> Result<IdbLocaleAwareKeyRange, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = IdbLocaleAwareKeyRange , js_class = "IDBLocaleAwareKeyRange" , js_name = bound)]
+ #[doc = "The `bound()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*"]
+ pub fn bound_with_lower_open_and_upper_open(
+ lower: &::wasm_bindgen::JsValue,
+ upper: &::wasm_bindgen::JsValue,
+ lower_open: bool,
+ upper_open: bool,
+ ) -> Result<IdbLocaleAwareKeyRange, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IdbMutableFile.rs b/vendor/web-sys/src/features/gen_IdbMutableFile.rs
new file mode 100644
index 000000000..47284d121
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbMutableFile.rs
@@ -0,0 +1,80 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBMutableFile , typescript_type = "IDBMutableFile")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbMutableFile` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbMutableFile`*"]
+ pub type IdbMutableFile;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBMutableFile" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbMutableFile`*"]
+ pub fn name(this: &IdbMutableFile) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBMutableFile" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbMutableFile`*"]
+ pub fn type_(this: &IdbMutableFile) -> String;
+ #[cfg(feature = "IdbDatabase")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBMutableFile" , js_name = database)]
+ #[doc = "Getter for the `database` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/database)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `IdbMutableFile`*"]
+ pub fn database(this: &IdbMutableFile) -> IdbDatabase;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBMutableFile" , js_name = onabort)]
+ #[doc = "Getter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbMutableFile`*"]
+ pub fn onabort(this: &IdbMutableFile) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBMutableFile" , js_name = onabort)]
+ #[doc = "Setter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbMutableFile`*"]
+ pub fn set_onabort(this: &IdbMutableFile, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBMutableFile" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbMutableFile`*"]
+ pub fn onerror(this: &IdbMutableFile) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBMutableFile" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbMutableFile`*"]
+ pub fn set_onerror(this: &IdbMutableFile, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "DomRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBMutableFile" , js_name = getFile)]
+ #[doc = "The `getFile()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/getFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRequest`, `IdbMutableFile`*"]
+ pub fn get_file(this: &IdbMutableFile) -> Result<DomRequest, JsValue>;
+ #[cfg(feature = "IdbFileHandle")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBMutableFile" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbMutableFile`*"]
+ pub fn open(this: &IdbMutableFile) -> Result<IdbFileHandle, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IdbObjectStore.rs b/vendor/web-sys/src/features/gen_IdbObjectStore.rs
new file mode 100644
index 000000000..b662f01fb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbObjectStore.rs
@@ -0,0 +1,351 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBObjectStore , typescript_type = "IDBObjectStore")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbObjectStore` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`*"]
+ pub type IdbObjectStore;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBObjectStore" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`*"]
+ pub fn name(this: &IdbObjectStore) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBObjectStore" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`*"]
+ pub fn set_name(this: &IdbObjectStore, value: &str);
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "IDBObjectStore" , js_name = keyPath)]
+ #[doc = "Getter for the `keyPath` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/keyPath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`*"]
+ pub fn key_path(this: &IdbObjectStore) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ #[cfg(feature = "DomStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBObjectStore" , js_name = indexNames)]
+ #[doc = "Getter for the `indexNames` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/indexNames)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringList`, `IdbObjectStore`*"]
+ pub fn index_names(this: &IdbObjectStore) -> DomStringList;
+ #[cfg(feature = "IdbTransaction")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBObjectStore" , js_name = transaction)]
+ #[doc = "Getter for the `transaction` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/transaction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbTransaction`*"]
+ pub fn transaction(this: &IdbObjectStore) -> IdbTransaction;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBObjectStore" , js_name = autoIncrement)]
+ #[doc = "Getter for the `autoIncrement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/autoIncrement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`*"]
+ pub fn auto_increment(this: &IdbObjectStore) -> bool;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn add(
+ this: &IdbObjectStore,
+ value: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = add)]
+ #[doc = "The `add()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/add)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn add_with_key(
+ this: &IdbObjectStore,
+ value: &::wasm_bindgen::JsValue,
+ key: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn clear(this: &IdbObjectStore) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = count)]
+ #[doc = "The `count()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/count)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn count(this: &IdbObjectStore) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = count)]
+ #[doc = "The `count()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/count)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn count_with_key(
+ this: &IdbObjectStore,
+ key: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbIndex")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = createIndex)]
+ #[doc = "The `createIndex()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/createIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbObjectStore`*"]
+ pub fn create_index_with_str(
+ this: &IdbObjectStore,
+ name: &str,
+ key_path: &str,
+ ) -> Result<IdbIndex, JsValue>;
+ #[cfg(feature = "IdbIndex")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = createIndex)]
+ #[doc = "The `createIndex()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/createIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbObjectStore`*"]
+ pub fn create_index_with_str_sequence(
+ this: &IdbObjectStore,
+ name: &str,
+ key_path: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbIndex, JsValue>;
+ #[cfg(all(feature = "IdbIndex", feature = "IdbIndexParameters",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = createIndex)]
+ #[doc = "The `createIndex()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/createIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbIndexParameters`, `IdbObjectStore`*"]
+ pub fn create_index_with_str_and_optional_parameters(
+ this: &IdbObjectStore,
+ name: &str,
+ key_path: &str,
+ optional_parameters: &IdbIndexParameters,
+ ) -> Result<IdbIndex, JsValue>;
+ #[cfg(all(feature = "IdbIndex", feature = "IdbIndexParameters",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = createIndex)]
+ #[doc = "The `createIndex()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/createIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbIndexParameters`, `IdbObjectStore`*"]
+ pub fn create_index_with_str_sequence_and_optional_parameters(
+ this: &IdbObjectStore,
+ name: &str,
+ key_path: &::wasm_bindgen::JsValue,
+ optional_parameters: &IdbIndexParameters,
+ ) -> Result<IdbIndex, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = delete)]
+ #[doc = "The `delete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/delete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn delete(
+ this: &IdbObjectStore,
+ key: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = deleteIndex)]
+ #[doc = "The `deleteIndex()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/deleteIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`*"]
+ pub fn delete_index(this: &IdbObjectStore, index_name: &str) -> Result<(), JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn get(this: &IdbObjectStore, key: &::wasm_bindgen::JsValue)
+ -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = getAll)]
+ #[doc = "The `getAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn get_all(this: &IdbObjectStore) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = getAll)]
+ #[doc = "The `getAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn get_all_with_key(
+ this: &IdbObjectStore,
+ key: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = getAll)]
+ #[doc = "The `getAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn get_all_with_key_and_limit(
+ this: &IdbObjectStore,
+ key: &::wasm_bindgen::JsValue,
+ limit: u32,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = getAllKeys)]
+ #[doc = "The `getAllKeys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAllKeys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn get_all_keys(this: &IdbObjectStore) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = getAllKeys)]
+ #[doc = "The `getAllKeys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAllKeys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn get_all_keys_with_key(
+ this: &IdbObjectStore,
+ key: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = getAllKeys)]
+ #[doc = "The `getAllKeys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAllKeys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn get_all_keys_with_key_and_limit(
+ this: &IdbObjectStore,
+ key: &::wasm_bindgen::JsValue,
+ limit: u32,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = getKey)]
+ #[doc = "The `getKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn get_key(
+ this: &IdbObjectStore,
+ key: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbIndex")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = index)]
+ #[doc = "The `index()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/index)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbObjectStore`*"]
+ pub fn index(this: &IdbObjectStore, name: &str) -> Result<IdbIndex, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = openCursor)]
+ #[doc = "The `openCursor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn open_cursor(this: &IdbObjectStore) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = openCursor)]
+ #[doc = "The `openCursor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn open_cursor_with_range(
+ this: &IdbObjectStore,
+ range: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(all(feature = "IdbCursorDirection", feature = "IdbRequest",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = openCursor)]
+ #[doc = "The `openCursor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursorDirection`, `IdbObjectStore`, `IdbRequest`*"]
+ pub fn open_cursor_with_range_and_direction(
+ this: &IdbObjectStore,
+ range: &::wasm_bindgen::JsValue,
+ direction: IdbCursorDirection,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = openKeyCursor)]
+ #[doc = "The `openKeyCursor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openKeyCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn open_key_cursor(this: &IdbObjectStore) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = openKeyCursor)]
+ #[doc = "The `openKeyCursor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openKeyCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn open_key_cursor_with_range(
+ this: &IdbObjectStore,
+ range: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(all(feature = "IdbCursorDirection", feature = "IdbRequest",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = openKeyCursor)]
+ #[doc = "The `openKeyCursor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openKeyCursor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbCursorDirection`, `IdbObjectStore`, `IdbRequest`*"]
+ pub fn open_key_cursor_with_range_and_direction(
+ this: &IdbObjectStore,
+ range: &::wasm_bindgen::JsValue,
+ direction: IdbCursorDirection,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = put)]
+ #[doc = "The `put()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/put)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn put(
+ this: &IdbObjectStore,
+ value: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+ #[cfg(feature = "IdbRequest")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBObjectStore" , js_name = put)]
+ #[doc = "The `put()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/put)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"]
+ pub fn put_with_key(
+ this: &IdbObjectStore,
+ value: &::wasm_bindgen::JsValue,
+ key: &::wasm_bindgen::JsValue,
+ ) -> Result<IdbRequest, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IdbObjectStoreParameters.rs b/vendor/web-sys/src/features/gen_IdbObjectStoreParameters.rs
new file mode 100644
index 000000000..d151ccc21
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbObjectStoreParameters.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBObjectStoreParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbObjectStoreParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStoreParameters`*"]
+ pub type IdbObjectStoreParameters;
+}
+impl IdbObjectStoreParameters {
+ #[doc = "Construct a new `IdbObjectStoreParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStoreParameters`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `autoIncrement` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStoreParameters`*"]
+ pub fn auto_increment(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("autoIncrement"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `keyPath` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStoreParameters`*"]
+ pub fn key_path(&mut self, val: Option<&::wasm_bindgen::JsValue>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("keyPath"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for IdbObjectStoreParameters {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_IdbOpenDbOptions.rs b/vendor/web-sys/src/features/gen_IdbOpenDbOptions.rs
new file mode 100644
index 000000000..57ded3a72
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbOpenDbOptions.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBOpenDBOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbOpenDbOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbOpenDbOptions`*"]
+ pub type IdbOpenDbOptions;
+}
+impl IdbOpenDbOptions {
+ #[doc = "Construct a new `IdbOpenDbOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbOpenDbOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "StorageType")]
+ #[doc = "Change the `storage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbOpenDbOptions`, `StorageType`*"]
+ pub fn storage(&mut self, val: StorageType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("storage"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `version` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbOpenDbOptions`*"]
+ pub fn version(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("version"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for IdbOpenDbOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_IdbOpenDbRequest.rs b/vendor/web-sys/src/features/gen_IdbOpenDbRequest.rs
new file mode 100644
index 000000000..2810085da
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbOpenDbRequest.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = IdbRequest , extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBOpenDBRequest , typescript_type = "IDBOpenDBRequest")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbOpenDbRequest` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbOpenDbRequest`*"]
+ pub type IdbOpenDbRequest;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBOpenDBRequest" , js_name = onblocked)]
+ #[doc = "Getter for the `onblocked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onblocked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbOpenDbRequest`*"]
+ pub fn onblocked(this: &IdbOpenDbRequest) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBOpenDBRequest" , js_name = onblocked)]
+ #[doc = "Setter for the `onblocked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onblocked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbOpenDbRequest`*"]
+ pub fn set_onblocked(this: &IdbOpenDbRequest, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBOpenDBRequest" , js_name = onupgradeneeded)]
+ #[doc = "Getter for the `onupgradeneeded` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onupgradeneeded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbOpenDbRequest`*"]
+ pub fn onupgradeneeded(this: &IdbOpenDbRequest) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBOpenDBRequest" , js_name = onupgradeneeded)]
+ #[doc = "Setter for the `onupgradeneeded` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onupgradeneeded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbOpenDbRequest`*"]
+ pub fn set_onupgradeneeded(this: &IdbOpenDbRequest, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_IdbRequest.rs b/vendor/web-sys/src/features/gen_IdbRequest.rs
new file mode 100644
index 000000000..e6f54e2ea
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbRequest.rs
@@ -0,0 +1,80 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBRequest , typescript_type = "IDBRequest")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbRequest` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbRequest`*"]
+ pub type IdbRequest;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "IDBRequest" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbRequest`*"]
+ pub fn result(this: &IdbRequest) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ #[cfg(feature = "DomException")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "IDBRequest" , js_name = error)]
+ #[doc = "Getter for the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`, `IdbRequest`*"]
+ pub fn error(this: &IdbRequest) -> Result<Option<DomException>, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBRequest" , js_name = source)]
+ #[doc = "Getter for the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/source)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbRequest`*"]
+ pub fn source(this: &IdbRequest) -> Option<::js_sys::Object>;
+ #[cfg(feature = "IdbTransaction")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBRequest" , js_name = transaction)]
+ #[doc = "Getter for the `transaction` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/transaction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbRequest`, `IdbTransaction`*"]
+ pub fn transaction(this: &IdbRequest) -> Option<IdbTransaction>;
+ #[cfg(feature = "IdbRequestReadyState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBRequest" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbRequest`, `IdbRequestReadyState`*"]
+ pub fn ready_state(this: &IdbRequest) -> IdbRequestReadyState;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBRequest" , js_name = onsuccess)]
+ #[doc = "Getter for the `onsuccess` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbRequest`*"]
+ pub fn onsuccess(this: &IdbRequest) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBRequest" , js_name = onsuccess)]
+ #[doc = "Setter for the `onsuccess` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbRequest`*"]
+ pub fn set_onsuccess(this: &IdbRequest, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBRequest" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbRequest`*"]
+ pub fn onerror(this: &IdbRequest) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBRequest" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbRequest`*"]
+ pub fn set_onerror(this: &IdbRequest, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_IdbRequestReadyState.rs b/vendor/web-sys/src/features/gen_IdbRequestReadyState.rs
new file mode 100644
index 000000000..bd5a50e69
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbRequestReadyState.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `IdbRequestReadyState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `IdbRequestReadyState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum IdbRequestReadyState {
+ Pending = "pending",
+ Done = "done",
+}
diff --git a/vendor/web-sys/src/features/gen_IdbTransaction.rs b/vendor/web-sys/src/features/gen_IdbTransaction.rs
new file mode 100644
index 000000000..9e10c9295
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbTransaction.rs
@@ -0,0 +1,110 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBTransaction , typescript_type = "IDBTransaction")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbTransaction` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbTransaction`*"]
+ pub type IdbTransaction;
+ #[cfg(feature = "IdbTransactionMode")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "IDBTransaction" , js_name = mode)]
+ #[doc = "Getter for the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/mode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbTransaction`, `IdbTransactionMode`*"]
+ pub fn mode(this: &IdbTransaction) -> Result<IdbTransactionMode, JsValue>;
+ #[cfg(feature = "IdbDatabase")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBTransaction" , js_name = db)]
+ #[doc = "Getter for the `db` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/db)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `IdbTransaction`*"]
+ pub fn db(this: &IdbTransaction) -> IdbDatabase;
+ #[cfg(feature = "DomException")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBTransaction" , js_name = error)]
+ #[doc = "Getter for the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`, `IdbTransaction`*"]
+ pub fn error(this: &IdbTransaction) -> Option<DomException>;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBTransaction" , js_name = onabort)]
+ #[doc = "Getter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbTransaction`*"]
+ pub fn onabort(this: &IdbTransaction) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBTransaction" , js_name = onabort)]
+ #[doc = "Setter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbTransaction`*"]
+ pub fn set_onabort(this: &IdbTransaction, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBTransaction" , js_name = oncomplete)]
+ #[doc = "Getter for the `oncomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/oncomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbTransaction`*"]
+ pub fn oncomplete(this: &IdbTransaction) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBTransaction" , js_name = oncomplete)]
+ #[doc = "Setter for the `oncomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/oncomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbTransaction`*"]
+ pub fn set_oncomplete(this: &IdbTransaction, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBTransaction" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbTransaction`*"]
+ pub fn onerror(this: &IdbTransaction) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "IDBTransaction" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbTransaction`*"]
+ pub fn set_onerror(this: &IdbTransaction, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "DomStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBTransaction" , js_name = objectStoreNames)]
+ #[doc = "Getter for the `objectStoreNames` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/objectStoreNames)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringList`, `IdbTransaction`*"]
+ pub fn object_store_names(this: &IdbTransaction) -> DomStringList;
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBTransaction" , js_name = abort)]
+ #[doc = "The `abort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/abort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbTransaction`*"]
+ pub fn abort(this: &IdbTransaction) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBTransaction" , js_name = commit)]
+ #[doc = "The `commit()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/commit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbTransaction`*"]
+ pub fn commit(this: &IdbTransaction) -> Result<(), JsValue>;
+ #[cfg(feature = "IdbObjectStore")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IDBTransaction" , js_name = objectStore)]
+ #[doc = "The `objectStore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/objectStore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbTransaction`*"]
+ pub fn object_store(this: &IdbTransaction, name: &str) -> Result<IdbObjectStore, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IdbTransactionMode.rs b/vendor/web-sys/src/features/gen_IdbTransactionMode.rs
new file mode 100644
index 000000000..8f0eb7647
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbTransactionMode.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `IdbTransactionMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `IdbTransactionMode`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum IdbTransactionMode {
+ Readonly = "readonly",
+ Readwrite = "readwrite",
+ Readwriteflush = "readwriteflush",
+ Cleanup = "cleanup",
+ Versionchange = "versionchange",
+}
diff --git a/vendor/web-sys/src/features/gen_IdbVersionChangeEvent.rs b/vendor/web-sys/src/features/gen_IdbVersionChangeEvent.rs
new file mode 100644
index 000000000..32348fce7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbVersionChangeEvent.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = IDBVersionChangeEvent , typescript_type = "IDBVersionChangeEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbVersionChangeEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbVersionChangeEvent`*"]
+ pub type IdbVersionChangeEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBVersionChangeEvent" , js_name = oldVersion)]
+ #[doc = "Getter for the `oldVersion` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent/oldVersion)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbVersionChangeEvent`*"]
+ pub fn old_version(this: &IdbVersionChangeEvent) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "IDBVersionChangeEvent" , js_name = newVersion)]
+ #[doc = "Getter for the `newVersion` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent/newVersion)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbVersionChangeEvent`*"]
+ pub fn new_version(this: &IdbVersionChangeEvent) -> Option<f64>;
+ #[wasm_bindgen(catch, constructor, js_class = "IDBVersionChangeEvent")]
+ #[doc = "The `new IdbVersionChangeEvent(..)` constructor, creating a new instance of `IdbVersionChangeEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent/IDBVersionChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbVersionChangeEvent`*"]
+ pub fn new(type_: &str) -> Result<IdbVersionChangeEvent, JsValue>;
+ #[cfg(feature = "IdbVersionChangeEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "IDBVersionChangeEvent")]
+ #[doc = "The `new IdbVersionChangeEvent(..)` constructor, creating a new instance of `IdbVersionChangeEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent/IDBVersionChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbVersionChangeEvent`, `IdbVersionChangeEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &IdbVersionChangeEventInit,
+ ) -> Result<IdbVersionChangeEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IdbVersionChangeEventInit.rs b/vendor/web-sys/src/features/gen_IdbVersionChangeEventInit.rs
new file mode 100644
index 000000000..5ec7d76eb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdbVersionChangeEventInit.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBVersionChangeEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdbVersionChangeEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbVersionChangeEventInit`*"]
+ pub type IdbVersionChangeEventInit;
+}
+impl IdbVersionChangeEventInit {
+ #[doc = "Construct a new `IdbVersionChangeEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbVersionChangeEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbVersionChangeEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbVersionChangeEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbVersionChangeEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `newVersion` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbVersionChangeEventInit`*"]
+ pub fn new_version(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("newVersion"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `oldVersion` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbVersionChangeEventInit`*"]
+ pub fn old_version(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("oldVersion"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for IdbVersionChangeEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_IdleDeadline.rs b/vendor/web-sys/src/features/gen_IdleDeadline.rs
new file mode 100644
index 000000000..d79f9ae5e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdleDeadline.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IdleDeadline , typescript_type = "IdleDeadline")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdleDeadline` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdleDeadline`*"]
+ pub type IdleDeadline;
+ # [wasm_bindgen (structural , method , getter , js_class = "IdleDeadline" , js_name = didTimeout)]
+ #[doc = "Getter for the `didTimeout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline/didTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdleDeadline`*"]
+ pub fn did_timeout(this: &IdleDeadline) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "IdleDeadline" , js_name = timeRemaining)]
+ #[doc = "The `timeRemaining()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline/timeRemaining)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdleDeadline`*"]
+ pub fn time_remaining(this: &IdleDeadline) -> f64;
+}
diff --git a/vendor/web-sys/src/features/gen_IdleRequestOptions.rs b/vendor/web-sys/src/features/gen_IdleRequestOptions.rs
new file mode 100644
index 000000000..06abc336e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IdleRequestOptions.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IdleRequestOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IdleRequestOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdleRequestOptions`*"]
+ pub type IdleRequestOptions;
+}
+impl IdleRequestOptions {
+ #[doc = "Construct a new `IdleRequestOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdleRequestOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `timeout` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdleRequestOptions`*"]
+ pub fn timeout(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timeout"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for IdleRequestOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_IirFilterNode.rs b/vendor/web-sys/src/features/gen_IirFilterNode.rs
new file mode 100644
index 000000000..833bd3073
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IirFilterNode.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = IIRFilterNode , typescript_type = "IIRFilterNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IirFilterNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IIRFilterNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IirFilterNode`*"]
+ pub type IirFilterNode;
+ #[cfg(all(feature = "BaseAudioContext", feature = "IirFilterOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "IIRFilterNode")]
+ #[doc = "The `new IirFilterNode(..)` constructor, creating a new instance of `IirFilterNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IIRFilterNode/IIRFilterNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `IirFilterNode`, `IirFilterOptions`*"]
+ pub fn new(
+ context: &BaseAudioContext,
+ options: &IirFilterOptions,
+ ) -> Result<IirFilterNode, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "IIRFilterNode" , js_name = getFrequencyResponse)]
+ #[doc = "The `getFrequencyResponse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IIRFilterNode/getFrequencyResponse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IirFilterNode`*"]
+ pub fn get_frequency_response(
+ this: &IirFilterNode,
+ frequency_hz: &mut [f32],
+ mag_response: &mut [f32],
+ phase_response: &mut [f32],
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_IirFilterOptions.rs b/vendor/web-sys/src/features/gen_IirFilterOptions.rs
new file mode 100644
index 000000000..2961ffc0c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IirFilterOptions.rs
@@ -0,0 +1,111 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IIRFilterOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IirFilterOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IirFilterOptions`*"]
+ pub type IirFilterOptions;
+}
+impl IirFilterOptions {
+ #[doc = "Construct a new `IirFilterOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IirFilterOptions`*"]
+ pub fn new(feedback: &::wasm_bindgen::JsValue, feedforward: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.feedback(feedback);
+ ret.feedforward(feedforward);
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IirFilterOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`, `IirFilterOptions`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`, `IirFilterOptions`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `feedback` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IirFilterOptions`*"]
+ pub fn feedback(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("feedback"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `feedforward` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IirFilterOptions`*"]
+ pub fn feedforward(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("feedforward"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ImageBitmap.rs b/vendor/web-sys/src/features/gen_ImageBitmap.rs
new file mode 100644
index 000000000..7d73db26d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageBitmap.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageBitmap , typescript_type = "ImageBitmap")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageBitmap` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`*"]
+ pub type ImageBitmap;
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageBitmap" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`*"]
+ pub fn width(this: &ImageBitmap) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageBitmap" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`*"]
+ pub fn height(this: &ImageBitmap) -> u32;
+ # [wasm_bindgen (method , structural , js_class = "ImageBitmap" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`*"]
+ pub fn close(this: &ImageBitmap);
+}
diff --git a/vendor/web-sys/src/features/gen_ImageBitmapOptions.rs b/vendor/web-sys/src/features/gen_ImageBitmapOptions.rs
new file mode 100644
index 000000000..e789794d0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageBitmapOptions.rs
@@ -0,0 +1,133 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageBitmapOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageBitmapOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`*"]
+ pub type ImageBitmapOptions;
+}
+impl ImageBitmapOptions {
+ #[doc = "Construct a new `ImageBitmapOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "ColorSpaceConversion")]
+ #[doc = "Change the `colorSpaceConversion` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ColorSpaceConversion`, `ImageBitmapOptions`*"]
+ pub fn color_space_conversion(&mut self, val: ColorSpaceConversion) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("colorSpaceConversion"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ImageOrientation")]
+ #[doc = "Change the `imageOrientation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `ImageOrientation`*"]
+ pub fn image_orientation(&mut self, val: ImageOrientation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("imageOrientation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PremultiplyAlpha")]
+ #[doc = "Change the `premultiplyAlpha` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `PremultiplyAlpha`*"]
+ pub fn premultiply_alpha(&mut self, val: PremultiplyAlpha) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("premultiplyAlpha"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `resizeHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`*"]
+ pub fn resize_height(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("resizeHeight"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ResizeQuality")]
+ #[doc = "Change the `resizeQuality` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `ResizeQuality`*"]
+ pub fn resize_quality(&mut self, val: ResizeQuality) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("resizeQuality"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `resizeWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`*"]
+ pub fn resize_width(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("resizeWidth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ImageBitmapOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ImageBitmapRenderingContext.rs b/vendor/web-sys/src/features/gen_ImageBitmapRenderingContext.rs
new file mode 100644
index 000000000..33cc46f02
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageBitmapRenderingContext.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageBitmapRenderingContext , typescript_type = "ImageBitmapRenderingContext")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageBitmapRenderingContext` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmapRenderingContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapRenderingContext`*"]
+ pub type ImageBitmapRenderingContext;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (method , structural , js_class = "ImageBitmapRenderingContext" , js_name = transferFromImageBitmap)]
+ #[doc = "The `transferFromImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmapRenderingContext/transferFromImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapRenderingContext`*"]
+ pub fn transfer_from_image_bitmap(this: &ImageBitmapRenderingContext, bitmap: &ImageBitmap);
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (method , structural , js_class = "ImageBitmapRenderingContext" , js_name = transferImageBitmap)]
+ #[doc = "The `transferImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmapRenderingContext/transferImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapRenderingContext`*"]
+ pub fn transfer_image_bitmap(this: &ImageBitmapRenderingContext, bitmap: &ImageBitmap);
+}
diff --git a/vendor/web-sys/src/features/gen_ImageCapture.rs b/vendor/web-sys/src/features/gen_ImageCapture.rs
new file mode 100644
index 000000000..4bf2d71cc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageCapture.rs
@@ -0,0 +1,86 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageCapture , typescript_type = "ImageCapture")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageCapture` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCapture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ImageCapture;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaStreamTrack")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageCapture" , js_name = track)]
+ #[doc = "Getter for the `track` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/track)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCapture`, `MediaStreamTrack`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn track(this: &ImageCapture) -> MediaStreamTrack;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaStreamTrack")]
+ #[wasm_bindgen(catch, constructor, js_class = "ImageCapture")]
+ #[doc = "The `new ImageCapture(..)` constructor, creating a new instance of `ImageCapture`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/ImageCapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCapture`, `MediaStreamTrack`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(video_track: &MediaStreamTrack) -> Result<ImageCapture, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "ImageCapture" , js_name = getPhotoCapabilities)]
+ #[doc = "The `getPhotoCapabilities()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/getPhotoCapabilities)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCapture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_photo_capabilities(this: &ImageCapture) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "ImageCapture" , js_name = getPhotoSettings)]
+ #[doc = "The `getPhotoSettings()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/getPhotoSettings)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCapture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_photo_settings(this: &ImageCapture) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "ImageCapture" , js_name = grabFrame)]
+ #[doc = "The `grabFrame()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/grabFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCapture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn grab_frame(this: &ImageCapture) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "ImageCapture" , js_name = takePhoto)]
+ #[doc = "The `takePhoto()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/takePhoto)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCapture`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn take_photo(this: &ImageCapture) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_ImageCaptureError.rs b/vendor/web-sys/src/features/gen_ImageCaptureError.rs
new file mode 100644
index 000000000..e04c915d1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageCaptureError.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = ImageCaptureError , typescript_type = "ImageCaptureError")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageCaptureError` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCaptureError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureError`*"]
+ pub type ImageCaptureError;
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageCaptureError" , js_name = code)]
+ #[doc = "Getter for the `code` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCaptureError/code)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureError`*"]
+ pub fn code(this: &ImageCaptureError) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageCaptureError" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCaptureError/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureError`*"]
+ pub fn message(this: &ImageCaptureError) -> String;
+}
+impl ImageCaptureError {
+ #[doc = "The `ImageCaptureError.FRAME_GRAB_ERROR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureError`*"]
+ pub const FRAME_GRAB_ERROR: u16 = 1u64 as u16;
+ #[doc = "The `ImageCaptureError.SETTINGS_ERROR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureError`*"]
+ pub const SETTINGS_ERROR: u16 = 2u64 as u16;
+ #[doc = "The `ImageCaptureError.PHOTO_ERROR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureError`*"]
+ pub const PHOTO_ERROR: u16 = 3u64 as u16;
+ #[doc = "The `ImageCaptureError.ERROR_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureError`*"]
+ pub const ERROR_UNKNOWN: u16 = 4u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_ImageCaptureErrorEvent.rs b/vendor/web-sys/src/features/gen_ImageCaptureErrorEvent.rs
new file mode 100644
index 000000000..d51297ae9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageCaptureErrorEvent.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = ImageCaptureErrorEvent , typescript_type = "ImageCaptureErrorEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageCaptureErrorEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCaptureErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureErrorEvent`*"]
+ pub type ImageCaptureErrorEvent;
+ #[cfg(feature = "ImageCaptureError")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageCaptureErrorEvent" , js_name = imageCaptureError)]
+ #[doc = "Getter for the `imageCaptureError` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCaptureErrorEvent/imageCaptureError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureError`, `ImageCaptureErrorEvent`*"]
+ pub fn image_capture_error(this: &ImageCaptureErrorEvent) -> Option<ImageCaptureError>;
+ #[wasm_bindgen(catch, constructor, js_class = "ImageCaptureErrorEvent")]
+ #[doc = "The `new ImageCaptureErrorEvent(..)` constructor, creating a new instance of `ImageCaptureErrorEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCaptureErrorEvent/ImageCaptureErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureErrorEvent`*"]
+ pub fn new(type_: &str) -> Result<ImageCaptureErrorEvent, JsValue>;
+ #[cfg(feature = "ImageCaptureErrorEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "ImageCaptureErrorEvent")]
+ #[doc = "The `new ImageCaptureErrorEvent(..)` constructor, creating a new instance of `ImageCaptureErrorEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCaptureErrorEvent/ImageCaptureErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureErrorEvent`, `ImageCaptureErrorEventInit`*"]
+ pub fn new_with_image_capture_error_init_dict(
+ type_: &str,
+ image_capture_error_init_dict: &ImageCaptureErrorEventInit,
+ ) -> Result<ImageCaptureErrorEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ImageCaptureErrorEventInit.rs b/vendor/web-sys/src/features/gen_ImageCaptureErrorEventInit.rs
new file mode 100644
index 000000000..b6287188b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageCaptureErrorEventInit.rs
@@ -0,0 +1,96 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageCaptureErrorEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageCaptureErrorEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureErrorEventInit`*"]
+ pub type ImageCaptureErrorEventInit;
+}
+impl ImageCaptureErrorEventInit {
+ #[doc = "Construct a new `ImageCaptureErrorEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureErrorEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureErrorEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureErrorEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureErrorEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ImageCaptureError")]
+ #[doc = "Change the `imageCaptureError` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageCaptureError`, `ImageCaptureErrorEventInit`*"]
+ pub fn image_capture_error(&mut self, val: Option<&ImageCaptureError>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("imageCaptureError"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ImageCaptureErrorEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ImageData.rs b/vendor/web-sys/src/features/gen_ImageData.rs
new file mode 100644
index 000000000..60b95675d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageData.rs
@@ -0,0 +1,63 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageData , typescript_type = "ImageData")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageData` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`*"]
+ pub type ImageData;
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageData" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`*"]
+ pub fn width(this: &ImageData) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageData" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`*"]
+ pub fn height(this: &ImageData) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageData" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`*"]
+ pub fn data(this: &ImageData) -> ::wasm_bindgen::Clamped<Vec<u8>>;
+ #[wasm_bindgen(catch, constructor, js_class = "ImageData")]
+ #[doc = "The `new ImageData(..)` constructor, creating a new instance of `ImageData`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/ImageData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`*"]
+ pub fn new_with_sw(sw: u32, sh: u32) -> Result<ImageData, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "ImageData")]
+ #[doc = "The `new ImageData(..)` constructor, creating a new instance of `ImageData`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/ImageData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`*"]
+ pub fn new_with_u8_clamped_array(
+ data: ::wasm_bindgen::Clamped<&[u8]>,
+ sw: u32,
+ ) -> Result<ImageData, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "ImageData")]
+ #[doc = "The `new ImageData(..)` constructor, creating a new instance of `ImageData`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/ImageData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`*"]
+ pub fn new_with_u8_clamped_array_and_sh(
+ data: ::wasm_bindgen::Clamped<&[u8]>,
+ sw: u32,
+ sh: u32,
+ ) -> Result<ImageData, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ImageDecodeOptions.rs b/vendor/web-sys/src/features/gen_ImageDecodeOptions.rs
new file mode 100644
index 000000000..b23963c2a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageDecodeOptions.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageDecodeOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageDecodeOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecodeOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ImageDecodeOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl ImageDecodeOptions {
+ #[doc = "Construct a new `ImageDecodeOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecodeOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `completeFramesOnly` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecodeOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn complete_frames_only(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("completeFramesOnly"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `frameIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecodeOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn frame_index(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frameIndex"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for ImageDecodeOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ImageDecodeResult.rs b/vendor/web-sys/src/features/gen_ImageDecodeResult.rs
new file mode 100644
index 000000000..2af1bf5b9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageDecodeResult.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageDecodeResult)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageDecodeResult` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecodeResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ImageDecodeResult;
+}
+#[cfg(web_sys_unstable_apis)]
+impl ImageDecodeResult {
+ #[cfg(feature = "VideoFrame")]
+ #[doc = "Construct a new `ImageDecodeResult`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecodeResult`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(complete: bool, image: &VideoFrame) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.complete(complete);
+ ret.image(image);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `complete` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecodeResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn complete(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("complete"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ #[doc = "Change the `image` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecodeResult`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn image(&mut self, val: &VideoFrame) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("image"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ImageDecoder.rs b/vendor/web-sys/src/features/gen_ImageDecoder.rs
new file mode 100644
index 000000000..2dae3f051
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageDecoder.rs
@@ -0,0 +1,134 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageDecoder , typescript_type = "ImageDecoder")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageDecoder` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageDecoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ImageDecoder;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageDecoder" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageDecoder/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(this: &ImageDecoder) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageDecoder" , js_name = complete)]
+ #[doc = "Getter for the `complete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageDecoder/complete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn complete(this: &ImageDecoder) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageDecoder" , js_name = completed)]
+ #[doc = "Getter for the `completed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageDecoder/completed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn completed(this: &ImageDecoder) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ImageTrackList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageDecoder" , js_name = tracks)]
+ #[doc = "Getter for the `tracks` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageDecoder/tracks)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoder`, `ImageTrackList`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn tracks(this: &ImageDecoder) -> ImageTrackList;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ImageDecoderInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "ImageDecoder")]
+ #[doc = "The `new ImageDecoder(..)` constructor, creating a new instance of `ImageDecoder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageDecoder/ImageDecoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoder`, `ImageDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(init: &ImageDecoderInit) -> Result<ImageDecoder, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "ImageDecoder" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageDecoder/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn close(this: &ImageDecoder);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "ImageDecoder" , js_name = decode)]
+ #[doc = "The `decode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageDecoder/decode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn decode(this: &ImageDecoder) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ImageDecodeOptions")]
+ # [wasm_bindgen (method , structural , js_class = "ImageDecoder" , js_name = decode)]
+ #[doc = "The `decode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageDecoder/decode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecodeOptions`, `ImageDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn decode_with_options(
+ this: &ImageDecoder,
+ options: &ImageDecodeOptions,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (static_method_of = ImageDecoder , js_class = "ImageDecoder" , js_name = isTypeSupported)]
+ #[doc = "The `isTypeSupported()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageDecoder/isTypeSupported)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_type_supported(type_: &str) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "ImageDecoder" , js_name = reset)]
+ #[doc = "The `reset()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageDecoder/reset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn reset(this: &ImageDecoder);
+}
diff --git a/vendor/web-sys/src/features/gen_ImageDecoderInit.rs b/vendor/web-sys/src/features/gen_ImageDecoderInit.rs
new file mode 100644
index 000000000..a787ca672
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageDecoderInit.rs
@@ -0,0 +1,173 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageDecoderInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageDecoderInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ImageDecoderInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl ImageDecoderInit {
+ #[doc = "Construct a new `ImageDecoderInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(data: &::wasm_bindgen::JsValue, type_: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.data(data);
+ ret.type_(type_);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ColorSpaceConversion")]
+ #[doc = "Change the `colorSpaceConversion` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ColorSpaceConversion`, `ImageDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn color_space_conversion(&mut self, val: ColorSpaceConversion) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("colorSpaceConversion"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `desiredHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn desired_height(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("desiredHeight"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `desiredWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn desired_width(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("desiredWidth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `preferAnimation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn prefer_animation(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("preferAnimation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "PremultiplyAlpha")]
+ #[doc = "Change the `premultiplyAlpha` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoderInit`, `PremultiplyAlpha`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn premultiply_alpha(&mut self, val: PremultiplyAlpha) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("premultiplyAlpha"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ImageOrientation.rs b/vendor/web-sys/src/features/gen_ImageOrientation.rs
new file mode 100644
index 000000000..8c1c25c13
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageOrientation.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ImageOrientation` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ImageOrientation`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ImageOrientation {
+ FromImage = "from-image",
+ FlipY = "flipY",
+}
diff --git a/vendor/web-sys/src/features/gen_ImageTrack.rs b/vendor/web-sys/src/features/gen_ImageTrack.rs
new file mode 100644
index 000000000..a710c4776
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageTrack.rs
@@ -0,0 +1,95 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = ImageTrack , typescript_type = "ImageTrack")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageTrack` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrack`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ImageTrack;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageTrack" , js_name = animated)]
+ #[doc = "Getter for the `animated` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrack/animated)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrack`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn animated(this: &ImageTrack) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageTrack" , js_name = frameCount)]
+ #[doc = "Getter for the `frameCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrack/frameCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrack`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn frame_count(this: &ImageTrack) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageTrack" , js_name = repetitionCount)]
+ #[doc = "Getter for the `repetitionCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrack/repetitionCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrack`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn repetition_count(this: &ImageTrack) -> f32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageTrack" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrack/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrack`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onchange(this: &ImageTrack) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "ImageTrack" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrack/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrack`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onchange(this: &ImageTrack, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageTrack" , js_name = selected)]
+ #[doc = "Getter for the `selected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrack/selected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrack`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn selected(this: &ImageTrack) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "ImageTrack" , js_name = selected)]
+ #[doc = "Setter for the `selected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrack/selected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrack`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_selected(this: &ImageTrack, value: bool);
+}
diff --git a/vendor/web-sys/src/features/gen_ImageTrackList.rs b/vendor/web-sys/src/features/gen_ImageTrackList.rs
new file mode 100644
index 000000000..9ddf49af0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ImageTrackList.rs
@@ -0,0 +1,75 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageTrackList , typescript_type = "ImageTrackList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ImageTrackList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrackList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrackList`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ImageTrackList;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageTrackList" , js_name = ready)]
+ #[doc = "Getter for the `ready` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrackList/ready)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrackList`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn ready(this: &ImageTrackList) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageTrackList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrackList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrackList`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn length(this: &ImageTrackList) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageTrackList" , js_name = selectedIndex)]
+ #[doc = "Getter for the `selectedIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrackList/selectedIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrackList`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn selected_index(this: &ImageTrackList) -> i32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ImageTrack")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ImageTrackList" , js_name = selectedTrack)]
+ #[doc = "Getter for the `selectedTrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageTrackList/selectedTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrack`, `ImageTrackList`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn selected_track(this: &ImageTrackList) -> Option<ImageTrack>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ImageTrack")]
+ #[wasm_bindgen(method, structural, js_class = "ImageTrackList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageTrack`, `ImageTrackList`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get(this: &ImageTrackList, index: u32) -> Option<ImageTrack>;
+}
diff --git a/vendor/web-sys/src/features/gen_InputEvent.rs b/vendor/web-sys/src/features/gen_InputEvent.rs
new file mode 100644
index 000000000..cdf501b4d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_InputEvent.rs
@@ -0,0 +1,68 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = UiEvent , extends = Event , extends = :: js_sys :: Object , js_name = InputEvent , typescript_type = "InputEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `InputEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEvent`*"]
+ pub type InputEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "InputEvent" , js_name = isComposing)]
+ #[doc = "Getter for the `isComposing` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/isComposing)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEvent`*"]
+ pub fn is_composing(this: &InputEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "InputEvent" , js_name = inputType)]
+ #[doc = "Getter for the `inputType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/inputType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEvent`*"]
+ pub fn input_type(this: &InputEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "InputEvent" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEvent`*"]
+ pub fn data(this: &InputEvent) -> Option<String>;
+ #[cfg(feature = "DataTransfer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "InputEvent" , js_name = dataTransfer)]
+ #[doc = "Getter for the `dataTransfer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/dataTransfer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`, `InputEvent`*"]
+ pub fn data_transfer(this: &InputEvent) -> Option<DataTransfer>;
+ #[wasm_bindgen(catch, constructor, js_class = "InputEvent")]
+ #[doc = "The `new InputEvent(..)` constructor, creating a new instance of `InputEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/InputEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEvent`*"]
+ pub fn new(type_: &str) -> Result<InputEvent, JsValue>;
+ #[cfg(feature = "InputEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "InputEvent")]
+ #[doc = "The `new InputEvent(..)` constructor, creating a new instance of `InputEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/InputEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEvent`, `InputEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &InputEventInit,
+ ) -> Result<InputEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "InputEvent" , js_name = getTargetRanges)]
+ #[doc = "The `getTargetRanges()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/getTargetRanges)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEvent`*"]
+ pub fn get_target_ranges(this: &InputEvent) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_InputEventInit.rs b/vendor/web-sys/src/features/gen_InputEventInit.rs
new file mode 100644
index 000000000..1ddd034d1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_InputEventInit.rs
@@ -0,0 +1,188 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = InputEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `InputEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEventInit`*"]
+ pub type InputEventInit;
+}
+impl InputEventInit {
+ #[doc = "Construct a new `InputEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEventInit`*"]
+ pub fn detail(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detail"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Window")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEventInit`, `Window`*"]
+ pub fn view(&mut self, val: Option<&Window>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEventInit`*"]
+ pub fn data(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DataTransfer")]
+ #[doc = "Change the `dataTransfer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`, `InputEventInit`*"]
+ pub fn data_transfer(&mut self, val: Option<&DataTransfer>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dataTransfer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `inputType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEventInit`*"]
+ pub fn input_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("inputType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `isComposing` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEventInit`*"]
+ pub fn is_composing(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isComposing"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `targetRanges` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InputEventInit`*"]
+ pub fn target_ranges(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("targetRanges"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for InputEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_InstallTriggerData.rs b/vendor/web-sys/src/features/gen_InstallTriggerData.rs
new file mode 100644
index 000000000..bb84c5306
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_InstallTriggerData.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = InstallTriggerData)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `InstallTriggerData` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InstallTriggerData`*"]
+ pub type InstallTriggerData;
+}
+impl InstallTriggerData {
+ #[doc = "Construct a new `InstallTriggerData`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InstallTriggerData`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `Hash` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InstallTriggerData`*"]
+ pub fn hash(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("Hash"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `IconURL` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InstallTriggerData`*"]
+ pub fn icon_url(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("IconURL"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `URL` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `InstallTriggerData`*"]
+ pub fn url(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("URL"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for InstallTriggerData {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_IntersectionObserver.rs b/vendor/web-sys/src/features/gen_IntersectionObserver.rs
new file mode 100644
index 000000000..bf4a27b72
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IntersectionObserver.rs
@@ -0,0 +1,85 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IntersectionObserver , typescript_type = "IntersectionObserver")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IntersectionObserver` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserver`*"]
+ pub type IntersectionObserver;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserver" , js_name = root)]
+ #[doc = "Getter for the `root` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/root)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `IntersectionObserver`*"]
+ pub fn root(this: &IntersectionObserver) -> Option<Element>;
+ # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserver" , js_name = rootMargin)]
+ #[doc = "Getter for the `rootMargin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/rootMargin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserver`*"]
+ pub fn root_margin(this: &IntersectionObserver) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserver" , js_name = thresholds)]
+ #[doc = "Getter for the `thresholds` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/thresholds)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserver`*"]
+ pub fn thresholds(this: &IntersectionObserver) -> ::js_sys::Array;
+ #[wasm_bindgen(catch, constructor, js_class = "IntersectionObserver")]
+ #[doc = "The `new IntersectionObserver(..)` constructor, creating a new instance of `IntersectionObserver`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/IntersectionObserver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserver`*"]
+ pub fn new(intersection_callback: &::js_sys::Function)
+ -> Result<IntersectionObserver, JsValue>;
+ #[cfg(feature = "IntersectionObserverInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "IntersectionObserver")]
+ #[doc = "The `new IntersectionObserver(..)` constructor, creating a new instance of `IntersectionObserver`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/IntersectionObserver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserver`, `IntersectionObserverInit`*"]
+ pub fn new_with_options(
+ intersection_callback: &::js_sys::Function,
+ options: &IntersectionObserverInit,
+ ) -> Result<IntersectionObserver, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "IntersectionObserver" , js_name = disconnect)]
+ #[doc = "The `disconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/disconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserver`*"]
+ pub fn disconnect(this: &IntersectionObserver);
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "IntersectionObserver" , js_name = observe)]
+ #[doc = "The `observe()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/observe)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `IntersectionObserver`*"]
+ pub fn observe(this: &IntersectionObserver, target: &Element);
+ # [wasm_bindgen (method , structural , js_class = "IntersectionObserver" , js_name = takeRecords)]
+ #[doc = "The `takeRecords()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/takeRecords)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserver`*"]
+ pub fn take_records(this: &IntersectionObserver) -> ::js_sys::Array;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "IntersectionObserver" , js_name = unobserve)]
+ #[doc = "The `unobserve()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/unobserve)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `IntersectionObserver`*"]
+ pub fn unobserve(this: &IntersectionObserver, target: &Element);
+}
diff --git a/vendor/web-sys/src/features/gen_IntersectionObserverEntry.rs b/vendor/web-sys/src/features/gen_IntersectionObserverEntry.rs
new file mode 100644
index 000000000..6caedd2f8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IntersectionObserverEntry.rs
@@ -0,0 +1,67 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IntersectionObserverEntry , typescript_type = "IntersectionObserverEntry")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IntersectionObserverEntry` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverEntry`*"]
+ pub type IntersectionObserverEntry;
+ # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = time)]
+ #[doc = "Getter for the `time` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/time)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverEntry`*"]
+ pub fn time(this: &IntersectionObserverEntry) -> f64;
+ #[cfg(feature = "DomRectReadOnly")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = rootBounds)]
+ #[doc = "Getter for the `rootBounds` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/rootBounds)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*"]
+ pub fn root_bounds(this: &IntersectionObserverEntry) -> Option<DomRectReadOnly>;
+ #[cfg(feature = "DomRectReadOnly")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = boundingClientRect)]
+ #[doc = "Getter for the `boundingClientRect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/boundingClientRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*"]
+ pub fn bounding_client_rect(this: &IntersectionObserverEntry) -> DomRectReadOnly;
+ #[cfg(feature = "DomRectReadOnly")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = intersectionRect)]
+ #[doc = "Getter for the `intersectionRect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/intersectionRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*"]
+ pub fn intersection_rect(this: &IntersectionObserverEntry) -> DomRectReadOnly;
+ # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = isIntersecting)]
+ #[doc = "Getter for the `isIntersecting` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/isIntersecting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverEntry`*"]
+ pub fn is_intersecting(this: &IntersectionObserverEntry) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = intersectionRatio)]
+ #[doc = "Getter for the `intersectionRatio` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/intersectionRatio)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverEntry`*"]
+ pub fn intersection_ratio(this: &IntersectionObserverEntry) -> f64;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `IntersectionObserverEntry`*"]
+ pub fn target(this: &IntersectionObserverEntry) -> Element;
+}
diff --git a/vendor/web-sys/src/features/gen_IntersectionObserverEntryInit.rs b/vendor/web-sys/src/features/gen_IntersectionObserverEntryInit.rs
new file mode 100644
index 000000000..cbdd61fa1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IntersectionObserverEntryInit.rs
@@ -0,0 +1,116 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IntersectionObserverEntryInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IntersectionObserverEntryInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverEntryInit`*"]
+ pub type IntersectionObserverEntryInit;
+}
+impl IntersectionObserverEntryInit {
+ #[cfg(all(feature = "DomRectInit", feature = "Element",))]
+ #[doc = "Construct a new `IntersectionObserverEntryInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`, `Element`, `IntersectionObserverEntryInit`*"]
+ pub fn new(
+ bounding_client_rect: &DomRectInit,
+ intersection_rect: &DomRectInit,
+ root_bounds: &DomRectInit,
+ target: &Element,
+ time: f64,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.bounding_client_rect(bounding_client_rect);
+ ret.intersection_rect(intersection_rect);
+ ret.root_bounds(root_bounds);
+ ret.target(target);
+ ret.time(time);
+ ret
+ }
+ #[cfg(feature = "DomRectInit")]
+ #[doc = "Change the `boundingClientRect` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`, `IntersectionObserverEntryInit`*"]
+ pub fn bounding_client_rect(&mut self, val: &DomRectInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("boundingClientRect"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DomRectInit")]
+ #[doc = "Change the `intersectionRect` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`, `IntersectionObserverEntryInit`*"]
+ pub fn intersection_rect(&mut self, val: &DomRectInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("intersectionRect"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DomRectInit")]
+ #[doc = "Change the `rootBounds` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`, `IntersectionObserverEntryInit`*"]
+ pub fn root_bounds(&mut self, val: &DomRectInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rootBounds"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Element")]
+ #[doc = "Change the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `IntersectionObserverEntryInit`*"]
+ pub fn target(&mut self, val: &Element) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("target"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `time` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverEntryInit`*"]
+ pub fn time(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("time"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_IntersectionObserverInit.rs b/vendor/web-sys/src/features/gen_IntersectionObserverInit.rs
new file mode 100644
index 000000000..33115b50e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IntersectionObserverInit.rs
@@ -0,0 +1,75 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IntersectionObserverInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IntersectionObserverInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverInit`*"]
+ pub type IntersectionObserverInit;
+}
+impl IntersectionObserverInit {
+ #[doc = "Construct a new `IntersectionObserverInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "Element")]
+ #[doc = "Change the `root` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `IntersectionObserverInit`*"]
+ pub fn root(&mut self, val: Option<&Element>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("root"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rootMargin` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverInit`*"]
+ pub fn root_margin(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rootMargin"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `threshold` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntersectionObserverInit`*"]
+ pub fn threshold(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("threshold"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for IntersectionObserverInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_IntlUtils.rs b/vendor/web-sys/src/features/gen_IntlUtils.rs
new file mode 100644
index 000000000..751ce53e9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IntlUtils.rs
@@ -0,0 +1,48 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = IntlUtils , typescript_type = "IntlUtils")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IntlUtils` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntlUtils)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntlUtils`*"]
+ pub type IntlUtils;
+ #[cfg(feature = "DisplayNameResult")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IntlUtils" , js_name = getDisplayNames)]
+ #[doc = "The `getDisplayNames()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntlUtils/getDisplayNames)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayNameResult`, `IntlUtils`*"]
+ pub fn get_display_names(
+ this: &IntlUtils,
+ locales: &::wasm_bindgen::JsValue,
+ ) -> Result<DisplayNameResult, JsValue>;
+ #[cfg(all(feature = "DisplayNameOptions", feature = "DisplayNameResult",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "IntlUtils" , js_name = getDisplayNames)]
+ #[doc = "The `getDisplayNames()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntlUtils/getDisplayNames)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayNameOptions`, `DisplayNameResult`, `IntlUtils`*"]
+ pub fn get_display_names_with_options(
+ this: &IntlUtils,
+ locales: &::wasm_bindgen::JsValue,
+ options: &DisplayNameOptions,
+ ) -> Result<DisplayNameResult, JsValue>;
+ #[cfg(feature = "LocaleInfo")]
+ # [wasm_bindgen (catch , method , structural , js_class = "IntlUtils" , js_name = getLocaleInfo)]
+ #[doc = "The `getLocaleInfo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntlUtils/getLocaleInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IntlUtils`, `LocaleInfo`*"]
+ pub fn get_locale_info(
+ this: &IntlUtils,
+ locales: &::wasm_bindgen::JsValue,
+ ) -> Result<LocaleInfo, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_IterableKeyAndValueResult.rs b/vendor/web-sys/src/features/gen_IterableKeyAndValueResult.rs
new file mode 100644
index 000000000..c88d7cc1d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IterableKeyAndValueResult.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IterableKeyAndValueResult)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IterableKeyAndValueResult` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IterableKeyAndValueResult`*"]
+ pub type IterableKeyAndValueResult;
+}
+impl IterableKeyAndValueResult {
+ #[doc = "Construct a new `IterableKeyAndValueResult`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IterableKeyAndValueResult`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `done` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IterableKeyAndValueResult`*"]
+ pub fn done(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("done"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IterableKeyAndValueResult`*"]
+ pub fn value(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for IterableKeyAndValueResult {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_IterableKeyOrValueResult.rs b/vendor/web-sys/src/features/gen_IterableKeyOrValueResult.rs
new file mode 100644
index 000000000..7dd96ba8c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IterableKeyOrValueResult.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IterableKeyOrValueResult)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `IterableKeyOrValueResult` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IterableKeyOrValueResult`*"]
+ pub type IterableKeyOrValueResult;
+}
+impl IterableKeyOrValueResult {
+ #[doc = "Construct a new `IterableKeyOrValueResult`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IterableKeyOrValueResult`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `done` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IterableKeyOrValueResult`*"]
+ pub fn done(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("done"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IterableKeyOrValueResult`*"]
+ pub fn value(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for IterableKeyOrValueResult {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_IterationCompositeOperation.rs b/vendor/web-sys/src/features/gen_IterationCompositeOperation.rs
new file mode 100644
index 000000000..b4aa9f6cc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_IterationCompositeOperation.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `IterationCompositeOperation` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `IterationCompositeOperation`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum IterationCompositeOperation {
+ Replace = "replace",
+ Accumulate = "accumulate",
+}
diff --git a/vendor/web-sys/src/features/gen_JsonWebKey.rs b/vendor/web-sys/src/features/gen_JsonWebKey.rs
new file mode 100644
index 000000000..b377c19c8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_JsonWebKey.rs
@@ -0,0 +1,261 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = JsonWebKey)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `JsonWebKey` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub type JsonWebKey;
+}
+impl JsonWebKey {
+ #[doc = "Construct a new `JsonWebKey`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn new(kty: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.kty(kty);
+ ret
+ }
+ #[doc = "Change the `alg` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn alg(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("alg"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `crv` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn crv(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("crv"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `d` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn d(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("d"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `dp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn dp(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("dp"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `dq` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn dq(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("dq"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `e` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn e(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("e"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ext` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn ext(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ext"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `k` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn k(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("k"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `key_ops` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn key_ops(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("key_ops"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `kty` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn kty(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("kty"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `n` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn n(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("n"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `oth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn oth(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("oth"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `p` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn p(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("p"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `q` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn q(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("q"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `qi` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn qi(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("qi"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `use` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn use_(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("use"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn x(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("x"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `JsonWebKey`*"]
+ pub fn y(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("y"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_KeyAlgorithm.rs b/vendor/web-sys/src/features/gen_KeyAlgorithm.rs
new file mode 100644
index 000000000..556fdb011
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_KeyAlgorithm.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = KeyAlgorithm)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `KeyAlgorithm` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyAlgorithm`*"]
+ pub type KeyAlgorithm;
+}
+impl KeyAlgorithm {
+ #[doc = "Construct a new `KeyAlgorithm`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyAlgorithm`*"]
+ pub fn new(name: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyAlgorithm`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_KeyEvent.rs b/vendor/web-sys/src/features/gen_KeyEvent.rs
new file mode 100644
index 000000000..997fa8101
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_KeyEvent.rs
@@ -0,0 +1,905 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = KeyEvent , typescript_type = "KeyEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `KeyEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub type KeyEvent;
+ # [wasm_bindgen (method , structural , js_class = "KeyEvent" , js_name = initKeyEvent)]
+ #[doc = "The `initKeyEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub fn init_key_event(this: &KeyEvent, type_: &str);
+ # [wasm_bindgen (method , structural , js_class = "KeyEvent" , js_name = initKeyEvent)]
+ #[doc = "The `initKeyEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub fn init_key_event_with_can_bubble(this: &KeyEvent, type_: &str, can_bubble: bool);
+ # [wasm_bindgen (method , structural , js_class = "KeyEvent" , js_name = initKeyEvent)]
+ #[doc = "The `initKeyEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub fn init_key_event_with_can_bubble_and_cancelable(
+ this: &KeyEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "KeyEvent" , js_name = initKeyEvent)]
+ #[doc = "The `initKeyEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`, `Window`*"]
+ pub fn init_key_event_with_can_bubble_and_cancelable_and_view(
+ this: &KeyEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "KeyEvent" , js_name = initKeyEvent)]
+ #[doc = "The `initKeyEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`, `Window`*"]
+ pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key(
+ this: &KeyEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ ctrl_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "KeyEvent" , js_name = initKeyEvent)]
+ #[doc = "The `initKeyEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`, `Window`*"]
+ pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key(
+ this: &KeyEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ ctrl_key: bool,
+ alt_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "KeyEvent" , js_name = initKeyEvent)]
+ #[doc = "The `initKeyEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`, `Window`*"]
+ pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key(
+ this: &KeyEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "KeyEvent" , js_name = initKeyEvent)]
+ #[doc = "The `initKeyEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`, `Window`*"]
+ pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key(
+ this: &KeyEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ meta_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "KeyEvent" , js_name = initKeyEvent)]
+ #[doc = "The `initKeyEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`, `Window`*"]
+ pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code(
+ this: &KeyEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ meta_key: bool,
+ key_code: u32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "KeyEvent" , js_name = initKeyEvent)]
+ #[doc = "The `initKeyEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`, `Window`*"]
+ pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_and_char_code(
+ this: &KeyEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ meta_key: bool,
+ key_code: u32,
+ char_code: u32,
+ );
+}
+impl KeyEvent {
+ #[doc = "The `KeyEvent.DOM_VK_CANCEL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_CANCEL: u32 = 3u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_HELP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_HELP: u32 = 6u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_BACK_SPACE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_BACK_SPACE: u32 = 8u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_TAB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_TAB: u32 = 9u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_CLEAR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_CLEAR: u32 = 12u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_RETURN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_RETURN: u32 = 13u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_SHIFT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_SHIFT: u32 = 16u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_CONTROL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_CONTROL: u32 = 17u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_ALT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_ALT: u32 = 18u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_PAUSE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_PAUSE: u32 = 19u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_CAPS_LOCK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_CAPS_LOCK: u32 = 20u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_KANA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_KANA: u32 = 21u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_HANGUL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_HANGUL: u32 = 21u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_EISU` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_EISU: u32 = 22u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_JUNJA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_JUNJA: u32 = 23u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_FINAL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_FINAL: u32 = 24u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_HANJA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_HANJA: u32 = 25u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_KANJI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_KANJI: u32 = 25u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_ESCAPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_ESCAPE: u32 = 27u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_CONVERT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_CONVERT: u32 = 28u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_NONCONVERT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_NONCONVERT: u32 = 29u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_ACCEPT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_ACCEPT: u32 = 30u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_MODECHANGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_MODECHANGE: u32 = 31u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_SPACE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_SPACE: u32 = 32u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_PAGE_UP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_PAGE_UP: u32 = 33u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_PAGE_DOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_PAGE_DOWN: u32 = 34u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_END` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_END: u32 = 35u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_HOME` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_HOME: u32 = 36u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_LEFT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_LEFT: u32 = 37u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_UP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_UP: u32 = 38u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_RIGHT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_RIGHT: u32 = 39u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_DOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_DOWN: u32 = 40u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_SELECT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_SELECT: u32 = 41u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_PRINT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_PRINT: u32 = 42u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_EXECUTE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_EXECUTE: u32 = 43u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_PRINTSCREEN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_PRINTSCREEN: u32 = 44u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_INSERT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_INSERT: u32 = 45u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_DELETE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_DELETE: u32 = 46u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_0` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_0: u32 = 48u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_1: u32 = 49u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_2: u32 = 50u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_3: u32 = 51u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_4: u32 = 52u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_5` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_5: u32 = 53u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_6` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_6: u32 = 54u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_7` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_7: u32 = 55u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_8: u32 = 56u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_9` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_9: u32 = 57u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_COLON` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_COLON: u32 = 58u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_SEMICOLON` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_SEMICOLON: u32 = 59u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_LESS_THAN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_LESS_THAN: u32 = 60u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_EQUALS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_EQUALS: u32 = 61u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_GREATER_THAN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_GREATER_THAN: u32 = 62u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_QUESTION_MARK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_QUESTION_MARK: u32 = 63u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_AT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_AT: u32 = 64u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_A` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_A: u32 = 65u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_B` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_B: u32 = 66u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_C` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_C: u32 = 67u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_D: u32 = 68u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_E` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_E: u32 = 69u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F: u32 = 70u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_G` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_G: u32 = 71u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_H` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_H: u32 = 72u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_I: u32 = 73u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_J` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_J: u32 = 74u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_K` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_K: u32 = 75u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_L` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_L: u32 = 76u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_M` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_M: u32 = 77u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_N` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_N: u32 = 78u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_O` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_O: u32 = 79u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_P` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_P: u32 = 80u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_Q` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_Q: u32 = 81u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_R` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_R: u32 = 82u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_S` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_S: u32 = 83u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_T` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_T: u32 = 84u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_U` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_U: u32 = 85u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_V` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_V: u32 = 86u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_W` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_W: u32 = 87u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_X` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_X: u32 = 88u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_Y` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_Y: u32 = 89u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_Z` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_Z: u32 = 90u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN: u32 = 91u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_CONTEXT_MENU` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_CONTEXT_MENU: u32 = 93u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_SLEEP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_SLEEP: u32 = 95u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_NUMPAD0` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_NUMPAD0: u32 = 96u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_NUMPAD1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_NUMPAD1: u32 = 97u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_NUMPAD2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_NUMPAD2: u32 = 98u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_NUMPAD3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_NUMPAD3: u32 = 99u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_NUMPAD4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_NUMPAD4: u32 = 100u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_NUMPAD5` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_NUMPAD5: u32 = 101u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_NUMPAD6` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_NUMPAD6: u32 = 102u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_NUMPAD7` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_NUMPAD7: u32 = 103u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_NUMPAD8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_NUMPAD8: u32 = 104u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_NUMPAD9` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_NUMPAD9: u32 = 105u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_MULTIPLY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_MULTIPLY: u32 = 106u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_ADD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_ADD: u32 = 107u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_SEPARATOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_SEPARATOR: u32 = 108u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_SUBTRACT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_SUBTRACT: u32 = 109u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_DECIMAL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_DECIMAL: u32 = 110u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_DIVIDE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_DIVIDE: u32 = 111u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F1: u32 = 112u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F2: u32 = 113u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F3: u32 = 114u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F4: u32 = 115u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F5` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F5: u32 = 116u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F6` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F6: u32 = 117u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F7` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F7: u32 = 118u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F8: u32 = 119u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F9` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F9: u32 = 120u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F10` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F10: u32 = 121u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F11` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F11: u32 = 122u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F12` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F12: u32 = 123u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F13` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F13: u32 = 124u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F14` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F14: u32 = 125u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F15` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F15: u32 = 126u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F16` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F16: u32 = 127u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F17` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F17: u32 = 128u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F18` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F18: u32 = 129u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F19` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F19: u32 = 130u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F20` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F20: u32 = 131u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F21` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F21: u32 = 132u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F22` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F22: u32 = 133u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F23` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F23: u32 = 134u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_F24` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_F24: u32 = 135u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_NUM_LOCK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_NUM_LOCK: u32 = 144u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_SCROLL_LOCK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_SCROLL_LOCK: u32 = 145u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_FJ_JISHO` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_FJ_JISHO: u32 = 146u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_FJ_MASSHOU` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_FJ_MASSHOU: u32 = 147u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_FJ_TOUROKU` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_FJ_TOUROKU: u32 = 148u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_FJ_LOYA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_FJ_LOYA: u32 = 149u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_FJ_ROYA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_FJ_ROYA: u32 = 150u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_CIRCUMFLEX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_CIRCUMFLEX: u32 = 160u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_EXCLAMATION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_EXCLAMATION: u32 = 161u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_DOUBLE_QUOTE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_DOUBLE_QUOTE: u32 = 162u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_HASH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_HASH: u32 = 163u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_DOLLAR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_DOLLAR: u32 = 164u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_PERCENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_PERCENT: u32 = 165u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_AMPERSAND` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_AMPERSAND: u32 = 166u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_UNDERSCORE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_UNDERSCORE: u32 = 167u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_OPEN_PAREN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_OPEN_PAREN: u32 = 168u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_CLOSE_PAREN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_CLOSE_PAREN: u32 = 169u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_ASTERISK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_ASTERISK: u32 = 170u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_PLUS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_PLUS: u32 = 171u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_PIPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_PIPE: u32 = 172u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_HYPHEN_MINUS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_HYPHEN_MINUS: u32 = 173u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_OPEN_CURLY_BRACKET` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_OPEN_CURLY_BRACKET: u32 = 174u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_CLOSE_CURLY_BRACKET` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_CLOSE_CURLY_BRACKET: u32 = 175u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_TILDE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_TILDE: u32 = 176u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_VOLUME_MUTE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_VOLUME_MUTE: u32 = 181u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_VOLUME_DOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_VOLUME_DOWN: u32 = 182u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_VOLUME_UP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_VOLUME_UP: u32 = 183u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_COMMA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_COMMA: u32 = 188u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_PERIOD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_PERIOD: u32 = 190u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_SLASH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_SLASH: u32 = 191u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_BACK_QUOTE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_BACK_QUOTE: u32 = 192u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_OPEN_BRACKET` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_OPEN_BRACKET: u32 = 219u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_BACK_SLASH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_BACK_SLASH: u32 = 220u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_CLOSE_BRACKET` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_CLOSE_BRACKET: u32 = 221u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_QUOTE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_QUOTE: u32 = 222u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_META` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_META: u32 = 224u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_ALTGR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_ALTGR: u32 = 225u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_ICO_HELP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_ICO_HELP: u32 = 227u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_ICO_00` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_ICO_00: u32 = 228u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_PROCESSKEY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_PROCESSKEY: u32 = 229u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_ICO_CLEAR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_ICO_CLEAR: u32 = 230u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_RESET` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_RESET: u32 = 233u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_JUMP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_JUMP: u32 = 234u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_PA1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_PA1: u32 = 235u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_PA2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_PA2: u32 = 236u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_PA3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_PA3: u32 = 237u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_WSCTRL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_WSCTRL: u32 = 238u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_CUSEL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_CUSEL: u32 = 239u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_ATTN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_ATTN: u32 = 240u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_FINISH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_FINISH: u32 = 241u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_COPY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_COPY: u32 = 242u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_AUTO` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_AUTO: u32 = 243u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_ENLW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_ENLW: u32 = 244u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_BACKTAB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_BACKTAB: u32 = 245u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_ATTN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_ATTN: u32 = 246u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_CRSEL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_CRSEL: u32 = 247u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_EXSEL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_EXSEL: u32 = 248u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_EREOF` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_EREOF: u32 = 249u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_PLAY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_PLAY: u32 = 250u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_ZOOM` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_ZOOM: u32 = 251u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_PA1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_PA1: u32 = 253u64 as u32;
+ #[doc = "The `KeyEvent.DOM_VK_WIN_OEM_CLEAR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyEvent`*"]
+ pub const DOM_VK_WIN_OEM_CLEAR: u32 = 254u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_KeyIdsInitData.rs b/vendor/web-sys/src/features/gen_KeyIdsInitData.rs
new file mode 100644
index 000000000..02c02c124
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_KeyIdsInitData.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = KeyIdsInitData)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `KeyIdsInitData` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyIdsInitData`*"]
+ pub type KeyIdsInitData;
+}
+impl KeyIdsInitData {
+ #[doc = "Construct a new `KeyIdsInitData`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyIdsInitData`*"]
+ pub fn new(kids: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.kids(kids);
+ ret
+ }
+ #[doc = "Change the `kids` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyIdsInitData`*"]
+ pub fn kids(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("kids"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_KeyboardEvent.rs b/vendor/web-sys/src/features/gen_KeyboardEvent.rs
new file mode 100644
index 000000000..4bb5b0f2a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_KeyboardEvent.rs
@@ -0,0 +1,283 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = UiEvent , extends = Event , extends = :: js_sys :: Object , js_name = KeyboardEvent , typescript_type = "KeyboardEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `KeyboardEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub type KeyboardEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyboardEvent" , js_name = charCode)]
+ #[doc = "Getter for the `charCode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/charCode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn char_code(this: &KeyboardEvent) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyboardEvent" , js_name = keyCode)]
+ #[doc = "Getter for the `keyCode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn key_code(this: &KeyboardEvent) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyboardEvent" , js_name = altKey)]
+ #[doc = "Getter for the `altKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/altKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn alt_key(this: &KeyboardEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyboardEvent" , js_name = ctrlKey)]
+ #[doc = "Getter for the `ctrlKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/ctrlKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn ctrl_key(this: &KeyboardEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyboardEvent" , js_name = shiftKey)]
+ #[doc = "Getter for the `shiftKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/shiftKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn shift_key(this: &KeyboardEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyboardEvent" , js_name = metaKey)]
+ #[doc = "Getter for the `metaKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/metaKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn meta_key(this: &KeyboardEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyboardEvent" , js_name = location)]
+ #[doc = "Getter for the `location` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/location)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn location(this: &KeyboardEvent) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyboardEvent" , js_name = repeat)]
+ #[doc = "Getter for the `repeat` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn repeat(this: &KeyboardEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyboardEvent" , js_name = isComposing)]
+ #[doc = "Getter for the `isComposing` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/isComposing)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn is_composing(this: &KeyboardEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyboardEvent" , js_name = key)]
+ #[doc = "Getter for the `key` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn key(this: &KeyboardEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyboardEvent" , js_name = code)]
+ #[doc = "Getter for the `code` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn code(this: &KeyboardEvent) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "KeyboardEvent")]
+ #[doc = "The `new KeyboardEvent(..)` constructor, creating a new instance of `KeyboardEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn new(type_arg: &str) -> Result<KeyboardEvent, JsValue>;
+ #[cfg(feature = "KeyboardEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "KeyboardEvent")]
+ #[doc = "The `new KeyboardEvent(..)` constructor, creating a new instance of `KeyboardEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`, `KeyboardEventInit`*"]
+ pub fn new_with_keyboard_event_init_dict(
+ type_arg: &str,
+ keyboard_event_init_dict: &KeyboardEventInit,
+ ) -> Result<KeyboardEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "KeyboardEvent" , js_name = getModifierState)]
+ #[doc = "The `getModifierState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn get_modifier_state(this: &KeyboardEvent, key: &str) -> bool;
+ # [wasm_bindgen (catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent)]
+ #[doc = "The `initKeyboardEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn init_keyboard_event(this: &KeyboardEvent, type_arg: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent)]
+ #[doc = "The `initKeyboardEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn init_keyboard_event_with_bubbles_arg(
+ this: &KeyboardEvent,
+ type_arg: &str,
+ bubbles_arg: bool,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent)]
+ #[doc = "The `initKeyboardEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg(
+ this: &KeyboardEvent,
+ type_arg: &str,
+ bubbles_arg: bool,
+ cancelable_arg: bool,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent)]
+ #[doc = "The `initKeyboardEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*"]
+ pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg(
+ this: &KeyboardEvent,
+ type_arg: &str,
+ bubbles_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent)]
+ #[doc = "The `initKeyboardEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*"]
+ pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg(
+ this: &KeyboardEvent,
+ type_arg: &str,
+ bubbles_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ key_arg: &str,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent)]
+ #[doc = "The `initKeyboardEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*"]
+ pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg(
+ this: &KeyboardEvent,
+ type_arg: &str,
+ bubbles_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ key_arg: &str,
+ location_arg: u32,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent)]
+ #[doc = "The `initKeyboardEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*"]
+ pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key(
+ this: &KeyboardEvent,
+ type_arg: &str,
+ bubbles_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ key_arg: &str,
+ location_arg: u32,
+ ctrl_key: bool,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent)]
+ #[doc = "The `initKeyboardEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*"]
+ pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key(
+ this: &KeyboardEvent,
+ type_arg: &str,
+ bubbles_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ key_arg: &str,
+ location_arg: u32,
+ ctrl_key: bool,
+ alt_key: bool,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent)]
+ #[doc = "The `initKeyboardEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*"]
+ pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key(
+ this: &KeyboardEvent,
+ type_arg: &str,
+ bubbles_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ key_arg: &str,
+ location_arg: u32,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent)]
+ #[doc = "The `initKeyboardEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*"]
+ pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key(
+ this: &KeyboardEvent,
+ type_arg: &str,
+ bubbles_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ key_arg: &str,
+ location_arg: u32,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ meta_key: bool,
+ ) -> Result<(), JsValue>;
+}
+impl KeyboardEvent {
+ #[doc = "The `KeyboardEvent.DOM_KEY_LOCATION_STANDARD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub const DOM_KEY_LOCATION_STANDARD: u32 = 0u64 as u32;
+ #[doc = "The `KeyboardEvent.DOM_KEY_LOCATION_LEFT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub const DOM_KEY_LOCATION_LEFT: u32 = 1u64 as u32;
+ #[doc = "The `KeyboardEvent.DOM_KEY_LOCATION_RIGHT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub const DOM_KEY_LOCATION_RIGHT: u32 = 2u64 as u32;
+ #[doc = "The `KeyboardEvent.DOM_KEY_LOCATION_NUMPAD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEvent`*"]
+ pub const DOM_KEY_LOCATION_NUMPAD: u32 = 3u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_KeyboardEventInit.rs b/vendor/web-sys/src/features/gen_KeyboardEventInit.rs
new file mode 100644
index 000000000..a1ec1ae2e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_KeyboardEventInit.rs
@@ -0,0 +1,445 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = KeyboardEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `KeyboardEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub type KeyboardEventInit;
+}
+impl KeyboardEventInit {
+ #[doc = "Construct a new `KeyboardEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn detail(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detail"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Window")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`, `Window`*"]
+ pub fn view(&mut self, val: Option<&Window>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `altKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn alt_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("altKey"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ctrlKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn ctrl_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ctrlKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `metaKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn meta_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("metaKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierAltGraph` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn modifier_alt_graph(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierAltGraph"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierCapsLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn modifier_caps_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierCapsLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFn` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn modifier_fn(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFn"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFnLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn modifier_fn_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFnLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierNumLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn modifier_num_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierNumLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierOS` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn modifier_os(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierOS"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierScrollLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn modifier_scroll_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierScrollLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbol` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn modifier_symbol(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbol"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbolLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn modifier_symbol_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbolLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `shiftKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn shift_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("shiftKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `charCode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn char_code(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("charCode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `code` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn code(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("code"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `isComposing` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn is_composing(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isComposing"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `key` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn key(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("key"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `keyCode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn key_code(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("keyCode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `location` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn location(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("location"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `repeat` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn repeat(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("repeat"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `which` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyboardEventInit`*"]
+ pub fn which(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("which"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for KeyboardEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_KeyframeEffect.rs b/vendor/web-sys/src/features/gen_KeyframeEffect.rs
new file mode 100644
index 000000000..08bdbd732
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_KeyframeEffect.rs
@@ -0,0 +1,154 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AnimationEffect , extends = :: js_sys :: Object , js_name = KeyframeEffect , typescript_type = "KeyframeEffect")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `KeyframeEffect` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"]
+ pub type KeyframeEffect;
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyframeEffect" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"]
+ pub fn target(this: &KeyframeEffect) -> Option<::js_sys::Object>;
+ # [wasm_bindgen (structural , method , setter , js_class = "KeyframeEffect" , js_name = target)]
+ #[doc = "Setter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"]
+ pub fn set_target(this: &KeyframeEffect, value: Option<&::js_sys::Object>);
+ #[cfg(feature = "IterationCompositeOperation")]
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyframeEffect" , js_name = iterationComposite)]
+ #[doc = "Getter for the `iterationComposite` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/iterationComposite)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IterationCompositeOperation`, `KeyframeEffect`*"]
+ pub fn iteration_composite(this: &KeyframeEffect) -> IterationCompositeOperation;
+ #[cfg(feature = "IterationCompositeOperation")]
+ # [wasm_bindgen (structural , method , setter , js_class = "KeyframeEffect" , js_name = iterationComposite)]
+ #[doc = "Setter for the `iterationComposite` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/iterationComposite)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IterationCompositeOperation`, `KeyframeEffect`*"]
+ pub fn set_iteration_composite(this: &KeyframeEffect, value: IterationCompositeOperation);
+ #[cfg(feature = "CompositeOperation")]
+ # [wasm_bindgen (structural , method , getter , js_class = "KeyframeEffect" , js_name = composite)]
+ #[doc = "Getter for the `composite` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/composite)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositeOperation`, `KeyframeEffect`*"]
+ pub fn composite(this: &KeyframeEffect) -> CompositeOperation;
+ #[cfg(feature = "CompositeOperation")]
+ # [wasm_bindgen (structural , method , setter , js_class = "KeyframeEffect" , js_name = composite)]
+ #[doc = "Setter for the `composite` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/composite)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositeOperation`, `KeyframeEffect`*"]
+ pub fn set_composite(this: &KeyframeEffect, value: CompositeOperation);
+ #[cfg(feature = "Element")]
+ #[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
+ #[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `KeyframeEffect`*"]
+ pub fn new_with_opt_element_and_keyframes(
+ target: Option<&Element>,
+ keyframes: Option<&::js_sys::Object>,
+ ) -> Result<KeyframeEffect, JsValue>;
+ #[cfg(feature = "CssPseudoElement")]
+ #[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
+ #[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`, `KeyframeEffect`*"]
+ pub fn new_with_opt_css_pseudo_element_and_keyframes(
+ target: Option<&CssPseudoElement>,
+ keyframes: Option<&::js_sys::Object>,
+ ) -> Result<KeyframeEffect, JsValue>;
+ #[cfg(feature = "Element")]
+ #[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
+ #[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `KeyframeEffect`*"]
+ pub fn new_with_opt_element_and_keyframes_and_f64(
+ target: Option<&Element>,
+ keyframes: Option<&::js_sys::Object>,
+ options: f64,
+ ) -> Result<KeyframeEffect, JsValue>;
+ #[cfg(feature = "CssPseudoElement")]
+ #[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
+ #[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`, `KeyframeEffect`*"]
+ pub fn new_with_opt_css_pseudo_element_and_keyframes_and_f64(
+ target: Option<&CssPseudoElement>,
+ keyframes: Option<&::js_sys::Object>,
+ options: f64,
+ ) -> Result<KeyframeEffect, JsValue>;
+ #[cfg(all(feature = "Element", feature = "KeyframeEffectOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
+ #[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `KeyframeEffect`, `KeyframeEffectOptions`*"]
+ pub fn new_with_opt_element_and_keyframes_and_keyframe_effect_options(
+ target: Option<&Element>,
+ keyframes: Option<&::js_sys::Object>,
+ options: &KeyframeEffectOptions,
+ ) -> Result<KeyframeEffect, JsValue>;
+ #[cfg(all(feature = "CssPseudoElement", feature = "KeyframeEffectOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
+ #[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`, `KeyframeEffect`, `KeyframeEffectOptions`*"]
+ pub fn new_with_opt_css_pseudo_element_and_keyframes_and_keyframe_effect_options(
+ target: Option<&CssPseudoElement>,
+ keyframes: Option<&::js_sys::Object>,
+ options: &KeyframeEffectOptions,
+ ) -> Result<KeyframeEffect, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "KeyframeEffect")]
+ #[doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"]
+ pub fn new_with_source(source: &KeyframeEffect) -> Result<KeyframeEffect, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "KeyframeEffect" , js_name = getKeyframes)]
+ #[doc = "The `getKeyframes()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/getKeyframes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"]
+ pub fn get_keyframes(this: &KeyframeEffect) -> Result<::js_sys::Array, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "KeyframeEffect" , js_name = setKeyframes)]
+ #[doc = "The `setKeyframes()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/setKeyframes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"]
+ pub fn set_keyframes(
+ this: &KeyframeEffect,
+ keyframes: Option<&::js_sys::Object>,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_KeyframeEffectOptions.rs b/vendor/web-sys/src/features/gen_KeyframeEffectOptions.rs
new file mode 100644
index 000000000..0aad56b7e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_KeyframeEffectOptions.rs
@@ -0,0 +1,190 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = KeyframeEffectOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `KeyframeEffectOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffectOptions`*"]
+ pub type KeyframeEffectOptions;
+}
+impl KeyframeEffectOptions {
+ #[doc = "Construct a new `KeyframeEffectOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffectOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `delay` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffectOptions`*"]
+ pub fn delay(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("delay"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PlaybackDirection")]
+ #[doc = "Change the `direction` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffectOptions`, `PlaybackDirection`*"]
+ pub fn direction(&mut self, val: PlaybackDirection) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("direction"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffectOptions`*"]
+ pub fn duration(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("duration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `easing` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffectOptions`*"]
+ pub fn easing(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("easing"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `endDelay` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffectOptions`*"]
+ pub fn end_delay(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("endDelay"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "FillMode")]
+ #[doc = "Change the `fill` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FillMode`, `KeyframeEffectOptions`*"]
+ pub fn fill(&mut self, val: FillMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("fill"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iterationStart` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffectOptions`*"]
+ pub fn iteration_start(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iterationStart"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iterations` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `KeyframeEffectOptions`*"]
+ pub fn iterations(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iterations"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "CompositeOperation")]
+ #[doc = "Change the `composite` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CompositeOperation`, `KeyframeEffectOptions`*"]
+ pub fn composite(&mut self, val: CompositeOperation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composite"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "IterationCompositeOperation")]
+ #[doc = "Change the `iterationComposite` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IterationCompositeOperation`, `KeyframeEffectOptions`*"]
+ pub fn iteration_composite(&mut self, val: IterationCompositeOperation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iterationComposite"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for KeyframeEffectOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_L10nElement.rs b/vendor/web-sys/src/features/gen_L10nElement.rs
new file mode 100644
index 000000000..7bdb10b95
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_L10nElement.rs
@@ -0,0 +1,120 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = L10nElement)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `L10nElement` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `L10nElement`*"]
+ pub type L10nElement;
+}
+impl L10nElement {
+ #[doc = "Construct a new `L10nElement`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `L10nElement`*"]
+ pub fn new(l10n_id: &str, local_name: &str, namespace_uri: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.l10n_id(l10n_id);
+ ret.local_name(local_name);
+ ret.namespace_uri(namespace_uri);
+ ret
+ }
+ #[doc = "Change the `l10nArgs` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `L10nElement`*"]
+ pub fn l10n_args(&mut self, val: Option<&::js_sys::Object>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("l10nArgs"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `l10nAttrs` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `L10nElement`*"]
+ pub fn l10n_attrs(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("l10nAttrs"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `l10nId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `L10nElement`*"]
+ pub fn l10n_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("l10nId"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `localName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `L10nElement`*"]
+ pub fn local_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("localName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `namespaceURI` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `L10nElement`*"]
+ pub fn namespace_uri(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("namespaceURI"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `L10nElement`*"]
+ pub fn type_(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_L10nValue.rs b/vendor/web-sys/src/features/gen_L10nValue.rs
new file mode 100644
index 000000000..964afcccd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_L10nValue.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = L10nValue)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `L10nValue` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `L10nValue`*"]
+ pub type L10nValue;
+}
+impl L10nValue {
+ #[doc = "Construct a new `L10nValue`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `L10nValue`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `attributes` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `L10nValue`*"]
+ pub fn attributes(&mut self, val: Option<&::wasm_bindgen::JsValue>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("attributes"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `L10nValue`*"]
+ pub fn value(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for L10nValue {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_LatencyMode.rs b/vendor/web-sys/src/features/gen_LatencyMode.rs
new file mode 100644
index 000000000..6179b2849
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_LatencyMode.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `LatencyMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `LatencyMode`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum LatencyMode {
+ Quality = "quality",
+ Realtime = "realtime",
+}
diff --git a/vendor/web-sys/src/features/gen_LifecycleCallbacks.rs b/vendor/web-sys/src/features/gen_LifecycleCallbacks.rs
new file mode 100644
index 000000000..bb95ad3c0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_LifecycleCallbacks.rs
@@ -0,0 +1,95 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = LifecycleCallbacks)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `LifecycleCallbacks` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LifecycleCallbacks`*"]
+ pub type LifecycleCallbacks;
+}
+impl LifecycleCallbacks {
+ #[doc = "Construct a new `LifecycleCallbacks`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LifecycleCallbacks`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `adoptedCallback` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LifecycleCallbacks`*"]
+ pub fn adopted_callback(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("adoptedCallback"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `attributeChangedCallback` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LifecycleCallbacks`*"]
+ pub fn attribute_changed_callback(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("attributeChangedCallback"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `connectedCallback` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LifecycleCallbacks`*"]
+ pub fn connected_callback(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("connectedCallback"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `disconnectedCallback` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LifecycleCallbacks`*"]
+ pub fn disconnected_callback(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("disconnectedCallback"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for LifecycleCallbacks {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_LineAlignSetting.rs b/vendor/web-sys/src/features/gen_LineAlignSetting.rs
new file mode 100644
index 000000000..a8c4e0110
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_LineAlignSetting.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `LineAlignSetting` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `LineAlignSetting`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum LineAlignSetting {
+ Start = "start",
+ Center = "center",
+ End = "end",
+}
diff --git a/vendor/web-sys/src/features/gen_ListBoxObject.rs b/vendor/web-sys/src/features/gen_ListBoxObject.rs
new file mode 100644
index 000000000..09bc45de5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ListBoxObject.rs
@@ -0,0 +1,79 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = ListBoxObject , typescript_type = "ListBoxObject")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ListBoxObject` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ListBoxObject)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ListBoxObject`*"]
+ pub type ListBoxObject;
+ # [wasm_bindgen (method , structural , js_class = "ListBoxObject" , js_name = ensureIndexIsVisible)]
+ #[doc = "The `ensureIndexIsVisible()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ListBoxObject/ensureIndexIsVisible)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ListBoxObject`*"]
+ pub fn ensure_index_is_visible(this: &ListBoxObject, row_index: i32);
+ # [wasm_bindgen (method , structural , js_class = "ListBoxObject" , js_name = getIndexOfFirstVisibleRow)]
+ #[doc = "The `getIndexOfFirstVisibleRow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ListBoxObject/getIndexOfFirstVisibleRow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ListBoxObject`*"]
+ pub fn get_index_of_first_visible_row(this: &ListBoxObject) -> i32;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "ListBoxObject" , js_name = getIndexOfItem)]
+ #[doc = "The `getIndexOfItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ListBoxObject/getIndexOfItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ListBoxObject`*"]
+ pub fn get_index_of_item(this: &ListBoxObject, item: &Element) -> i32;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "ListBoxObject" , js_name = getItemAtIndex)]
+ #[doc = "The `getItemAtIndex()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ListBoxObject/getItemAtIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ListBoxObject`*"]
+ pub fn get_item_at_index(this: &ListBoxObject, index: i32) -> Option<Element>;
+ # [wasm_bindgen (method , structural , js_class = "ListBoxObject" , js_name = getNumberOfVisibleRows)]
+ #[doc = "The `getNumberOfVisibleRows()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ListBoxObject/getNumberOfVisibleRows)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ListBoxObject`*"]
+ pub fn get_number_of_visible_rows(this: &ListBoxObject) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "ListBoxObject" , js_name = getRowCount)]
+ #[doc = "The `getRowCount()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ListBoxObject/getRowCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ListBoxObject`*"]
+ pub fn get_row_count(this: &ListBoxObject) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "ListBoxObject" , js_name = getRowHeight)]
+ #[doc = "The `getRowHeight()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ListBoxObject/getRowHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ListBoxObject`*"]
+ pub fn get_row_height(this: &ListBoxObject) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "ListBoxObject" , js_name = scrollByLines)]
+ #[doc = "The `scrollByLines()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ListBoxObject/scrollByLines)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ListBoxObject`*"]
+ pub fn scroll_by_lines(this: &ListBoxObject, num_lines: i32);
+ # [wasm_bindgen (method , structural , js_class = "ListBoxObject" , js_name = scrollToIndex)]
+ #[doc = "The `scrollToIndex()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ListBoxObject/scrollToIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ListBoxObject`*"]
+ pub fn scroll_to_index(this: &ListBoxObject, row_index: i32);
+}
diff --git a/vendor/web-sys/src/features/gen_LocalMediaStream.rs b/vendor/web-sys/src/features/gen_LocalMediaStream.rs
new file mode 100644
index 000000000..f6eb15437
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_LocalMediaStream.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = MediaStream , extends = EventTarget , extends = :: js_sys :: Object , js_name = LocalMediaStream , typescript_type = "LocalMediaStream")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `LocalMediaStream` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/LocalMediaStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LocalMediaStream`*"]
+ pub type LocalMediaStream;
+ # [wasm_bindgen (method , structural , js_class = "LocalMediaStream" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/LocalMediaStream/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LocalMediaStream`*"]
+ pub fn stop(this: &LocalMediaStream);
+}
diff --git a/vendor/web-sys/src/features/gen_LocaleInfo.rs b/vendor/web-sys/src/features/gen_LocaleInfo.rs
new file mode 100644
index 000000000..75842e840
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_LocaleInfo.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = LocaleInfo)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `LocaleInfo` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LocaleInfo`*"]
+ pub type LocaleInfo;
+}
+impl LocaleInfo {
+ #[doc = "Construct a new `LocaleInfo`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LocaleInfo`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `direction` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LocaleInfo`*"]
+ pub fn direction(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("direction"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `locale` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LocaleInfo`*"]
+ pub fn locale(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("locale"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for LocaleInfo {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Location.rs b/vendor/web-sys/src/features/gen_Location.rs
new file mode 100644
index 000000000..f75f2bd48
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Location.rs
@@ -0,0 +1,161 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Location , typescript_type = "Location")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Location` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub type Location;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Location" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn href(this: &Location) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Location" , js_name = href)]
+ #[doc = "Setter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn set_href(this: &Location, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Location" , js_name = origin)]
+ #[doc = "Getter for the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/origin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn origin(this: &Location) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Location" , js_name = protocol)]
+ #[doc = "Getter for the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/protocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn protocol(this: &Location) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Location" , js_name = protocol)]
+ #[doc = "Setter for the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/protocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn set_protocol(this: &Location, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Location" , js_name = host)]
+ #[doc = "Getter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn host(this: &Location) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Location" , js_name = host)]
+ #[doc = "Setter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn set_host(this: &Location, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Location" , js_name = hostname)]
+ #[doc = "Getter for the `hostname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn hostname(this: &Location) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Location" , js_name = hostname)]
+ #[doc = "Setter for the `hostname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn set_hostname(this: &Location, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Location" , js_name = port)]
+ #[doc = "Getter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn port(this: &Location) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Location" , js_name = port)]
+ #[doc = "Setter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn set_port(this: &Location, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Location" , js_name = pathname)]
+ #[doc = "Getter for the `pathname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/pathname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn pathname(this: &Location) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Location" , js_name = pathname)]
+ #[doc = "Setter for the `pathname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/pathname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn set_pathname(this: &Location, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Location" , js_name = search)]
+ #[doc = "Getter for the `search` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/search)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn search(this: &Location) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Location" , js_name = search)]
+ #[doc = "Setter for the `search` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/search)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn set_search(this: &Location, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Location" , js_name = hash)]
+ #[doc = "Getter for the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/hash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn hash(this: &Location) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Location" , js_name = hash)]
+ #[doc = "Setter for the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/hash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn set_hash(this: &Location, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Location" , js_name = assign)]
+ #[doc = "The `assign()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/assign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn assign(this: &Location, url: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Location" , js_name = reload)]
+ #[doc = "The `reload()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/reload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn reload(this: &Location) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Location" , js_name = reload)]
+ #[doc = "The `reload()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/reload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn reload_with_forceget(this: &Location, forceget: bool) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Location" , js_name = replace)]
+ #[doc = "The `replace()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/replace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`*"]
+ pub fn replace(this: &Location, url: &str) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaCapabilities.rs b/vendor/web-sys/src/features/gen_MediaCapabilities.rs
new file mode 100644
index 000000000..1169339b6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaCapabilities.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaCapabilities , typescript_type = "MediaCapabilities")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaCapabilities` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilities)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaCapabilities`*"]
+ pub type MediaCapabilities;
+ #[cfg(feature = "MediaDecodingConfiguration")]
+ # [wasm_bindgen (method , structural , js_class = "MediaCapabilities" , js_name = decodingInfo)]
+ #[doc = "The `decodingInfo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilities/decodingInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaCapabilities`, `MediaDecodingConfiguration`*"]
+ pub fn decoding_info(
+ this: &MediaCapabilities,
+ configuration: &MediaDecodingConfiguration,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "MediaEncodingConfiguration")]
+ # [wasm_bindgen (method , structural , js_class = "MediaCapabilities" , js_name = encodingInfo)]
+ #[doc = "The `encodingInfo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilities/encodingInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaCapabilities`, `MediaEncodingConfiguration`*"]
+ pub fn encoding_info(
+ this: &MediaCapabilities,
+ configuration: &MediaEncodingConfiguration,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.rs b/vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.rs
new file mode 100644
index 000000000..2f36d5d1c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaCapabilitiesInfo , typescript_type = "MediaCapabilitiesInfo")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaCapabilitiesInfo` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*"]
+ pub type MediaCapabilitiesInfo;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaCapabilitiesInfo" , js_name = supported)]
+ #[doc = "Getter for the `supported` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/supported)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*"]
+ pub fn supported(this: &MediaCapabilitiesInfo) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaCapabilitiesInfo" , js_name = smooth)]
+ #[doc = "Getter for the `smooth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/smooth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*"]
+ pub fn smooth(this: &MediaCapabilitiesInfo) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaCapabilitiesInfo" , js_name = powerEfficient)]
+ #[doc = "Getter for the `powerEfficient` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/powerEfficient)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*"]
+ pub fn power_efficient(this: &MediaCapabilitiesInfo) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaConfiguration.rs b/vendor/web-sys/src/features/gen_MediaConfiguration.rs
new file mode 100644
index 000000000..d56d37044
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaConfiguration.rs
@@ -0,0 +1,55 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaConfiguration)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaConfiguration` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaConfiguration`*"]
+ pub type MediaConfiguration;
+}
+impl MediaConfiguration {
+ #[doc = "Construct a new `MediaConfiguration`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaConfiguration`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "AudioConfiguration")]
+ #[doc = "Change the `audio` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioConfiguration`, `MediaConfiguration`*"]
+ pub fn audio(&mut self, val: &AudioConfiguration) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("audio"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "VideoConfiguration")]
+ #[doc = "Change the `video` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaConfiguration`, `VideoConfiguration`*"]
+ pub fn video(&mut self, val: &VideoConfiguration) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("video"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaConfiguration {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaDecodingConfiguration.rs b/vendor/web-sys/src/features/gen_MediaDecodingConfiguration.rs
new file mode 100644
index 000000000..ef23b597f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaDecodingConfiguration.rs
@@ -0,0 +1,66 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaDecodingConfiguration)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaDecodingConfiguration` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDecodingConfiguration`*"]
+ pub type MediaDecodingConfiguration;
+}
+impl MediaDecodingConfiguration {
+ #[cfg(feature = "MediaDecodingType")]
+ #[doc = "Construct a new `MediaDecodingConfiguration`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDecodingConfiguration`, `MediaDecodingType`*"]
+ pub fn new(type_: MediaDecodingType) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.type_(type_);
+ ret
+ }
+ #[cfg(feature = "AudioConfiguration")]
+ #[doc = "Change the `audio` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioConfiguration`, `MediaDecodingConfiguration`*"]
+ pub fn audio(&mut self, val: &AudioConfiguration) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("audio"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "VideoConfiguration")]
+ #[doc = "Change the `video` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDecodingConfiguration`, `VideoConfiguration`*"]
+ pub fn video(&mut self, val: &VideoConfiguration) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("video"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "MediaDecodingType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDecodingConfiguration`, `MediaDecodingType`*"]
+ pub fn type_(&mut self, val: MediaDecodingType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaDecodingType.rs b/vendor/web-sys/src/features/gen_MediaDecodingType.rs
new file mode 100644
index 000000000..79ae5f892
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaDecodingType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MediaDecodingType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaDecodingType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaDecodingType {
+ File = "file",
+ MediaSource = "media-source",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaDeviceInfo.rs b/vendor/web-sys/src/features/gen_MediaDeviceInfo.rs
new file mode 100644
index 000000000..c3f9af20e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaDeviceInfo.rs
@@ -0,0 +1,50 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaDeviceInfo , typescript_type = "MediaDeviceInfo")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaDeviceInfo` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDeviceInfo`*"]
+ pub type MediaDeviceInfo;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaDeviceInfo" , js_name = deviceId)]
+ #[doc = "Getter for the `deviceId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/deviceId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDeviceInfo`*"]
+ pub fn device_id(this: &MediaDeviceInfo) -> String;
+ #[cfg(feature = "MediaDeviceKind")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaDeviceInfo" , js_name = kind)]
+ #[doc = "Getter for the `kind` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/kind)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDeviceInfo`, `MediaDeviceKind`*"]
+ pub fn kind(this: &MediaDeviceInfo) -> MediaDeviceKind;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaDeviceInfo" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDeviceInfo`*"]
+ pub fn label(this: &MediaDeviceInfo) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaDeviceInfo" , js_name = groupId)]
+ #[doc = "Getter for the `groupId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/groupId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDeviceInfo`*"]
+ pub fn group_id(this: &MediaDeviceInfo) -> String;
+ # [wasm_bindgen (method , structural , js_class = "MediaDeviceInfo" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDeviceInfo`*"]
+ pub fn to_json(this: &MediaDeviceInfo) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaDeviceKind.rs b/vendor/web-sys/src/features/gen_MediaDeviceKind.rs
new file mode 100644
index 000000000..ff9873c26
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaDeviceKind.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MediaDeviceKind` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaDeviceKind`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaDeviceKind {
+ Audioinput = "audioinput",
+ Audiooutput = "audiooutput",
+ Videoinput = "videoinput",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaDevices.rs b/vendor/web-sys/src/features/gen_MediaDevices.rs
new file mode 100644
index 000000000..d8a76c67f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaDevices.rs
@@ -0,0 +1,79 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaDevices , typescript_type = "MediaDevices")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaDevices` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDevices`*"]
+ pub type MediaDevices;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaDevices" , js_name = ondevicechange)]
+ #[doc = "Getter for the `ondevicechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/ondevicechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDevices`*"]
+ pub fn ondevicechange(this: &MediaDevices) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaDevices" , js_name = ondevicechange)]
+ #[doc = "Setter for the `ondevicechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/ondevicechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDevices`*"]
+ pub fn set_ondevicechange(this: &MediaDevices, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaDevices" , js_name = enumerateDevices)]
+ #[doc = "The `enumerateDevices()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDevices`*"]
+ pub fn enumerate_devices(this: &MediaDevices) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaDevices" , js_name = getDisplayMedia)]
+ #[doc = "The `getDisplayMedia()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDevices`*"]
+ pub fn get_display_media(this: &MediaDevices) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "DisplayMediaStreamConstraints")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaDevices" , js_name = getDisplayMedia)]
+ #[doc = "The `getDisplayMedia()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DisplayMediaStreamConstraints`, `MediaDevices`*"]
+ pub fn get_display_media_with_constraints(
+ this: &MediaDevices,
+ constraints: &DisplayMediaStreamConstraints,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "MediaTrackSupportedConstraints")]
+ # [wasm_bindgen (method , structural , js_class = "MediaDevices" , js_name = getSupportedConstraints)]
+ #[doc = "The `getSupportedConstraints()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getSupportedConstraints)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDevices`, `MediaTrackSupportedConstraints`*"]
+ pub fn get_supported_constraints(this: &MediaDevices) -> MediaTrackSupportedConstraints;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaDevices" , js_name = getUserMedia)]
+ #[doc = "The `getUserMedia()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDevices`*"]
+ pub fn get_user_media(this: &MediaDevices) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "MediaStreamConstraints")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaDevices" , js_name = getUserMedia)]
+ #[doc = "The `getUserMedia()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDevices`, `MediaStreamConstraints`*"]
+ pub fn get_user_media_with_constraints(
+ this: &MediaDevices,
+ constraints: &MediaStreamConstraints,
+ ) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaElementAudioSourceNode.rs b/vendor/web-sys/src/features/gen_MediaElementAudioSourceNode.rs
new file mode 100644
index 000000000..4b5507167
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaElementAudioSourceNode.rs
@@ -0,0 +1,25 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaElementAudioSourceNode , typescript_type = "MediaElementAudioSourceNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaElementAudioSourceNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaElementAudioSourceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaElementAudioSourceNode`*"]
+ pub type MediaElementAudioSourceNode;
+ #[cfg(all(feature = "AudioContext", feature = "MediaElementAudioSourceOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaElementAudioSourceNode")]
+ #[doc = "The `new MediaElementAudioSourceNode(..)` constructor, creating a new instance of `MediaElementAudioSourceNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaElementAudioSourceNode/MediaElementAudioSourceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `MediaElementAudioSourceNode`, `MediaElementAudioSourceOptions`*"]
+ pub fn new(
+ context: &AudioContext,
+ options: &MediaElementAudioSourceOptions,
+ ) -> Result<MediaElementAudioSourceNode, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaElementAudioSourceOptions.rs b/vendor/web-sys/src/features/gen_MediaElementAudioSourceOptions.rs
new file mode 100644
index 000000000..6db428e58
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaElementAudioSourceOptions.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaElementAudioSourceOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaElementAudioSourceOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaElementAudioSourceOptions`*"]
+ pub type MediaElementAudioSourceOptions;
+}
+impl MediaElementAudioSourceOptions {
+ #[cfg(feature = "HtmlMediaElement")]
+ #[doc = "Construct a new `MediaElementAudioSourceOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaElementAudioSourceOptions`*"]
+ pub fn new(media_element: &HtmlMediaElement) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.media_element(media_element);
+ ret
+ }
+ #[cfg(feature = "HtmlMediaElement")]
+ #[doc = "Change the `mediaElement` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaElementAudioSourceOptions`*"]
+ pub fn media_element(&mut self, val: &HtmlMediaElement) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mediaElement"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaEncodingConfiguration.rs b/vendor/web-sys/src/features/gen_MediaEncodingConfiguration.rs
new file mode 100644
index 000000000..a52fe6a76
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaEncodingConfiguration.rs
@@ -0,0 +1,66 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaEncodingConfiguration)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaEncodingConfiguration` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaEncodingConfiguration`*"]
+ pub type MediaEncodingConfiguration;
+}
+impl MediaEncodingConfiguration {
+ #[cfg(feature = "MediaEncodingType")]
+ #[doc = "Construct a new `MediaEncodingConfiguration`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaEncodingConfiguration`, `MediaEncodingType`*"]
+ pub fn new(type_: MediaEncodingType) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.type_(type_);
+ ret
+ }
+ #[cfg(feature = "AudioConfiguration")]
+ #[doc = "Change the `audio` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioConfiguration`, `MediaEncodingConfiguration`*"]
+ pub fn audio(&mut self, val: &AudioConfiguration) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("audio"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "VideoConfiguration")]
+ #[doc = "Change the `video` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaEncodingConfiguration`, `VideoConfiguration`*"]
+ pub fn video(&mut self, val: &VideoConfiguration) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("video"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "MediaEncodingType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaEncodingConfiguration`, `MediaEncodingType`*"]
+ pub fn type_(&mut self, val: MediaEncodingType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaEncodingType.rs b/vendor/web-sys/src/features/gen_MediaEncodingType.rs
new file mode 100644
index 000000000..e478627cb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaEncodingType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MediaEncodingType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaEncodingType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaEncodingType {
+ Record = "record",
+ Transmission = "transmission",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaEncryptedEvent.rs b/vendor/web-sys/src/features/gen_MediaEncryptedEvent.rs
new file mode 100644
index 000000000..07eab6308
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaEncryptedEvent.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaEncryptedEvent , typescript_type = "MediaEncryptedEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaEncryptedEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaEncryptedEvent`*"]
+ pub type MediaEncryptedEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaEncryptedEvent" , js_name = initDataType)]
+ #[doc = "Getter for the `initDataType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent/initDataType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaEncryptedEvent`*"]
+ pub fn init_data_type(this: &MediaEncryptedEvent) -> String;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "MediaEncryptedEvent" , js_name = initData)]
+ #[doc = "Getter for the `initData` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent/initData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaEncryptedEvent`*"]
+ pub fn init_data(this: &MediaEncryptedEvent) -> Result<Option<::js_sys::ArrayBuffer>, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "MediaEncryptedEvent")]
+ #[doc = "The `new MediaEncryptedEvent(..)` constructor, creating a new instance of `MediaEncryptedEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent/MediaEncryptedEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaEncryptedEvent`*"]
+ pub fn new(type_: &str) -> Result<MediaEncryptedEvent, JsValue>;
+ #[cfg(feature = "MediaKeyNeededEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaEncryptedEvent")]
+ #[doc = "The `new MediaEncryptedEvent(..)` constructor, creating a new instance of `MediaEncryptedEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent/MediaEncryptedEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaEncryptedEvent`, `MediaKeyNeededEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &MediaKeyNeededEventInit,
+ ) -> Result<MediaEncryptedEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaError.rs b/vendor/web-sys/src/features/gen_MediaError.rs
new file mode 100644
index 000000000..538ed20da
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaError.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaError , typescript_type = "MediaError")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaError` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaError`*"]
+ pub type MediaError;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaError" , js_name = code)]
+ #[doc = "Getter for the `code` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaError/code)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaError`*"]
+ pub fn code(this: &MediaError) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaError" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaError/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaError`*"]
+ pub fn message(this: &MediaError) -> String;
+}
+impl MediaError {
+ #[doc = "The `MediaError.MEDIA_ERR_ABORTED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaError`*"]
+ pub const MEDIA_ERR_ABORTED: u16 = 1u64 as u16;
+ #[doc = "The `MediaError.MEDIA_ERR_NETWORK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaError`*"]
+ pub const MEDIA_ERR_NETWORK: u16 = 2u64 as u16;
+ #[doc = "The `MediaError.MEDIA_ERR_DECODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaError`*"]
+ pub const MEDIA_ERR_DECODE: u16 = 3u64 as u16;
+ #[doc = "The `MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaError`*"]
+ pub const MEDIA_ERR_SRC_NOT_SUPPORTED: u16 = 4u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaImage.rs b/vendor/web-sys/src/features/gen_MediaImage.rs
new file mode 100644
index 000000000..5a58a88bc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaImage.rs
@@ -0,0 +1,82 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaImage)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaImage` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaImage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type MediaImage;
+}
+#[cfg(web_sys_unstable_apis)]
+impl MediaImage {
+ #[doc = "Construct a new `MediaImage`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaImage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(src: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.src(src);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `sizes` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaImage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn sizes(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("sizes"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaImage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn src(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("src"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaImage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeyError.rs b/vendor/web-sys/src/features/gen_MediaKeyError.rs
new file mode 100644
index 000000000..3d9306c9f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeyError.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaKeyError , typescript_type = "MediaKeyError")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaKeyError` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyError`*"]
+ pub type MediaKeyError;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaKeyError" , js_name = systemCode)]
+ #[doc = "Getter for the `systemCode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyError/systemCode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyError`*"]
+ pub fn system_code(this: &MediaKeyError) -> u32;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeyMessageEvent.rs b/vendor/web-sys/src/features/gen_MediaKeyMessageEvent.rs
new file mode 100644
index 000000000..bfc16e9cd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeyMessageEvent.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaKeyMessageEvent , typescript_type = "MediaKeyMessageEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaKeyMessageEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageEvent`*"]
+ pub type MediaKeyMessageEvent;
+ #[cfg(feature = "MediaKeyMessageType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaKeyMessageEvent" , js_name = messageType)]
+ #[doc = "Getter for the `messageType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyMessageEvent/messageType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageEvent`, `MediaKeyMessageType`*"]
+ pub fn message_type(this: &MediaKeyMessageEvent) -> MediaKeyMessageType;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "MediaKeyMessageEvent" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyMessageEvent/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageEvent`*"]
+ pub fn message(this: &MediaKeyMessageEvent) -> Result<::js_sys::ArrayBuffer, JsValue>;
+ #[cfg(feature = "MediaKeyMessageEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaKeyMessageEvent")]
+ #[doc = "The `new MediaKeyMessageEvent(..)` constructor, creating a new instance of `MediaKeyMessageEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyMessageEvent/MediaKeyMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageEvent`, `MediaKeyMessageEventInit`*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &MediaKeyMessageEventInit,
+ ) -> Result<MediaKeyMessageEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeyMessageEventInit.rs b/vendor/web-sys/src/features/gen_MediaKeyMessageEventInit.rs
new file mode 100644
index 000000000..a741832a2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeyMessageEventInit.rs
@@ -0,0 +1,111 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeyMessageEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaKeyMessageEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageEventInit`*"]
+ pub type MediaKeyMessageEventInit;
+}
+impl MediaKeyMessageEventInit {
+ #[cfg(feature = "MediaKeyMessageType")]
+ #[doc = "Construct a new `MediaKeyMessageEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageEventInit`, `MediaKeyMessageType`*"]
+ pub fn new(message: &::js_sys::ArrayBuffer, message_type: MediaKeyMessageType) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.message(message);
+ ret.message_type(message_type);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageEventInit`*"]
+ pub fn message(&mut self, val: &::js_sys::ArrayBuffer) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("message"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "MediaKeyMessageType")]
+ #[doc = "Change the `messageType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageEventInit`, `MediaKeyMessageType`*"]
+ pub fn message_type(&mut self, val: MediaKeyMessageType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("messageType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeyMessageType.rs b/vendor/web-sys/src/features/gen_MediaKeyMessageType.rs
new file mode 100644
index 000000000..b101fb7ec
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeyMessageType.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MediaKeyMessageType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaKeyMessageType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaKeyMessageType {
+ LicenseRequest = "license-request",
+ LicenseRenewal = "license-renewal",
+ LicenseRelease = "license-release",
+ IndividualizationRequest = "individualization-request",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeyNeededEventInit.rs b/vendor/web-sys/src/features/gen_MediaKeyNeededEventInit.rs
new file mode 100644
index 000000000..5dc1067f3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeyNeededEventInit.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeyNeededEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaKeyNeededEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyNeededEventInit`*"]
+ pub type MediaKeyNeededEventInit;
+}
+impl MediaKeyNeededEventInit {
+ #[doc = "Construct a new `MediaKeyNeededEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyNeededEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyNeededEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyNeededEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyNeededEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `initData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyNeededEventInit`*"]
+ pub fn init_data(&mut self, val: Option<&::js_sys::ArrayBuffer>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("initData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `initDataType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyNeededEventInit`*"]
+ pub fn init_data_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("initDataType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaKeyNeededEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeySession.rs b/vendor/web-sys/src/features/gen_MediaKeySession.rs
new file mode 100644
index 000000000..df29983ca
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeySession.rs
@@ -0,0 +1,139 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaKeySession , typescript_type = "MediaKeySession")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaKeySession` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub type MediaKeySession;
+ #[cfg(feature = "MediaKeyError")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaKeySession" , js_name = error)]
+ #[doc = "Getter for the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyError`, `MediaKeySession`*"]
+ pub fn error(this: &MediaKeySession) -> Option<MediaKeyError>;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaKeySession" , js_name = sessionId)]
+ #[doc = "Getter for the `sessionId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/sessionId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn session_id(this: &MediaKeySession) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaKeySession" , js_name = expiration)]
+ #[doc = "Getter for the `expiration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/expiration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn expiration(this: &MediaKeySession) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaKeySession" , js_name = closed)]
+ #[doc = "Getter for the `closed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/closed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn closed(this: &MediaKeySession) -> ::js_sys::Promise;
+ #[cfg(feature = "MediaKeyStatusMap")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaKeySession" , js_name = keyStatuses)]
+ #[doc = "Getter for the `keyStatuses` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/keyStatuses)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`, `MediaKeyStatusMap`*"]
+ pub fn key_statuses(this: &MediaKeySession) -> MediaKeyStatusMap;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaKeySession" , js_name = onkeystatuseschange)]
+ #[doc = "Getter for the `onkeystatuseschange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onkeystatuseschange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn onkeystatuseschange(this: &MediaKeySession) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaKeySession" , js_name = onkeystatuseschange)]
+ #[doc = "Setter for the `onkeystatuseschange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onkeystatuseschange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn set_onkeystatuseschange(this: &MediaKeySession, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaKeySession" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn onmessage(this: &MediaKeySession) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaKeySession" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn set_onmessage(this: &MediaKeySession, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (method , structural , js_class = "MediaKeySession" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn close(this: &MediaKeySession) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "MediaKeySession" , js_name = generateRequest)]
+ #[doc = "The `generateRequest()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/generateRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn generate_request_with_buffer_source(
+ this: &MediaKeySession,
+ init_data_type: &str,
+ init_data: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "MediaKeySession" , js_name = generateRequest)]
+ #[doc = "The `generateRequest()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/generateRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn generate_request_with_u8_array(
+ this: &MediaKeySession,
+ init_data_type: &str,
+ init_data: &mut [u8],
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "MediaKeySession" , js_name = load)]
+ #[doc = "The `load()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/load)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn load(this: &MediaKeySession, session_id: &str) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "MediaKeySession" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn remove(this: &MediaKeySession) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "MediaKeySession" , js_name = update)]
+ #[doc = "The `update()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/update)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn update_with_buffer_source(
+ this: &MediaKeySession,
+ response: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "MediaKeySession" , js_name = update)]
+ #[doc = "The `update()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/update)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`*"]
+ pub fn update_with_u8_array(this: &MediaKeySession, response: &mut [u8]) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeySessionType.rs b/vendor/web-sys/src/features/gen_MediaKeySessionType.rs
new file mode 100644
index 000000000..c50b308c0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeySessionType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MediaKeySessionType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaKeySessionType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaKeySessionType {
+ Temporary = "temporary",
+ PersistentLicense = "persistent-license",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeyStatus.rs b/vendor/web-sys/src/features/gen_MediaKeyStatus.rs
new file mode 100644
index 000000000..7e24d37ab
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeyStatus.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MediaKeyStatus` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaKeyStatus`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaKeyStatus {
+ Usable = "usable",
+ Expired = "expired",
+ Released = "released",
+ OutputRestricted = "output-restricted",
+ OutputDownscaled = "output-downscaled",
+ StatusPending = "status-pending",
+ InternalError = "internal-error",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeyStatusMap.rs b/vendor/web-sys/src/features/gen_MediaKeyStatusMap.rs
new file mode 100644
index 000000000..ee2b22c9d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeyStatusMap.rs
@@ -0,0 +1,55 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeyStatusMap , typescript_type = "MediaKeyStatusMap")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaKeyStatusMap` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyStatusMap`*"]
+ pub type MediaKeyStatusMap;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaKeyStatusMap" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyStatusMap`*"]
+ pub fn size(this: &MediaKeyStatusMap) -> u32;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaKeyStatusMap" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyStatusMap`*"]
+ pub fn get_with_buffer_source(
+ this: &MediaKeyStatusMap,
+ key_id: &::js_sys::Object,
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaKeyStatusMap" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyStatusMap`*"]
+ pub fn get_with_u8_array(
+ this: &MediaKeyStatusMap,
+ key_id: &mut [u8],
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "MediaKeyStatusMap" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyStatusMap`*"]
+ pub fn has_with_buffer_source(this: &MediaKeyStatusMap, key_id: &::js_sys::Object) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "MediaKeyStatusMap" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeyStatusMap`*"]
+ pub fn has_with_u8_array(this: &MediaKeyStatusMap, key_id: &mut [u8]) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeySystemAccess.rs b/vendor/web-sys/src/features/gen_MediaKeySystemAccess.rs
new file mode 100644
index 000000000..544a59a87
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeySystemAccess.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeySystemAccess , typescript_type = "MediaKeySystemAccess")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaKeySystemAccess` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemAccess`*"]
+ pub type MediaKeySystemAccess;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaKeySystemAccess" , js_name = keySystem)]
+ #[doc = "Getter for the `keySystem` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess/keySystem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemAccess`*"]
+ pub fn key_system(this: &MediaKeySystemAccess) -> String;
+ # [wasm_bindgen (method , structural , js_class = "MediaKeySystemAccess" , js_name = createMediaKeys)]
+ #[doc = "The `createMediaKeys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess/createMediaKeys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemAccess`*"]
+ pub fn create_media_keys(this: &MediaKeySystemAccess) -> ::js_sys::Promise;
+ #[cfg(feature = "MediaKeySystemConfiguration")]
+ # [wasm_bindgen (method , structural , js_class = "MediaKeySystemAccess" , js_name = getConfiguration)]
+ #[doc = "The `getConfiguration()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess/getConfiguration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemAccess`, `MediaKeySystemConfiguration`*"]
+ pub fn get_configuration(this: &MediaKeySystemAccess) -> MediaKeySystemConfiguration;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeySystemConfiguration.rs b/vendor/web-sys/src/features/gen_MediaKeySystemConfiguration.rs
new file mode 100644
index 000000000..c565cf98f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeySystemConfiguration.rs
@@ -0,0 +1,144 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeySystemConfiguration)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaKeySystemConfiguration` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemConfiguration`*"]
+ pub type MediaKeySystemConfiguration;
+}
+impl MediaKeySystemConfiguration {
+ #[doc = "Construct a new `MediaKeySystemConfiguration`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemConfiguration`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `audioCapabilities` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemConfiguration`*"]
+ pub fn audio_capabilities(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("audioCapabilities"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "MediaKeysRequirement")]
+ #[doc = "Change the `distinctiveIdentifier` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemConfiguration`, `MediaKeysRequirement`*"]
+ pub fn distinctive_identifier(&mut self, val: MediaKeysRequirement) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("distinctiveIdentifier"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `initDataTypes` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemConfiguration`*"]
+ pub fn init_data_types(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("initDataTypes"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemConfiguration`*"]
+ pub fn label(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "MediaKeysRequirement")]
+ #[doc = "Change the `persistentState` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemConfiguration`, `MediaKeysRequirement`*"]
+ pub fn persistent_state(&mut self, val: MediaKeysRequirement) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("persistentState"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sessionTypes` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemConfiguration`*"]
+ pub fn session_types(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sessionTypes"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `videoCapabilities` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemConfiguration`*"]
+ pub fn video_capabilities(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("videoCapabilities"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaKeySystemConfiguration {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeySystemMediaCapability.rs b/vendor/web-sys/src/features/gen_MediaKeySystemMediaCapability.rs
new file mode 100644
index 000000000..b3def21e2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeySystemMediaCapability.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeySystemMediaCapability)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaKeySystemMediaCapability` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemMediaCapability`*"]
+ pub type MediaKeySystemMediaCapability;
+}
+impl MediaKeySystemMediaCapability {
+ #[doc = "Construct a new `MediaKeySystemMediaCapability`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemMediaCapability`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `contentType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemMediaCapability`*"]
+ pub fn content_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("contentType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `robustness` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemMediaCapability`*"]
+ pub fn robustness(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("robustness"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaKeySystemMediaCapability {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeySystemStatus.rs b/vendor/web-sys/src/features/gen_MediaKeySystemStatus.rs
new file mode 100644
index 000000000..eaf627da5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeySystemStatus.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MediaKeySystemStatus` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaKeySystemStatus`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaKeySystemStatus {
+ Available = "available",
+ ApiDisabled = "api-disabled",
+ CdmDisabled = "cdm-disabled",
+ CdmNotSupported = "cdm-not-supported",
+ CdmNotInstalled = "cdm-not-installed",
+ CdmCreated = "cdm-created",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeys.rs b/vendor/web-sys/src/features/gen_MediaKeys.rs
new file mode 100644
index 000000000..ecf90c11e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeys.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeys , typescript_type = "MediaKeys")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaKeys` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeys`*"]
+ pub type MediaKeys;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaKeys" , js_name = keySystem)]
+ #[doc = "Getter for the `keySystem` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/keySystem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeys`*"]
+ pub fn key_system(this: &MediaKeys) -> String;
+ #[cfg(feature = "MediaKeySession")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaKeys" , js_name = createSession)]
+ #[doc = "The `createSession()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/createSession)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`, `MediaKeys`*"]
+ pub fn create_session(this: &MediaKeys) -> Result<MediaKeySession, JsValue>;
+ #[cfg(all(feature = "MediaKeySession", feature = "MediaKeySessionType",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaKeys" , js_name = createSession)]
+ #[doc = "The `createSession()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/createSession)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`, `MediaKeySessionType`, `MediaKeys`*"]
+ pub fn create_session_with_session_type(
+ this: &MediaKeys,
+ session_type: MediaKeySessionType,
+ ) -> Result<MediaKeySession, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "MediaKeys" , js_name = getStatusForPolicy)]
+ #[doc = "The `getStatusForPolicy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/getStatusForPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeys`*"]
+ pub fn get_status_for_policy(this: &MediaKeys) -> ::js_sys::Promise;
+ #[cfg(feature = "MediaKeysPolicy")]
+ # [wasm_bindgen (method , structural , js_class = "MediaKeys" , js_name = getStatusForPolicy)]
+ #[doc = "The `getStatusForPolicy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/getStatusForPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeys`, `MediaKeysPolicy`*"]
+ pub fn get_status_for_policy_with_policy(
+ this: &MediaKeys,
+ policy: &MediaKeysPolicy,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "MediaKeys" , js_name = setServerCertificate)]
+ #[doc = "The `setServerCertificate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/setServerCertificate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeys`*"]
+ pub fn set_server_certificate_with_buffer_source(
+ this: &MediaKeys,
+ server_certificate: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "MediaKeys" , js_name = setServerCertificate)]
+ #[doc = "The `setServerCertificate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/setServerCertificate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeys`*"]
+ pub fn set_server_certificate_with_u8_array(
+ this: &MediaKeys,
+ server_certificate: &mut [u8],
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeysPolicy.rs b/vendor/web-sys/src/features/gen_MediaKeysPolicy.rs
new file mode 100644
index 000000000..df5fefbe9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeysPolicy.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeysPolicy)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaKeysPolicy` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeysPolicy`*"]
+ pub type MediaKeysPolicy;
+}
+impl MediaKeysPolicy {
+ #[doc = "Construct a new `MediaKeysPolicy`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeysPolicy`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `minHdcpVersion` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeysPolicy`*"]
+ pub fn min_hdcp_version(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("minHdcpVersion"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaKeysPolicy {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaKeysRequirement.rs b/vendor/web-sys/src/features/gen_MediaKeysRequirement.rs
new file mode 100644
index 000000000..8703cbe66
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaKeysRequirement.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MediaKeysRequirement` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaKeysRequirement`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaKeysRequirement {
+ Required = "required",
+ Optional = "optional",
+ NotAllowed = "not-allowed",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaList.rs b/vendor/web-sys/src/features/gen_MediaList.rs
new file mode 100644
index 000000000..89b8f383f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaList.rs
@@ -0,0 +1,63 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaList , typescript_type = "MediaList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaList`*"]
+ pub type MediaList;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaList" , js_name = mediaText)]
+ #[doc = "Getter for the `mediaText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/mediaText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaList`*"]
+ pub fn media_text(this: &MediaList) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaList" , js_name = mediaText)]
+ #[doc = "Setter for the `mediaText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/mediaText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaList`*"]
+ pub fn set_media_text(this: &MediaList, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaList`*"]
+ pub fn length(this: &MediaList) -> u32;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaList" , js_name = appendMedium)]
+ #[doc = "The `appendMedium()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/appendMedium)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaList`*"]
+ pub fn append_medium(this: &MediaList, new_medium: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaList" , js_name = deleteMedium)]
+ #[doc = "The `deleteMedium()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/deleteMedium)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaList`*"]
+ pub fn delete_medium(this: &MediaList, old_medium: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "MediaList" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaList`*"]
+ pub fn item(this: &MediaList, index: u32) -> Option<String>;
+ #[wasm_bindgen(method, structural, js_class = "MediaList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaList`*"]
+ pub fn get(this: &MediaList, index: u32) -> Option<String>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaMetadata.rs b/vendor/web-sys/src/features/gen_MediaMetadata.rs
new file mode 100644
index 000000000..6911f663c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaMetadata.rs
@@ -0,0 +1,129 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaMetadata , typescript_type = "MediaMetadata")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaMetadata` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type MediaMetadata;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaMetadata" , js_name = title)]
+ #[doc = "Getter for the `title` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata/title)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn title(this: &MediaMetadata) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaMetadata" , js_name = title)]
+ #[doc = "Setter for the `title` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata/title)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_title(this: &MediaMetadata, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaMetadata" , js_name = artist)]
+ #[doc = "Getter for the `artist` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata/artist)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn artist(this: &MediaMetadata) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaMetadata" , js_name = artist)]
+ #[doc = "Setter for the `artist` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata/artist)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_artist(this: &MediaMetadata, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaMetadata" , js_name = album)]
+ #[doc = "Getter for the `album` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata/album)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn album(this: &MediaMetadata) -> String;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaMetadata" , js_name = album)]
+ #[doc = "Setter for the `album` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata/album)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_album(this: &MediaMetadata, value: &str);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaMetadata" , js_name = artwork)]
+ #[doc = "Getter for the `artwork` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata/artwork)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn artwork(this: &MediaMetadata) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaMetadata" , js_name = artwork)]
+ #[doc = "Setter for the `artwork` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata/artwork)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_artwork(this: &MediaMetadata, value: &::wasm_bindgen::JsValue);
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaMetadata")]
+ #[doc = "The `new MediaMetadata(..)` constructor, creating a new instance of `MediaMetadata`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata/MediaMetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Result<MediaMetadata, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaMetadataInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaMetadata")]
+ #[doc = "The `new MediaMetadata(..)` constructor, creating a new instance of `MediaMetadata`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata/MediaMetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`, `MediaMetadataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_init(init: &MediaMetadataInit) -> Result<MediaMetadata, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaMetadataInit.rs b/vendor/web-sys/src/features/gen_MediaMetadataInit.rs
new file mode 100644
index 000000000..4551618b5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaMetadataInit.rs
@@ -0,0 +1,109 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaMetadataInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaMetadataInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type MediaMetadataInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl MediaMetadataInit {
+ #[doc = "Construct a new `MediaMetadataInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `album` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn album(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("album"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `artist` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn artist(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("artist"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `artwork` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn artwork(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("artwork"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `title` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadataInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn title(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("title"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for MediaMetadataInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaPositionState.rs b/vendor/web-sys/src/features/gen_MediaPositionState.rs
new file mode 100644
index 000000000..452f445ce
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaPositionState.rs
@@ -0,0 +1,99 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaPositionState)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaPositionState` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaPositionState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type MediaPositionState;
+}
+#[cfg(web_sys_unstable_apis)]
+impl MediaPositionState {
+ #[doc = "Construct a new `MediaPositionState`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaPositionState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaPositionState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn duration(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("duration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `playbackRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaPositionState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn playback_rate(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("playbackRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `position` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaPositionState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn position(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("position"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for MediaPositionState {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaQueryList.rs b/vendor/web-sys/src/features/gen_MediaQueryList.rs
new file mode 100644
index 000000000..24faf3a31
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaQueryList.rs
@@ -0,0 +1,84 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaQueryList , typescript_type = "MediaQueryList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaQueryList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryList`*"]
+ pub type MediaQueryList;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaQueryList" , js_name = media)]
+ #[doc = "Getter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryList`*"]
+ pub fn media(this: &MediaQueryList) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaQueryList" , js_name = matches)]
+ #[doc = "Getter for the `matches` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/matches)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryList`*"]
+ pub fn matches(this: &MediaQueryList) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaQueryList" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryList`*"]
+ pub fn onchange(this: &MediaQueryList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaQueryList" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryList`*"]
+ pub fn set_onchange(this: &MediaQueryList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaQueryList" , js_name = addListener)]
+ #[doc = "The `addListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/addListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryList`*"]
+ pub fn add_listener_with_opt_callback(
+ this: &MediaQueryList,
+ listener: Option<&::js_sys::Function>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "EventListener")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaQueryList" , js_name = addListener)]
+ #[doc = "The `addListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/addListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListener`, `MediaQueryList`*"]
+ pub fn add_listener_with_opt_event_listener(
+ this: &MediaQueryList,
+ listener: Option<&EventListener>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaQueryList" , js_name = removeListener)]
+ #[doc = "The `removeListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/removeListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryList`*"]
+ pub fn remove_listener_with_opt_callback(
+ this: &MediaQueryList,
+ listener: Option<&::js_sys::Function>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "EventListener")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaQueryList" , js_name = removeListener)]
+ #[doc = "The `removeListener()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/removeListener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventListener`, `MediaQueryList`*"]
+ pub fn remove_listener_with_opt_event_listener(
+ this: &MediaQueryList,
+ listener: Option<&EventListener>,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaQueryListEvent.rs b/vendor/web-sys/src/features/gen_MediaQueryListEvent.rs
new file mode 100644
index 000000000..ceca733f1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaQueryListEvent.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaQueryListEvent , typescript_type = "MediaQueryListEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaQueryListEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryListEvent`*"]
+ pub type MediaQueryListEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaQueryListEvent" , js_name = media)]
+ #[doc = "Getter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryListEvent`*"]
+ pub fn media(this: &MediaQueryListEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaQueryListEvent" , js_name = matches)]
+ #[doc = "Getter for the `matches` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/matches)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryListEvent`*"]
+ pub fn matches(this: &MediaQueryListEvent) -> bool;
+ #[wasm_bindgen(catch, constructor, js_class = "MediaQueryListEvent")]
+ #[doc = "The `new MediaQueryListEvent(..)` constructor, creating a new instance of `MediaQueryListEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/MediaQueryListEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryListEvent`*"]
+ pub fn new(type_: &str) -> Result<MediaQueryListEvent, JsValue>;
+ #[cfg(feature = "MediaQueryListEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaQueryListEvent")]
+ #[doc = "The `new MediaQueryListEvent(..)` constructor, creating a new instance of `MediaQueryListEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/MediaQueryListEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryListEvent`, `MediaQueryListEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &MediaQueryListEventInit,
+ ) -> Result<MediaQueryListEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaQueryListEventInit.rs b/vendor/web-sys/src/features/gen_MediaQueryListEventInit.rs
new file mode 100644
index 000000000..5546b6ed5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaQueryListEventInit.rs
@@ -0,0 +1,108 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaQueryListEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaQueryListEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryListEventInit`*"]
+ pub type MediaQueryListEventInit;
+}
+impl MediaQueryListEventInit {
+ #[doc = "Construct a new `MediaQueryListEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryListEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryListEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryListEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryListEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `matches` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryListEventInit`*"]
+ pub fn matches(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("matches"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryListEventInit`*"]
+ pub fn media(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("media"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaQueryListEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaRecorder.rs b/vendor/web-sys/src/features/gen_MediaRecorder.rs
new file mode 100644
index 000000000..1153152da
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaRecorder.rs
@@ -0,0 +1,206 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaRecorder , typescript_type = "MediaRecorder")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaRecorder` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub type MediaRecorder;
+ #[cfg(feature = "MediaStream")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaRecorder" , js_name = stream)]
+ #[doc = "Getter for the `stream` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/stream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`, `MediaStream`*"]
+ pub fn stream(this: &MediaRecorder) -> MediaStream;
+ #[cfg(feature = "RecordingState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaRecorder" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`, `RecordingState`*"]
+ pub fn state(this: &MediaRecorder) -> RecordingState;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaRecorder" , js_name = mimeType)]
+ #[doc = "Getter for the `mimeType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/mimeType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn mime_type(this: &MediaRecorder) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaRecorder" , js_name = ondataavailable)]
+ #[doc = "Getter for the `ondataavailable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ondataavailable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn ondataavailable(this: &MediaRecorder) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaRecorder" , js_name = ondataavailable)]
+ #[doc = "Setter for the `ondataavailable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ondataavailable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn set_ondataavailable(this: &MediaRecorder, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaRecorder" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn onerror(this: &MediaRecorder) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaRecorder" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn set_onerror(this: &MediaRecorder, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaRecorder" , js_name = onstart)]
+ #[doc = "Getter for the `onstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn onstart(this: &MediaRecorder) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaRecorder" , js_name = onstart)]
+ #[doc = "Setter for the `onstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn set_onstart(this: &MediaRecorder, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaRecorder" , js_name = onstop)]
+ #[doc = "Getter for the `onstop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn onstop(this: &MediaRecorder) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaRecorder" , js_name = onstop)]
+ #[doc = "Setter for the `onstop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn set_onstop(this: &MediaRecorder, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaRecorder" , js_name = onwarning)]
+ #[doc = "Getter for the `onwarning` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onwarning)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn onwarning(this: &MediaRecorder) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaRecorder" , js_name = onwarning)]
+ #[doc = "Setter for the `onwarning` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onwarning)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn set_onwarning(this: &MediaRecorder, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "MediaStream")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaRecorder")]
+ #[doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`, `MediaStream`*"]
+ pub fn new_with_media_stream(stream: &MediaStream) -> Result<MediaRecorder, JsValue>;
+ #[cfg(all(feature = "MediaRecorderOptions", feature = "MediaStream",))]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaRecorder")]
+ #[doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`, `MediaRecorderOptions`, `MediaStream`*"]
+ pub fn new_with_media_stream_and_media_recorder_options(
+ stream: &MediaStream,
+ options: &MediaRecorderOptions,
+ ) -> Result<MediaRecorder, JsValue>;
+ #[cfg(feature = "AudioNode")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaRecorder")]
+ #[doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`, `MediaRecorder`*"]
+ pub fn new_with_audio_node(node: &AudioNode) -> Result<MediaRecorder, JsValue>;
+ #[cfg(feature = "AudioNode")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaRecorder")]
+ #[doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`, `MediaRecorder`*"]
+ pub fn new_with_audio_node_and_u32(
+ node: &AudioNode,
+ output: u32,
+ ) -> Result<MediaRecorder, JsValue>;
+ #[cfg(all(feature = "AudioNode", feature = "MediaRecorderOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaRecorder")]
+ #[doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioNode`, `MediaRecorder`, `MediaRecorderOptions`*"]
+ pub fn new_with_audio_node_and_u32_and_options(
+ node: &AudioNode,
+ output: u32,
+ options: &MediaRecorderOptions,
+ ) -> Result<MediaRecorder, JsValue>;
+ # [wasm_bindgen (static_method_of = MediaRecorder , js_class = "MediaRecorder" , js_name = isTypeSupported)]
+ #[doc = "The `isTypeSupported()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/isTypeSupported)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn is_type_supported(type_: &str) -> bool;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaRecorder" , js_name = pause)]
+ #[doc = "The `pause()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/pause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn pause(this: &MediaRecorder) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaRecorder" , js_name = requestData)]
+ #[doc = "The `requestData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/requestData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn request_data(this: &MediaRecorder) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaRecorder" , js_name = resume)]
+ #[doc = "The `resume()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/resume)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn resume(this: &MediaRecorder) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaRecorder" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn start(this: &MediaRecorder) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaRecorder" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn start_with_time_slice(this: &MediaRecorder, time_slice: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaRecorder" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorder`*"]
+ pub fn stop(this: &MediaRecorder) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaRecorderErrorEvent.rs b/vendor/web-sys/src/features/gen_MediaRecorderErrorEvent.rs
new file mode 100644
index 000000000..5a00bb630
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaRecorderErrorEvent.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaRecorderErrorEvent , typescript_type = "MediaRecorderErrorEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaRecorderErrorEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorderErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorderErrorEvent`*"]
+ pub type MediaRecorderErrorEvent;
+ #[cfg(feature = "DomException")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaRecorderErrorEvent" , js_name = error)]
+ #[doc = "Getter for the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorderErrorEvent/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`, `MediaRecorderErrorEvent`*"]
+ pub fn error(this: &MediaRecorderErrorEvent) -> DomException;
+ #[cfg(feature = "MediaRecorderErrorEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaRecorderErrorEvent")]
+ #[doc = "The `new MediaRecorderErrorEvent(..)` constructor, creating a new instance of `MediaRecorderErrorEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorderErrorEvent/MediaRecorderErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorderErrorEvent`, `MediaRecorderErrorEventInit`*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &MediaRecorderErrorEventInit,
+ ) -> Result<MediaRecorderErrorEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaRecorderErrorEventInit.rs b/vendor/web-sys/src/features/gen_MediaRecorderErrorEventInit.rs
new file mode 100644
index 000000000..834785822
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaRecorderErrorEventInit.rs
@@ -0,0 +1,89 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaRecorderErrorEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaRecorderErrorEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorderErrorEventInit`*"]
+ pub type MediaRecorderErrorEventInit;
+}
+impl MediaRecorderErrorEventInit {
+ #[cfg(feature = "DomException")]
+ #[doc = "Construct a new `MediaRecorderErrorEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`, `MediaRecorderErrorEventInit`*"]
+ pub fn new(error: &DomException) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.error(error);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorderErrorEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorderErrorEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorderErrorEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DomException")]
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomException`, `MediaRecorderErrorEventInit`*"]
+ pub fn error(&mut self, val: &DomException) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaRecorderOptions.rs b/vendor/web-sys/src/features/gen_MediaRecorderOptions.rs
new file mode 100644
index 000000000..756be77b7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaRecorderOptions.rs
@@ -0,0 +1,95 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaRecorderOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaRecorderOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorderOptions`*"]
+ pub type MediaRecorderOptions;
+}
+impl MediaRecorderOptions {
+ #[doc = "Construct a new `MediaRecorderOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorderOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `audioBitsPerSecond` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorderOptions`*"]
+ pub fn audio_bits_per_second(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("audioBitsPerSecond"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bitsPerSecond` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorderOptions`*"]
+ pub fn bits_per_second(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bitsPerSecond"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mimeType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorderOptions`*"]
+ pub fn mime_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mimeType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `videoBitsPerSecond` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaRecorderOptions`*"]
+ pub fn video_bits_per_second(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("videoBitsPerSecond"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaRecorderOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaSession.rs b/vendor/web-sys/src/features/gen_MediaSession.rs
new file mode 100644
index 000000000..5f50eec8c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaSession.rs
@@ -0,0 +1,127 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaSession , typescript_type = "MediaSession")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaSession` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSession)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type MediaSession;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaMetadata")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaSession" , js_name = metadata)]
+ #[doc = "Getter for the `metadata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/metadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`, `MediaSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn metadata(this: &MediaSession) -> Option<MediaMetadata>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaMetadata")]
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaSession" , js_name = metadata)]
+ #[doc = "Setter for the `metadata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/metadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaMetadata`, `MediaSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_metadata(this: &MediaSession, value: Option<&MediaMetadata>);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaSessionPlaybackState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaSession" , js_name = playbackState)]
+ #[doc = "Getter for the `playbackState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/playbackState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSession`, `MediaSessionPlaybackState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn playback_state(this: &MediaSession) -> MediaSessionPlaybackState;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaSessionPlaybackState")]
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaSession" , js_name = playbackState)]
+ #[doc = "Setter for the `playbackState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/playbackState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSession`, `MediaSessionPlaybackState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_playback_state(this: &MediaSession, value: MediaSessionPlaybackState);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaSessionAction")]
+ # [wasm_bindgen (method , structural , js_class = "MediaSession" , js_name = setActionHandler)]
+ #[doc = "The `setActionHandler()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/setActionHandler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSession`, `MediaSessionAction`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_action_handler(
+ this: &MediaSession,
+ action: MediaSessionAction,
+ handler: Option<&::js_sys::Function>,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "MediaSession" , js_name = setCameraActive)]
+ #[doc = "The `setCameraActive()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/setCameraActive)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_camera_active(this: &MediaSession, active: bool);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "MediaSession" , js_name = setMicrophoneActive)]
+ #[doc = "The `setMicrophoneActive()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/setMicrophoneActive)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_microphone_active(this: &MediaSession, active: bool);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "MediaSession" , js_name = setPositionState)]
+ #[doc = "The `setPositionState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/setPositionState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_position_state(this: &MediaSession);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaPositionState")]
+ # [wasm_bindgen (method , structural , js_class = "MediaSession" , js_name = setPositionState)]
+ #[doc = "The `setPositionState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/setPositionState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaPositionState`, `MediaSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_position_state_with_state(this: &MediaSession, state: &MediaPositionState);
+}
diff --git a/vendor/web-sys/src/features/gen_MediaSessionAction.rs b/vendor/web-sys/src/features/gen_MediaSessionAction.rs
new file mode 100644
index 000000000..b25bf3065
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaSessionAction.rs
@@ -0,0 +1,25 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `MediaSessionAction` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaSessionAction`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaSessionAction {
+ Play = "play",
+ Pause = "pause",
+ Seekbackward = "seekbackward",
+ Seekforward = "seekforward",
+ Previoustrack = "previoustrack",
+ Nexttrack = "nexttrack",
+ Skipad = "skipad",
+ Stop = "stop",
+ Seekto = "seekto",
+ Togglemicrophone = "togglemicrophone",
+ Togglecamera = "togglecamera",
+ Hangup = "hangup",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaSessionActionDetails.rs b/vendor/web-sys/src/features/gen_MediaSessionActionDetails.rs
new file mode 100644
index 000000000..f530e8f98
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaSessionActionDetails.rs
@@ -0,0 +1,114 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaSessionActionDetails)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaSessionActionDetails` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSessionActionDetails`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type MediaSessionActionDetails;
+}
+#[cfg(web_sys_unstable_apis)]
+impl MediaSessionActionDetails {
+ #[cfg(feature = "MediaSessionAction")]
+ #[doc = "Construct a new `MediaSessionActionDetails`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSessionAction`, `MediaSessionActionDetails`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(action: MediaSessionAction) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.action(action);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaSessionAction")]
+ #[doc = "Change the `action` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSessionAction`, `MediaSessionActionDetails`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn action(&mut self, val: MediaSessionAction) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("action"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `fastSeek` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSessionActionDetails`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn fast_seek(&mut self, val: Option<bool>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("fastSeek"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `seekOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSessionActionDetails`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn seek_offset(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("seekOffset"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `seekTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSessionActionDetails`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn seek_time(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("seekTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaSessionPlaybackState.rs b/vendor/web-sys/src/features/gen_MediaSessionPlaybackState.rs
new file mode 100644
index 000000000..77ea9df59
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaSessionPlaybackState.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `MediaSessionPlaybackState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaSessionPlaybackState`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaSessionPlaybackState {
+ None = "none",
+ Paused = "paused",
+ Playing = "playing",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaSource.rs b/vendor/web-sys/src/features/gen_MediaSource.rs
new file mode 100644
index 000000000..1edd2c3c5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaSource.rs
@@ -0,0 +1,160 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaSource , typescript_type = "MediaSource")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaSource` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub type MediaSource;
+ #[cfg(feature = "SourceBufferList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaSource" , js_name = sourceBuffers)]
+ #[doc = "Getter for the `sourceBuffers` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/sourceBuffers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`, `SourceBufferList`*"]
+ pub fn source_buffers(this: &MediaSource) -> SourceBufferList;
+ #[cfg(feature = "SourceBufferList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaSource" , js_name = activeSourceBuffers)]
+ #[doc = "Getter for the `activeSourceBuffers` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/activeSourceBuffers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`, `SourceBufferList`*"]
+ pub fn active_source_buffers(this: &MediaSource) -> SourceBufferList;
+ #[cfg(feature = "MediaSourceReadyState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaSource" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`, `MediaSourceReadyState`*"]
+ pub fn ready_state(this: &MediaSource) -> MediaSourceReadyState;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaSource" , js_name = duration)]
+ #[doc = "Getter for the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/duration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn duration(this: &MediaSource) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaSource" , js_name = duration)]
+ #[doc = "Setter for the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/duration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn set_duration(this: &MediaSource, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaSource" , js_name = onsourceopen)]
+ #[doc = "Getter for the `onsourceopen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceopen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn onsourceopen(this: &MediaSource) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaSource" , js_name = onsourceopen)]
+ #[doc = "Setter for the `onsourceopen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceopen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn set_onsourceopen(this: &MediaSource, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaSource" , js_name = onsourceended)]
+ #[doc = "Getter for the `onsourceended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn onsourceended(this: &MediaSource) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaSource" , js_name = onsourceended)]
+ #[doc = "Setter for the `onsourceended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn set_onsourceended(this: &MediaSource, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaSource" , js_name = onsourceclose)]
+ #[doc = "Getter for the `onsourceclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn onsourceclose(this: &MediaSource) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaSource" , js_name = onsourceclose)]
+ #[doc = "Setter for the `onsourceclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn set_onsourceclose(this: &MediaSource, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "MediaSource")]
+ #[doc = "The `new MediaSource(..)` constructor, creating a new instance of `MediaSource`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/MediaSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn new() -> Result<MediaSource, JsValue>;
+ #[cfg(feature = "SourceBuffer")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaSource" , js_name = addSourceBuffer)]
+ #[doc = "The `addSourceBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/addSourceBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`, `SourceBuffer`*"]
+ pub fn add_source_buffer(this: &MediaSource, type_: &str) -> Result<SourceBuffer, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaSource" , js_name = clearLiveSeekableRange)]
+ #[doc = "The `clearLiveSeekableRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/clearLiveSeekableRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn clear_live_seekable_range(this: &MediaSource) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaSource" , js_name = endOfStream)]
+ #[doc = "The `endOfStream()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/endOfStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn end_of_stream(this: &MediaSource) -> Result<(), JsValue>;
+ #[cfg(feature = "MediaSourceEndOfStreamError")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaSource" , js_name = endOfStream)]
+ #[doc = "The `endOfStream()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/endOfStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`, `MediaSourceEndOfStreamError`*"]
+ pub fn end_of_stream_with_error(
+ this: &MediaSource,
+ error: MediaSourceEndOfStreamError,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (static_method_of = MediaSource , js_class = "MediaSource" , js_name = isTypeSupported)]
+ #[doc = "The `isTypeSupported()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/isTypeSupported)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn is_type_supported(type_: &str) -> bool;
+ #[cfg(feature = "SourceBuffer")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaSource" , js_name = removeSourceBuffer)]
+ #[doc = "The `removeSourceBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/removeSourceBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`, `SourceBuffer`*"]
+ pub fn remove_source_buffer(
+ this: &MediaSource,
+ source_buffer: &SourceBuffer,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaSource" , js_name = setLiveSeekableRange)]
+ #[doc = "The `setLiveSeekableRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/setLiveSeekableRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"]
+ pub fn set_live_seekable_range(this: &MediaSource, start: f64, end: f64)
+ -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaSourceEndOfStreamError.rs b/vendor/web-sys/src/features/gen_MediaSourceEndOfStreamError.rs
new file mode 100644
index 000000000..76edf0e6d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaSourceEndOfStreamError.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MediaSourceEndOfStreamError` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaSourceEndOfStreamError`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaSourceEndOfStreamError {
+ Network = "network",
+ Decode = "decode",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaSourceEnum.rs b/vendor/web-sys/src/features/gen_MediaSourceEnum.rs
new file mode 100644
index 000000000..a3d8326ee
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaSourceEnum.rs
@@ -0,0 +1,17 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MediaSourceEnum` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaSourceEnum`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaSourceEnum {
+ Camera = "camera",
+ Screen = "screen",
+ Application = "application",
+ Window = "window",
+ Browser = "browser",
+ Microphone = "microphone",
+ AudioCapture = "audioCapture",
+ Other = "other",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaSourceReadyState.rs b/vendor/web-sys/src/features/gen_MediaSourceReadyState.rs
new file mode 100644
index 000000000..b0033cbc5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaSourceReadyState.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MediaSourceReadyState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaSourceReadyState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaSourceReadyState {
+ Closed = "closed",
+ Open = "open",
+ Ended = "ended",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStream.rs b/vendor/web-sys/src/features/gen_MediaStream.rs
new file mode 100644
index 000000000..75d5f21a9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStream.rs
@@ -0,0 +1,136 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaStream , typescript_type = "MediaStream")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStream` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub type MediaStream;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStream" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn id(this: &MediaStream) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStream" , js_name = active)]
+ #[doc = "Getter for the `active` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/active)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn active(this: &MediaStream) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStream" , js_name = onaddtrack)]
+ #[doc = "Getter for the `onaddtrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/onaddtrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn onaddtrack(this: &MediaStream) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaStream" , js_name = onaddtrack)]
+ #[doc = "Setter for the `onaddtrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/onaddtrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn set_onaddtrack(this: &MediaStream, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStream" , js_name = onremovetrack)]
+ #[doc = "Getter for the `onremovetrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/onremovetrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn onremovetrack(this: &MediaStream) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaStream" , js_name = onremovetrack)]
+ #[doc = "Setter for the `onremovetrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/onremovetrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn set_onremovetrack(this: &MediaStream, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStream" , js_name = currentTime)]
+ #[doc = "Getter for the `currentTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/currentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn current_time(this: &MediaStream) -> f64;
+ #[wasm_bindgen(catch, constructor, js_class = "MediaStream")]
+ #[doc = "The `new MediaStream(..)` constructor, creating a new instance of `MediaStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/MediaStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn new() -> Result<MediaStream, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "MediaStream")]
+ #[doc = "The `new MediaStream(..)` constructor, creating a new instance of `MediaStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/MediaStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn new_with_stream(stream: &MediaStream) -> Result<MediaStream, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "MediaStream")]
+ #[doc = "The `new MediaStream(..)` constructor, creating a new instance of `MediaStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/MediaStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn new_with_tracks(tracks: &::wasm_bindgen::JsValue) -> Result<MediaStream, JsValue>;
+ #[cfg(feature = "MediaStreamTrack")]
+ # [wasm_bindgen (method , structural , js_class = "MediaStream" , js_name = addTrack)]
+ #[doc = "The `addTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/addTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`*"]
+ pub fn add_track(this: &MediaStream, track: &MediaStreamTrack);
+ # [wasm_bindgen (method , structural , js_class = "MediaStream" , js_name = clone)]
+ #[doc = "The `clone()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/clone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn clone(this: &MediaStream) -> MediaStream;
+ # [wasm_bindgen (method , structural , js_class = "MediaStream" , js_name = getAudioTracks)]
+ #[doc = "The `getAudioTracks()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/getAudioTracks)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn get_audio_tracks(this: &MediaStream) -> ::js_sys::Array;
+ #[cfg(feature = "MediaStreamTrack")]
+ # [wasm_bindgen (method , structural , js_class = "MediaStream" , js_name = getTrackById)]
+ #[doc = "The `getTrackById()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/getTrackById)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`*"]
+ pub fn get_track_by_id(this: &MediaStream, track_id: &str) -> Option<MediaStreamTrack>;
+ # [wasm_bindgen (method , structural , js_class = "MediaStream" , js_name = getTracks)]
+ #[doc = "The `getTracks()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/getTracks)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn get_tracks(this: &MediaStream) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "MediaStream" , js_name = getVideoTracks)]
+ #[doc = "The `getVideoTracks()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/getVideoTracks)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"]
+ pub fn get_video_tracks(this: &MediaStream) -> ::js_sys::Array;
+ #[cfg(feature = "MediaStreamTrack")]
+ # [wasm_bindgen (method , structural , js_class = "MediaStream" , js_name = removeTrack)]
+ #[doc = "The `removeTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/removeTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`*"]
+ pub fn remove_track(this: &MediaStream, track: &MediaStreamTrack);
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamAudioDestinationNode.rs b/vendor/web-sys/src/features/gen_MediaStreamAudioDestinationNode.rs
new file mode 100644
index 000000000..844648459
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamAudioDestinationNode.rs
@@ -0,0 +1,41 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaStreamAudioDestinationNode , typescript_type = "MediaStreamAudioDestinationNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamAudioDestinationNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioDestinationNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamAudioDestinationNode`*"]
+ pub type MediaStreamAudioDestinationNode;
+ #[cfg(feature = "MediaStream")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamAudioDestinationNode" , js_name = stream)]
+ #[doc = "Getter for the `stream` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioDestinationNode/stream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamAudioDestinationNode`*"]
+ pub fn stream(this: &MediaStreamAudioDestinationNode) -> MediaStream;
+ #[cfg(feature = "AudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaStreamAudioDestinationNode")]
+ #[doc = "The `new MediaStreamAudioDestinationNode(..)` constructor, creating a new instance of `MediaStreamAudioDestinationNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `MediaStreamAudioDestinationNode`*"]
+ pub fn new(context: &AudioContext) -> Result<MediaStreamAudioDestinationNode, JsValue>;
+ #[cfg(all(feature = "AudioContext", feature = "AudioNodeOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaStreamAudioDestinationNode")]
+ #[doc = "The `new MediaStreamAudioDestinationNode(..)` constructor, creating a new instance of `MediaStreamAudioDestinationNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `AudioNodeOptions`, `MediaStreamAudioDestinationNode`*"]
+ pub fn new_with_options(
+ context: &AudioContext,
+ options: &AudioNodeOptions,
+ ) -> Result<MediaStreamAudioDestinationNode, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamAudioSourceNode.rs b/vendor/web-sys/src/features/gen_MediaStreamAudioSourceNode.rs
new file mode 100644
index 000000000..0c206a44c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamAudioSourceNode.rs
@@ -0,0 +1,25 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaStreamAudioSourceNode , typescript_type = "MediaStreamAudioSourceNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamAudioSourceNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioSourceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamAudioSourceNode`*"]
+ pub type MediaStreamAudioSourceNode;
+ #[cfg(all(feature = "AudioContext", feature = "MediaStreamAudioSourceOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaStreamAudioSourceNode")]
+ #[doc = "The `new MediaStreamAudioSourceNode(..)` constructor, creating a new instance of `MediaStreamAudioSourceNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioSourceNode/MediaStreamAudioSourceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `MediaStreamAudioSourceNode`, `MediaStreamAudioSourceOptions`*"]
+ pub fn new(
+ context: &AudioContext,
+ options: &MediaStreamAudioSourceOptions,
+ ) -> Result<MediaStreamAudioSourceNode, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamAudioSourceOptions.rs b/vendor/web-sys/src/features/gen_MediaStreamAudioSourceOptions.rs
new file mode 100644
index 000000000..8f72c319a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamAudioSourceOptions.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaStreamAudioSourceOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamAudioSourceOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamAudioSourceOptions`*"]
+ pub type MediaStreamAudioSourceOptions;
+}
+impl MediaStreamAudioSourceOptions {
+ #[cfg(feature = "MediaStream")]
+ #[doc = "Construct a new `MediaStreamAudioSourceOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamAudioSourceOptions`*"]
+ pub fn new(media_stream: &MediaStream) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.media_stream(media_stream);
+ ret
+ }
+ #[cfg(feature = "MediaStream")]
+ #[doc = "Change the `mediaStream` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamAudioSourceOptions`*"]
+ pub fn media_stream(&mut self, val: &MediaStream) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mediaStream"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamConstraints.rs b/vendor/web-sys/src/features/gen_MediaStreamConstraints.rs
new file mode 100644
index 000000000..9950c1844
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamConstraints.rs
@@ -0,0 +1,100 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaStreamConstraints)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamConstraints` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamConstraints`*"]
+ pub type MediaStreamConstraints;
+}
+impl MediaStreamConstraints {
+ #[doc = "Construct a new `MediaStreamConstraints`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamConstraints`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `audio` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamConstraints`*"]
+ pub fn audio(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("audio"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `fake` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamConstraints`*"]
+ pub fn fake(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("fake"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `peerIdentity` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamConstraints`*"]
+ pub fn peer_identity(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("peerIdentity"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `picture` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamConstraints`*"]
+ pub fn picture(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("picture"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `video` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamConstraints`*"]
+ pub fn video(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("video"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaStreamConstraints {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamError.rs b/vendor/web-sys/src/features/gen_MediaStreamError.rs
new file mode 100644
index 000000000..b18996d42
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamError.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = MediaStreamError , typescript_type = "MediaStreamError")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamError` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamError`*"]
+ pub type MediaStreamError;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamError" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamError/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamError`*"]
+ pub fn name(this: &MediaStreamError) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamError" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamError/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamError`*"]
+ pub fn message(this: &MediaStreamError) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamError" , js_name = constraint)]
+ #[doc = "Getter for the `constraint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamError/constraint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamError`*"]
+ pub fn constraint(this: &MediaStreamError) -> Option<String>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamEvent.rs b/vendor/web-sys/src/features/gen_MediaStreamEvent.rs
new file mode 100644
index 000000000..d562649b4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamEvent.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaStreamEvent , typescript_type = "MediaStreamEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamEvent`*"]
+ pub type MediaStreamEvent;
+ #[cfg(feature = "MediaStream")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamEvent" , js_name = stream)]
+ #[doc = "Getter for the `stream` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamEvent/stream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamEvent`*"]
+ pub fn stream(this: &MediaStreamEvent) -> Option<MediaStream>;
+ #[wasm_bindgen(catch, constructor, js_class = "MediaStreamEvent")]
+ #[doc = "The `new MediaStreamEvent(..)` constructor, creating a new instance of `MediaStreamEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamEvent/MediaStreamEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamEvent`*"]
+ pub fn new(type_: &str) -> Result<MediaStreamEvent, JsValue>;
+ #[cfg(feature = "MediaStreamEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaStreamEvent")]
+ #[doc = "The `new MediaStreamEvent(..)` constructor, creating a new instance of `MediaStreamEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamEvent/MediaStreamEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamEvent`, `MediaStreamEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &MediaStreamEventInit,
+ ) -> Result<MediaStreamEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamEventInit.rs b/vendor/web-sys/src/features/gen_MediaStreamEventInit.rs
new file mode 100644
index 000000000..eb3d29564
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamEventInit.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaStreamEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamEventInit`*"]
+ pub type MediaStreamEventInit;
+}
+impl MediaStreamEventInit {
+ #[doc = "Construct a new `MediaStreamEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "MediaStream")]
+ #[doc = "Change the `stream` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamEventInit`*"]
+ pub fn stream(&mut self, val: Option<&MediaStream>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("stream"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaStreamEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrack.rs b/vendor/web-sys/src/features/gen_MediaStreamTrack.rs
new file mode 100644
index 000000000..113d02887
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamTrack.rs
@@ -0,0 +1,154 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaStreamTrack , typescript_type = "MediaStreamTrack")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamTrack` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub type MediaStreamTrack;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamTrack" , js_name = kind)]
+ #[doc = "Getter for the `kind` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/kind)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn kind(this: &MediaStreamTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamTrack" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn id(this: &MediaStreamTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamTrack" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn label(this: &MediaStreamTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamTrack" , js_name = enabled)]
+ #[doc = "Getter for the `enabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/enabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn enabled(this: &MediaStreamTrack) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaStreamTrack" , js_name = enabled)]
+ #[doc = "Setter for the `enabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/enabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn set_enabled(this: &MediaStreamTrack, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamTrack" , js_name = muted)]
+ #[doc = "Getter for the `muted` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/muted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn muted(this: &MediaStreamTrack) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamTrack" , js_name = onmute)]
+ #[doc = "Getter for the `onmute` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onmute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn onmute(this: &MediaStreamTrack) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaStreamTrack" , js_name = onmute)]
+ #[doc = "Setter for the `onmute` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onmute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn set_onmute(this: &MediaStreamTrack, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamTrack" , js_name = onunmute)]
+ #[doc = "Getter for the `onunmute` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onunmute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn onunmute(this: &MediaStreamTrack) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaStreamTrack" , js_name = onunmute)]
+ #[doc = "Setter for the `onunmute` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onunmute)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn set_onunmute(this: &MediaStreamTrack, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "MediaStreamTrackState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamTrack" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaStreamTrackState`*"]
+ pub fn ready_state(this: &MediaStreamTrack) -> MediaStreamTrackState;
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamTrack" , js_name = onended)]
+ #[doc = "Getter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn onended(this: &MediaStreamTrack) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaStreamTrack" , js_name = onended)]
+ #[doc = "Setter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn set_onended(this: &MediaStreamTrack, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaStreamTrack" , js_name = applyConstraints)]
+ #[doc = "The `applyConstraints()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/applyConstraints)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn apply_constraints(this: &MediaStreamTrack) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "MediaTrackConstraints")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MediaStreamTrack" , js_name = applyConstraints)]
+ #[doc = "The `applyConstraints()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/applyConstraints)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaTrackConstraints`*"]
+ pub fn apply_constraints_with_constraints(
+ this: &MediaStreamTrack,
+ constraints: &MediaTrackConstraints,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "MediaStreamTrack" , js_name = clone)]
+ #[doc = "The `clone()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/clone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn clone(this: &MediaStreamTrack) -> MediaStreamTrack;
+ #[cfg(feature = "MediaTrackConstraints")]
+ # [wasm_bindgen (method , structural , js_class = "MediaStreamTrack" , js_name = getConstraints)]
+ #[doc = "The `getConstraints()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaTrackConstraints`*"]
+ pub fn get_constraints(this: &MediaStreamTrack) -> MediaTrackConstraints;
+ #[cfg(feature = "MediaTrackSettings")]
+ # [wasm_bindgen (method , structural , js_class = "MediaStreamTrack" , js_name = getSettings)]
+ #[doc = "The `getSettings()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaTrackSettings`*"]
+ pub fn get_settings(this: &MediaStreamTrack) -> MediaTrackSettings;
+ # [wasm_bindgen (method , structural , js_class = "MediaStreamTrack" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`*"]
+ pub fn stop(this: &MediaStreamTrack);
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackEvent.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackEvent.rs
new file mode 100644
index 000000000..30884b9ec
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamTrackEvent.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaStreamTrackEvent , typescript_type = "MediaStreamTrackEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamTrackEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackEvent`*"]
+ pub type MediaStreamTrackEvent;
+ #[cfg(feature = "MediaStreamTrack")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamTrackEvent" , js_name = track)]
+ #[doc = "Getter for the `track` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackEvent/track)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaStreamTrackEvent`*"]
+ pub fn track(this: &MediaStreamTrackEvent) -> MediaStreamTrack;
+ #[cfg(feature = "MediaStreamTrackEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaStreamTrackEvent")]
+ #[doc = "The `new MediaStreamTrackEvent(..)` constructor, creating a new instance of `MediaStreamTrackEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackEvent/MediaStreamTrackEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackEvent`, `MediaStreamTrackEventInit`*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &MediaStreamTrackEventInit,
+ ) -> Result<MediaStreamTrackEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackEventInit.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackEventInit.rs
new file mode 100644
index 000000000..4657ef56b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamTrackEventInit.rs
@@ -0,0 +1,89 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaStreamTrackEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamTrackEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackEventInit`*"]
+ pub type MediaStreamTrackEventInit;
+}
+impl MediaStreamTrackEventInit {
+ #[cfg(feature = "MediaStreamTrack")]
+ #[doc = "Construct a new `MediaStreamTrackEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaStreamTrackEventInit`*"]
+ pub fn new(track: &MediaStreamTrack) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.track(track);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "MediaStreamTrack")]
+ #[doc = "Change the `track` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaStreamTrackEventInit`*"]
+ pub fn track(&mut self, val: &MediaStreamTrack) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("track"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackGenerator.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackGenerator.rs
new file mode 100644
index 000000000..eed765756
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamTrackGenerator.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = MediaStreamTrack , extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaStreamTrackGenerator , typescript_type = "MediaStreamTrackGenerator")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamTrackGenerator` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackGenerator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackGenerator`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type MediaStreamTrackGenerator;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "WritableStream")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamTrackGenerator" , js_name = writable)]
+ #[doc = "Getter for the `writable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackGenerator/writable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackGenerator`, `WritableStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn writable(this: &MediaStreamTrackGenerator) -> WritableStream;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "WritableStream")]
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaStreamTrackGenerator" , js_name = writable)]
+ #[doc = "Setter for the `writable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackGenerator/writable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackGenerator`, `WritableStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_writable(this: &MediaStreamTrackGenerator, value: &WritableStream);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaStreamTrackGeneratorInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaStreamTrackGenerator")]
+ #[doc = "The `new MediaStreamTrackGenerator(..)` constructor, creating a new instance of `MediaStreamTrackGenerator`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackGenerator/MediaStreamTrackGenerator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackGenerator`, `MediaStreamTrackGeneratorInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(init: &MediaStreamTrackGeneratorInit) -> Result<MediaStreamTrackGenerator, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackGeneratorInit.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackGeneratorInit.rs
new file mode 100644
index 000000000..fc666fd7b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamTrackGeneratorInit.rs
@@ -0,0 +1,48 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaStreamTrackGeneratorInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamTrackGeneratorInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackGeneratorInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type MediaStreamTrackGeneratorInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl MediaStreamTrackGeneratorInit {
+ #[doc = "Construct a new `MediaStreamTrackGeneratorInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackGeneratorInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(kind: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.kind(kind);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `kind` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackGeneratorInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn kind(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("kind"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackProcessor.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackProcessor.rs
new file mode 100644
index 000000000..8f3b04980
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamTrackProcessor.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaStreamTrackProcessor , typescript_type = "MediaStreamTrackProcessor")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamTrackProcessor` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackProcessor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type MediaStreamTrackProcessor;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ReadableStream")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamTrackProcessor" , js_name = readable)]
+ #[doc = "Getter for the `readable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackProcessor/readable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackProcessor`, `ReadableStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn readable(this: &MediaStreamTrackProcessor) -> ReadableStream;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ReadableStream")]
+ # [wasm_bindgen (structural , method , setter , js_class = "MediaStreamTrackProcessor" , js_name = readable)]
+ #[doc = "Setter for the `readable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackProcessor/readable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackProcessor`, `ReadableStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_readable(this: &MediaStreamTrackProcessor, value: &ReadableStream);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaStreamTrackProcessorInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MediaStreamTrackProcessor")]
+ #[doc = "The `new MediaStreamTrackProcessor(..)` constructor, creating a new instance of `MediaStreamTrackProcessor`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackProcessor/MediaStreamTrackProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackProcessor`, `MediaStreamTrackProcessorInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(init: &MediaStreamTrackProcessorInit) -> Result<MediaStreamTrackProcessor, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackProcessorInit.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackProcessorInit.rs
new file mode 100644
index 000000000..8ce1dff7a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamTrackProcessorInit.rs
@@ -0,0 +1,71 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaStreamTrackProcessorInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaStreamTrackProcessorInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackProcessorInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type MediaStreamTrackProcessorInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl MediaStreamTrackProcessorInit {
+ #[cfg(feature = "MediaStreamTrack")]
+ #[doc = "Construct a new `MediaStreamTrackProcessorInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaStreamTrackProcessorInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(track: &MediaStreamTrack) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.track(track);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `maxBufferSize` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackProcessorInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn max_buffer_size(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maxBufferSize"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaStreamTrack")]
+ #[doc = "Change the `track` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaStreamTrackProcessorInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn track(&mut self, val: &MediaStreamTrack) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("track"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackState.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackState.rs
new file mode 100644
index 000000000..66d23902a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaStreamTrackState.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MediaStreamTrackState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MediaStreamTrackState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MediaStreamTrackState {
+ Live = "live",
+ Ended = "ended",
+}
diff --git a/vendor/web-sys/src/features/gen_MediaTrackConstraintSet.rs b/vendor/web-sys/src/features/gen_MediaTrackConstraintSet.rs
new file mode 100644
index 000000000..f89ab83c1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaTrackConstraintSet.rs
@@ -0,0 +1,292 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaTrackConstraintSet)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaTrackConstraintSet` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub type MediaTrackConstraintSet;
+}
+impl MediaTrackConstraintSet {
+ #[doc = "Construct a new `MediaTrackConstraintSet`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `autoGainControl` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn auto_gain_control(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("autoGainControl"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `browserWindow` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn browser_window(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("browserWindow"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn channel_count(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `deviceId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn device_id(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("deviceId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `echoCancellation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn echo_cancellation(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("echoCancellation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `facingMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn facing_mode(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("facingMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `frameRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn frame_rate(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frameRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn height(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("height"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mediaSource` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn media_source(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mediaSource"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `noiseSuppression` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn noise_suppression(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("noiseSuppression"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `scrollWithPage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn scroll_with_page(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("scrollWithPage"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `viewportHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn viewport_height(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("viewportHeight"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `viewportOffsetX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn viewport_offset_x(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("viewportOffsetX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `viewportOffsetY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn viewport_offset_y(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("viewportOffsetY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `viewportWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn viewport_width(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("viewportWidth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraintSet`*"]
+ pub fn width(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("width"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaTrackConstraintSet {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaTrackConstraints.rs b/vendor/web-sys/src/features/gen_MediaTrackConstraints.rs
new file mode 100644
index 000000000..8f76b7964
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaTrackConstraints.rs
@@ -0,0 +1,309 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaTrackConstraints)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaTrackConstraints` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub type MediaTrackConstraints;
+}
+impl MediaTrackConstraints {
+ #[doc = "Construct a new `MediaTrackConstraints`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `autoGainControl` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn auto_gain_control(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("autoGainControl"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `browserWindow` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn browser_window(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("browserWindow"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn channel_count(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `deviceId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn device_id(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("deviceId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `echoCancellation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn echo_cancellation(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("echoCancellation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `facingMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn facing_mode(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("facingMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `frameRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn frame_rate(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frameRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn height(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("height"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mediaSource` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn media_source(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mediaSource"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `noiseSuppression` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn noise_suppression(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("noiseSuppression"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `scrollWithPage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn scroll_with_page(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("scrollWithPage"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `viewportHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn viewport_height(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("viewportHeight"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `viewportOffsetX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn viewport_offset_x(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("viewportOffsetX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `viewportOffsetY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn viewport_offset_y(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("viewportOffsetY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `viewportWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn viewport_width(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("viewportWidth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn width(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("width"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `advanced` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackConstraints`*"]
+ pub fn advanced(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("advanced"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaTrackConstraints {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaTrackSettings.rs b/vendor/web-sys/src/features/gen_MediaTrackSettings.rs
new file mode 100644
index 000000000..e279a5595
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaTrackSettings.rs
@@ -0,0 +1,173 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaTrackSettings)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaTrackSettings` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSettings`*"]
+ pub type MediaTrackSettings;
+}
+impl MediaTrackSettings {
+ #[doc = "Construct a new `MediaTrackSettings`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSettings`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `autoGainControl` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSettings`*"]
+ pub fn auto_gain_control(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("autoGainControl"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSettings`*"]
+ pub fn channel_count(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `deviceId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSettings`*"]
+ pub fn device_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("deviceId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `echoCancellation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSettings`*"]
+ pub fn echo_cancellation(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("echoCancellation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `facingMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSettings`*"]
+ pub fn facing_mode(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("facingMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `frameRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSettings`*"]
+ pub fn frame_rate(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frameRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSettings`*"]
+ pub fn height(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("height"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `noiseSuppression` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSettings`*"]
+ pub fn noise_suppression(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("noiseSuppression"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSettings`*"]
+ pub fn width(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("width"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaTrackSettings {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MediaTrackSupportedConstraints.rs b/vendor/web-sys/src/features/gen_MediaTrackSupportedConstraints.rs
new file mode 100644
index 000000000..068ae203e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MediaTrackSupportedConstraints.rs
@@ -0,0 +1,272 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaTrackSupportedConstraints)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MediaTrackSupportedConstraints` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub type MediaTrackSupportedConstraints;
+}
+impl MediaTrackSupportedConstraints {
+ #[doc = "Construct a new `MediaTrackSupportedConstraints`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `aspectRatio` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn aspect_ratio(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("aspectRatio"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `autoGainControl` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn auto_gain_control(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("autoGainControl"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn channel_count(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `deviceId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn device_id(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("deviceId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `echoCancellation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn echo_cancellation(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("echoCancellation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `facingMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn facing_mode(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("facingMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `frameRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn frame_rate(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frameRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `groupId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn group_id(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("groupId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn height(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("height"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `latency` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn latency(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("latency"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `noiseSuppression` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn noise_suppression(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("noiseSuppression"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn sample_rate(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampleRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sampleSize` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn sample_size(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampleSize"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `volume` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn volume(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("volume"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaTrackSupportedConstraints`*"]
+ pub fn width(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("width"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MediaTrackSupportedConstraints {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MessageChannel.rs b/vendor/web-sys/src/features/gen_MessageChannel.rs
new file mode 100644
index 000000000..4422c14af
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MessageChannel.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MessageChannel , typescript_type = "MessageChannel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MessageChannel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageChannel`*"]
+ pub type MessageChannel;
+ #[cfg(feature = "MessagePort")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MessageChannel" , js_name = port1)]
+ #[doc = "Getter for the `port1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/port1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageChannel`, `MessagePort`*"]
+ pub fn port1(this: &MessageChannel) -> MessagePort;
+ #[cfg(feature = "MessagePort")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MessageChannel" , js_name = port2)]
+ #[doc = "Getter for the `port2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/port2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageChannel`, `MessagePort`*"]
+ pub fn port2(this: &MessageChannel) -> MessagePort;
+ #[wasm_bindgen(catch, constructor, js_class = "MessageChannel")]
+ #[doc = "The `new MessageChannel(..)` constructor, creating a new instance of `MessageChannel`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/MessageChannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageChannel`*"]
+ pub fn new() -> Result<MessageChannel, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MessageEvent.rs b/vendor/web-sys/src/features/gen_MessageEvent.rs
new file mode 100644
index 000000000..89df39942
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MessageEvent.rs
@@ -0,0 +1,240 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MessageEvent , typescript_type = "MessageEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MessageEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub type MessageEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "MessageEvent" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub fn data(this: &MessageEvent) -> ::wasm_bindgen::JsValue;
+ # [wasm_bindgen (structural , method , getter , js_class = "MessageEvent" , js_name = origin)]
+ #[doc = "Getter for the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/origin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub fn origin(this: &MessageEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MessageEvent" , js_name = lastEventId)]
+ #[doc = "Getter for the `lastEventId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/lastEventId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub fn last_event_id(this: &MessageEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MessageEvent" , js_name = source)]
+ #[doc = "Getter for the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/source)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub fn source(this: &MessageEvent) -> Option<::js_sys::Object>;
+ # [wasm_bindgen (structural , method , getter , js_class = "MessageEvent" , js_name = ports)]
+ #[doc = "Getter for the `ports` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/ports)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub fn ports(this: &MessageEvent) -> ::js_sys::Array;
+ #[wasm_bindgen(catch, constructor, js_class = "MessageEvent")]
+ #[doc = "The `new MessageEvent(..)` constructor, creating a new instance of `MessageEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/MessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub fn new(type_: &str) -> Result<MessageEvent, JsValue>;
+ #[cfg(feature = "MessageEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MessageEvent")]
+ #[doc = "The `new MessageEvent(..)` constructor, creating a new instance of `MessageEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/MessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`, `MessageEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &MessageEventInit,
+ ) -> Result<MessageEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "MessageEvent" , js_name = initMessageEvent)]
+ #[doc = "The `initMessageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub fn init_message_event(this: &MessageEvent, type_: &str);
+ # [wasm_bindgen (method , structural , js_class = "MessageEvent" , js_name = initMessageEvent)]
+ #[doc = "The `initMessageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub fn init_message_event_with_bubbles(this: &MessageEvent, type_: &str, bubbles: bool);
+ # [wasm_bindgen (method , structural , js_class = "MessageEvent" , js_name = initMessageEvent)]
+ #[doc = "The `initMessageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub fn init_message_event_with_bubbles_and_cancelable(
+ this: &MessageEvent,
+ type_: &str,
+ bubbles: bool,
+ cancelable: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "MessageEvent" , js_name = initMessageEvent)]
+ #[doc = "The `initMessageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub fn init_message_event_with_bubbles_and_cancelable_and_data(
+ this: &MessageEvent,
+ type_: &str,
+ bubbles: bool,
+ cancelable: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "MessageEvent" , js_name = initMessageEvent)]
+ #[doc = "The `initMessageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin(
+ this: &MessageEvent,
+ type_: &str,
+ bubbles: bool,
+ cancelable: bool,
+ data: &::wasm_bindgen::JsValue,
+ origin: &str,
+ );
+ # [wasm_bindgen (method , structural , js_class = "MessageEvent" , js_name = initMessageEvent)]
+ #[doc = "The `initMessageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`*"]
+ pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id(
+ this: &MessageEvent,
+ type_: &str,
+ bubbles: bool,
+ cancelable: bool,
+ data: &::wasm_bindgen::JsValue,
+ origin: &str,
+ last_event_id: &str,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MessageEvent" , js_name = initMessageEvent)]
+ #[doc = "The `initMessageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`, `Window`*"]
+ pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_window(
+ this: &MessageEvent,
+ type_: &str,
+ bubbles: bool,
+ cancelable: bool,
+ data: &::wasm_bindgen::JsValue,
+ origin: &str,
+ last_event_id: &str,
+ source: Option<&Window>,
+ );
+ #[cfg(feature = "MessagePort")]
+ # [wasm_bindgen (method , structural , js_class = "MessageEvent" , js_name = initMessageEvent)]
+ #[doc = "The `initMessageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`, `MessagePort`*"]
+ pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_message_port(
+ this: &MessageEvent,
+ type_: &str,
+ bubbles: bool,
+ cancelable: bool,
+ data: &::wasm_bindgen::JsValue,
+ origin: &str,
+ last_event_id: &str,
+ source: Option<&MessagePort>,
+ );
+ #[cfg(feature = "ServiceWorker")]
+ # [wasm_bindgen (method , structural , js_class = "MessageEvent" , js_name = initMessageEvent)]
+ #[doc = "The `initMessageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`, `ServiceWorker`*"]
+ pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_service_worker(
+ this: &MessageEvent,
+ type_: &str,
+ bubbles: bool,
+ cancelable: bool,
+ data: &::wasm_bindgen::JsValue,
+ origin: &str,
+ last_event_id: &str,
+ source: Option<&ServiceWorker>,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MessageEvent" , js_name = initMessageEvent)]
+ #[doc = "The `initMessageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`, `Window`*"]
+ pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_window_and_ports(
+ this: &MessageEvent,
+ type_: &str,
+ bubbles: bool,
+ cancelable: bool,
+ data: &::wasm_bindgen::JsValue,
+ origin: &str,
+ last_event_id: &str,
+ source: Option<&Window>,
+ ports: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "MessagePort")]
+ # [wasm_bindgen (method , structural , js_class = "MessageEvent" , js_name = initMessageEvent)]
+ #[doc = "The `initMessageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`, `MessagePort`*"]
+ pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_message_port_and_ports(
+ this: &MessageEvent,
+ type_: &str,
+ bubbles: bool,
+ cancelable: bool,
+ data: &::wasm_bindgen::JsValue,
+ origin: &str,
+ last_event_id: &str,
+ source: Option<&MessagePort>,
+ ports: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "ServiceWorker")]
+ # [wasm_bindgen (method , structural , js_class = "MessageEvent" , js_name = initMessageEvent)]
+ #[doc = "The `initMessageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEvent`, `ServiceWorker`*"]
+ pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_service_worker_and_ports(
+ this: &MessageEvent,
+ type_: &str,
+ bubbles: bool,
+ cancelable: bool,
+ data: &::wasm_bindgen::JsValue,
+ origin: &str,
+ last_event_id: &str,
+ source: Option<&ServiceWorker>,
+ ports: &::wasm_bindgen::JsValue,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_MessageEventInit.rs b/vendor/web-sys/src/features/gen_MessageEventInit.rs
new file mode 100644
index 000000000..86092746e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MessageEventInit.rs
@@ -0,0 +1,149 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MessageEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MessageEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEventInit`*"]
+ pub type MessageEventInit;
+}
+impl MessageEventInit {
+ #[doc = "Construct a new `MessageEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEventInit`*"]
+ pub fn data(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `lastEventId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEventInit`*"]
+ pub fn last_event_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lastEventId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEventInit`*"]
+ pub fn origin(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("origin"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ports` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEventInit`*"]
+ pub fn ports(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ports"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessageEventInit`*"]
+ pub fn source(&mut self, val: Option<&::js_sys::Object>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("source"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MessageEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MessagePort.rs b/vendor/web-sys/src/features/gen_MessagePort.rs
new file mode 100644
index 000000000..2eaf463d0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MessagePort.rs
@@ -0,0 +1,77 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MessagePort , typescript_type = "MessagePort")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MessagePort` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessagePort`*"]
+ pub type MessagePort;
+ # [wasm_bindgen (structural , method , getter , js_class = "MessagePort" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessagePort`*"]
+ pub fn onmessage(this: &MessagePort) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MessagePort" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessagePort`*"]
+ pub fn set_onmessage(this: &MessagePort, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "MessagePort" , js_name = onmessageerror)]
+ #[doc = "Getter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessagePort`*"]
+ pub fn onmessageerror(this: &MessagePort) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MessagePort" , js_name = onmessageerror)]
+ #[doc = "Setter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessagePort`*"]
+ pub fn set_onmessageerror(this: &MessagePort, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (method , structural , js_class = "MessagePort" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessagePort`*"]
+ pub fn close(this: &MessagePort);
+ # [wasm_bindgen (catch , method , structural , js_class = "MessagePort" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessagePort`*"]
+ pub fn post_message(
+ this: &MessagePort,
+ message: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MessagePort" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessagePort`*"]
+ pub fn post_message_with_transferable(
+ this: &MessagePort,
+ message: &::wasm_bindgen::JsValue,
+ transferable: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "MessagePort" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessagePort`*"]
+ pub fn start(this: &MessagePort);
+}
diff --git a/vendor/web-sys/src/features/gen_MidiAccess.rs b/vendor/web-sys/src/features/gen_MidiAccess.rs
new file mode 100644
index 000000000..4c0db7544
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiAccess.rs
@@ -0,0 +1,51 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MIDIAccess , typescript_type = "MIDIAccess")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MidiAccess` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiAccess`*"]
+ pub type MidiAccess;
+ #[cfg(feature = "MidiInputMap")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIAccess" , js_name = inputs)]
+ #[doc = "Getter for the `inputs` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/inputs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiAccess`, `MidiInputMap`*"]
+ pub fn inputs(this: &MidiAccess) -> MidiInputMap;
+ #[cfg(feature = "MidiOutputMap")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIAccess" , js_name = outputs)]
+ #[doc = "Getter for the `outputs` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/outputs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiAccess`, `MidiOutputMap`*"]
+ pub fn outputs(this: &MidiAccess) -> MidiOutputMap;
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIAccess" , js_name = onstatechange)]
+ #[doc = "Getter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiAccess`*"]
+ pub fn onstatechange(this: &MidiAccess) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MIDIAccess" , js_name = onstatechange)]
+ #[doc = "Setter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiAccess`*"]
+ pub fn set_onstatechange(this: &MidiAccess, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIAccess" , js_name = sysexEnabled)]
+ #[doc = "Getter for the `sysexEnabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/sysexEnabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiAccess`*"]
+ pub fn sysex_enabled(this: &MidiAccess) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_MidiConnectionEvent.rs b/vendor/web-sys/src/features/gen_MidiConnectionEvent.rs
new file mode 100644
index 000000000..03adeb7d6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiConnectionEvent.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MIDIConnectionEvent , typescript_type = "MIDIConnectionEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MidiConnectionEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIConnectionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiConnectionEvent`*"]
+ pub type MidiConnectionEvent;
+ #[cfg(feature = "MidiPort")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIConnectionEvent" , js_name = port)]
+ #[doc = "Getter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIConnectionEvent/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiConnectionEvent`, `MidiPort`*"]
+ pub fn port(this: &MidiConnectionEvent) -> Option<MidiPort>;
+ #[wasm_bindgen(catch, constructor, js_class = "MIDIConnectionEvent")]
+ #[doc = "The `new MidiConnectionEvent(..)` constructor, creating a new instance of `MidiConnectionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIConnectionEvent/MIDIConnectionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiConnectionEvent`*"]
+ pub fn new(type_: &str) -> Result<MidiConnectionEvent, JsValue>;
+ #[cfg(feature = "MidiConnectionEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MIDIConnectionEvent")]
+ #[doc = "The `new MidiConnectionEvent(..)` constructor, creating a new instance of `MidiConnectionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIConnectionEvent/MIDIConnectionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiConnectionEvent`, `MidiConnectionEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &MidiConnectionEventInit,
+ ) -> Result<MidiConnectionEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MidiConnectionEventInit.rs b/vendor/web-sys/src/features/gen_MidiConnectionEventInit.rs
new file mode 100644
index 000000000..3b863c8cb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiConnectionEventInit.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MIDIConnectionEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MidiConnectionEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiConnectionEventInit`*"]
+ pub type MidiConnectionEventInit;
+}
+impl MidiConnectionEventInit {
+ #[doc = "Construct a new `MidiConnectionEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiConnectionEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiConnectionEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiConnectionEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiConnectionEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "MidiPort")]
+ #[doc = "Change the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiConnectionEventInit`, `MidiPort`*"]
+ pub fn port(&mut self, val: Option<&MidiPort>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("port"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MidiConnectionEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MidiInput.rs b/vendor/web-sys/src/features/gen_MidiInput.rs
new file mode 100644
index 000000000..d481aa2e9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiInput.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = MidiPort , extends = EventTarget , extends = :: js_sys :: Object , js_name = MIDIInput , typescript_type = "MIDIInput")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MidiInput` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInput)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiInput`*"]
+ pub type MidiInput;
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIInput" , js_name = onmidimessage)]
+ #[doc = "Getter for the `onmidimessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInput/onmidimessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiInput`*"]
+ pub fn onmidimessage(this: &MidiInput) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MIDIInput" , js_name = onmidimessage)]
+ #[doc = "Setter for the `onmidimessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInput/onmidimessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiInput`*"]
+ pub fn set_onmidimessage(this: &MidiInput, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_MidiInputMap.rs b/vendor/web-sys/src/features/gen_MidiInputMap.rs
new file mode 100644
index 000000000..c0a409412
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiInputMap.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MIDIInputMap , typescript_type = "MIDIInputMap")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MidiInputMap` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInputMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiInputMap`*"]
+ pub type MidiInputMap;
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIInputMap" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInputMap/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiInputMap`*"]
+ pub fn size(this: &MidiInputMap) -> u32;
+ # [wasm_bindgen (method , structural , js_class = "MIDIInputMap" , js_name = entries)]
+ #[doc = "The `entries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInputMap/entries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiInputMap`*"]
+ pub fn entries(this: &MidiInputMap) -> ::js_sys::Iterator;
+ # [wasm_bindgen (catch , method , structural , js_class = "MIDIInputMap" , js_name = forEach)]
+ #[doc = "The `forEach()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInputMap/forEach)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiInputMap`*"]
+ pub fn for_each(this: &MidiInputMap, callback: &::js_sys::Function) -> Result<(), JsValue>;
+ #[cfg(feature = "MidiInput")]
+ # [wasm_bindgen (method , structural , js_class = "MIDIInputMap" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInputMap/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiInput`, `MidiInputMap`*"]
+ pub fn get(this: &MidiInputMap, key: &str) -> Option<MidiInput>;
+ # [wasm_bindgen (method , structural , js_class = "MIDIInputMap" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInputMap/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiInputMap`*"]
+ pub fn has(this: &MidiInputMap, key: &str) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "MIDIInputMap" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInputMap/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiInputMap`*"]
+ pub fn keys(this: &MidiInputMap) -> ::js_sys::Iterator;
+ # [wasm_bindgen (method , structural , js_class = "MIDIInputMap" , js_name = values)]
+ #[doc = "The `values()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInputMap/values)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiInputMap`*"]
+ pub fn values(this: &MidiInputMap) -> ::js_sys::Iterator;
+}
diff --git a/vendor/web-sys/src/features/gen_MidiMessageEvent.rs b/vendor/web-sys/src/features/gen_MidiMessageEvent.rs
new file mode 100644
index 000000000..f4462faf7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiMessageEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MIDIMessageEvent , typescript_type = "MIDIMessageEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MidiMessageEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiMessageEvent`*"]
+ pub type MidiMessageEvent;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "MIDIMessageEvent" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIMessageEvent/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiMessageEvent`*"]
+ pub fn data(this: &MidiMessageEvent) -> Result<Vec<u8>, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "MIDIMessageEvent")]
+ #[doc = "The `new MidiMessageEvent(..)` constructor, creating a new instance of `MidiMessageEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIMessageEvent/MIDIMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiMessageEvent`*"]
+ pub fn new(type_: &str) -> Result<MidiMessageEvent, JsValue>;
+ #[cfg(feature = "MidiMessageEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MIDIMessageEvent")]
+ #[doc = "The `new MidiMessageEvent(..)` constructor, creating a new instance of `MidiMessageEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIMessageEvent/MIDIMessageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiMessageEvent`, `MidiMessageEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &MidiMessageEventInit,
+ ) -> Result<MidiMessageEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MidiMessageEventInit.rs b/vendor/web-sys/src/features/gen_MidiMessageEventInit.rs
new file mode 100644
index 000000000..b1c6e943e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiMessageEventInit.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MIDIMessageEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MidiMessageEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiMessageEventInit`*"]
+ pub type MidiMessageEventInit;
+}
+impl MidiMessageEventInit {
+ #[doc = "Construct a new `MidiMessageEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiMessageEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiMessageEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiMessageEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiMessageEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MidiMessageEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MidiOptions.rs b/vendor/web-sys/src/features/gen_MidiOptions.rs
new file mode 100644
index 000000000..d1e320d78
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiOptions.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MIDIOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MidiOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOptions`*"]
+ pub type MidiOptions;
+}
+impl MidiOptions {
+ #[doc = "Construct a new `MidiOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `software` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOptions`*"]
+ pub fn software(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("software"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sysex` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOptions`*"]
+ pub fn sysex(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("sysex"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MidiOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MidiOutput.rs b/vendor/web-sys/src/features/gen_MidiOutput.rs
new file mode 100644
index 000000000..8dc8a7aae
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiOutput.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = MidiPort , extends = EventTarget , extends = :: js_sys :: Object , js_name = MIDIOutput , typescript_type = "MIDIOutput")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MidiOutput` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutput)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOutput`*"]
+ pub type MidiOutput;
+ # [wasm_bindgen (method , structural , js_class = "MIDIOutput" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutput/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOutput`*"]
+ pub fn clear(this: &MidiOutput);
+ # [wasm_bindgen (catch , method , structural , js_class = "MIDIOutput" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutput/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOutput`*"]
+ pub fn send(this: &MidiOutput, data: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MIDIOutput" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutput/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOutput`*"]
+ pub fn send_with_timestamp(
+ this: &MidiOutput,
+ data: &::wasm_bindgen::JsValue,
+ timestamp: f64,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_MidiOutputMap.rs b/vendor/web-sys/src/features/gen_MidiOutputMap.rs
new file mode 100644
index 000000000..e0b9f86f1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiOutputMap.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MIDIOutputMap , typescript_type = "MIDIOutputMap")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MidiOutputMap` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutputMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOutputMap`*"]
+ pub type MidiOutputMap;
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIOutputMap" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutputMap/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOutputMap`*"]
+ pub fn size(this: &MidiOutputMap) -> u32;
+ # [wasm_bindgen (method , structural , js_class = "MIDIOutputMap" , js_name = entries)]
+ #[doc = "The `entries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutputMap/entries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOutputMap`*"]
+ pub fn entries(this: &MidiOutputMap) -> ::js_sys::Iterator;
+ # [wasm_bindgen (catch , method , structural , js_class = "MIDIOutputMap" , js_name = forEach)]
+ #[doc = "The `forEach()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutputMap/forEach)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOutputMap`*"]
+ pub fn for_each(this: &MidiOutputMap, callback: &::js_sys::Function) -> Result<(), JsValue>;
+ #[cfg(feature = "MidiOutput")]
+ # [wasm_bindgen (method , structural , js_class = "MIDIOutputMap" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutputMap/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOutput`, `MidiOutputMap`*"]
+ pub fn get(this: &MidiOutputMap, key: &str) -> Option<MidiOutput>;
+ # [wasm_bindgen (method , structural , js_class = "MIDIOutputMap" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutputMap/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOutputMap`*"]
+ pub fn has(this: &MidiOutputMap, key: &str) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "MIDIOutputMap" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutputMap/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOutputMap`*"]
+ pub fn keys(this: &MidiOutputMap) -> ::js_sys::Iterator;
+ # [wasm_bindgen (method , structural , js_class = "MIDIOutputMap" , js_name = values)]
+ #[doc = "The `values()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutputMap/values)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOutputMap`*"]
+ pub fn values(this: &MidiOutputMap) -> ::js_sys::Iterator;
+}
diff --git a/vendor/web-sys/src/features/gen_MidiPort.rs b/vendor/web-sys/src/features/gen_MidiPort.rs
new file mode 100644
index 000000000..c69a4ee0a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiPort.rs
@@ -0,0 +1,94 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MIDIPort , typescript_type = "MIDIPort")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MidiPort` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiPort`*"]
+ pub type MidiPort;
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIPort" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiPort`*"]
+ pub fn id(this: &MidiPort) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIPort" , js_name = manufacturer)]
+ #[doc = "Getter for the `manufacturer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/manufacturer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiPort`*"]
+ pub fn manufacturer(this: &MidiPort) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIPort" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiPort`*"]
+ pub fn name(this: &MidiPort) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIPort" , js_name = version)]
+ #[doc = "Getter for the `version` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/version)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiPort`*"]
+ pub fn version(this: &MidiPort) -> Option<String>;
+ #[cfg(feature = "MidiPortType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIPort" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiPort`, `MidiPortType`*"]
+ pub fn type_(this: &MidiPort) -> MidiPortType;
+ #[cfg(feature = "MidiPortDeviceState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIPort" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiPort`, `MidiPortDeviceState`*"]
+ pub fn state(this: &MidiPort) -> MidiPortDeviceState;
+ #[cfg(feature = "MidiPortConnectionState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIPort" , js_name = connection)]
+ #[doc = "Getter for the `connection` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/connection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiPort`, `MidiPortConnectionState`*"]
+ pub fn connection(this: &MidiPort) -> MidiPortConnectionState;
+ # [wasm_bindgen (structural , method , getter , js_class = "MIDIPort" , js_name = onstatechange)]
+ #[doc = "Getter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiPort`*"]
+ pub fn onstatechange(this: &MidiPort) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "MIDIPort" , js_name = onstatechange)]
+ #[doc = "Setter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiPort`*"]
+ pub fn set_onstatechange(this: &MidiPort, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (method , structural , js_class = "MIDIPort" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiPort`*"]
+ pub fn close(this: &MidiPort) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "MIDIPort" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiPort`*"]
+ pub fn open(this: &MidiPort) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_MidiPortConnectionState.rs b/vendor/web-sys/src/features/gen_MidiPortConnectionState.rs
new file mode 100644
index 000000000..ae25b7e45
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiPortConnectionState.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MidiPortConnectionState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MidiPortConnectionState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MidiPortConnectionState {
+ Open = "open",
+ Closed = "closed",
+ Pending = "pending",
+}
diff --git a/vendor/web-sys/src/features/gen_MidiPortDeviceState.rs b/vendor/web-sys/src/features/gen_MidiPortDeviceState.rs
new file mode 100644
index 000000000..c443c64ed
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiPortDeviceState.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MidiPortDeviceState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MidiPortDeviceState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MidiPortDeviceState {
+ Disconnected = "disconnected",
+ Connected = "connected",
+}
diff --git a/vendor/web-sys/src/features/gen_MidiPortType.rs b/vendor/web-sys/src/features/gen_MidiPortType.rs
new file mode 100644
index 000000000..d987ea7b4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MidiPortType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `MidiPortType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `MidiPortType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MidiPortType {
+ Input = "input",
+ Output = "output",
+}
diff --git a/vendor/web-sys/src/features/gen_MimeType.rs b/vendor/web-sys/src/features/gen_MimeType.rs
new file mode 100644
index 000000000..1588cb14a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MimeType.rs
@@ -0,0 +1,43 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MimeType , typescript_type = "MimeType")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MimeType` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`*"]
+ pub type MimeType;
+ # [wasm_bindgen (structural , method , getter , js_class = "MimeType" , js_name = description)]
+ #[doc = "Getter for the `description` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType/description)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`*"]
+ pub fn description(this: &MimeType) -> String;
+ #[cfg(feature = "Plugin")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MimeType" , js_name = enabledPlugin)]
+ #[doc = "Getter for the `enabledPlugin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType/enabledPlugin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`, `Plugin`*"]
+ pub fn enabled_plugin(this: &MimeType) -> Option<Plugin>;
+ # [wasm_bindgen (structural , method , getter , js_class = "MimeType" , js_name = suffixes)]
+ #[doc = "Getter for the `suffixes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType/suffixes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`*"]
+ pub fn suffixes(this: &MimeType) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MimeType" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`*"]
+ pub fn type_(this: &MimeType) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_MimeTypeArray.rs b/vendor/web-sys/src/features/gen_MimeTypeArray.rs
new file mode 100644
index 000000000..79fe54a74
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MimeTypeArray.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MimeTypeArray , typescript_type = "MimeTypeArray")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MimeTypeArray` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeTypeArray)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeTypeArray`*"]
+ pub type MimeTypeArray;
+ # [wasm_bindgen (structural , method , getter , js_class = "MimeTypeArray" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeTypeArray/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeTypeArray`*"]
+ pub fn length(this: &MimeTypeArray) -> u32;
+ #[cfg(feature = "MimeType")]
+ # [wasm_bindgen (method , structural , js_class = "MimeTypeArray" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeTypeArray/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*"]
+ pub fn item(this: &MimeTypeArray, index: u32) -> Option<MimeType>;
+ #[cfg(feature = "MimeType")]
+ # [wasm_bindgen (method , structural , js_class = "MimeTypeArray" , js_name = namedItem)]
+ #[doc = "The `namedItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeTypeArray/namedItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*"]
+ pub fn named_item(this: &MimeTypeArray, name: &str) -> Option<MimeType>;
+ #[cfg(feature = "MimeType")]
+ #[wasm_bindgen(method, structural, js_class = "MimeTypeArray", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*"]
+ pub fn get_with_index(this: &MimeTypeArray, index: u32) -> Option<MimeType>;
+ #[cfg(feature = "MimeType")]
+ #[wasm_bindgen(method, structural, js_class = "MimeTypeArray", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*"]
+ pub fn get_with_name(this: &MimeTypeArray, name: &str) -> Option<MimeType>;
+}
diff --git a/vendor/web-sys/src/features/gen_MouseEvent.rs b/vendor/web-sys/src/features/gen_MouseEvent.rs
new file mode 100644
index 000000000..3a44e137e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MouseEvent.rs
@@ -0,0 +1,430 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = UiEvent , extends = Event , extends = :: js_sys :: Object , js_name = MouseEvent , typescript_type = "MouseEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MouseEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub type MouseEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = screenX)]
+ #[doc = "Getter for the `screenX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/screenX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn screen_x(this: &MouseEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = screenY)]
+ #[doc = "Getter for the `screenY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/screenY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn screen_y(this: &MouseEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = clientX)]
+ #[doc = "Getter for the `clientX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/clientX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn client_x(this: &MouseEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = clientY)]
+ #[doc = "Getter for the `clientY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/clientY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn client_y(this: &MouseEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn x(this: &MouseEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn y(this: &MouseEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = offsetX)]
+ #[doc = "Getter for the `offsetX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/offsetX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn offset_x(this: &MouseEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = offsetY)]
+ #[doc = "Getter for the `offsetY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/offsetY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn offset_y(this: &MouseEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = ctrlKey)]
+ #[doc = "Getter for the `ctrlKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/ctrlKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn ctrl_key(this: &MouseEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = shiftKey)]
+ #[doc = "Getter for the `shiftKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/shiftKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn shift_key(this: &MouseEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = altKey)]
+ #[doc = "Getter for the `altKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/altKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn alt_key(this: &MouseEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = metaKey)]
+ #[doc = "Getter for the `metaKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/metaKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn meta_key(this: &MouseEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = button)]
+ #[doc = "Getter for the `button` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn button(this: &MouseEvent) -> i16;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = buttons)]
+ #[doc = "Getter for the `buttons` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn buttons(this: &MouseEvent) -> u16;
+ #[cfg(feature = "EventTarget")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = relatedTarget)]
+ #[doc = "Getter for the `relatedTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/relatedTarget)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`, `MouseEvent`*"]
+ pub fn related_target(this: &MouseEvent) -> Option<EventTarget>;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = region)]
+ #[doc = "Getter for the `region` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/region)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn region(this: &MouseEvent) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = movementX)]
+ #[doc = "Getter for the `movementX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn movement_x(this: &MouseEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseEvent" , js_name = movementY)]
+ #[doc = "Getter for the `movementY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn movement_y(this: &MouseEvent) -> i32;
+ #[wasm_bindgen(catch, constructor, js_class = "MouseEvent")]
+ #[doc = "The `new MouseEvent(..)` constructor, creating a new instance of `MouseEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn new(type_arg: &str) -> Result<MouseEvent, JsValue>;
+ #[cfg(feature = "MouseEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "MouseEvent")]
+ #[doc = "The `new MouseEvent(..)` constructor, creating a new instance of `MouseEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`, `MouseEventInit`*"]
+ pub fn new_with_mouse_event_init_dict(
+ type_arg: &str,
+ mouse_event_init_dict: &MouseEventInit,
+ ) -> Result<MouseEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = getModifierState)]
+ #[doc = "The `getModifierState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/getModifierState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn get_modifier_state(this: &MouseEvent, key_arg: &str) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn init_mouse_event(this: &MouseEvent, type_arg: &str);
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn init_mouse_event_with_can_bubble_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`, `Window`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`, `Window`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ detail_arg: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`, `Window`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ detail_arg: i32,
+ screen_x_arg: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`, `Window`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ detail_arg: i32,
+ screen_x_arg: i32,
+ screen_y_arg: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`, `Window`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ detail_arg: i32,
+ screen_x_arg: i32,
+ screen_y_arg: i32,
+ client_x_arg: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`, `Window`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ detail_arg: i32,
+ screen_x_arg: i32,
+ screen_y_arg: i32,
+ client_x_arg: i32,
+ client_y_arg: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`, `Window`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ detail_arg: i32,
+ screen_x_arg: i32,
+ screen_y_arg: i32,
+ client_x_arg: i32,
+ client_y_arg: i32,
+ ctrl_key_arg: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`, `Window`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ detail_arg: i32,
+ screen_x_arg: i32,
+ screen_y_arg: i32,
+ client_x_arg: i32,
+ client_y_arg: i32,
+ ctrl_key_arg: bool,
+ alt_key_arg: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`, `Window`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ detail_arg: i32,
+ screen_x_arg: i32,
+ screen_y_arg: i32,
+ client_x_arg: i32,
+ client_y_arg: i32,
+ ctrl_key_arg: bool,
+ alt_key_arg: bool,
+ shift_key_arg: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`, `Window`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ detail_arg: i32,
+ screen_x_arg: i32,
+ screen_y_arg: i32,
+ client_x_arg: i32,
+ client_y_arg: i32,
+ ctrl_key_arg: bool,
+ alt_key_arg: bool,
+ shift_key_arg: bool,
+ meta_key_arg: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEvent`, `Window`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ detail_arg: i32,
+ screen_x_arg: i32,
+ screen_y_arg: i32,
+ client_x_arg: i32,
+ client_y_arg: i32,
+ ctrl_key_arg: bool,
+ alt_key_arg: bool,
+ shift_key_arg: bool,
+ meta_key_arg: bool,
+ button_arg: i16,
+ );
+ #[cfg(all(feature = "EventTarget", feature = "Window",))]
+ # [wasm_bindgen (method , structural , js_class = "MouseEvent" , js_name = initMouseEvent)]
+ #[doc = "The `initMouseEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`, `MouseEvent`, `Window`*"]
+ pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg_and_related_target_arg(
+ this: &MouseEvent,
+ type_arg: &str,
+ can_bubble_arg: bool,
+ cancelable_arg: bool,
+ view_arg: Option<&Window>,
+ detail_arg: i32,
+ screen_x_arg: i32,
+ screen_y_arg: i32,
+ client_x_arg: i32,
+ client_y_arg: i32,
+ ctrl_key_arg: bool,
+ alt_key_arg: bool,
+ shift_key_arg: bool,
+ meta_key_arg: bool,
+ button_arg: i16,
+ related_target_arg: Option<&EventTarget>,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_MouseEventInit.rs b/vendor/web-sys/src/features/gen_MouseEventInit.rs
new file mode 100644
index 000000000..def45c9f4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MouseEventInit.rs
@@ -0,0 +1,475 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MouseEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MouseEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub type MouseEventInit;
+}
+impl MouseEventInit {
+ #[doc = "Construct a new `MouseEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn detail(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detail"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Window")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`, `Window`*"]
+ pub fn view(&mut self, val: Option<&Window>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `altKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn alt_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("altKey"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ctrlKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn ctrl_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ctrlKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `metaKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn meta_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("metaKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierAltGraph` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn modifier_alt_graph(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierAltGraph"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierCapsLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn modifier_caps_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierCapsLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFn` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn modifier_fn(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFn"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFnLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn modifier_fn_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFnLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierNumLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn modifier_num_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierNumLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierOS` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn modifier_os(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierOS"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierScrollLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn modifier_scroll_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierScrollLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbol` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn modifier_symbol(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbol"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbolLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn modifier_symbol_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbolLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `shiftKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn shift_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("shiftKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `button` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn button(&mut self, val: i16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("button"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `buttons` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn buttons(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("buttons"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `clientX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn client_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `clientY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn client_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `movementX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn movement_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("movementX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `movementY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn movement_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("movementY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "EventTarget")]
+ #[doc = "Change the `relatedTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`, `MouseEventInit`*"]
+ pub fn related_target(&mut self, val: Option<&EventTarget>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("relatedTarget"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `screenX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn screen_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("screenX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `screenY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseEventInit`*"]
+ pub fn screen_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("screenY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MouseEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MouseScrollEvent.rs b/vendor/web-sys/src/features/gen_MouseScrollEvent.rs
new file mode 100644
index 000000000..01d297011
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MouseScrollEvent.rs
@@ -0,0 +1,321 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = MouseEvent , extends = UiEvent , extends = Event , extends = :: js_sys :: Object , js_name = MouseScrollEvent , typescript_type = "MouseScrollEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MouseScrollEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`*"]
+ pub type MouseScrollEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "MouseScrollEvent" , js_name = axis)]
+ #[doc = "Getter for the `axis` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/axis)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`*"]
+ pub fn axis(this: &MouseScrollEvent) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`*"]
+ pub fn init_mouse_scroll_event(this: &MouseScrollEvent, type_: &str);
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ screen_x: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ screen_x: i32,
+ screen_y: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ screen_x: i32,
+ screen_y: i32,
+ client_x: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ screen_x: i32,
+ screen_y: i32,
+ client_x: i32,
+ client_y: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ screen_x: i32,
+ screen_y: i32,
+ client_x: i32,
+ client_y: i32,
+ ctrl_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ screen_x: i32,
+ screen_y: i32,
+ client_x: i32,
+ client_y: i32,
+ ctrl_key: bool,
+ alt_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ screen_x: i32,
+ screen_y: i32,
+ client_x: i32,
+ client_y: i32,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ screen_x: i32,
+ screen_y: i32,
+ client_x: i32,
+ client_y: i32,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ meta_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ screen_x: i32,
+ screen_y: i32,
+ client_x: i32,
+ client_y: i32,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ meta_key: bool,
+ button: i16,
+ );
+ #[cfg(all(feature = "EventTarget", feature = "Window",))]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`, `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ screen_x: i32,
+ screen_y: i32,
+ client_x: i32,
+ client_y: i32,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ meta_key: bool,
+ button: i16,
+ related_target: Option<&EventTarget>,
+ );
+ #[cfg(all(feature = "EventTarget", feature = "Window",))]
+ # [wasm_bindgen (method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent)]
+ #[doc = "The `initMouseScrollEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`, `MouseScrollEvent`, `Window`*"]
+ pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target_and_axis(
+ this: &MouseScrollEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ screen_x: i32,
+ screen_y: i32,
+ client_x: i32,
+ client_y: i32,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ meta_key: bool,
+ button: i16,
+ related_target: Option<&EventTarget>,
+ axis: i32,
+ );
+}
+impl MouseScrollEvent {
+ #[doc = "The `MouseScrollEvent.HORIZONTAL_AXIS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`*"]
+ pub const HORIZONTAL_AXIS: i32 = 1u64 as i32;
+ #[doc = "The `MouseScrollEvent.VERTICAL_AXIS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MouseScrollEvent`*"]
+ pub const VERTICAL_AXIS: i32 = 2u64 as i32;
+}
diff --git a/vendor/web-sys/src/features/gen_MozDebug.rs b/vendor/web-sys/src/features/gen_MozDebug.rs
new file mode 100644
index 000000000..6d83c97f3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MozDebug.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = MOZ_debug , typescript_type = "MOZ_debug")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MozDebug` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MOZ_debug)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
+ pub type MozDebug;
+ # [wasm_bindgen (catch , method , structural , js_class = "MOZ_debug" , js_name = getParameter)]
+ #[doc = "The `getParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MOZ_debug/getParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
+ pub fn get_parameter(this: &MozDebug, pname: u32) -> Result<::wasm_bindgen::JsValue, JsValue>;
+}
+impl MozDebug {
+ #[doc = "The `MOZ_debug.EXTENSIONS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
+ pub const EXTENSIONS: u32 = 7939u64 as u32;
+ #[doc = "The `MOZ_debug.WSI_INFO` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
+ pub const WSI_INFO: u32 = 65536u64 as u32;
+ #[doc = "The `MOZ_debug.UNPACK_REQUIRE_FASTPATH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
+ pub const UNPACK_REQUIRE_FASTPATH: u32 = 65537u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_MutationEvent.rs b/vendor/web-sys/src/features/gen_MutationEvent.rs
new file mode 100644
index 000000000..72f7bc9ad
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MutationEvent.rs
@@ -0,0 +1,174 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MutationEvent , typescript_type = "MutationEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MutationEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`*"]
+ pub type MutationEvent;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationEvent" , js_name = relatedNode)]
+ #[doc = "Getter for the `relatedNode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/relatedNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`, `Node`*"]
+ pub fn related_node(this: &MutationEvent) -> Option<Node>;
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationEvent" , js_name = prevValue)]
+ #[doc = "Getter for the `prevValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/prevValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`*"]
+ pub fn prev_value(this: &MutationEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationEvent" , js_name = newValue)]
+ #[doc = "Getter for the `newValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/newValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`*"]
+ pub fn new_value(this: &MutationEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationEvent" , js_name = attrName)]
+ #[doc = "Getter for the `attrName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/attrName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`*"]
+ pub fn attr_name(this: &MutationEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationEvent" , js_name = attrChange)]
+ #[doc = "Getter for the `attrChange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/attrChange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`*"]
+ pub fn attr_change(this: &MutationEvent) -> u16;
+ # [wasm_bindgen (catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent)]
+ #[doc = "The `initMutationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`*"]
+ pub fn init_mutation_event(this: &MutationEvent, type_: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent)]
+ #[doc = "The `initMutationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`*"]
+ pub fn init_mutation_event_with_can_bubble(
+ this: &MutationEvent,
+ type_: &str,
+ can_bubble: bool,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent)]
+ #[doc = "The `initMutationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`*"]
+ pub fn init_mutation_event_with_can_bubble_and_cancelable(
+ this: &MutationEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent)]
+ #[doc = "The `initMutationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`, `Node`*"]
+ pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node(
+ this: &MutationEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ related_node: Option<&Node>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent)]
+ #[doc = "The `initMutationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`, `Node`*"]
+ pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value(
+ this: &MutationEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ related_node: Option<&Node>,
+ prev_value: &str,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent)]
+ #[doc = "The `initMutationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`, `Node`*"]
+ pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value(
+ this: &MutationEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ related_node: Option<&Node>,
+ prev_value: &str,
+ new_value: &str,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent)]
+ #[doc = "The `initMutationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`, `Node`*"]
+ pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name(
+ this: &MutationEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ related_node: Option<&Node>,
+ prev_value: &str,
+ new_value: &str,
+ attr_name: &str,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent)]
+ #[doc = "The `initMutationEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`, `Node`*"]
+ pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name_and_attr_change(
+ this: &MutationEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ related_node: Option<&Node>,
+ prev_value: &str,
+ new_value: &str,
+ attr_name: &str,
+ attr_change: u16,
+ ) -> Result<(), JsValue>;
+}
+impl MutationEvent {
+ #[doc = "The `MutationEvent.MODIFICATION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`*"]
+ pub const MODIFICATION: u16 = 1u64 as u16;
+ #[doc = "The `MutationEvent.ADDITION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`*"]
+ pub const ADDITION: u16 = 2u64 as u16;
+ #[doc = "The `MutationEvent.REMOVAL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationEvent`*"]
+ pub const REMOVAL: u16 = 3u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_MutationObserver.rs b/vendor/web-sys/src/features/gen_MutationObserver.rs
new file mode 100644
index 000000000..c9ce64ea2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MutationObserver.rs
@@ -0,0 +1,55 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MutationObserver , typescript_type = "MutationObserver")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MutationObserver` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserver`*"]
+ pub type MutationObserver;
+ #[wasm_bindgen(catch, constructor, js_class = "MutationObserver")]
+ #[doc = "The `new MutationObserver(..)` constructor, creating a new instance of `MutationObserver`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/MutationObserver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserver`*"]
+ pub fn new(mutation_callback: &::js_sys::Function) -> Result<MutationObserver, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "MutationObserver" , js_name = disconnect)]
+ #[doc = "The `disconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/disconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserver`*"]
+ pub fn disconnect(this: &MutationObserver);
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "MutationObserver" , js_name = observe)]
+ #[doc = "The `observe()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/observe)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserver`, `Node`*"]
+ pub fn observe(this: &MutationObserver, target: &Node) -> Result<(), JsValue>;
+ #[cfg(all(feature = "MutationObserverInit", feature = "Node",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "MutationObserver" , js_name = observe)]
+ #[doc = "The `observe()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/observe)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserver`, `MutationObserverInit`, `Node`*"]
+ pub fn observe_with_options(
+ this: &MutationObserver,
+ target: &Node,
+ options: &MutationObserverInit,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "MutationObserver" , js_name = takeRecords)]
+ #[doc = "The `takeRecords()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/takeRecords)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserver`*"]
+ pub fn take_records(this: &MutationObserver) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_MutationObserverInit.rs b/vendor/web-sys/src/features/gen_MutationObserverInit.rs
new file mode 100644
index 000000000..fb3aac801
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MutationObserverInit.rs
@@ -0,0 +1,180 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MutationObserverInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MutationObserverInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserverInit`*"]
+ pub type MutationObserverInit;
+}
+impl MutationObserverInit {
+ #[doc = "Construct a new `MutationObserverInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserverInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `animations` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserverInit`*"]
+ pub fn animations(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("animations"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `attributeFilter` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserverInit`*"]
+ pub fn attribute_filter(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("attributeFilter"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `attributeOldValue` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserverInit`*"]
+ pub fn attribute_old_value(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("attributeOldValue"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `attributes` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserverInit`*"]
+ pub fn attributes(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("attributes"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `characterData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserverInit`*"]
+ pub fn character_data(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("characterData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `characterDataOldValue` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserverInit`*"]
+ pub fn character_data_old_value(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("characterDataOldValue"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `childList` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserverInit`*"]
+ pub fn child_list(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("childList"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `nativeAnonymousChildList` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserverInit`*"]
+ pub fn native_anonymous_child_list(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("nativeAnonymousChildList"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `subtree` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObserverInit`*"]
+ pub fn subtree(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("subtree"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MutationObserverInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MutationObservingInfo.rs b/vendor/web-sys/src/features/gen_MutationObservingInfo.rs
new file mode 100644
index 000000000..96178ea3a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MutationObservingInfo.rs
@@ -0,0 +1,198 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MutationObservingInfo)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MutationObservingInfo` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObservingInfo`*"]
+ pub type MutationObservingInfo;
+}
+impl MutationObservingInfo {
+ #[doc = "Construct a new `MutationObservingInfo`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObservingInfo`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `animations` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObservingInfo`*"]
+ pub fn animations(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("animations"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `attributeFilter` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObservingInfo`*"]
+ pub fn attribute_filter(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("attributeFilter"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `attributeOldValue` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObservingInfo`*"]
+ pub fn attribute_old_value(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("attributeOldValue"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `attributes` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObservingInfo`*"]
+ pub fn attributes(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("attributes"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `characterData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObservingInfo`*"]
+ pub fn character_data(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("characterData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `characterDataOldValue` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObservingInfo`*"]
+ pub fn character_data_old_value(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("characterDataOldValue"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `childList` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObservingInfo`*"]
+ pub fn child_list(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("childList"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `nativeAnonymousChildList` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObservingInfo`*"]
+ pub fn native_anonymous_child_list(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("nativeAnonymousChildList"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `subtree` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObservingInfo`*"]
+ pub fn subtree(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("subtree"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Node")]
+ #[doc = "Change the `observedNode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationObservingInfo`, `Node`*"]
+ pub fn observed_node(&mut self, val: Option<&Node>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("observedNode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for MutationObservingInfo {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_MutationRecord.rs b/vendor/web-sys/src/features/gen_MutationRecord.rs
new file mode 100644
index 000000000..2a9e4c365
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_MutationRecord.rs
@@ -0,0 +1,82 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MutationRecord , typescript_type = "MutationRecord")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `MutationRecord` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationRecord`*"]
+ pub type MutationRecord;
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationRecord`*"]
+ pub fn type_(this: &MutationRecord) -> String;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationRecord`, `Node`*"]
+ pub fn target(this: &MutationRecord) -> Option<Node>;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = addedNodes)]
+ #[doc = "Getter for the `addedNodes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/addedNodes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationRecord`, `NodeList`*"]
+ pub fn added_nodes(this: &MutationRecord) -> NodeList;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = removedNodes)]
+ #[doc = "Getter for the `removedNodes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/removedNodes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationRecord`, `NodeList`*"]
+ pub fn removed_nodes(this: &MutationRecord) -> NodeList;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = previousSibling)]
+ #[doc = "Getter for the `previousSibling` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/previousSibling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationRecord`, `Node`*"]
+ pub fn previous_sibling(this: &MutationRecord) -> Option<Node>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = nextSibling)]
+ #[doc = "Getter for the `nextSibling` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/nextSibling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationRecord`, `Node`*"]
+ pub fn next_sibling(this: &MutationRecord) -> Option<Node>;
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = attributeName)]
+ #[doc = "Getter for the `attributeName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/attributeName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationRecord`*"]
+ pub fn attribute_name(this: &MutationRecord) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = attributeNamespace)]
+ #[doc = "Getter for the `attributeNamespace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/attributeNamespace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationRecord`*"]
+ pub fn attribute_namespace(this: &MutationRecord) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = oldValue)]
+ #[doc = "Getter for the `oldValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/oldValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MutationRecord`*"]
+ pub fn old_value(this: &MutationRecord) -> Option<String>;
+}
diff --git a/vendor/web-sys/src/features/gen_NamedNodeMap.rs b/vendor/web-sys/src/features/gen_NamedNodeMap.rs
new file mode 100644
index 000000000..ee2d2e043
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NamedNodeMap.rs
@@ -0,0 +1,101 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NamedNodeMap , typescript_type = "NamedNodeMap")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NamedNodeMap` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NamedNodeMap`*"]
+ pub type NamedNodeMap;
+ # [wasm_bindgen (structural , method , getter , js_class = "NamedNodeMap" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NamedNodeMap`*"]
+ pub fn length(this: &NamedNodeMap) -> u32;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (method , structural , js_class = "NamedNodeMap" , js_name = getNamedItem)]
+ #[doc = "The `getNamedItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/getNamedItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"]
+ pub fn get_named_item(this: &NamedNodeMap, name: &str) -> Option<Attr>;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (method , structural , js_class = "NamedNodeMap" , js_name = getNamedItemNS)]
+ #[doc = "The `getNamedItemNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/getNamedItemNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"]
+ pub fn get_named_item_ns(
+ this: &NamedNodeMap,
+ namespace_uri: Option<&str>,
+ local_name: &str,
+ ) -> Option<Attr>;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (method , structural , js_class = "NamedNodeMap" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"]
+ pub fn item(this: &NamedNodeMap, index: u32) -> Option<Attr>;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (catch , method , structural , js_class = "NamedNodeMap" , js_name = removeNamedItem)]
+ #[doc = "The `removeNamedItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/removeNamedItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"]
+ pub fn remove_named_item(this: &NamedNodeMap, name: &str) -> Result<Attr, JsValue>;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (catch , method , structural , js_class = "NamedNodeMap" , js_name = removeNamedItemNS)]
+ #[doc = "The `removeNamedItemNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/removeNamedItemNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"]
+ pub fn remove_named_item_ns(
+ this: &NamedNodeMap,
+ namespace_uri: Option<&str>,
+ local_name: &str,
+ ) -> Result<Attr, JsValue>;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (catch , method , structural , js_class = "NamedNodeMap" , js_name = setNamedItem)]
+ #[doc = "The `setNamedItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/setNamedItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"]
+ pub fn set_named_item(this: &NamedNodeMap, arg: &Attr) -> Result<Option<Attr>, JsValue>;
+ #[cfg(feature = "Attr")]
+ # [wasm_bindgen (catch , method , structural , js_class = "NamedNodeMap" , js_name = setNamedItemNS)]
+ #[doc = "The `setNamedItemNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/setNamedItemNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"]
+ pub fn set_named_item_ns(this: &NamedNodeMap, arg: &Attr) -> Result<Option<Attr>, JsValue>;
+ #[cfg(feature = "Attr")]
+ #[wasm_bindgen(method, structural, js_class = "NamedNodeMap", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"]
+ pub fn get_with_name(this: &NamedNodeMap, name: &str) -> Option<Attr>;
+ #[cfg(feature = "Attr")]
+ #[wasm_bindgen(method, structural, js_class = "NamedNodeMap", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"]
+ pub fn get_with_index(this: &NamedNodeMap, index: u32) -> Option<Attr>;
+}
diff --git a/vendor/web-sys/src/features/gen_NativeOsFileReadOptions.rs b/vendor/web-sys/src/features/gen_NativeOsFileReadOptions.rs
new file mode 100644
index 000000000..1c1354d22
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NativeOsFileReadOptions.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NativeOSFileReadOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NativeOsFileReadOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NativeOsFileReadOptions`*"]
+ pub type NativeOsFileReadOptions;
+}
+impl NativeOsFileReadOptions {
+ #[doc = "Construct a new `NativeOsFileReadOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NativeOsFileReadOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bytes` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NativeOsFileReadOptions`*"]
+ pub fn bytes(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("bytes"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `encoding` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NativeOsFileReadOptions`*"]
+ pub fn encoding(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("encoding"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for NativeOsFileReadOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_NativeOsFileWriteAtomicOptions.rs b/vendor/web-sys/src/features/gen_NativeOsFileWriteAtomicOptions.rs
new file mode 100644
index 000000000..a06f19128
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NativeOsFileWriteAtomicOptions.rs
@@ -0,0 +1,104 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NativeOSFileWriteAtomicOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NativeOsFileWriteAtomicOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NativeOsFileWriteAtomicOptions`*"]
+ pub type NativeOsFileWriteAtomicOptions;
+}
+impl NativeOsFileWriteAtomicOptions {
+ #[doc = "Construct a new `NativeOsFileWriteAtomicOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NativeOsFileWriteAtomicOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `backupTo` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NativeOsFileWriteAtomicOptions`*"]
+ pub fn backup_to(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("backupTo"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bytes` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NativeOsFileWriteAtomicOptions`*"]
+ pub fn bytes(&mut self, val: Option<f64>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("bytes"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `flush` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NativeOsFileWriteAtomicOptions`*"]
+ pub fn flush(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("flush"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `noOverwrite` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NativeOsFileWriteAtomicOptions`*"]
+ pub fn no_overwrite(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("noOverwrite"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `tmpPath` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NativeOsFileWriteAtomicOptions`*"]
+ pub fn tmp_path(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("tmpPath"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for NativeOsFileWriteAtomicOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_NavigationType.rs b/vendor/web-sys/src/features/gen_NavigationType.rs
new file mode 100644
index 000000000..0ec80186f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NavigationType.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `NavigationType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `NavigationType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum NavigationType {
+ Navigate = "navigate",
+ Reload = "reload",
+ BackForward = "back_forward",
+ Prerender = "prerender",
+}
diff --git a/vendor/web-sys/src/features/gen_Navigator.rs b/vendor/web-sys/src/features/gen_Navigator.rs
new file mode 100644
index 000000000..1ecd65deb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Navigator.rs
@@ -0,0 +1,539 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Navigator , typescript_type = "Navigator")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Navigator` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub type Navigator;
+ #[cfg(feature = "Permissions")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Navigator" , js_name = permissions)]
+ #[doc = "Getter for the `permissions` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/permissions)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `Permissions`*"]
+ pub fn permissions(this: &Navigator) -> Result<Permissions, JsValue>;
+ #[cfg(feature = "MimeTypeArray")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Navigator" , js_name = mimeTypes)]
+ #[doc = "Getter for the `mimeTypes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mimeTypes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeTypeArray`, `Navigator`*"]
+ pub fn mime_types(this: &Navigator) -> Result<MimeTypeArray, JsValue>;
+ #[cfg(feature = "PluginArray")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Navigator" , js_name = plugins)]
+ #[doc = "Getter for the `plugins` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/plugins)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `PluginArray`*"]
+ pub fn plugins(this: &Navigator) -> Result<PluginArray, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = doNotTrack)]
+ #[doc = "Getter for the `doNotTrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/doNotTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn do_not_track(this: &Navigator) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = maxTouchPoints)]
+ #[doc = "Getter for the `maxTouchPoints` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn max_touch_points(this: &Navigator) -> i32;
+ #[cfg(feature = "MediaCapabilities")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = mediaCapabilities)]
+ #[doc = "Getter for the `mediaCapabilities` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaCapabilities)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaCapabilities`, `Navigator`*"]
+ pub fn media_capabilities(this: &Navigator) -> MediaCapabilities;
+ #[cfg(feature = "NetworkInformation")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Navigator" , js_name = connection)]
+ #[doc = "Getter for the `connection` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/connection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `NetworkInformation`*"]
+ pub fn connection(this: &Navigator) -> Result<NetworkInformation, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = activeVRDisplays)]
+ #[doc = "Getter for the `activeVRDisplays` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/activeVRDisplays)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn active_vr_displays(this: &Navigator) -> ::js_sys::Array;
+ #[cfg(feature = "MediaDevices")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Navigator" , js_name = mediaDevices)]
+ #[doc = "Getter for the `mediaDevices` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaDevices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaDevices`, `Navigator`*"]
+ pub fn media_devices(this: &Navigator) -> Result<MediaDevices, JsValue>;
+ #[cfg(feature = "ServiceWorkerContainer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = serviceWorker)]
+ #[doc = "Getter for the `serviceWorker` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/serviceWorker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `ServiceWorkerContainer`*"]
+ pub fn service_worker(this: &Navigator) -> ServiceWorkerContainer;
+ #[cfg(feature = "Presentation")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Navigator" , js_name = presentation)]
+ #[doc = "Getter for the `presentation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/presentation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `Presentation`*"]
+ pub fn presentation(this: &Navigator) -> Result<Option<Presentation>, JsValue>;
+ #[cfg(feature = "CredentialsContainer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = credentials)]
+ #[doc = "Getter for the `credentials` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/credentials)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CredentialsContainer`, `Navigator`*"]
+ pub fn credentials(this: &Navigator) -> CredentialsContainer;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Bluetooth")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = bluetooth)]
+ #[doc = "Getter for the `bluetooth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/bluetooth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Bluetooth`, `Navigator`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bluetooth(this: &Navigator) -> Option<Bluetooth>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Clipboard")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = clipboard)]
+ #[doc = "Getter for the `clipboard` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/clipboard)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Clipboard`, `Navigator`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clipboard(this: &Navigator) -> Option<Clipboard>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "MediaSession")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = mediaSession)]
+ #[doc = "Getter for the `mediaSession` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaSession)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSession`, `Navigator`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn media_session(this: &Navigator) -> MediaSession;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "WakeLock")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = wakeLock)]
+ #[doc = "Getter for the `wakeLock` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/wakeLock)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `WakeLock`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn wake_lock(this: &Navigator) -> WakeLock;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Hid")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = hid)]
+ #[doc = "Getter for the `hid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Hid`, `Navigator`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn hid(this: &Navigator) -> Hid;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Serial")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = serial)]
+ #[doc = "Getter for the `serial` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/serial)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `Serial`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn serial(this: &Navigator) -> Serial;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Usb")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = usb)]
+ #[doc = "Getter for the `usb` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/usb)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `Usb`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usb(this: &Navigator) -> Usb;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSystem")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = xr)]
+ #[doc = "Getter for the `xr` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/xr)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `XrSystem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn xr(this: &Navigator) -> XrSystem;
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = hardwareConcurrency)]
+ #[doc = "Getter for the `hardwareConcurrency` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn hardware_concurrency(this: &Navigator) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Gpu")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = gpu)]
+ #[doc = "Getter for the `gpu` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/gpu)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gpu`, `Navigator`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn gpu(this: &Navigator) -> Gpu;
+ #[cfg(feature = "Geolocation")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Navigator" , js_name = geolocation)]
+ #[doc = "Getter for the `geolocation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/geolocation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Geolocation`, `Navigator`*"]
+ pub fn geolocation(this: &Navigator) -> Result<Geolocation, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Navigator" , js_name = appCodeName)]
+ #[doc = "Getter for the `appCodeName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appCodeName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn app_code_name(this: &Navigator) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = appName)]
+ #[doc = "Getter for the `appName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn app_name(this: &Navigator) -> String;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Navigator" , js_name = appVersion)]
+ #[doc = "Getter for the `appVersion` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appVersion)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn app_version(this: &Navigator) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Navigator" , js_name = platform)]
+ #[doc = "Getter for the `platform` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn platform(this: &Navigator) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Navigator" , js_name = userAgent)]
+ #[doc = "Getter for the `userAgent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn user_agent(this: &Navigator) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = product)]
+ #[doc = "Getter for the `product` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/product)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn product(this: &Navigator) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = language)]
+ #[doc = "Getter for the `language` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn language(this: &Navigator) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = languages)]
+ #[doc = "Getter for the `languages` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/languages)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn languages(this: &Navigator) -> ::js_sys::Array;
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = onLine)]
+ #[doc = "Getter for the `onLine` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn on_line(this: &Navigator) -> bool;
+ #[cfg(feature = "StorageManager")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Navigator" , js_name = storage)]
+ #[doc = "Getter for the `storage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/storage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `StorageManager`*"]
+ pub fn storage(this: &Navigator) -> StorageManager;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "Navigator" , js_name = canShare)]
+ #[doc = "The `canShare()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/canShare)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn can_share(this: &Navigator) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ShareData")]
+ # [wasm_bindgen (method , structural , js_class = "Navigator" , js_name = canShare)]
+ #[doc = "The `canShare()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/canShare)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `ShareData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn can_share_with_data(this: &Navigator, data: &ShareData) -> bool;
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = getGamepads)]
+ #[doc = "The `getGamepads()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getGamepads)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn get_gamepads(this: &Navigator) -> Result<::js_sys::Array, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = getVRDisplays)]
+ #[doc = "The `getVRDisplays()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getVRDisplays)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn get_vr_displays(this: &Navigator) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "GamepadServiceTest")]
+ # [wasm_bindgen (method , structural , js_class = "Navigator" , js_name = requestGamepadServiceTest)]
+ #[doc = "The `requestGamepadServiceTest()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestGamepadServiceTest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`, `Navigator`*"]
+ pub fn request_gamepad_service_test(this: &Navigator) -> GamepadServiceTest;
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = requestMIDIAccess)]
+ #[doc = "The `requestMIDIAccess()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMIDIAccess)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn request_midi_access(this: &Navigator) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "MidiOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = requestMIDIAccess)]
+ #[doc = "The `requestMIDIAccess()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMIDIAccess)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MidiOptions`, `Navigator`*"]
+ pub fn request_midi_access_with_options(
+ this: &Navigator,
+ options: &MidiOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Navigator" , js_name = requestMediaKeySystemAccess)]
+ #[doc = "The `requestMediaKeySystemAccess()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMediaKeySystemAccess)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn request_media_key_system_access(
+ this: &Navigator,
+ key_system: &str,
+ supported_configurations: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "VrServiceTest")]
+ # [wasm_bindgen (method , structural , js_class = "Navigator" , js_name = requestVRServiceTest)]
+ #[doc = "The `requestVRServiceTest()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestVRServiceTest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `VrServiceTest`*"]
+ pub fn request_vr_service_test(this: &Navigator) -> VrServiceTest;
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = sendBeacon)]
+ #[doc = "The `sendBeacon()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn send_beacon(this: &Navigator, url: &str) -> Result<bool, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = sendBeacon)]
+ #[doc = "The `sendBeacon()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `Navigator`*"]
+ pub fn send_beacon_with_opt_blob(
+ this: &Navigator,
+ url: &str,
+ data: Option<&Blob>,
+ ) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = sendBeacon)]
+ #[doc = "The `sendBeacon()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn send_beacon_with_opt_buffer_source(
+ this: &Navigator,
+ url: &str,
+ data: Option<&::js_sys::Object>,
+ ) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = sendBeacon)]
+ #[doc = "The `sendBeacon()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn send_beacon_with_opt_u8_array(
+ this: &Navigator,
+ url: &str,
+ data: Option<&mut [u8]>,
+ ) -> Result<bool, JsValue>;
+ #[cfg(feature = "FormData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = sendBeacon)]
+ #[doc = "The `sendBeacon()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`, `Navigator`*"]
+ pub fn send_beacon_with_opt_form_data(
+ this: &Navigator,
+ url: &str,
+ data: Option<&FormData>,
+ ) -> Result<bool, JsValue>;
+ #[cfg(feature = "UrlSearchParams")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = sendBeacon)]
+ #[doc = "The `sendBeacon()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `UrlSearchParams`*"]
+ pub fn send_beacon_with_opt_url_search_params(
+ this: &Navigator,
+ url: &str,
+ data: Option<&UrlSearchParams>,
+ ) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = sendBeacon)]
+ #[doc = "The `sendBeacon()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn send_beacon_with_opt_str(
+ this: &Navigator,
+ url: &str,
+ data: Option<&str>,
+ ) -> Result<bool, JsValue>;
+ #[cfg(feature = "ReadableStream")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = sendBeacon)]
+ #[doc = "The `sendBeacon()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `ReadableStream`*"]
+ pub fn send_beacon_with_opt_readable_stream(
+ this: &Navigator,
+ url: &str,
+ data: Option<&ReadableStream>,
+ ) -> Result<bool, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "Navigator" , js_name = share)]
+ #[doc = "The `share()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn share(this: &Navigator) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ShareData")]
+ # [wasm_bindgen (method , structural , js_class = "Navigator" , js_name = share)]
+ #[doc = "The `share()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `ShareData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn share_with_data(this: &Navigator, data: &ShareData) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Navigator" , js_name = vibrate)]
+ #[doc = "The `vibrate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn vibrate_with_duration(this: &Navigator, duration: u32) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "Navigator" , js_name = vibrate)]
+ #[doc = "The `vibrate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn vibrate_with_pattern(this: &Navigator, pattern: &::wasm_bindgen::JsValue) -> bool;
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = registerContentHandler)]
+ #[doc = "The `registerContentHandler()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerContentHandler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn register_content_handler(
+ this: &Navigator,
+ mime_type: &str,
+ url: &str,
+ title: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Navigator" , js_name = registerProtocolHandler)]
+ #[doc = "The `registerProtocolHandler()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn register_protocol_handler(
+ this: &Navigator,
+ scheme: &str,
+ url: &str,
+ title: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Navigator" , js_name = taintEnabled)]
+ #[doc = "The `taintEnabled()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/taintEnabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`*"]
+ pub fn taint_enabled(this: &Navigator) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_NavigatorAutomationInformation.rs b/vendor/web-sys/src/features/gen_NavigatorAutomationInformation.rs
new file mode 100644
index 000000000..c1fbff681
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NavigatorAutomationInformation.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = NavigatorAutomationInformation , typescript_type = "NavigatorAutomationInformation")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NavigatorAutomationInformation` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorAutomationInformation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NavigatorAutomationInformation`*"]
+ pub type NavigatorAutomationInformation;
+ # [wasm_bindgen (structural , method , getter , js_class = "NavigatorAutomationInformation" , js_name = webdriver)]
+ #[doc = "Getter for the `webdriver` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorAutomationInformation/webdriver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NavigatorAutomationInformation`*"]
+ pub fn webdriver(this: &NavigatorAutomationInformation) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_NetworkCommandOptions.rs b/vendor/web-sys/src/features/gen_NetworkCommandOptions.rs
new file mode 100644
index 000000000..dbf06652e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NetworkCommandOptions.rs
@@ -0,0 +1,688 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NetworkCommandOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NetworkCommandOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub type NetworkCommandOptions;
+}
+impl NetworkCommandOptions {
+ #[doc = "Construct a new `NetworkCommandOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `cmd` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn cmd(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("cmd"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `curExternalIfname` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn cur_external_ifname(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("curExternalIfname"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `curInternalIfname` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn cur_internal_ifname(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("curInternalIfname"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `dns1` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn dns1(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("dns1"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `dns1_long` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn dns1_long(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dns1_long"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `dns2` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn dns2(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("dns2"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `dns2_long` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn dns2_long(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dns2_long"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `dnses` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn dnses(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("dnses"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `domain` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn domain(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("domain"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `enable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn enable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("enable"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `enabled` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn enabled(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("enabled"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `endIp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn end_ip(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("endIp"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `externalIfname` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn external_ifname(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("externalIfname"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `gateway` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn gateway(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("gateway"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `gateway_long` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn gateway_long(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("gateway_long"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `gateways` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn gateways(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("gateways"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn id(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ifname` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn ifname(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ifname"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `interfaceList` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn interface_list(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("interfaceList"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `internalIfname` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn internal_ifname(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("internalIfname"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ip` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn ip(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ip"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ipaddr` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn ipaddr(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ipaddr"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `key` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn key(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("key"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `link` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn link(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("link"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mask` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn mask(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("mask"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `maskLength` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn mask_length(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maskLength"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn mode(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("mode"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mtu` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn mtu(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("mtu"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `preExternalIfname` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn pre_external_ifname(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("preExternalIfname"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `preInternalIfname` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn pre_internal_ifname(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("preInternalIfname"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `prefix` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn prefix(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("prefix"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `prefixLength` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn prefix_length(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("prefixLength"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `report` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn report(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("report"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `security` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn security(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("security"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `serverIp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn server_ip(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("serverIp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ssid` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn ssid(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ssid"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `startIp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn start_ip(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("startIp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `threshold` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn threshold(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("threshold"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `usbEndIp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn usb_end_ip(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("usbEndIp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `usbStartIp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn usb_start_ip(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("usbStartIp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `wifiEndIp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn wifi_end_ip(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("wifiEndIp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `wifiStartIp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn wifi_start_ip(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("wifiStartIp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `wifictrlinterfacename` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
+ pub fn wifictrlinterfacename(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("wifictrlinterfacename"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for NetworkCommandOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_NetworkInformation.rs b/vendor/web-sys/src/features/gen_NetworkInformation.rs
new file mode 100644
index 000000000..3669e4c77
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NetworkInformation.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = NetworkInformation , typescript_type = "NetworkInformation")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NetworkInformation` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkInformation`*"]
+ pub type NetworkInformation;
+ #[cfg(feature = "ConnectionType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "NetworkInformation" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConnectionType`, `NetworkInformation`*"]
+ pub fn type_(this: &NetworkInformation) -> ConnectionType;
+ # [wasm_bindgen (structural , method , getter , js_class = "NetworkInformation" , js_name = ontypechange)]
+ #[doc = "Getter for the `ontypechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/ontypechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkInformation`*"]
+ pub fn ontypechange(this: &NetworkInformation) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "NetworkInformation" , js_name = ontypechange)]
+ #[doc = "Setter for the `ontypechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/ontypechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkInformation`*"]
+ pub fn set_ontypechange(this: &NetworkInformation, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_NetworkResultOptions.rs b/vendor/web-sys/src/features/gen_NetworkResultOptions.rs
new file mode 100644
index 000000000..8e2121981
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NetworkResultOptions.rs
@@ -0,0 +1,556 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NetworkResultOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NetworkResultOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub type NetworkResultOptions;
+}
+impl NetworkResultOptions {
+ #[doc = "Construct a new `NetworkResultOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `broadcast` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn broadcast(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("broadcast"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `curExternalIfname` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn cur_external_ifname(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("curExternalIfname"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `curInternalIfname` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn cur_internal_ifname(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("curInternalIfname"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `dns1` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn dns1(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("dns1"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `dns1_str` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn dns1_str(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dns1_str"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `dns2` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn dns2(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("dns2"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `dns2_str` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn dns2_str(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dns2_str"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `enable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn enable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("enable"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn error(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `flag` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn flag(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("flag"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `gateway` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn gateway(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("gateway"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `gateway_str` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn gateway_str(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("gateway_str"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn id(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `interfaceList` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn interface_list(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("interfaceList"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ipAddr` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn ip_addr(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ipAddr"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ipaddr` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn ipaddr(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ipaddr"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ipaddr_str` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn ipaddr_str(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ipaddr_str"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `lease` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn lease(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("lease"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `macAddr` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn mac_addr(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("macAddr"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mask` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn mask(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("mask"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mask_str` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn mask_str(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mask_str"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `netId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn net_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("netId"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `prefixLength` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn prefix_length(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("prefixLength"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `reason` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn reason(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("reason"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `reply` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn reply(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("reply"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn result(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("result"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `resultCode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn result_code(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("resultCode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `resultReason` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn result_reason(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("resultReason"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ret` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn ret(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ret"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `route` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn route(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("route"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `server` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn server(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("server"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `server_str` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn server_str(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("server_str"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `success` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn success(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("success"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `topic` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn topic(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("topic"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `vendor_str` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkResultOptions`*"]
+ pub fn vendor_str(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("vendor_str"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for NetworkResultOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Node.rs b/vendor/web-sys/src/features/gen_Node.rs
new file mode 100644
index 000000000..f9acb1f9f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Node.rs
@@ -0,0 +1,323 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Node , typescript_type = "Node")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Node` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub type Node;
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = nodeType)]
+ #[doc = "Getter for the `nodeType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn node_type(this: &Node) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = nodeName)]
+ #[doc = "Getter for the `nodeName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn node_name(this: &Node) -> String;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Node" , js_name = baseURI)]
+ #[doc = "Getter for the `baseURI` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/baseURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn base_uri(this: &Node) -> Result<Option<String>, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = isConnected)]
+ #[doc = "Getter for the `isConnected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/isConnected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn is_connected(this: &Node) -> bool;
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = ownerDocument)]
+ #[doc = "Getter for the `ownerDocument` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Node`*"]
+ pub fn owner_document(this: &Node) -> Option<Document>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = parentNode)]
+ #[doc = "Getter for the `parentNode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/parentNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn parent_node(this: &Node) -> Option<Node>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = parentElement)]
+ #[doc = "Getter for the `parentElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/parentElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `Node`*"]
+ pub fn parent_element(this: &Node) -> Option<Element>;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = childNodes)]
+ #[doc = "Getter for the `childNodes` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `NodeList`*"]
+ pub fn child_nodes(this: &Node) -> NodeList;
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = firstChild)]
+ #[doc = "Getter for the `firstChild` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/firstChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn first_child(this: &Node) -> Option<Node>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = lastChild)]
+ #[doc = "Getter for the `lastChild` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/lastChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn last_child(this: &Node) -> Option<Node>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = previousSibling)]
+ #[doc = "Getter for the `previousSibling` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/previousSibling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn previous_sibling(this: &Node) -> Option<Node>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = nextSibling)]
+ #[doc = "Getter for the `nextSibling` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nextSibling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn next_sibling(this: &Node) -> Option<Node>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = nodeValue)]
+ #[doc = "Getter for the `nodeValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn node_value(this: &Node) -> Option<String>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Node" , js_name = nodeValue)]
+ #[doc = "Setter for the `nodeValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn set_node_value(this: &Node, value: Option<&str>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Node" , js_name = textContent)]
+ #[doc = "Getter for the `textContent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn text_content(this: &Node) -> Option<String>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Node" , js_name = textContent)]
+ #[doc = "Setter for the `textContent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn set_text_content(this: &Node, value: Option<&str>);
+ # [wasm_bindgen (catch , method , structural , js_class = "Node" , js_name = appendChild)]
+ #[doc = "The `appendChild()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn append_child(this: &Node, node: &Node) -> Result<Node, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Node" , js_name = cloneNode)]
+ #[doc = "The `cloneNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/cloneNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn clone_node(this: &Node) -> Result<Node, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Node" , js_name = cloneNode)]
+ #[doc = "The `cloneNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/cloneNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn clone_node_with_deep(this: &Node, deep: bool) -> Result<Node, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Node" , js_name = compareDocumentPosition)]
+ #[doc = "The `compareDocumentPosition()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn compare_document_position(this: &Node, other: &Node) -> u16;
+ # [wasm_bindgen (method , structural , js_class = "Node" , js_name = contains)]
+ #[doc = "The `contains()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/contains)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn contains(this: &Node, other: Option<&Node>) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "Node" , js_name = getRootNode)]
+ #[doc = "The `getRootNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/getRootNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn get_root_node(this: &Node) -> Node;
+ #[cfg(feature = "GetRootNodeOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Node" , js_name = getRootNode)]
+ #[doc = "The `getRootNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/getRootNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetRootNodeOptions`, `Node`*"]
+ pub fn get_root_node_with_options(this: &Node, options: &GetRootNodeOptions) -> Node;
+ # [wasm_bindgen (method , structural , js_class = "Node" , js_name = hasChildNodes)]
+ #[doc = "The `hasChildNodes()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/hasChildNodes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn has_child_nodes(this: &Node) -> bool;
+ # [wasm_bindgen (catch , method , structural , js_class = "Node" , js_name = insertBefore)]
+ #[doc = "The `insertBefore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/insertBefore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn insert_before(this: &Node, node: &Node, child: Option<&Node>) -> Result<Node, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Node" , js_name = isDefaultNamespace)]
+ #[doc = "The `isDefaultNamespace()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/isDefaultNamespace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn is_default_namespace(this: &Node, namespace: Option<&str>) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "Node" , js_name = isEqualNode)]
+ #[doc = "The `isEqualNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/isEqualNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn is_equal_node(this: &Node, node: Option<&Node>) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "Node" , js_name = isSameNode)]
+ #[doc = "The `isSameNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/isSameNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn is_same_node(this: &Node, node: Option<&Node>) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "Node" , js_name = lookupNamespaceURI)]
+ #[doc = "The `lookupNamespaceURI()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/lookupNamespaceURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn lookup_namespace_uri(this: &Node, prefix: Option<&str>) -> Option<String>;
+ # [wasm_bindgen (method , structural , js_class = "Node" , js_name = lookupPrefix)]
+ #[doc = "The `lookupPrefix()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/lookupPrefix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn lookup_prefix(this: &Node, namespace: Option<&str>) -> Option<String>;
+ # [wasm_bindgen (method , structural , js_class = "Node" , js_name = normalize)]
+ #[doc = "The `normalize()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/normalize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn normalize(this: &Node);
+ # [wasm_bindgen (catch , method , structural , js_class = "Node" , js_name = removeChild)]
+ #[doc = "The `removeChild()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/removeChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn remove_child(this: &Node, child: &Node) -> Result<Node, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Node" , js_name = replaceChild)]
+ #[doc = "The `replaceChild()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/replaceChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub fn replace_child(this: &Node, node: &Node, child: &Node) -> Result<Node, JsValue>;
+}
+impl Node {
+ #[doc = "The `Node.ELEMENT_NODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const ELEMENT_NODE: u16 = 1u64 as u16;
+ #[doc = "The `Node.ATTRIBUTE_NODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const ATTRIBUTE_NODE: u16 = 2u64 as u16;
+ #[doc = "The `Node.TEXT_NODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const TEXT_NODE: u16 = 3u64 as u16;
+ #[doc = "The `Node.CDATA_SECTION_NODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const CDATA_SECTION_NODE: u16 = 4u64 as u16;
+ #[doc = "The `Node.ENTITY_REFERENCE_NODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const ENTITY_REFERENCE_NODE: u16 = 5u64 as u16;
+ #[doc = "The `Node.ENTITY_NODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const ENTITY_NODE: u16 = 6u64 as u16;
+ #[doc = "The `Node.PROCESSING_INSTRUCTION_NODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const PROCESSING_INSTRUCTION_NODE: u16 = 7u64 as u16;
+ #[doc = "The `Node.COMMENT_NODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const COMMENT_NODE: u16 = 8u64 as u16;
+ #[doc = "The `Node.DOCUMENT_NODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const DOCUMENT_NODE: u16 = 9u64 as u16;
+ #[doc = "The `Node.DOCUMENT_TYPE_NODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const DOCUMENT_TYPE_NODE: u16 = 10u64 as u16;
+ #[doc = "The `Node.DOCUMENT_FRAGMENT_NODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const DOCUMENT_FRAGMENT_NODE: u16 = 11u64 as u16;
+ #[doc = "The `Node.NOTATION_NODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const NOTATION_NODE: u16 = 12u64 as u16;
+ #[doc = "The `Node.DOCUMENT_POSITION_DISCONNECTED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const DOCUMENT_POSITION_DISCONNECTED: u16 = 1u64 as u16;
+ #[doc = "The `Node.DOCUMENT_POSITION_PRECEDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const DOCUMENT_POSITION_PRECEDING: u16 = 2u64 as u16;
+ #[doc = "The `Node.DOCUMENT_POSITION_FOLLOWING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const DOCUMENT_POSITION_FOLLOWING: u16 = 4u64 as u16;
+ #[doc = "The `Node.DOCUMENT_POSITION_CONTAINS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const DOCUMENT_POSITION_CONTAINS: u16 = 8u64 as u16;
+ #[doc = "The `Node.DOCUMENT_POSITION_CONTAINED_BY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const DOCUMENT_POSITION_CONTAINED_BY: u16 = 16u64 as u16;
+ #[doc = "The `Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`*"]
+ pub const DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: u16 = 32u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_NodeFilter.rs b/vendor/web-sys/src/features/gen_NodeFilter.rs
new file mode 100644
index 000000000..7a1d400c1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NodeFilter.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NodeFilter)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NodeFilter` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NodeFilter`*"]
+ pub type NodeFilter;
+}
+impl NodeFilter {
+ #[doc = "Construct a new `NodeFilter`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NodeFilter`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `acceptNode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NodeFilter`*"]
+ pub fn accept_node(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("acceptNode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for NodeFilter {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_NodeIterator.rs b/vendor/web-sys/src/features/gen_NodeIterator.rs
new file mode 100644
index 000000000..1e32cc05f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NodeIterator.rs
@@ -0,0 +1,75 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NodeIterator , typescript_type = "NodeIterator")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NodeIterator` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NodeIterator`*"]
+ pub type NodeIterator;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "NodeIterator" , js_name = root)]
+ #[doc = "Getter for the `root` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/root)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `NodeIterator`*"]
+ pub fn root(this: &NodeIterator) -> Node;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "NodeIterator" , js_name = referenceNode)]
+ #[doc = "Getter for the `referenceNode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/referenceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `NodeIterator`*"]
+ pub fn reference_node(this: &NodeIterator) -> Option<Node>;
+ # [wasm_bindgen (structural , method , getter , js_class = "NodeIterator" , js_name = pointerBeforeReferenceNode)]
+ #[doc = "Getter for the `pointerBeforeReferenceNode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/pointerBeforeReferenceNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NodeIterator`*"]
+ pub fn pointer_before_reference_node(this: &NodeIterator) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "NodeIterator" , js_name = whatToShow)]
+ #[doc = "Getter for the `whatToShow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/whatToShow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NodeIterator`*"]
+ pub fn what_to_show(this: &NodeIterator) -> u32;
+ #[cfg(feature = "NodeFilter")]
+ # [wasm_bindgen (structural , method , getter , js_class = "NodeIterator" , js_name = filter)]
+ #[doc = "Getter for the `filter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/filter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NodeFilter`, `NodeIterator`*"]
+ pub fn filter(this: &NodeIterator) -> Option<NodeFilter>;
+ # [wasm_bindgen (method , structural , js_class = "NodeIterator" , js_name = detach)]
+ #[doc = "The `detach()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/detach)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NodeIterator`*"]
+ pub fn detach(this: &NodeIterator);
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "NodeIterator" , js_name = nextNode)]
+ #[doc = "The `nextNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/nextNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `NodeIterator`*"]
+ pub fn next_node(this: &NodeIterator) -> Result<Option<Node>, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "NodeIterator" , js_name = previousNode)]
+ #[doc = "The `previousNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/previousNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `NodeIterator`*"]
+ pub fn previous_node(this: &NodeIterator) -> Result<Option<Node>, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_NodeList.rs b/vendor/web-sys/src/features/gen_NodeList.rs
new file mode 100644
index 000000000..b3bf91ef5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NodeList.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NodeList , typescript_type = "NodeList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NodeList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NodeList`*"]
+ pub type NodeList;
+ # [wasm_bindgen (structural , method , getter , js_class = "NodeList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NodeList`*"]
+ pub fn length(this: &NodeList) -> u32;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (method , structural , js_class = "NodeList" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `NodeList`*"]
+ pub fn item(this: &NodeList, index: u32) -> Option<Node>;
+ #[cfg(feature = "Node")]
+ #[wasm_bindgen(method, structural, js_class = "NodeList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `NodeList`*"]
+ pub fn get(this: &NodeList, index: u32) -> Option<Node>;
+}
diff --git a/vendor/web-sys/src/features/gen_Notification.rs b/vendor/web-sys/src/features/gen_Notification.rs
new file mode 100644
index 000000000..2d3c7717d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Notification.rs
@@ -0,0 +1,191 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Notification , typescript_type = "Notification")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Notification` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub type Notification;
+ #[cfg(feature = "NotificationPermission")]
+ # [wasm_bindgen (structural , static_method_of = Notification , getter , js_class = "Notification" , js_name = permission)]
+ #[doc = "Getter for the `permission` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/permission)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`, `NotificationPermission`*"]
+ pub fn permission() -> NotificationPermission;
+ # [wasm_bindgen (structural , method , getter , js_class = "Notification" , js_name = onclick)]
+ #[doc = "Getter for the `onclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn onclick(this: &Notification) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Notification" , js_name = onclick)]
+ #[doc = "Setter for the `onclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn set_onclick(this: &Notification, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Notification" , js_name = onshow)]
+ #[doc = "Getter for the `onshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn onshow(this: &Notification) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Notification" , js_name = onshow)]
+ #[doc = "Setter for the `onshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn set_onshow(this: &Notification, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Notification" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn onerror(this: &Notification) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Notification" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn set_onerror(this: &Notification, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Notification" , js_name = onclose)]
+ #[doc = "Getter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn onclose(this: &Notification) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Notification" , js_name = onclose)]
+ #[doc = "Setter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn set_onclose(this: &Notification, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Notification" , js_name = title)]
+ #[doc = "Getter for the `title` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/title)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn title(this: &Notification) -> String;
+ #[cfg(feature = "NotificationDirection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Notification" , js_name = dir)]
+ #[doc = "Getter for the `dir` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`, `NotificationDirection`*"]
+ pub fn dir(this: &Notification) -> NotificationDirection;
+ # [wasm_bindgen (structural , method , getter , js_class = "Notification" , js_name = lang)]
+ #[doc = "Getter for the `lang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/lang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn lang(this: &Notification) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Notification" , js_name = body)]
+ #[doc = "Getter for the `body` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/body)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn body(this: &Notification) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Notification" , js_name = tag)]
+ #[doc = "Getter for the `tag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/tag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn tag(this: &Notification) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Notification" , js_name = icon)]
+ #[doc = "Getter for the `icon` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/icon)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn icon(this: &Notification) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Notification" , js_name = requireInteraction)]
+ #[doc = "Getter for the `requireInteraction` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/requireInteraction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn require_interaction(this: &Notification) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "Notification" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn data(this: &Notification) -> ::wasm_bindgen::JsValue;
+ #[wasm_bindgen(catch, constructor, js_class = "Notification")]
+ #[doc = "The `new Notification(..)` constructor, creating a new instance of `Notification`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn new(title: &str) -> Result<Notification, JsValue>;
+ #[cfg(feature = "NotificationOptions")]
+ #[wasm_bindgen(catch, constructor, js_class = "Notification")]
+ #[doc = "The `new Notification(..)` constructor, creating a new instance of `Notification`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`, `NotificationOptions`*"]
+ pub fn new_with_options(
+ title: &str,
+ options: &NotificationOptions,
+ ) -> Result<Notification, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Notification" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn close(this: &Notification);
+ # [wasm_bindgen (catch , static_method_of = Notification , js_class = "Notification" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn get() -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "GetNotificationOptions")]
+ # [wasm_bindgen (catch , static_method_of = Notification , js_class = "Notification" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetNotificationOptions`, `Notification`*"]
+ pub fn get_with_filter(filter: &GetNotificationOptions) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = Notification , js_class = "Notification" , js_name = requestPermission)]
+ #[doc = "The `requestPermission()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn request_permission() -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = Notification , js_class = "Notification" , js_name = requestPermission)]
+ #[doc = "The `requestPermission()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`*"]
+ pub fn request_permission_with_permission_callback(
+ permission_callback: &::js_sys::Function,
+ ) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_NotificationBehavior.rs b/vendor/web-sys/src/features/gen_NotificationBehavior.rs
new file mode 100644
index 000000000..bfd54b22e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NotificationBehavior.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NotificationBehavior)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NotificationBehavior` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationBehavior`*"]
+ pub type NotificationBehavior;
+}
+impl NotificationBehavior {
+ #[doc = "Construct a new `NotificationBehavior`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationBehavior`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `noclear` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationBehavior`*"]
+ pub fn noclear(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("noclear"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `noscreen` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationBehavior`*"]
+ pub fn noscreen(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("noscreen"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `showOnlyOnce` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationBehavior`*"]
+ pub fn show_only_once(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("showOnlyOnce"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `soundFile` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationBehavior`*"]
+ pub fn sound_file(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("soundFile"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `vibrationPattern` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationBehavior`*"]
+ pub fn vibration_pattern(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("vibrationPattern"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for NotificationBehavior {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_NotificationDirection.rs b/vendor/web-sys/src/features/gen_NotificationDirection.rs
new file mode 100644
index 000000000..6af832627
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NotificationDirection.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `NotificationDirection` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `NotificationDirection`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum NotificationDirection {
+ Auto = "auto",
+ Ltr = "ltr",
+ Rtl = "rtl",
+}
diff --git a/vendor/web-sys/src/features/gen_NotificationEvent.rs b/vendor/web-sys/src/features/gen_NotificationEvent.rs
new file mode 100644
index 000000000..d3c962d87
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NotificationEvent.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = ExtendableEvent , extends = Event , extends = :: js_sys :: Object , js_name = NotificationEvent , typescript_type = "NotificationEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NotificationEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationEvent`*"]
+ pub type NotificationEvent;
+ #[cfg(feature = "Notification")]
+ # [wasm_bindgen (structural , method , getter , js_class = "NotificationEvent" , js_name = notification)]
+ #[doc = "Getter for the `notification` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent/notification)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`, `NotificationEvent`*"]
+ pub fn notification(this: &NotificationEvent) -> Notification;
+ #[cfg(feature = "NotificationEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "NotificationEvent")]
+ #[doc = "The `new NotificationEvent(..)` constructor, creating a new instance of `NotificationEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent/NotificationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationEvent`, `NotificationEventInit`*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &NotificationEventInit,
+ ) -> Result<NotificationEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_NotificationEventInit.rs b/vendor/web-sys/src/features/gen_NotificationEventInit.rs
new file mode 100644
index 000000000..270f9fd52
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NotificationEventInit.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NotificationEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NotificationEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationEventInit`*"]
+ pub type NotificationEventInit;
+}
+impl NotificationEventInit {
+ #[cfg(feature = "Notification")]
+ #[doc = "Construct a new `NotificationEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`, `NotificationEventInit`*"]
+ pub fn new(notification: &Notification) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.notification(notification);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Notification")]
+ #[doc = "Change the `notification` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Notification`, `NotificationEventInit`*"]
+ pub fn notification(&mut self, val: &Notification) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("notification"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_NotificationOptions.rs b/vendor/web-sys/src/features/gen_NotificationOptions.rs
new file mode 100644
index 000000000..97d49a302
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NotificationOptions.rs
@@ -0,0 +1,123 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NotificationOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `NotificationOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationOptions`*"]
+ pub type NotificationOptions;
+}
+impl NotificationOptions {
+ #[doc = "Construct a new `NotificationOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `body` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationOptions`*"]
+ pub fn body(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("body"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationOptions`*"]
+ pub fn data(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "NotificationDirection")]
+ #[doc = "Change the `dir` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationDirection`, `NotificationOptions`*"]
+ pub fn dir(&mut self, val: NotificationDirection) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("dir"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `icon` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationOptions`*"]
+ pub fn icon(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("icon"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `lang` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationOptions`*"]
+ pub fn lang(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("lang"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `requireInteraction` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationOptions`*"]
+ pub fn require_interaction(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("requireInteraction"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `tag` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationOptions`*"]
+ pub fn tag(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("tag"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for NotificationOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_NotificationPermission.rs b/vendor/web-sys/src/features/gen_NotificationPermission.rs
new file mode 100644
index 000000000..33530560e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_NotificationPermission.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `NotificationPermission` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `NotificationPermission`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum NotificationPermission {
+ Default = "default",
+ Denied = "denied",
+ Granted = "granted",
+}
diff --git a/vendor/web-sys/src/features/gen_ObserverCallback.rs b/vendor/web-sys/src/features/gen_ObserverCallback.rs
new file mode 100644
index 000000000..cdcc82dd9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ObserverCallback.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ObserverCallback)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ObserverCallback` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ObserverCallback`*"]
+ pub type ObserverCallback;
+}
+impl ObserverCallback {
+ #[doc = "Construct a new `ObserverCallback`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ObserverCallback`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `handleEvent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ObserverCallback`*"]
+ pub fn handle_event(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("handleEvent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ObserverCallback {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_OesElementIndexUint.rs b/vendor/web-sys/src/features/gen_OesElementIndexUint.rs
new file mode 100644
index 000000000..aebb73171
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OesElementIndexUint.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = OES_element_index_uint , typescript_type = "OES_element_index_uint")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OesElementIndexUint` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_element_index_uint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesElementIndexUint`*"]
+ pub type OesElementIndexUint;
+}
diff --git a/vendor/web-sys/src/features/gen_OesStandardDerivatives.rs b/vendor/web-sys/src/features/gen_OesStandardDerivatives.rs
new file mode 100644
index 000000000..8b1324e14
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OesStandardDerivatives.rs
@@ -0,0 +1,20 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = OES_standard_derivatives , typescript_type = "OES_standard_derivatives")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OesStandardDerivatives` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_standard_derivatives)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesStandardDerivatives`*"]
+ pub type OesStandardDerivatives;
+}
+impl OesStandardDerivatives {
+ #[doc = "The `OES_standard_derivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesStandardDerivatives`*"]
+ pub const FRAGMENT_SHADER_DERIVATIVE_HINT_OES: u32 = 35723u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_OesTextureFloat.rs b/vendor/web-sys/src/features/gen_OesTextureFloat.rs
new file mode 100644
index 000000000..d30aa42d4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OesTextureFloat.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = OES_texture_float , typescript_type = "OES_texture_float")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OesTextureFloat` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_float)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesTextureFloat`*"]
+ pub type OesTextureFloat;
+}
diff --git a/vendor/web-sys/src/features/gen_OesTextureFloatLinear.rs b/vendor/web-sys/src/features/gen_OesTextureFloatLinear.rs
new file mode 100644
index 000000000..61763001e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OesTextureFloatLinear.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = OES_texture_float_linear , typescript_type = "OES_texture_float_linear")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OesTextureFloatLinear` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_float_linear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesTextureFloatLinear`*"]
+ pub type OesTextureFloatLinear;
+}
diff --git a/vendor/web-sys/src/features/gen_OesTextureHalfFloat.rs b/vendor/web-sys/src/features/gen_OesTextureHalfFloat.rs
new file mode 100644
index 000000000..ae24073a4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OesTextureHalfFloat.rs
@@ -0,0 +1,20 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = OES_texture_half_float , typescript_type = "OES_texture_half_float")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OesTextureHalfFloat` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_half_float)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesTextureHalfFloat`*"]
+ pub type OesTextureHalfFloat;
+}
+impl OesTextureHalfFloat {
+ #[doc = "The `OES_texture_half_float.HALF_FLOAT_OES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesTextureHalfFloat`*"]
+ pub const HALF_FLOAT_OES: u32 = 36193u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_OesTextureHalfFloatLinear.rs b/vendor/web-sys/src/features/gen_OesTextureHalfFloatLinear.rs
new file mode 100644
index 000000000..b96e67ef2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OesTextureHalfFloatLinear.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = OES_texture_half_float_linear , typescript_type = "OES_texture_half_float_linear")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OesTextureHalfFloatLinear` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_texture_half_float_linear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesTextureHalfFloatLinear`*"]
+ pub type OesTextureHalfFloatLinear;
+}
diff --git a/vendor/web-sys/src/features/gen_OesVertexArrayObject.rs b/vendor/web-sys/src/features/gen_OesVertexArrayObject.rs
new file mode 100644
index 000000000..0aec22fef
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OesVertexArrayObject.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = OES_vertex_array_object , typescript_type = "OES_vertex_array_object")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OesVertexArrayObject` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`*"]
+ pub type OesVertexArrayObject;
+ #[cfg(feature = "WebGlVertexArrayObject")]
+ # [wasm_bindgen (method , structural , js_class = "OES_vertex_array_object" , js_name = bindVertexArrayOES)]
+ #[doc = "The `bindVertexArrayOES()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`, `WebGlVertexArrayObject`*"]
+ pub fn bind_vertex_array_oes(
+ this: &OesVertexArrayObject,
+ array_object: Option<&WebGlVertexArrayObject>,
+ );
+ #[cfg(feature = "WebGlVertexArrayObject")]
+ # [wasm_bindgen (method , structural , js_class = "OES_vertex_array_object" , js_name = createVertexArrayOES)]
+ #[doc = "The `createVertexArrayOES()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`, `WebGlVertexArrayObject`*"]
+ pub fn create_vertex_array_oes(this: &OesVertexArrayObject) -> Option<WebGlVertexArrayObject>;
+ #[cfg(feature = "WebGlVertexArrayObject")]
+ # [wasm_bindgen (method , structural , js_class = "OES_vertex_array_object" , js_name = deleteVertexArrayOES)]
+ #[doc = "The `deleteVertexArrayOES()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`, `WebGlVertexArrayObject`*"]
+ pub fn delete_vertex_array_oes(
+ this: &OesVertexArrayObject,
+ array_object: Option<&WebGlVertexArrayObject>,
+ );
+ #[cfg(feature = "WebGlVertexArrayObject")]
+ # [wasm_bindgen (method , structural , js_class = "OES_vertex_array_object" , js_name = isVertexArrayOES)]
+ #[doc = "The `isVertexArrayOES()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object/isVertexArrayOES)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`, `WebGlVertexArrayObject`*"]
+ pub fn is_vertex_array_oes(
+ this: &OesVertexArrayObject,
+ array_object: Option<&WebGlVertexArrayObject>,
+ ) -> bool;
+}
+impl OesVertexArrayObject {
+ #[doc = "The `OES_vertex_array_object.VERTEX_ARRAY_BINDING_OES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`*"]
+ pub const VERTEX_ARRAY_BINDING_OES: u32 = 34229u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_OfflineAudioCompletionEvent.rs b/vendor/web-sys/src/features/gen_OfflineAudioCompletionEvent.rs
new file mode 100644
index 000000000..b4a36f312
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OfflineAudioCompletionEvent.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = OfflineAudioCompletionEvent , typescript_type = "OfflineAudioCompletionEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OfflineAudioCompletionEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioCompletionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioCompletionEvent`*"]
+ pub type OfflineAudioCompletionEvent;
+ #[cfg(feature = "AudioBuffer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineAudioCompletionEvent" , js_name = renderedBuffer)]
+ #[doc = "Getter for the `renderedBuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioCompletionEvent/renderedBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `OfflineAudioCompletionEvent`*"]
+ pub fn rendered_buffer(this: &OfflineAudioCompletionEvent) -> AudioBuffer;
+ #[cfg(feature = "OfflineAudioCompletionEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "OfflineAudioCompletionEvent")]
+ #[doc = "The `new OfflineAudioCompletionEvent(..)` constructor, creating a new instance of `OfflineAudioCompletionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioCompletionEvent/OfflineAudioCompletionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioCompletionEvent`, `OfflineAudioCompletionEventInit`*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &OfflineAudioCompletionEventInit,
+ ) -> Result<OfflineAudioCompletionEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_OfflineAudioCompletionEventInit.rs b/vendor/web-sys/src/features/gen_OfflineAudioCompletionEventInit.rs
new file mode 100644
index 000000000..e3d202129
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OfflineAudioCompletionEventInit.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = OfflineAudioCompletionEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OfflineAudioCompletionEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioCompletionEventInit`*"]
+ pub type OfflineAudioCompletionEventInit;
+}
+impl OfflineAudioCompletionEventInit {
+ #[cfg(feature = "AudioBuffer")]
+ #[doc = "Construct a new `OfflineAudioCompletionEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `OfflineAudioCompletionEventInit`*"]
+ pub fn new(rendered_buffer: &AudioBuffer) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.rendered_buffer(rendered_buffer);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioCompletionEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioCompletionEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioCompletionEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "AudioBuffer")]
+ #[doc = "Change the `renderedBuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `OfflineAudioCompletionEventInit`*"]
+ pub fn rendered_buffer(&mut self, val: &AudioBuffer) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("renderedBuffer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_OfflineAudioContext.rs b/vendor/web-sys/src/features/gen_OfflineAudioContext.rs
new file mode 100644
index 000000000..ecaba2102
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OfflineAudioContext.rs
@@ -0,0 +1,412 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (vendor_prefix = webkit , extends = BaseAudioContext , extends = EventTarget , extends = :: js_sys :: Object , js_name = OfflineAudioContext , typescript_type = "OfflineAudioContext")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OfflineAudioContext` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub type OfflineAudioContext;
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineAudioContext" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn length(this: &OfflineAudioContext) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineAudioContext" , js_name = oncomplete)]
+ #[doc = "Getter for the `oncomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/oncomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn oncomplete(this: &OfflineAudioContext) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "OfflineAudioContext" , js_name = oncomplete)]
+ #[doc = "Setter for the `oncomplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/oncomplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn set_oncomplete(this: &OfflineAudioContext, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "AudioDestinationNode")]
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineAudioContext" , js_name = destination)]
+ #[doc = "Getter for the `destination` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/destination)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioDestinationNode`, `OfflineAudioContext`*"]
+ pub fn destination(this: &OfflineAudioContext) -> AudioDestinationNode;
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineAudioContext" , js_name = sampleRate)]
+ #[doc = "Getter for the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/sampleRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn sample_rate(this: &OfflineAudioContext) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineAudioContext" , js_name = currentTime)]
+ #[doc = "Getter for the `currentTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/currentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn current_time(this: &OfflineAudioContext) -> f64;
+ #[cfg(feature = "AudioListener")]
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineAudioContext" , js_name = listener)]
+ #[doc = "Getter for the `listener` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/listener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioListener`, `OfflineAudioContext`*"]
+ pub fn listener(this: &OfflineAudioContext) -> AudioListener;
+ #[cfg(feature = "AudioContextState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineAudioContext" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioContextState`, `OfflineAudioContext`*"]
+ pub fn state(this: &OfflineAudioContext) -> AudioContextState;
+ #[cfg(feature = "AudioWorklet")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "OfflineAudioContext" , js_name = audioWorklet)]
+ #[doc = "Getter for the `audioWorklet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/audioWorklet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioWorklet`, `OfflineAudioContext`*"]
+ pub fn audio_worklet(this: &OfflineAudioContext) -> Result<AudioWorklet, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineAudioContext" , js_name = onstatechange)]
+ #[doc = "Getter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn onstatechange(this: &OfflineAudioContext) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "OfflineAudioContext" , js_name = onstatechange)]
+ #[doc = "Setter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn set_onstatechange(this: &OfflineAudioContext, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "OfflineAudioContextOptions")]
+ #[wasm_bindgen(catch, constructor, js_class = "OfflineAudioContext")]
+ #[doc = "The `new OfflineAudioContext(..)` constructor, creating a new instance of `OfflineAudioContext`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/OfflineAudioContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `OfflineAudioContextOptions`*"]
+ pub fn new_with_context_options(
+ context_options: &OfflineAudioContextOptions,
+ ) -> Result<OfflineAudioContext, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "OfflineAudioContext")]
+ #[doc = "The `new OfflineAudioContext(..)` constructor, creating a new instance of `OfflineAudioContext`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/OfflineAudioContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn new_with_number_of_channels_and_length_and_sample_rate(
+ number_of_channels: u32,
+ length: u32,
+ sample_rate: f32,
+ ) -> Result<OfflineAudioContext, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = startRendering)]
+ #[doc = "The `startRendering()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/startRendering)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn start_rendering(this: &OfflineAudioContext) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "AnalyserNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createAnalyser)]
+ #[doc = "The `createAnalyser()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createAnalyser)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`, `OfflineAudioContext`*"]
+ pub fn create_analyser(this: &OfflineAudioContext) -> Result<AnalyserNode, JsValue>;
+ #[cfg(feature = "BiquadFilterNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createBiquadFilter)]
+ #[doc = "The `createBiquadFilter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createBiquadFilter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BiquadFilterNode`, `OfflineAudioContext`*"]
+ pub fn create_biquad_filter(this: &OfflineAudioContext) -> Result<BiquadFilterNode, JsValue>;
+ #[cfg(feature = "AudioBuffer")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createBuffer)]
+ #[doc = "The `createBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `OfflineAudioContext`*"]
+ pub fn create_buffer(
+ this: &OfflineAudioContext,
+ number_of_channels: u32,
+ length: u32,
+ sample_rate: f32,
+ ) -> Result<AudioBuffer, JsValue>;
+ #[cfg(feature = "AudioBufferSourceNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createBufferSource)]
+ #[doc = "The `createBufferSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createBufferSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `OfflineAudioContext`*"]
+ pub fn create_buffer_source(
+ this: &OfflineAudioContext,
+ ) -> Result<AudioBufferSourceNode, JsValue>;
+ #[cfg(feature = "ChannelMergerNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createChannelMerger)]
+ #[doc = "The `createChannelMerger()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createChannelMerger)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelMergerNode`, `OfflineAudioContext`*"]
+ pub fn create_channel_merger(this: &OfflineAudioContext) -> Result<ChannelMergerNode, JsValue>;
+ #[cfg(feature = "ChannelMergerNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createChannelMerger)]
+ #[doc = "The `createChannelMerger()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createChannelMerger)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelMergerNode`, `OfflineAudioContext`*"]
+ pub fn create_channel_merger_with_number_of_inputs(
+ this: &OfflineAudioContext,
+ number_of_inputs: u32,
+ ) -> Result<ChannelMergerNode, JsValue>;
+ #[cfg(feature = "ChannelSplitterNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createChannelSplitter)]
+ #[doc = "The `createChannelSplitter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createChannelSplitter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelSplitterNode`, `OfflineAudioContext`*"]
+ pub fn create_channel_splitter(
+ this: &OfflineAudioContext,
+ ) -> Result<ChannelSplitterNode, JsValue>;
+ #[cfg(feature = "ChannelSplitterNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createChannelSplitter)]
+ #[doc = "The `createChannelSplitter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createChannelSplitter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelSplitterNode`, `OfflineAudioContext`*"]
+ pub fn create_channel_splitter_with_number_of_outputs(
+ this: &OfflineAudioContext,
+ number_of_outputs: u32,
+ ) -> Result<ChannelSplitterNode, JsValue>;
+ #[cfg(feature = "ConstantSourceNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createConstantSource)]
+ #[doc = "The `createConstantSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createConstantSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConstantSourceNode`, `OfflineAudioContext`*"]
+ pub fn create_constant_source(
+ this: &OfflineAudioContext,
+ ) -> Result<ConstantSourceNode, JsValue>;
+ #[cfg(feature = "ConvolverNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createConvolver)]
+ #[doc = "The `createConvolver()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createConvolver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvolverNode`, `OfflineAudioContext`*"]
+ pub fn create_convolver(this: &OfflineAudioContext) -> Result<ConvolverNode, JsValue>;
+ #[cfg(feature = "DelayNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createDelay)]
+ #[doc = "The `createDelay()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createDelay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DelayNode`, `OfflineAudioContext`*"]
+ pub fn create_delay(this: &OfflineAudioContext) -> Result<DelayNode, JsValue>;
+ #[cfg(feature = "DelayNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createDelay)]
+ #[doc = "The `createDelay()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createDelay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DelayNode`, `OfflineAudioContext`*"]
+ pub fn create_delay_with_max_delay_time(
+ this: &OfflineAudioContext,
+ max_delay_time: f64,
+ ) -> Result<DelayNode, JsValue>;
+ #[cfg(feature = "DynamicsCompressorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createDynamicsCompressor)]
+ #[doc = "The `createDynamicsCompressor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createDynamicsCompressor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DynamicsCompressorNode`, `OfflineAudioContext`*"]
+ pub fn create_dynamics_compressor(
+ this: &OfflineAudioContext,
+ ) -> Result<DynamicsCompressorNode, JsValue>;
+ #[cfg(feature = "GainNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createGain)]
+ #[doc = "The `createGain()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createGain)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GainNode`, `OfflineAudioContext`*"]
+ pub fn create_gain(this: &OfflineAudioContext) -> Result<GainNode, JsValue>;
+ #[cfg(feature = "IirFilterNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createIIRFilter)]
+ #[doc = "The `createIIRFilter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createIIRFilter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IirFilterNode`, `OfflineAudioContext`*"]
+ pub fn create_iir_filter(
+ this: &OfflineAudioContext,
+ feedforward: &::wasm_bindgen::JsValue,
+ feedback: &::wasm_bindgen::JsValue,
+ ) -> Result<IirFilterNode, JsValue>;
+ #[cfg(feature = "OscillatorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createOscillator)]
+ #[doc = "The `createOscillator()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createOscillator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `OscillatorNode`*"]
+ pub fn create_oscillator(this: &OfflineAudioContext) -> Result<OscillatorNode, JsValue>;
+ #[cfg(feature = "PannerNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createPanner)]
+ #[doc = "The `createPanner()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createPanner)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `PannerNode`*"]
+ pub fn create_panner(this: &OfflineAudioContext) -> Result<PannerNode, JsValue>;
+ #[cfg(feature = "PeriodicWave")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createPeriodicWave)]
+ #[doc = "The `createPeriodicWave()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createPeriodicWave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `PeriodicWave`*"]
+ pub fn create_periodic_wave(
+ this: &OfflineAudioContext,
+ real: &mut [f32],
+ imag: &mut [f32],
+ ) -> Result<PeriodicWave, JsValue>;
+ #[cfg(all(feature = "PeriodicWave", feature = "PeriodicWaveConstraints",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createPeriodicWave)]
+ #[doc = "The `createPeriodicWave()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createPeriodicWave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `PeriodicWave`, `PeriodicWaveConstraints`*"]
+ pub fn create_periodic_wave_with_constraints(
+ this: &OfflineAudioContext,
+ real: &mut [f32],
+ imag: &mut [f32],
+ constraints: &PeriodicWaveConstraints,
+ ) -> Result<PeriodicWave, JsValue>;
+ #[cfg(feature = "ScriptProcessorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createScriptProcessor)]
+ #[doc = "The `createScriptProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createScriptProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `ScriptProcessorNode`*"]
+ pub fn create_script_processor(
+ this: &OfflineAudioContext,
+ ) -> Result<ScriptProcessorNode, JsValue>;
+ #[cfg(feature = "ScriptProcessorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createScriptProcessor)]
+ #[doc = "The `createScriptProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createScriptProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `ScriptProcessorNode`*"]
+ pub fn create_script_processor_with_buffer_size(
+ this: &OfflineAudioContext,
+ buffer_size: u32,
+ ) -> Result<ScriptProcessorNode, JsValue>;
+ #[cfg(feature = "ScriptProcessorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createScriptProcessor)]
+ #[doc = "The `createScriptProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createScriptProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `ScriptProcessorNode`*"]
+ pub fn create_script_processor_with_buffer_size_and_number_of_input_channels(
+ this: &OfflineAudioContext,
+ buffer_size: u32,
+ number_of_input_channels: u32,
+ ) -> Result<ScriptProcessorNode, JsValue>;
+ #[cfg(feature = "ScriptProcessorNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createScriptProcessor)]
+ #[doc = "The `createScriptProcessor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createScriptProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `ScriptProcessorNode`*"]
+ pub fn create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels(
+ this: &OfflineAudioContext,
+ buffer_size: u32,
+ number_of_input_channels: u32,
+ number_of_output_channels: u32,
+ ) -> Result<ScriptProcessorNode, JsValue>;
+ #[cfg(feature = "StereoPannerNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createStereoPanner)]
+ #[doc = "The `createStereoPanner()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createStereoPanner)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `StereoPannerNode`*"]
+ pub fn create_stereo_panner(this: &OfflineAudioContext) -> Result<StereoPannerNode, JsValue>;
+ #[cfg(feature = "WaveShaperNode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = createWaveShaper)]
+ #[doc = "The `createWaveShaper()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createWaveShaper)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `WaveShaperNode`*"]
+ pub fn create_wave_shaper(this: &OfflineAudioContext) -> Result<WaveShaperNode, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = decodeAudioData)]
+ #[doc = "The `decodeAudioData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/decodeAudioData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn decode_audio_data(
+ this: &OfflineAudioContext,
+ audio_data: &::js_sys::ArrayBuffer,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = decodeAudioData)]
+ #[doc = "The `decodeAudioData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/decodeAudioData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn decode_audio_data_with_success_callback(
+ this: &OfflineAudioContext,
+ audio_data: &::js_sys::ArrayBuffer,
+ success_callback: &::js_sys::Function,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = decodeAudioData)]
+ #[doc = "The `decodeAudioData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/decodeAudioData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn decode_audio_data_with_success_callback_and_error_callback(
+ this: &OfflineAudioContext,
+ audio_data: &::js_sys::ArrayBuffer,
+ success_callback: &::js_sys::Function,
+ error_callback: &::js_sys::Function,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineAudioContext" , js_name = resume)]
+ #[doc = "The `resume()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/resume)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`*"]
+ pub fn resume(this: &OfflineAudioContext) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_OfflineAudioContextOptions.rs b/vendor/web-sys/src/features/gen_OfflineAudioContextOptions.rs
new file mode 100644
index 000000000..ab1cf57df
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OfflineAudioContextOptions.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = OfflineAudioContextOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OfflineAudioContextOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContextOptions`*"]
+ pub type OfflineAudioContextOptions;
+}
+impl OfflineAudioContextOptions {
+ #[doc = "Construct a new `OfflineAudioContextOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContextOptions`*"]
+ pub fn new(length: u32, sample_rate: f32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.length(length);
+ ret.sample_rate(sample_rate);
+ ret
+ }
+ #[doc = "Change the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContextOptions`*"]
+ pub fn length(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("length"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `numberOfChannels` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContextOptions`*"]
+ pub fn number_of_channels(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("numberOfChannels"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sampleRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContextOptions`*"]
+ pub fn sample_rate(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sampleRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_OfflineResourceList.rs b/vendor/web-sys/src/features/gen_OfflineResourceList.rs
new file mode 100644
index 000000000..e3ccd3732
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OfflineResourceList.rs
@@ -0,0 +1,173 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = OfflineResourceList , typescript_type = "OfflineResourceList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OfflineResourceList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub type OfflineResourceList;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "OfflineResourceList" , js_name = status)]
+ #[doc = "Getter for the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/status)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn status(this: &OfflineResourceList) -> Result<u16, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineResourceList" , js_name = onchecking)]
+ #[doc = "Getter for the `onchecking` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onchecking)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn onchecking(this: &OfflineResourceList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "OfflineResourceList" , js_name = onchecking)]
+ #[doc = "Setter for the `onchecking` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onchecking)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn set_onchecking(this: &OfflineResourceList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineResourceList" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn onerror(this: &OfflineResourceList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "OfflineResourceList" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn set_onerror(this: &OfflineResourceList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineResourceList" , js_name = onnoupdate)]
+ #[doc = "Getter for the `onnoupdate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onnoupdate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn onnoupdate(this: &OfflineResourceList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "OfflineResourceList" , js_name = onnoupdate)]
+ #[doc = "Setter for the `onnoupdate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onnoupdate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn set_onnoupdate(this: &OfflineResourceList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineResourceList" , js_name = ondownloading)]
+ #[doc = "Getter for the `ondownloading` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/ondownloading)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn ondownloading(this: &OfflineResourceList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "OfflineResourceList" , js_name = ondownloading)]
+ #[doc = "Setter for the `ondownloading` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/ondownloading)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn set_ondownloading(this: &OfflineResourceList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineResourceList" , js_name = onprogress)]
+ #[doc = "Getter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn onprogress(this: &OfflineResourceList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "OfflineResourceList" , js_name = onprogress)]
+ #[doc = "Setter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn set_onprogress(this: &OfflineResourceList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineResourceList" , js_name = onupdateready)]
+ #[doc = "Getter for the `onupdateready` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onupdateready)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn onupdateready(this: &OfflineResourceList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "OfflineResourceList" , js_name = onupdateready)]
+ #[doc = "Setter for the `onupdateready` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onupdateready)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn set_onupdateready(this: &OfflineResourceList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineResourceList" , js_name = oncached)]
+ #[doc = "Getter for the `oncached` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/oncached)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn oncached(this: &OfflineResourceList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "OfflineResourceList" , js_name = oncached)]
+ #[doc = "Setter for the `oncached` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/oncached)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn set_oncached(this: &OfflineResourceList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "OfflineResourceList" , js_name = onobsolete)]
+ #[doc = "Getter for the `onobsolete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onobsolete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn onobsolete(this: &OfflineResourceList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "OfflineResourceList" , js_name = onobsolete)]
+ #[doc = "Setter for the `onobsolete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onobsolete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn set_onobsolete(this: &OfflineResourceList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineResourceList" , js_name = swapCache)]
+ #[doc = "The `swapCache()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/swapCache)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn swap_cache(this: &OfflineResourceList) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OfflineResourceList" , js_name = update)]
+ #[doc = "The `update()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/update)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub fn update(this: &OfflineResourceList) -> Result<(), JsValue>;
+}
+impl OfflineResourceList {
+ #[doc = "The `OfflineResourceList.UNCACHED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub const UNCACHED: u16 = 0i64 as u16;
+ #[doc = "The `OfflineResourceList.IDLE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub const IDLE: u16 = 1u64 as u16;
+ #[doc = "The `OfflineResourceList.CHECKING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub const CHECKING: u16 = 2u64 as u16;
+ #[doc = "The `OfflineResourceList.DOWNLOADING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub const DOWNLOADING: u16 = 3u64 as u16;
+ #[doc = "The `OfflineResourceList.UPDATEREADY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub const UPDATEREADY: u16 = 4u64 as u16;
+ #[doc = "The `OfflineResourceList.OBSOLETE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OfflineResourceList`*"]
+ pub const OBSOLETE: u16 = 5u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_OffscreenCanvas.rs b/vendor/web-sys/src/features/gen_OffscreenCanvas.rs
new file mode 100644
index 000000000..bcf859921
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OffscreenCanvas.rs
@@ -0,0 +1,106 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = OffscreenCanvas , typescript_type = "OffscreenCanvas")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OffscreenCanvas` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"]
+ pub type OffscreenCanvas;
+ # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvas" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"]
+ pub fn width(this: &OffscreenCanvas) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvas" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"]
+ pub fn set_width(this: &OffscreenCanvas, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvas" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"]
+ pub fn height(this: &OffscreenCanvas) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvas" , js_name = height)]
+ #[doc = "Setter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"]
+ pub fn set_height(this: &OffscreenCanvas, value: u32);
+ #[wasm_bindgen(catch, constructor, js_class = "OffscreenCanvas")]
+ #[doc = "The `new OffscreenCanvas(..)` constructor, creating a new instance of `OffscreenCanvas`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/OffscreenCanvas)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"]
+ pub fn new(width: u32, height: u32) -> Result<OffscreenCanvas, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = getContext)]
+ #[doc = "The `getContext()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/getContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"]
+ pub fn get_context(
+ this: &OffscreenCanvas,
+ context_id: &str,
+ ) -> Result<Option<::js_sys::Object>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = getContext)]
+ #[doc = "The `getContext()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/getContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"]
+ pub fn get_context_with_context_options(
+ this: &OffscreenCanvas,
+ context_id: &str,
+ context_options: &::wasm_bindgen::JsValue,
+ ) -> Result<Option<::js_sys::Object>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = toBlob)]
+ #[doc = "The `toBlob()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/toBlob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"]
+ pub fn to_blob(this: &OffscreenCanvas) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = toBlob)]
+ #[doc = "The `toBlob()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/toBlob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"]
+ pub fn to_blob_with_type(
+ this: &OffscreenCanvas,
+ type_: &str,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = toBlob)]
+ #[doc = "The `toBlob()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/toBlob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"]
+ pub fn to_blob_with_type_and_encoder_options(
+ this: &OffscreenCanvas,
+ type_: &str,
+ encoder_options: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = transferToImageBitmap)]
+ #[doc = "The `transferToImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/transferToImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `OffscreenCanvas`*"]
+ pub fn transfer_to_image_bitmap(this: &OffscreenCanvas) -> Result<ImageBitmap, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_OpenWindowEventDetail.rs b/vendor/web-sys/src/features/gen_OpenWindowEventDetail.rs
new file mode 100644
index 000000000..278e2f8a3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OpenWindowEventDetail.rs
@@ -0,0 +1,88 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = OpenWindowEventDetail)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OpenWindowEventDetail` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OpenWindowEventDetail`*"]
+ pub type OpenWindowEventDetail;
+}
+impl OpenWindowEventDetail {
+ #[doc = "Construct a new `OpenWindowEventDetail`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OpenWindowEventDetail`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `features` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OpenWindowEventDetail`*"]
+ pub fn features(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("features"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Node")]
+ #[doc = "Change the `frameElement` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `OpenWindowEventDetail`*"]
+ pub fn frame_element(&mut self, val: Option<&Node>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frameElement"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OpenWindowEventDetail`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `url` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OpenWindowEventDetail`*"]
+ pub fn url(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("url"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for OpenWindowEventDetail {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_OptionalEffectTiming.rs b/vendor/web-sys/src/features/gen_OptionalEffectTiming.rs
new file mode 100644
index 000000000..5838e3205
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OptionalEffectTiming.rs
@@ -0,0 +1,154 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = OptionalEffectTiming)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OptionalEffectTiming` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OptionalEffectTiming`*"]
+ pub type OptionalEffectTiming;
+}
+impl OptionalEffectTiming {
+ #[doc = "Construct a new `OptionalEffectTiming`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OptionalEffectTiming`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `delay` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OptionalEffectTiming`*"]
+ pub fn delay(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("delay"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PlaybackDirection")]
+ #[doc = "Change the `direction` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OptionalEffectTiming`, `PlaybackDirection`*"]
+ pub fn direction(&mut self, val: PlaybackDirection) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("direction"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OptionalEffectTiming`*"]
+ pub fn duration(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("duration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `easing` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OptionalEffectTiming`*"]
+ pub fn easing(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("easing"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `endDelay` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OptionalEffectTiming`*"]
+ pub fn end_delay(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("endDelay"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "FillMode")]
+ #[doc = "Change the `fill` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FillMode`, `OptionalEffectTiming`*"]
+ pub fn fill(&mut self, val: FillMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("fill"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iterationStart` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OptionalEffectTiming`*"]
+ pub fn iteration_start(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iterationStart"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iterations` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OptionalEffectTiming`*"]
+ pub fn iterations(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iterations"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for OptionalEffectTiming {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_OrientationLockType.rs b/vendor/web-sys/src/features/gen_OrientationLockType.rs
new file mode 100644
index 000000000..fd5c86e80
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OrientationLockType.rs
@@ -0,0 +1,17 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `OrientationLockType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `OrientationLockType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum OrientationLockType {
+ Any = "any",
+ Natural = "natural",
+ Landscape = "landscape",
+ Portrait = "portrait",
+ PortraitPrimary = "portrait-primary",
+ PortraitSecondary = "portrait-secondary",
+ LandscapePrimary = "landscape-primary",
+ LandscapeSecondary = "landscape-secondary",
+}
diff --git a/vendor/web-sys/src/features/gen_OrientationType.rs b/vendor/web-sys/src/features/gen_OrientationType.rs
new file mode 100644
index 000000000..15ecbc59a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OrientationType.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `OrientationType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `OrientationType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum OrientationType {
+ PortraitPrimary = "portrait-primary",
+ PortraitSecondary = "portrait-secondary",
+ LandscapePrimary = "landscape-primary",
+ LandscapeSecondary = "landscape-secondary",
+}
diff --git a/vendor/web-sys/src/features/gen_OscillatorNode.rs b/vendor/web-sys/src/features/gen_OscillatorNode.rs
new file mode 100644
index 000000000..b72525ea4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OscillatorNode.rs
@@ -0,0 +1,115 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioScheduledSourceNode , extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = OscillatorNode , typescript_type = "OscillatorNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OscillatorNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorNode`*"]
+ pub type OscillatorNode;
+ #[cfg(feature = "OscillatorType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "OscillatorNode" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorNode`, `OscillatorType`*"]
+ pub fn type_(this: &OscillatorNode) -> OscillatorType;
+ #[cfg(feature = "OscillatorType")]
+ # [wasm_bindgen (structural , method , setter , js_class = "OscillatorNode" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorNode`, `OscillatorType`*"]
+ pub fn set_type(this: &OscillatorNode, value: OscillatorType);
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "OscillatorNode" , js_name = frequency)]
+ #[doc = "Getter for the `frequency` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/frequency)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `OscillatorNode`*"]
+ pub fn frequency(this: &OscillatorNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "OscillatorNode" , js_name = detune)]
+ #[doc = "Getter for the `detune` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/detune)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `OscillatorNode`*"]
+ pub fn detune(this: &OscillatorNode) -> AudioParam;
+ # [wasm_bindgen (structural , method , getter , js_class = "OscillatorNode" , js_name = onended)]
+ #[doc = "Getter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorNode`*"]
+ pub fn onended(this: &OscillatorNode) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "OscillatorNode" , js_name = onended)]
+ #[doc = "Setter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorNode`*"]
+ pub fn set_onended(this: &OscillatorNode, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "OscillatorNode")]
+ #[doc = "The `new OscillatorNode(..)` constructor, creating a new instance of `OscillatorNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/OscillatorNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `OscillatorNode`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<OscillatorNode, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "OscillatorOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "OscillatorNode")]
+ #[doc = "The `new OscillatorNode(..)` constructor, creating a new instance of `OscillatorNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/OscillatorNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `OscillatorNode`, `OscillatorOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &OscillatorOptions,
+ ) -> Result<OscillatorNode, JsValue>;
+ #[cfg(feature = "PeriodicWave")]
+ # [wasm_bindgen (method , structural , js_class = "OscillatorNode" , js_name = setPeriodicWave)]
+ #[doc = "The `setPeriodicWave()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/setPeriodicWave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorNode`, `PeriodicWave`*"]
+ pub fn set_periodic_wave(this: &OscillatorNode, periodic_wave: &PeriodicWave);
+ # [wasm_bindgen (catch , method , structural , js_class = "OscillatorNode" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorNode`*"]
+ pub fn start(this: &OscillatorNode) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OscillatorNode" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorNode`*"]
+ pub fn start_with_when(this: &OscillatorNode, when: f64) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OscillatorNode" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorNode`*"]
+ pub fn stop(this: &OscillatorNode) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "OscillatorNode" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorNode`*"]
+ pub fn stop_with_when(this: &OscillatorNode, when: f64) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_OscillatorOptions.rs b/vendor/web-sys/src/features/gen_OscillatorOptions.rs
new file mode 100644
index 000000000..becbba033
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OscillatorOptions.rs
@@ -0,0 +1,143 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = OscillatorOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OscillatorOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorOptions`*"]
+ pub type OscillatorOptions;
+}
+impl OscillatorOptions {
+ #[doc = "Construct a new `OscillatorOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`, `OscillatorOptions`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`, `OscillatorOptions`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detune` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorOptions`*"]
+ pub fn detune(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detune"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `frequency` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorOptions`*"]
+ pub fn frequency(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frequency"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PeriodicWave")]
+ #[doc = "Change the `periodicWave` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorOptions`, `PeriodicWave`*"]
+ pub fn periodic_wave(&mut self, val: &PeriodicWave) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("periodicWave"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "OscillatorType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OscillatorOptions`, `OscillatorType`*"]
+ pub fn type_(&mut self, val: OscillatorType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for OscillatorOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_OscillatorType.rs b/vendor/web-sys/src/features/gen_OscillatorType.rs
new file mode 100644
index 000000000..49272cf55
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OscillatorType.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `OscillatorType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `OscillatorType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum OscillatorType {
+ Sine = "sine",
+ Square = "square",
+ Sawtooth = "sawtooth",
+ Triangle = "triangle",
+ Custom = "custom",
+}
diff --git a/vendor/web-sys/src/features/gen_OverSampleType.rs b/vendor/web-sys/src/features/gen_OverSampleType.rs
new file mode 100644
index 000000000..bbedb3db6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OverSampleType.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `OverSampleType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `OverSampleType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum OverSampleType {
+ None = "none",
+ N2x = "2x",
+ N4x = "4x",
+}
diff --git a/vendor/web-sys/src/features/gen_OvrMultiview2.rs b/vendor/web-sys/src/features/gen_OvrMultiview2.rs
new file mode 100644
index 000000000..5015902f0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_OvrMultiview2.rs
@@ -0,0 +1,48 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = OVR_multiview2 , typescript_type = "OVR_multiview2")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `OvrMultiview2` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OVR_multiview2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OvrMultiview2`*"]
+ pub type OvrMultiview2;
+ #[cfg(feature = "WebGlTexture")]
+ # [wasm_bindgen (method , structural , js_class = "OVR_multiview2" , js_name = framebufferTextureMultiviewOVR)]
+ #[doc = "The `framebufferTextureMultiviewOVR()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OVR_multiview2/framebufferTextureMultiviewOVR)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OvrMultiview2`, `WebGlTexture`*"]
+ pub fn framebuffer_texture_multiview_ovr(
+ this: &OvrMultiview2,
+ target: u32,
+ attachment: u32,
+ texture: Option<&WebGlTexture>,
+ level: i32,
+ base_view_index: i32,
+ num_views: i32,
+ );
+}
+impl OvrMultiview2 {
+ #[doc = "The `OVR_multiview2.FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OvrMultiview2`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR: u32 = 38448u64 as u32;
+ #[doc = "The `OVR_multiview2.FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OvrMultiview2`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR: u32 = 38450u64 as u32;
+ #[doc = "The `OVR_multiview2.MAX_VIEWS_OVR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OvrMultiview2`*"]
+ pub const MAX_VIEWS_OVR: u32 = 38449u64 as u32;
+ #[doc = "The `OVR_multiview2.FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OvrMultiview2`*"]
+ pub const FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR: u32 = 38451u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_PageTransitionEvent.rs b/vendor/web-sys/src/features/gen_PageTransitionEvent.rs
new file mode 100644
index 000000000..2fed4a4d0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PageTransitionEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PageTransitionEvent , typescript_type = "PageTransitionEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PageTransitionEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PageTransitionEvent`*"]
+ pub type PageTransitionEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "PageTransitionEvent" , js_name = persisted)]
+ #[doc = "Getter for the `persisted` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/persisted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PageTransitionEvent`*"]
+ pub fn persisted(this: &PageTransitionEvent) -> bool;
+ #[wasm_bindgen(catch, constructor, js_class = "PageTransitionEvent")]
+ #[doc = "The `new PageTransitionEvent(..)` constructor, creating a new instance of `PageTransitionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/PageTransitionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PageTransitionEvent`*"]
+ pub fn new(type_: &str) -> Result<PageTransitionEvent, JsValue>;
+ #[cfg(feature = "PageTransitionEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "PageTransitionEvent")]
+ #[doc = "The `new PageTransitionEvent(..)` constructor, creating a new instance of `PageTransitionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/PageTransitionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PageTransitionEvent`, `PageTransitionEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &PageTransitionEventInit,
+ ) -> Result<PageTransitionEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PageTransitionEventInit.rs b/vendor/web-sys/src/features/gen_PageTransitionEventInit.rs
new file mode 100644
index 000000000..460c6fdcf
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PageTransitionEventInit.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PageTransitionEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PageTransitionEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PageTransitionEventInit`*"]
+ pub type PageTransitionEventInit;
+}
+impl PageTransitionEventInit {
+ #[doc = "Construct a new `PageTransitionEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PageTransitionEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PageTransitionEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PageTransitionEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PageTransitionEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `inFrameSwap` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PageTransitionEventInit`*"]
+ pub fn in_frame_swap(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("inFrameSwap"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `persisted` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PageTransitionEventInit`*"]
+ pub fn persisted(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("persisted"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PageTransitionEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PaintRequest.rs b/vendor/web-sys/src/features/gen_PaintRequest.rs
new file mode 100644
index 000000000..393bfe116
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PaintRequest.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaintRequest , typescript_type = "PaintRequest")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PaintRequest` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaintRequest`*"]
+ pub type PaintRequest;
+ #[cfg(feature = "DomRect")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PaintRequest" , js_name = clientRect)]
+ #[doc = "Getter for the `clientRect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequest/clientRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`, `PaintRequest`*"]
+ pub fn client_rect(this: &PaintRequest) -> DomRect;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaintRequest" , js_name = reason)]
+ #[doc = "Getter for the `reason` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequest/reason)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaintRequest`*"]
+ pub fn reason(this: &PaintRequest) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_PaintRequestList.rs b/vendor/web-sys/src/features/gen_PaintRequestList.rs
new file mode 100644
index 000000000..25bf3d56c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PaintRequestList.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaintRequestList , typescript_type = "PaintRequestList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PaintRequestList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequestList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaintRequestList`*"]
+ pub type PaintRequestList;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaintRequestList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequestList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaintRequestList`*"]
+ pub fn length(this: &PaintRequestList) -> u32;
+ #[cfg(feature = "PaintRequest")]
+ # [wasm_bindgen (method , structural , js_class = "PaintRequestList" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequestList/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaintRequest`, `PaintRequestList`*"]
+ pub fn item(this: &PaintRequestList, index: u32) -> Option<PaintRequest>;
+ #[cfg(feature = "PaintRequest")]
+ #[wasm_bindgen(method, structural, js_class = "PaintRequestList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaintRequest`, `PaintRequestList`*"]
+ pub fn get(this: &PaintRequestList, index: u32) -> Option<PaintRequest>;
+}
diff --git a/vendor/web-sys/src/features/gen_PaintWorkletGlobalScope.rs b/vendor/web-sys/src/features/gen_PaintWorkletGlobalScope.rs
new file mode 100644
index 000000000..d022a7e2c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PaintWorkletGlobalScope.rs
@@ -0,0 +1,25 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = WorkletGlobalScope , extends = :: js_sys :: Object , js_name = PaintWorkletGlobalScope , typescript_type = "PaintWorkletGlobalScope")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PaintWorkletGlobalScope` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintWorkletGlobalScope)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaintWorkletGlobalScope`*"]
+ pub type PaintWorkletGlobalScope;
+ # [wasm_bindgen (method , structural , js_class = "PaintWorkletGlobalScope" , js_name = registerPaint)]
+ #[doc = "The `registerPaint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintWorkletGlobalScope/registerPaint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaintWorkletGlobalScope`*"]
+ pub fn register_paint(
+ this: &PaintWorkletGlobalScope,
+ name: &str,
+ paint_ctor: &::js_sys::Function,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_PannerNode.rs b/vendor/web-sys/src/features/gen_PannerNode.rs
new file mode 100644
index 000000000..47787d290
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PannerNode.rs
@@ -0,0 +1,218 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = PannerNode , typescript_type = "PannerNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PannerNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub type PannerNode;
+ #[cfg(feature = "PanningModelType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = panningModel)]
+ #[doc = "Getter for the `panningModel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/panningModel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`, `PanningModelType`*"]
+ pub fn panning_model(this: &PannerNode) -> PanningModelType;
+ #[cfg(feature = "PanningModelType")]
+ # [wasm_bindgen (structural , method , setter , js_class = "PannerNode" , js_name = panningModel)]
+ #[doc = "Setter for the `panningModel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/panningModel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`, `PanningModelType`*"]
+ pub fn set_panning_model(this: &PannerNode, value: PanningModelType);
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = positionX)]
+ #[doc = "Getter for the `positionX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*"]
+ pub fn position_x(this: &PannerNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = positionY)]
+ #[doc = "Getter for the `positionY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*"]
+ pub fn position_y(this: &PannerNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = positionZ)]
+ #[doc = "Getter for the `positionZ` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionZ)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*"]
+ pub fn position_z(this: &PannerNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = orientationX)]
+ #[doc = "Getter for the `orientationX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*"]
+ pub fn orientation_x(this: &PannerNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = orientationY)]
+ #[doc = "Getter for the `orientationY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*"]
+ pub fn orientation_y(this: &PannerNode) -> AudioParam;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = orientationZ)]
+ #[doc = "Getter for the `orientationZ` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationZ)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*"]
+ pub fn orientation_z(this: &PannerNode) -> AudioParam;
+ #[cfg(feature = "DistanceModelType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = distanceModel)]
+ #[doc = "Getter for the `distanceModel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/distanceModel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DistanceModelType`, `PannerNode`*"]
+ pub fn distance_model(this: &PannerNode) -> DistanceModelType;
+ #[cfg(feature = "DistanceModelType")]
+ # [wasm_bindgen (structural , method , setter , js_class = "PannerNode" , js_name = distanceModel)]
+ #[doc = "Setter for the `distanceModel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/distanceModel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DistanceModelType`, `PannerNode`*"]
+ pub fn set_distance_model(this: &PannerNode, value: DistanceModelType);
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = refDistance)]
+ #[doc = "Getter for the `refDistance` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/refDistance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn ref_distance(this: &PannerNode) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "PannerNode" , js_name = refDistance)]
+ #[doc = "Setter for the `refDistance` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/refDistance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn set_ref_distance(this: &PannerNode, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = maxDistance)]
+ #[doc = "Getter for the `maxDistance` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/maxDistance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn max_distance(this: &PannerNode) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "PannerNode" , js_name = maxDistance)]
+ #[doc = "Setter for the `maxDistance` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/maxDistance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn set_max_distance(this: &PannerNode, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = rolloffFactor)]
+ #[doc = "Getter for the `rolloffFactor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/rolloffFactor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn rolloff_factor(this: &PannerNode) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "PannerNode" , js_name = rolloffFactor)]
+ #[doc = "Setter for the `rolloffFactor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/rolloffFactor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn set_rolloff_factor(this: &PannerNode, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = coneInnerAngle)]
+ #[doc = "Getter for the `coneInnerAngle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneInnerAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn cone_inner_angle(this: &PannerNode) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "PannerNode" , js_name = coneInnerAngle)]
+ #[doc = "Setter for the `coneInnerAngle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneInnerAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn set_cone_inner_angle(this: &PannerNode, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = coneOuterAngle)]
+ #[doc = "Getter for the `coneOuterAngle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn cone_outer_angle(this: &PannerNode) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "PannerNode" , js_name = coneOuterAngle)]
+ #[doc = "Setter for the `coneOuterAngle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn set_cone_outer_angle(this: &PannerNode, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "PannerNode" , js_name = coneOuterGain)]
+ #[doc = "Getter for the `coneOuterGain` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterGain)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn cone_outer_gain(this: &PannerNode) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "PannerNode" , js_name = coneOuterGain)]
+ #[doc = "Setter for the `coneOuterGain` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterGain)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn set_cone_outer_gain(this: &PannerNode, value: f64);
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "PannerNode")]
+ #[doc = "The `new PannerNode(..)` constructor, creating a new instance of `PannerNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/PannerNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `PannerNode`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<PannerNode, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "PannerOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "PannerNode")]
+ #[doc = "The `new PannerNode(..)` constructor, creating a new instance of `PannerNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/PannerNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `PannerNode`, `PannerOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &PannerOptions,
+ ) -> Result<PannerNode, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "PannerNode" , js_name = setOrientation)]
+ #[doc = "The `setOrientation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/setOrientation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn set_orientation(this: &PannerNode, x: f64, y: f64, z: f64);
+ # [wasm_bindgen (method , structural , js_class = "PannerNode" , js_name = setPosition)]
+ #[doc = "The `setPosition()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/setPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn set_position(this: &PannerNode, x: f64, y: f64, z: f64);
+ # [wasm_bindgen (method , structural , js_class = "PannerNode" , js_name = setVelocity)]
+ #[doc = "The `setVelocity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/setVelocity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerNode`*"]
+ pub fn set_velocity(this: &PannerNode, x: f64, y: f64, z: f64);
+}
diff --git a/vendor/web-sys/src/features/gen_PannerOptions.rs b/vendor/web-sys/src/features/gen_PannerOptions.rs
new file mode 100644
index 000000000..343ad89ca
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PannerOptions.rs
@@ -0,0 +1,320 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PannerOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PannerOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub type PannerOptions;
+}
+impl PannerOptions {
+ #[doc = "Construct a new `PannerOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`, `PannerOptions`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`, `PannerOptions`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `coneInnerAngle` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn cone_inner_angle(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("coneInnerAngle"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `coneOuterAngle` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn cone_outer_angle(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("coneOuterAngle"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `coneOuterGain` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn cone_outer_gain(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("coneOuterGain"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "DistanceModelType")]
+ #[doc = "Change the `distanceModel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DistanceModelType`, `PannerOptions`*"]
+ pub fn distance_model(&mut self, val: DistanceModelType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("distanceModel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `maxDistance` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn max_distance(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maxDistance"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `orientationX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn orientation_x(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("orientationX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `orientationY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn orientation_y(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("orientationY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `orientationZ` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn orientation_z(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("orientationZ"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PanningModelType")]
+ #[doc = "Change the `panningModel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`, `PanningModelType`*"]
+ pub fn panning_model(&mut self, val: PanningModelType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("panningModel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `positionX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn position_x(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("positionX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `positionY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn position_y(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("positionY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `positionZ` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn position_z(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("positionZ"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `refDistance` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn ref_distance(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("refDistance"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rolloffFactor` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PannerOptions`*"]
+ pub fn rolloff_factor(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rolloffFactor"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PannerOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PanningModelType.rs b/vendor/web-sys/src/features/gen_PanningModelType.rs
new file mode 100644
index 000000000..bdee90bce
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PanningModelType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PanningModelType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PanningModelType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PanningModelType {
+ Equalpower = "equalpower",
+ Hrtf = "HRTF",
+}
diff --git a/vendor/web-sys/src/features/gen_ParityType.rs b/vendor/web-sys/src/features/gen_ParityType.rs
new file mode 100644
index 000000000..866195570
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ParityType.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `ParityType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ParityType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ParityType {
+ None = "none",
+ Even = "even",
+ Odd = "odd",
+}
diff --git a/vendor/web-sys/src/features/gen_Path2d.rs b/vendor/web-sys/src/features/gen_Path2d.rs
new file mode 100644
index 000000000..7cdb3e8d9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Path2d.rs
@@ -0,0 +1,176 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Path2D , typescript_type = "Path2D")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Path2d` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub type Path2d;
+ #[wasm_bindgen(catch, constructor, js_class = "Path2D")]
+ #[doc = "The `new Path2d(..)` constructor, creating a new instance of `Path2d`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/Path2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn new() -> Result<Path2d, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Path2D")]
+ #[doc = "The `new Path2d(..)` constructor, creating a new instance of `Path2d`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/Path2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn new_with_other(other: &Path2d) -> Result<Path2d, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Path2D")]
+ #[doc = "The `new Path2d(..)` constructor, creating a new instance of `Path2d`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/Path2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn new_with_path_string(path_string: &str) -> Result<Path2d, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Path2D" , js_name = addPath)]
+ #[doc = "The `addPath()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/addPath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn add_path(this: &Path2d, path: &Path2d);
+ #[cfg(feature = "SvgMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "Path2D" , js_name = addPath)]
+ #[doc = "The `addPath()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/addPath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`, `SvgMatrix`*"]
+ pub fn add_path_with_transformation(this: &Path2d, path: &Path2d, transformation: &SvgMatrix);
+ # [wasm_bindgen (catch , method , structural , js_class = "Path2D" , js_name = arc)]
+ #[doc = "The `arc()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/arc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn arc(
+ this: &Path2d,
+ x: f64,
+ y: f64,
+ radius: f64,
+ start_angle: f64,
+ end_angle: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Path2D" , js_name = arc)]
+ #[doc = "The `arc()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/arc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn arc_with_anticlockwise(
+ this: &Path2d,
+ x: f64,
+ y: f64,
+ radius: f64,
+ start_angle: f64,
+ end_angle: f64,
+ anticlockwise: bool,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Path2D" , js_name = arcTo)]
+ #[doc = "The `arcTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/arcTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn arc_to(
+ this: &Path2d,
+ x1: f64,
+ y1: f64,
+ x2: f64,
+ y2: f64,
+ radius: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Path2D" , js_name = bezierCurveTo)]
+ #[doc = "The `bezierCurveTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/bezierCurveTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn bezier_curve_to(
+ this: &Path2d,
+ cp1x: f64,
+ cp1y: f64,
+ cp2x: f64,
+ cp2y: f64,
+ x: f64,
+ y: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "Path2D" , js_name = closePath)]
+ #[doc = "The `closePath()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/closePath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn close_path(this: &Path2d);
+ # [wasm_bindgen (catch , method , structural , js_class = "Path2D" , js_name = ellipse)]
+ #[doc = "The `ellipse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/ellipse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn ellipse(
+ this: &Path2d,
+ x: f64,
+ y: f64,
+ radius_x: f64,
+ radius_y: f64,
+ rotation: f64,
+ start_angle: f64,
+ end_angle: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Path2D" , js_name = ellipse)]
+ #[doc = "The `ellipse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/ellipse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn ellipse_with_anticlockwise(
+ this: &Path2d,
+ x: f64,
+ y: f64,
+ radius_x: f64,
+ radius_y: f64,
+ rotation: f64,
+ start_angle: f64,
+ end_angle: f64,
+ anticlockwise: bool,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Path2D" , js_name = lineTo)]
+ #[doc = "The `lineTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/lineTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn line_to(this: &Path2d, x: f64, y: f64);
+ # [wasm_bindgen (method , structural , js_class = "Path2D" , js_name = moveTo)]
+ #[doc = "The `moveTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/moveTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn move_to(this: &Path2d, x: f64, y: f64);
+ # [wasm_bindgen (method , structural , js_class = "Path2D" , js_name = quadraticCurveTo)]
+ #[doc = "The `quadraticCurveTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/quadraticCurveTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn quadratic_curve_to(this: &Path2d, cpx: f64, cpy: f64, x: f64, y: f64);
+ # [wasm_bindgen (method , structural , js_class = "Path2D" , js_name = rect)]
+ #[doc = "The `rect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/rect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Path2d`*"]
+ pub fn rect(this: &Path2d, x: f64, y: f64, w: f64, h: f64);
+}
diff --git a/vendor/web-sys/src/features/gen_PaymentAddress.rs b/vendor/web-sys/src/features/gen_PaymentAddress.rs
new file mode 100644
index 000000000..7402ca5be
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PaymentAddress.rs
@@ -0,0 +1,98 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaymentAddress , typescript_type = "PaymentAddress")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PaymentAddress` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub type PaymentAddress;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = country)]
+ #[doc = "Getter for the `country` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/country)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub fn country(this: &PaymentAddress) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = addressLine)]
+ #[doc = "Getter for the `addressLine` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/addressLine)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub fn address_line(this: &PaymentAddress) -> ::js_sys::Array;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = region)]
+ #[doc = "Getter for the `region` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/region)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub fn region(this: &PaymentAddress) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = city)]
+ #[doc = "Getter for the `city` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/city)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub fn city(this: &PaymentAddress) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = dependentLocality)]
+ #[doc = "Getter for the `dependentLocality` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/dependentLocality)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub fn dependent_locality(this: &PaymentAddress) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = postalCode)]
+ #[doc = "Getter for the `postalCode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/postalCode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub fn postal_code(this: &PaymentAddress) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = sortingCode)]
+ #[doc = "Getter for the `sortingCode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/sortingCode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub fn sorting_code(this: &PaymentAddress) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = languageCode)]
+ #[doc = "Getter for the `languageCode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/languageCode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub fn language_code(this: &PaymentAddress) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = organization)]
+ #[doc = "Getter for the `organization` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/organization)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub fn organization(this: &PaymentAddress) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = recipient)]
+ #[doc = "Getter for the `recipient` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/recipient)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub fn recipient(this: &PaymentAddress) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = phone)]
+ #[doc = "Getter for the `phone` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/phone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub fn phone(this: &PaymentAddress) -> String;
+ # [wasm_bindgen (method , structural , js_class = "PaymentAddress" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
+ pub fn to_json(this: &PaymentAddress) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_PaymentComplete.rs b/vendor/web-sys/src/features/gen_PaymentComplete.rs
new file mode 100644
index 000000000..77812acff
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PaymentComplete.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PaymentComplete` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PaymentComplete`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PaymentComplete {
+ Success = "success",
+ Fail = "fail",
+ Unknown = "unknown",
+}
diff --git a/vendor/web-sys/src/features/gen_PaymentMethodChangeEvent.rs b/vendor/web-sys/src/features/gen_PaymentMethodChangeEvent.rs
new file mode 100644
index 000000000..68d5868c8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PaymentMethodChangeEvent.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = PaymentRequestUpdateEvent , extends = Event , extends = :: js_sys :: Object , js_name = PaymentMethodChangeEvent , typescript_type = "PaymentMethodChangeEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PaymentMethodChangeEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`*"]
+ pub type PaymentMethodChangeEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentMethodChangeEvent" , js_name = methodName)]
+ #[doc = "Getter for the `methodName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/methodName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`*"]
+ pub fn method_name(this: &PaymentMethodChangeEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentMethodChangeEvent" , js_name = methodDetails)]
+ #[doc = "Getter for the `methodDetails` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/methodDetails)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`*"]
+ pub fn method_details(this: &PaymentMethodChangeEvent) -> Option<::js_sys::Object>;
+ #[wasm_bindgen(catch, constructor, js_class = "PaymentMethodChangeEvent")]
+ #[doc = "The `new PaymentMethodChangeEvent(..)` constructor, creating a new instance of `PaymentMethodChangeEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/PaymentMethodChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`*"]
+ pub fn new(type_: &str) -> Result<PaymentMethodChangeEvent, JsValue>;
+ #[cfg(feature = "PaymentMethodChangeEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "PaymentMethodChangeEvent")]
+ #[doc = "The `new PaymentMethodChangeEvent(..)` constructor, creating a new instance of `PaymentMethodChangeEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/PaymentMethodChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`, `PaymentMethodChangeEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &PaymentMethodChangeEventInit,
+ ) -> Result<PaymentMethodChangeEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PaymentMethodChangeEventInit.rs b/vendor/web-sys/src/features/gen_PaymentMethodChangeEventInit.rs
new file mode 100644
index 000000000..0aa07478f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PaymentMethodChangeEventInit.rs
@@ -0,0 +1,108 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaymentMethodChangeEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PaymentMethodChangeEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentMethodChangeEventInit`*"]
+ pub type PaymentMethodChangeEventInit;
+}
+impl PaymentMethodChangeEventInit {
+ #[doc = "Construct a new `PaymentMethodChangeEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentMethodChangeEventInit`*"]
+ pub fn new(method_name: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.method_name(method_name);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentMethodChangeEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentMethodChangeEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentMethodChangeEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `methodDetails` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentMethodChangeEventInit`*"]
+ pub fn method_details(&mut self, val: Option<&::js_sys::Object>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("methodDetails"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `methodName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentMethodChangeEventInit`*"]
+ pub fn method_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("methodName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PaymentRequestUpdateEvent.rs b/vendor/web-sys/src/features/gen_PaymentRequestUpdateEvent.rs
new file mode 100644
index 000000000..fa60547c3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PaymentRequestUpdateEvent.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PaymentRequestUpdateEvent , typescript_type = "PaymentRequestUpdateEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PaymentRequestUpdateEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentRequestUpdateEvent`*"]
+ pub type PaymentRequestUpdateEvent;
+ #[wasm_bindgen(catch, constructor, js_class = "PaymentRequestUpdateEvent")]
+ #[doc = "The `new PaymentRequestUpdateEvent(..)` constructor, creating a new instance of `PaymentRequestUpdateEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/PaymentRequestUpdateEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentRequestUpdateEvent`*"]
+ pub fn new(type_: &str) -> Result<PaymentRequestUpdateEvent, JsValue>;
+ #[cfg(feature = "PaymentRequestUpdateEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "PaymentRequestUpdateEvent")]
+ #[doc = "The `new PaymentRequestUpdateEvent(..)` constructor, creating a new instance of `PaymentRequestUpdateEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/PaymentRequestUpdateEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentRequestUpdateEvent`, `PaymentRequestUpdateEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &PaymentRequestUpdateEventInit,
+ ) -> Result<PaymentRequestUpdateEvent, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PaymentRequestUpdateEvent" , js_name = updateWith)]
+ #[doc = "The `updateWith()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/updateWith)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentRequestUpdateEvent`*"]
+ pub fn update_with(
+ this: &PaymentRequestUpdateEvent,
+ details_promise: &::js_sys::Promise,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PaymentRequestUpdateEventInit.rs b/vendor/web-sys/src/features/gen_PaymentRequestUpdateEventInit.rs
new file mode 100644
index 000000000..c3877bf6b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PaymentRequestUpdateEventInit.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaymentRequestUpdateEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PaymentRequestUpdateEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentRequestUpdateEventInit`*"]
+ pub type PaymentRequestUpdateEventInit;
+}
+impl PaymentRequestUpdateEventInit {
+ #[doc = "Construct a new `PaymentRequestUpdateEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentRequestUpdateEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentRequestUpdateEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentRequestUpdateEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentRequestUpdateEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PaymentRequestUpdateEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PaymentResponse.rs b/vendor/web-sys/src/features/gen_PaymentResponse.rs
new file mode 100644
index 000000000..b9007db1c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PaymentResponse.rs
@@ -0,0 +1,96 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaymentResponse , typescript_type = "PaymentResponse")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PaymentResponse` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentResponse`*"]
+ pub type PaymentResponse;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentResponse" , js_name = requestId)]
+ #[doc = "Getter for the `requestId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/requestId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentResponse`*"]
+ pub fn request_id(this: &PaymentResponse) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentResponse" , js_name = methodName)]
+ #[doc = "Getter for the `methodName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/methodName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentResponse`*"]
+ pub fn method_name(this: &PaymentResponse) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentResponse" , js_name = details)]
+ #[doc = "Getter for the `details` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/details)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentResponse`*"]
+ pub fn details(this: &PaymentResponse) -> ::js_sys::Object;
+ #[cfg(feature = "PaymentAddress")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentResponse" , js_name = shippingAddress)]
+ #[doc = "Getter for the `shippingAddress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/shippingAddress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`, `PaymentResponse`*"]
+ pub fn shipping_address(this: &PaymentResponse) -> Option<PaymentAddress>;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentResponse" , js_name = shippingOption)]
+ #[doc = "Getter for the `shippingOption` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/shippingOption)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentResponse`*"]
+ pub fn shipping_option(this: &PaymentResponse) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentResponse" , js_name = payerName)]
+ #[doc = "Getter for the `payerName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentResponse`*"]
+ pub fn payer_name(this: &PaymentResponse) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentResponse" , js_name = payerEmail)]
+ #[doc = "Getter for the `payerEmail` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerEmail)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentResponse`*"]
+ pub fn payer_email(this: &PaymentResponse) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "PaymentResponse" , js_name = payerPhone)]
+ #[doc = "Getter for the `payerPhone` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerPhone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentResponse`*"]
+ pub fn payer_phone(this: &PaymentResponse) -> Option<String>;
+ # [wasm_bindgen (method , structural , js_class = "PaymentResponse" , js_name = complete)]
+ #[doc = "The `complete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/complete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentResponse`*"]
+ pub fn complete(this: &PaymentResponse) -> ::js_sys::Promise;
+ #[cfg(feature = "PaymentComplete")]
+ # [wasm_bindgen (method , structural , js_class = "PaymentResponse" , js_name = complete)]
+ #[doc = "The `complete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/complete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentComplete`, `PaymentResponse`*"]
+ pub fn complete_with_result(
+ this: &PaymentResponse,
+ result: PaymentComplete,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "PaymentResponse" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PaymentResponse`*"]
+ pub fn to_json(this: &PaymentResponse) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_Pbkdf2Params.rs b/vendor/web-sys/src/features/gen_Pbkdf2Params.rs
new file mode 100644
index 000000000..4bf39c683
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Pbkdf2Params.rs
@@ -0,0 +1,87 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Pbkdf2Params)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Pbkdf2Params` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Pbkdf2Params`*"]
+ pub type Pbkdf2Params;
+}
+impl Pbkdf2Params {
+ #[doc = "Construct a new `Pbkdf2Params`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Pbkdf2Params`*"]
+ pub fn new(
+ name: &str,
+ hash: &::wasm_bindgen::JsValue,
+ iterations: u32,
+ salt: &::js_sys::Object,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.hash(hash);
+ ret.iterations(iterations);
+ ret.salt(salt);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Pbkdf2Params`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Pbkdf2Params`*"]
+ pub fn hash(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("hash"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iterations` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Pbkdf2Params`*"]
+ pub fn iterations(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iterations"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `salt` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Pbkdf2Params`*"]
+ pub fn salt(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("salt"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PcImplIceConnectionState.rs b/vendor/web-sys/src/features/gen_PcImplIceConnectionState.rs
new file mode 100644
index 000000000..f79b4ea0e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PcImplIceConnectionState.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PcImplIceConnectionState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PcImplIceConnectionState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PcImplIceConnectionState {
+ New = "new",
+ Checking = "checking",
+ Connected = "connected",
+ Completed = "completed",
+ Failed = "failed",
+ Disconnected = "disconnected",
+ Closed = "closed",
+}
diff --git a/vendor/web-sys/src/features/gen_PcImplIceGatheringState.rs b/vendor/web-sys/src/features/gen_PcImplIceGatheringState.rs
new file mode 100644
index 000000000..dd9fe873f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PcImplIceGatheringState.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PcImplIceGatheringState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PcImplIceGatheringState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PcImplIceGatheringState {
+ New = "new",
+ Gathering = "gathering",
+ Complete = "complete",
+}
diff --git a/vendor/web-sys/src/features/gen_PcImplSignalingState.rs b/vendor/web-sys/src/features/gen_PcImplSignalingState.rs
new file mode 100644
index 000000000..bc940be72
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PcImplSignalingState.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PcImplSignalingState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PcImplSignalingState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PcImplSignalingState {
+ SignalingInvalid = "SignalingInvalid",
+ SignalingStable = "SignalingStable",
+ SignalingHaveLocalOffer = "SignalingHaveLocalOffer",
+ SignalingHaveRemoteOffer = "SignalingHaveRemoteOffer",
+ SignalingHaveLocalPranswer = "SignalingHaveLocalPranswer",
+ SignalingHaveRemotePranswer = "SignalingHaveRemotePranswer",
+ SignalingClosed = "SignalingClosed",
+}
diff --git a/vendor/web-sys/src/features/gen_PcObserverStateType.rs b/vendor/web-sys/src/features/gen_PcObserverStateType.rs
new file mode 100644
index 000000000..11a74b3da
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PcObserverStateType.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PcObserverStateType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PcObserverStateType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PcObserverStateType {
+ None = "None",
+ IceConnectionState = "IceConnectionState",
+ IceGatheringState = "IceGatheringState",
+ SignalingState = "SignalingState",
+}
diff --git a/vendor/web-sys/src/features/gen_Performance.rs b/vendor/web-sys/src/features/gen_Performance.rs
new file mode 100644
index 000000000..0e4212900
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Performance.rs
@@ -0,0 +1,176 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Performance , typescript_type = "Performance")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Performance` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub type Performance;
+ # [wasm_bindgen (structural , method , getter , js_class = "Performance" , js_name = timeOrigin)]
+ #[doc = "Getter for the `timeOrigin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/timeOrigin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn time_origin(this: &Performance) -> f64;
+ #[cfg(feature = "PerformanceTiming")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Performance" , js_name = timing)]
+ #[doc = "Getter for the `timing` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/timing)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`, `PerformanceTiming`*"]
+ pub fn timing(this: &Performance) -> PerformanceTiming;
+ #[cfg(feature = "PerformanceNavigation")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Performance" , js_name = navigation)]
+ #[doc = "Getter for the `navigation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/navigation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`, `PerformanceNavigation`*"]
+ pub fn navigation(this: &Performance) -> PerformanceNavigation;
+ # [wasm_bindgen (structural , method , getter , js_class = "Performance" , js_name = onresourcetimingbufferfull)]
+ #[doc = "Getter for the `onresourcetimingbufferfull` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/onresourcetimingbufferfull)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn onresourcetimingbufferfull(this: &Performance) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Performance" , js_name = onresourcetimingbufferfull)]
+ #[doc = "Setter for the `onresourcetimingbufferfull` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/onresourcetimingbufferfull)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn set_onresourcetimingbufferfull(this: &Performance, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = clearMarks)]
+ #[doc = "The `clearMarks()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearMarks)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn clear_marks(this: &Performance);
+ # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = clearMarks)]
+ #[doc = "The `clearMarks()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearMarks)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn clear_marks_with_mark_name(this: &Performance, mark_name: &str);
+ # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = clearMeasures)]
+ #[doc = "The `clearMeasures()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearMeasures)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn clear_measures(this: &Performance);
+ # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = clearMeasures)]
+ #[doc = "The `clearMeasures()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearMeasures)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn clear_measures_with_measure_name(this: &Performance, measure_name: &str);
+ # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = clearResourceTimings)]
+ #[doc = "The `clearResourceTimings()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearResourceTimings)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn clear_resource_timings(this: &Performance);
+ # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = getEntries)]
+ #[doc = "The `getEntries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/getEntries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn get_entries(this: &Performance) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = getEntriesByName)]
+ #[doc = "The `getEntriesByName()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/getEntriesByName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn get_entries_by_name(this: &Performance, name: &str) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = getEntriesByName)]
+ #[doc = "The `getEntriesByName()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/getEntriesByName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn get_entries_by_name_with_entry_type(
+ this: &Performance,
+ name: &str,
+ entry_type: &str,
+ ) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = getEntriesByType)]
+ #[doc = "The `getEntriesByType()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/getEntriesByType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn get_entries_by_type(this: &Performance, entry_type: &str) -> ::js_sys::Array;
+ # [wasm_bindgen (catch , method , structural , js_class = "Performance" , js_name = mark)]
+ #[doc = "The `mark()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/mark)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn mark(this: &Performance, mark_name: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Performance" , js_name = measure)]
+ #[doc = "The `measure()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn measure(this: &Performance, measure_name: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Performance" , js_name = measure)]
+ #[doc = "The `measure()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn measure_with_start_mark(
+ this: &Performance,
+ measure_name: &str,
+ start_mark: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Performance" , js_name = measure)]
+ #[doc = "The `measure()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn measure_with_start_mark_and_end_mark(
+ this: &Performance,
+ measure_name: &str,
+ start_mark: &str,
+ end_mark: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = now)]
+ #[doc = "The `now()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/now)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn now(this: &Performance) -> f64;
+ # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = setResourceTimingBufferSize)]
+ #[doc = "The `setResourceTimingBufferSize()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/setResourceTimingBufferSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn set_resource_timing_buffer_size(this: &Performance, max_size: u32);
+ # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`*"]
+ pub fn to_json(this: &Performance) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceEntry.rs b/vendor/web-sys/src/features/gen_PerformanceEntry.rs
new file mode 100644
index 000000000..41e22c04f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceEntry.rs
@@ -0,0 +1,49 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceEntry , typescript_type = "PerformanceEntry")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceEntry` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntry`*"]
+ pub type PerformanceEntry;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceEntry" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntry`*"]
+ pub fn name(this: &PerformanceEntry) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceEntry" , js_name = entryType)]
+ #[doc = "Getter for the `entryType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/entryType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntry`*"]
+ pub fn entry_type(this: &PerformanceEntry) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceEntry" , js_name = startTime)]
+ #[doc = "Getter for the `startTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/startTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntry`*"]
+ pub fn start_time(this: &PerformanceEntry) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceEntry" , js_name = duration)]
+ #[doc = "Getter for the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/duration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntry`*"]
+ pub fn duration(this: &PerformanceEntry) -> f64;
+ # [wasm_bindgen (method , structural , js_class = "PerformanceEntry" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntry`*"]
+ pub fn to_json(this: &PerformanceEntry) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceEntryEventInit.rs b/vendor/web-sys/src/features/gen_PerformanceEntryEventInit.rs
new file mode 100644
index 000000000..884971987
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceEntryEventInit.rs
@@ -0,0 +1,169 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceEntryEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceEntryEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryEventInit`*"]
+ pub type PerformanceEntryEventInit;
+}
+impl PerformanceEntryEventInit {
+ #[doc = "Construct a new `PerformanceEntryEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryEventInit`*"]
+ pub fn duration(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("duration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `entryType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryEventInit`*"]
+ pub fn entry_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("entryType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `epoch` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryEventInit`*"]
+ pub fn epoch(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("epoch"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryEventInit`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryEventInit`*"]
+ pub fn origin(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("origin"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `startTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryEventInit`*"]
+ pub fn start_time(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("startTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PerformanceEntryEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceEntryFilterOptions.rs b/vendor/web-sys/src/features/gen_PerformanceEntryFilterOptions.rs
new file mode 100644
index 000000000..abc5c78de
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceEntryFilterOptions.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceEntryFilterOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceEntryFilterOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryFilterOptions`*"]
+ pub type PerformanceEntryFilterOptions;
+}
+impl PerformanceEntryFilterOptions {
+ #[doc = "Construct a new `PerformanceEntryFilterOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryFilterOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `entryType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryFilterOptions`*"]
+ pub fn entry_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("entryType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `initiatorType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryFilterOptions`*"]
+ pub fn initiator_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("initiatorType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryFilterOptions`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PerformanceEntryFilterOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceMark.rs b/vendor/web-sys/src/features/gen_PerformanceMark.rs
new file mode 100644
index 000000000..b74bed7fd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceMark.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = PerformanceEntry , extends = :: js_sys :: Object , js_name = PerformanceMark , typescript_type = "PerformanceMark")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceMark` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceMark)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceMark`*"]
+ pub type PerformanceMark;
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceMeasure.rs b/vendor/web-sys/src/features/gen_PerformanceMeasure.rs
new file mode 100644
index 000000000..e7981e720
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceMeasure.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = PerformanceEntry , extends = :: js_sys :: Object , js_name = PerformanceMeasure , typescript_type = "PerformanceMeasure")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceMeasure` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceMeasure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceMeasure`*"]
+ pub type PerformanceMeasure;
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceNavigation.rs b/vendor/web-sys/src/features/gen_PerformanceNavigation.rs
new file mode 100644
index 000000000..339e62227
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceNavigation.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceNavigation , typescript_type = "PerformanceNavigation")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceNavigation` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigation`*"]
+ pub type PerformanceNavigation;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigation" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigation`*"]
+ pub fn type_(this: &PerformanceNavigation) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigation" , js_name = redirectCount)]
+ #[doc = "Getter for the `redirectCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation/redirectCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigation`*"]
+ pub fn redirect_count(this: &PerformanceNavigation) -> u16;
+ # [wasm_bindgen (method , structural , js_class = "PerformanceNavigation" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigation`*"]
+ pub fn to_json(this: &PerformanceNavigation) -> ::js_sys::Object;
+}
+impl PerformanceNavigation {
+ #[doc = "The `PerformanceNavigation.TYPE_NAVIGATE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigation`*"]
+ pub const TYPE_NAVIGATE: u16 = 0i64 as u16;
+ #[doc = "The `PerformanceNavigation.TYPE_RELOAD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigation`*"]
+ pub const TYPE_RELOAD: u16 = 1u64 as u16;
+ #[doc = "The `PerformanceNavigation.TYPE_BACK_FORWARD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigation`*"]
+ pub const TYPE_BACK_FORWARD: u16 = 2u64 as u16;
+ #[doc = "The `PerformanceNavigation.TYPE_RESERVED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigation`*"]
+ pub const TYPE_RESERVED: u16 = 255u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs b/vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs
new file mode 100644
index 000000000..2193b4c82
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = PerformanceResourceTiming , extends = PerformanceEntry , extends = :: js_sys :: Object , js_name = PerformanceNavigationTiming , typescript_type = "PerformanceNavigationTiming")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceNavigationTiming` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub type PerformanceNavigationTiming;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = unloadEventStart)]
+ #[doc = "Getter for the `unloadEventStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/unloadEventStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn unload_event_start(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = unloadEventEnd)]
+ #[doc = "Getter for the `unloadEventEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/unloadEventEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn unload_event_end(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = domInteractive)]
+ #[doc = "Getter for the `domInteractive` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domInteractive)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn dom_interactive(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = domContentLoadedEventStart)]
+ #[doc = "Getter for the `domContentLoadedEventStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domContentLoadedEventStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn dom_content_loaded_event_start(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = domContentLoadedEventEnd)]
+ #[doc = "Getter for the `domContentLoadedEventEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domContentLoadedEventEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn dom_content_loaded_event_end(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = domComplete)]
+ #[doc = "Getter for the `domComplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domComplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn dom_complete(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = loadEventStart)]
+ #[doc = "Getter for the `loadEventStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/loadEventStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn load_event_start(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = loadEventEnd)]
+ #[doc = "Getter for the `loadEventEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/loadEventEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn load_event_end(this: &PerformanceNavigationTiming) -> f64;
+ #[cfg(feature = "NavigationType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NavigationType`, `PerformanceNavigationTiming`*"]
+ pub fn type_(this: &PerformanceNavigationTiming) -> NavigationType;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = redirectCount)]
+ #[doc = "Getter for the `redirectCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/redirectCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn redirect_count(this: &PerformanceNavigationTiming) -> u16;
+ # [wasm_bindgen (method , structural , js_class = "PerformanceNavigationTiming" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn to_json(this: &PerformanceNavigationTiming) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceObserver.rs b/vendor/web-sys/src/features/gen_PerformanceObserver.rs
new file mode 100644
index 000000000..1146a121a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceObserver.rs
@@ -0,0 +1,43 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceObserver , typescript_type = "PerformanceObserver")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceObserver` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserver`*"]
+ pub type PerformanceObserver;
+ #[wasm_bindgen(catch, constructor, js_class = "PerformanceObserver")]
+ #[doc = "The `new PerformanceObserver(..)` constructor, creating a new instance of `PerformanceObserver`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/PerformanceObserver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserver`*"]
+ pub fn new(callback: &::js_sys::Function) -> Result<PerformanceObserver, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "PerformanceObserver" , js_name = disconnect)]
+ #[doc = "The `disconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/disconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserver`*"]
+ pub fn disconnect(this: &PerformanceObserver);
+ #[cfg(feature = "PerformanceObserverInit")]
+ # [wasm_bindgen (method , structural , js_class = "PerformanceObserver" , js_name = observe)]
+ #[doc = "The `observe()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/observe)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserver`, `PerformanceObserverInit`*"]
+ pub fn observe(this: &PerformanceObserver, options: &PerformanceObserverInit);
+ # [wasm_bindgen (method , structural , js_class = "PerformanceObserver" , js_name = takeRecords)]
+ #[doc = "The `takeRecords()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/takeRecords)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserver`*"]
+ pub fn take_records(this: &PerformanceObserver) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceObserverEntryList.rs b/vendor/web-sys/src/features/gen_PerformanceObserverEntryList.rs
new file mode 100644
index 000000000..29b5dd6da
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceObserverEntryList.rs
@@ -0,0 +1,60 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceObserverEntryList , typescript_type = "PerformanceObserverEntryList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceObserverEntryList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverEntryList`*"]
+ pub type PerformanceObserverEntryList;
+ # [wasm_bindgen (method , structural , js_class = "PerformanceObserverEntryList" , js_name = getEntries)]
+ #[doc = "The `getEntries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList/getEntries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverEntryList`*"]
+ pub fn get_entries(this: &PerformanceObserverEntryList) -> ::js_sys::Array;
+ #[cfg(feature = "PerformanceEntryFilterOptions")]
+ # [wasm_bindgen (method , structural , js_class = "PerformanceObserverEntryList" , js_name = getEntries)]
+ #[doc = "The `getEntries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList/getEntries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryFilterOptions`, `PerformanceObserverEntryList`*"]
+ pub fn get_entries_with_filter(
+ this: &PerformanceObserverEntryList,
+ filter: &PerformanceEntryFilterOptions,
+ ) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "PerformanceObserverEntryList" , js_name = getEntriesByName)]
+ #[doc = "The `getEntriesByName()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList/getEntriesByName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverEntryList`*"]
+ pub fn get_entries_by_name(this: &PerformanceObserverEntryList, name: &str) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "PerformanceObserverEntryList" , js_name = getEntriesByName)]
+ #[doc = "The `getEntriesByName()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList/getEntriesByName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverEntryList`*"]
+ pub fn get_entries_by_name_with_entry_type(
+ this: &PerformanceObserverEntryList,
+ name: &str,
+ entry_type: &str,
+ ) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "PerformanceObserverEntryList" , js_name = getEntriesByType)]
+ #[doc = "The `getEntriesByType()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList/getEntriesByType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverEntryList`*"]
+ pub fn get_entries_by_type(
+ this: &PerformanceObserverEntryList,
+ entry_type: &str,
+ ) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceObserverInit.rs b/vendor/web-sys/src/features/gen_PerformanceObserverInit.rs
new file mode 100644
index 000000000..cdfef4c53
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceObserverInit.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceObserverInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceObserverInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverInit`*"]
+ pub type PerformanceObserverInit;
+}
+impl PerformanceObserverInit {
+ #[doc = "Construct a new `PerformanceObserverInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverInit`*"]
+ pub fn new(entry_types: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.entry_types(entry_types);
+ ret
+ }
+ #[doc = "Change the `buffered` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverInit`*"]
+ pub fn buffered(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("buffered"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `entryTypes` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverInit`*"]
+ pub fn entry_types(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("entryTypes"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceResourceTiming.rs b/vendor/web-sys/src/features/gen_PerformanceResourceTiming.rs
new file mode 100644
index 000000000..4aa5d2e72
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceResourceTiming.rs
@@ -0,0 +1,147 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = PerformanceEntry , extends = :: js_sys :: Object , js_name = PerformanceResourceTiming , typescript_type = "PerformanceResourceTiming")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceResourceTiming` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub type PerformanceResourceTiming;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = initiatorType)]
+ #[doc = "Getter for the `initiatorType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/initiatorType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn initiator_type(this: &PerformanceResourceTiming) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = nextHopProtocol)]
+ #[doc = "Getter for the `nextHopProtocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/nextHopProtocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn next_hop_protocol(this: &PerformanceResourceTiming) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = workerStart)]
+ #[doc = "Getter for the `workerStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/workerStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn worker_start(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = redirectStart)]
+ #[doc = "Getter for the `redirectStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/redirectStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn redirect_start(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = redirectEnd)]
+ #[doc = "Getter for the `redirectEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/redirectEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn redirect_end(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = fetchStart)]
+ #[doc = "Getter for the `fetchStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/fetchStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn fetch_start(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = domainLookupStart)]
+ #[doc = "Getter for the `domainLookupStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/domainLookupStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn domain_lookup_start(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = domainLookupEnd)]
+ #[doc = "Getter for the `domainLookupEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/domainLookupEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn domain_lookup_end(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = connectStart)]
+ #[doc = "Getter for the `connectStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/connectStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn connect_start(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = connectEnd)]
+ #[doc = "Getter for the `connectEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/connectEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn connect_end(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = secureConnectionStart)]
+ #[doc = "Getter for the `secureConnectionStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/secureConnectionStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn secure_connection_start(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = requestStart)]
+ #[doc = "Getter for the `requestStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/requestStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn request_start(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = responseStart)]
+ #[doc = "Getter for the `responseStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/responseStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn response_start(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = responseEnd)]
+ #[doc = "Getter for the `responseEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/responseEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn response_end(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = transferSize)]
+ #[doc = "Getter for the `transferSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/transferSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn transfer_size(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = encodedBodySize)]
+ #[doc = "Getter for the `encodedBodySize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/encodedBodySize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn encoded_body_size(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = decodedBodySize)]
+ #[doc = "Getter for the `decodedBodySize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/decodedBodySize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn decoded_body_size(this: &PerformanceResourceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = serverTiming)]
+ #[doc = "Getter for the `serverTiming` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/serverTiming)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn server_timing(this: &PerformanceResourceTiming) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "PerformanceResourceTiming" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
+ pub fn to_json(this: &PerformanceResourceTiming) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceServerTiming.rs b/vendor/web-sys/src/features/gen_PerformanceServerTiming.rs
new file mode 100644
index 000000000..2b77307e4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceServerTiming.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceServerTiming , typescript_type = "PerformanceServerTiming")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceServerTiming` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceServerTiming`*"]
+ pub type PerformanceServerTiming;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceServerTiming" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceServerTiming`*"]
+ pub fn name(this: &PerformanceServerTiming) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceServerTiming" , js_name = duration)]
+ #[doc = "Getter for the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/duration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceServerTiming`*"]
+ pub fn duration(this: &PerformanceServerTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceServerTiming" , js_name = description)]
+ #[doc = "Getter for the `description` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/description)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceServerTiming`*"]
+ pub fn description(this: &PerformanceServerTiming) -> String;
+ # [wasm_bindgen (method , structural , js_class = "PerformanceServerTiming" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceServerTiming`*"]
+ pub fn to_json(this: &PerformanceServerTiming) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_PerformanceTiming.rs b/vendor/web-sys/src/features/gen_PerformanceTiming.rs
new file mode 100644
index 000000000..f1fc6e29b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceTiming.rs
@@ -0,0 +1,182 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceTiming , typescript_type = "PerformanceTiming")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceTiming` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub type PerformanceTiming;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = navigationStart)]
+ #[doc = "Getter for the `navigationStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/navigationStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn navigation_start(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = unloadEventStart)]
+ #[doc = "Getter for the `unloadEventStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/unloadEventStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn unload_event_start(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = unloadEventEnd)]
+ #[doc = "Getter for the `unloadEventEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/unloadEventEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn unload_event_end(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = redirectStart)]
+ #[doc = "Getter for the `redirectStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/redirectStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn redirect_start(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = redirectEnd)]
+ #[doc = "Getter for the `redirectEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/redirectEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn redirect_end(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = fetchStart)]
+ #[doc = "Getter for the `fetchStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/fetchStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn fetch_start(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domainLookupStart)]
+ #[doc = "Getter for the `domainLookupStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domainLookupStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn domain_lookup_start(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domainLookupEnd)]
+ #[doc = "Getter for the `domainLookupEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domainLookupEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn domain_lookup_end(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = connectStart)]
+ #[doc = "Getter for the `connectStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/connectStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn connect_start(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = connectEnd)]
+ #[doc = "Getter for the `connectEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/connectEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn connect_end(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = secureConnectionStart)]
+ #[doc = "Getter for the `secureConnectionStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/secureConnectionStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn secure_connection_start(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = requestStart)]
+ #[doc = "Getter for the `requestStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/requestStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn request_start(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = responseStart)]
+ #[doc = "Getter for the `responseStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/responseStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn response_start(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = responseEnd)]
+ #[doc = "Getter for the `responseEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/responseEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn response_end(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domLoading)]
+ #[doc = "Getter for the `domLoading` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domLoading)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn dom_loading(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domInteractive)]
+ #[doc = "Getter for the `domInteractive` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domInteractive)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn dom_interactive(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domContentLoadedEventStart)]
+ #[doc = "Getter for the `domContentLoadedEventStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domContentLoadedEventStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn dom_content_loaded_event_start(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domContentLoadedEventEnd)]
+ #[doc = "Getter for the `domContentLoadedEventEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domContentLoadedEventEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn dom_content_loaded_event_end(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domComplete)]
+ #[doc = "Getter for the `domComplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domComplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn dom_complete(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = loadEventStart)]
+ #[doc = "Getter for the `loadEventStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/loadEventStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn load_event_start(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = loadEventEnd)]
+ #[doc = "Getter for the `loadEventEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/loadEventEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn load_event_end(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = timeToNonBlankPaint)]
+ #[doc = "Getter for the `timeToNonBlankPaint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/timeToNonBlankPaint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn time_to_non_blank_paint(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = timeToDOMContentFlushed)]
+ #[doc = "Getter for the `timeToDOMContentFlushed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/timeToDOMContentFlushed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn time_to_dom_content_flushed(this: &PerformanceTiming) -> f64;
+ # [wasm_bindgen (method , structural , js_class = "PerformanceTiming" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
+ pub fn to_json(this: &PerformanceTiming) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_PeriodicWave.rs b/vendor/web-sys/src/features/gen_PeriodicWave.rs
new file mode 100644
index 000000000..a9ffc3855
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PeriodicWave.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PeriodicWave , typescript_type = "PeriodicWave")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PeriodicWave` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PeriodicWave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PeriodicWave`*"]
+ pub type PeriodicWave;
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "PeriodicWave")]
+ #[doc = "The `new PeriodicWave(..)` constructor, creating a new instance of `PeriodicWave`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PeriodicWave/PeriodicWave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `PeriodicWave`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<PeriodicWave, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "PeriodicWaveOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "PeriodicWave")]
+ #[doc = "The `new PeriodicWave(..)` constructor, creating a new instance of `PeriodicWave`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PeriodicWave/PeriodicWave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `PeriodicWave`, `PeriodicWaveOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &PeriodicWaveOptions,
+ ) -> Result<PeriodicWave, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PeriodicWaveConstraints.rs b/vendor/web-sys/src/features/gen_PeriodicWaveConstraints.rs
new file mode 100644
index 000000000..363337d81
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PeriodicWaveConstraints.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PeriodicWaveConstraints)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PeriodicWaveConstraints` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PeriodicWaveConstraints`*"]
+ pub type PeriodicWaveConstraints;
+}
+impl PeriodicWaveConstraints {
+ #[doc = "Construct a new `PeriodicWaveConstraints`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PeriodicWaveConstraints`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `disableNormalization` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PeriodicWaveConstraints`*"]
+ pub fn disable_normalization(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("disableNormalization"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PeriodicWaveConstraints {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PeriodicWaveOptions.rs b/vendor/web-sys/src/features/gen_PeriodicWaveOptions.rs
new file mode 100644
index 000000000..e4db19baa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PeriodicWaveOptions.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PeriodicWaveOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PeriodicWaveOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PeriodicWaveOptions`*"]
+ pub type PeriodicWaveOptions;
+}
+impl PeriodicWaveOptions {
+ #[doc = "Construct a new `PeriodicWaveOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PeriodicWaveOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `disableNormalization` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PeriodicWaveOptions`*"]
+ pub fn disable_normalization(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("disableNormalization"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `imag` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PeriodicWaveOptions`*"]
+ pub fn imag(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("imag"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `real` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PeriodicWaveOptions`*"]
+ pub fn real(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("real"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PeriodicWaveOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PermissionDescriptor.rs b/vendor/web-sys/src/features/gen_PermissionDescriptor.rs
new file mode 100644
index 000000000..4662732df
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PermissionDescriptor.rs
@@ -0,0 +1,38 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PermissionDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PermissionDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionDescriptor`*"]
+ pub type PermissionDescriptor;
+}
+impl PermissionDescriptor {
+ #[cfg(feature = "PermissionName")]
+ #[doc = "Construct a new `PermissionDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionDescriptor`, `PermissionName`*"]
+ pub fn new(name: PermissionName) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret
+ }
+ #[cfg(feature = "PermissionName")]
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionDescriptor`, `PermissionName`*"]
+ pub fn name(&mut self, val: PermissionName) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PermissionName.rs b/vendor/web-sys/src/features/gen_PermissionName.rs
new file mode 100644
index 000000000..f91971602
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PermissionName.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PermissionName` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PermissionName`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PermissionName {
+ Geolocation = "geolocation",
+ Notifications = "notifications",
+ Push = "push",
+ PersistentStorage = "persistent-storage",
+}
diff --git a/vendor/web-sys/src/features/gen_PermissionState.rs b/vendor/web-sys/src/features/gen_PermissionState.rs
new file mode 100644
index 000000000..0d4de492b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PermissionState.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PermissionState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PermissionState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PermissionState {
+ Granted = "granted",
+ Denied = "denied",
+ Prompt = "prompt",
+}
diff --git a/vendor/web-sys/src/features/gen_PermissionStatus.rs b/vendor/web-sys/src/features/gen_PermissionStatus.rs
new file mode 100644
index 000000000..7b2cacd34
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PermissionStatus.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = PermissionStatus , typescript_type = "PermissionStatus")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PermissionStatus` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionStatus`*"]
+ pub type PermissionStatus;
+ #[cfg(feature = "PermissionState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PermissionStatus" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionState`, `PermissionStatus`*"]
+ pub fn state(this: &PermissionStatus) -> PermissionState;
+ # [wasm_bindgen (structural , method , getter , js_class = "PermissionStatus" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionStatus`*"]
+ pub fn onchange(this: &PermissionStatus) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "PermissionStatus" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionStatus`*"]
+ pub fn set_onchange(this: &PermissionStatus, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_Permissions.rs b/vendor/web-sys/src/features/gen_Permissions.rs
new file mode 100644
index 000000000..4d57a8dc1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Permissions.rs
@@ -0,0 +1,34 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Permissions , typescript_type = "Permissions")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Permissions` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Permissions)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Permissions`*"]
+ pub type Permissions;
+ # [wasm_bindgen (catch , method , structural , js_class = "Permissions" , js_name = query)]
+ #[doc = "The `query()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Permissions/query)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Permissions`*"]
+ pub fn query(
+ this: &Permissions,
+ permission: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Permissions" , js_name = revoke)]
+ #[doc = "The `revoke()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Permissions/revoke)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Permissions`*"]
+ pub fn revoke(
+ this: &Permissions,
+ permission: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PlaneLayout.rs b/vendor/web-sys/src/features/gen_PlaneLayout.rs
new file mode 100644
index 000000000..9b9b4bf4e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PlaneLayout.rs
@@ -0,0 +1,68 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PlaneLayout)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PlaneLayout` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PlaneLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type PlaneLayout;
+}
+#[cfg(web_sys_unstable_apis)]
+impl PlaneLayout {
+ #[doc = "Construct a new `PlaneLayout`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PlaneLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(offset: u32, stride: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.offset(offset);
+ ret.stride(stride);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PlaneLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn offset(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("offset"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `stride` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PlaneLayout`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stride(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("stride"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PlaybackDirection.rs b/vendor/web-sys/src/features/gen_PlaybackDirection.rs
new file mode 100644
index 000000000..94fe8e0ba
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PlaybackDirection.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PlaybackDirection` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PlaybackDirection`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PlaybackDirection {
+ Normal = "normal",
+ Reverse = "reverse",
+ Alternate = "alternate",
+ AlternateReverse = "alternate-reverse",
+}
diff --git a/vendor/web-sys/src/features/gen_Plugin.rs b/vendor/web-sys/src/features/gen_Plugin.rs
new file mode 100644
index 000000000..5ca731a90
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Plugin.rs
@@ -0,0 +1,81 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Plugin , typescript_type = "Plugin")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Plugin` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Plugin`*"]
+ pub type Plugin;
+ # [wasm_bindgen (structural , method , getter , js_class = "Plugin" , js_name = description)]
+ #[doc = "Getter for the `description` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/description)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Plugin`*"]
+ pub fn description(this: &Plugin) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Plugin" , js_name = filename)]
+ #[doc = "Getter for the `filename` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/filename)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Plugin`*"]
+ pub fn filename(this: &Plugin) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Plugin" , js_name = version)]
+ #[doc = "Getter for the `version` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/version)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Plugin`*"]
+ pub fn version(this: &Plugin) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Plugin" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Plugin`*"]
+ pub fn name(this: &Plugin) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Plugin" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Plugin`*"]
+ pub fn length(this: &Plugin) -> u32;
+ #[cfg(feature = "MimeType")]
+ # [wasm_bindgen (method , structural , js_class = "Plugin" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`, `Plugin`*"]
+ pub fn item(this: &Plugin, index: u32) -> Option<MimeType>;
+ #[cfg(feature = "MimeType")]
+ # [wasm_bindgen (method , structural , js_class = "Plugin" , js_name = namedItem)]
+ #[doc = "The `namedItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/namedItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`, `Plugin`*"]
+ pub fn named_item(this: &Plugin, name: &str) -> Option<MimeType>;
+ #[cfg(feature = "MimeType")]
+ #[wasm_bindgen(method, structural, js_class = "Plugin", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`, `Plugin`*"]
+ pub fn get_with_index(this: &Plugin, index: u32) -> Option<MimeType>;
+ #[cfg(feature = "MimeType")]
+ #[wasm_bindgen(method, structural, js_class = "Plugin", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MimeType`, `Plugin`*"]
+ pub fn get_with_name(this: &Plugin, name: &str) -> Option<MimeType>;
+}
diff --git a/vendor/web-sys/src/features/gen_PluginArray.rs b/vendor/web-sys/src/features/gen_PluginArray.rs
new file mode 100644
index 000000000..e31d5458e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PluginArray.rs
@@ -0,0 +1,67 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PluginArray , typescript_type = "PluginArray")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PluginArray` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginArray`*"]
+ pub type PluginArray;
+ # [wasm_bindgen (structural , method , getter , js_class = "PluginArray" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginArray`*"]
+ pub fn length(this: &PluginArray) -> u32;
+ #[cfg(feature = "Plugin")]
+ # [wasm_bindgen (method , structural , js_class = "PluginArray" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*"]
+ pub fn item(this: &PluginArray, index: u32) -> Option<Plugin>;
+ #[cfg(feature = "Plugin")]
+ # [wasm_bindgen (method , structural , js_class = "PluginArray" , js_name = namedItem)]
+ #[doc = "The `namedItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/namedItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*"]
+ pub fn named_item(this: &PluginArray, name: &str) -> Option<Plugin>;
+ # [wasm_bindgen (method , structural , js_class = "PluginArray" , js_name = refresh)]
+ #[doc = "The `refresh()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/refresh)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginArray`*"]
+ pub fn refresh(this: &PluginArray);
+ # [wasm_bindgen (method , structural , js_class = "PluginArray" , js_name = refresh)]
+ #[doc = "The `refresh()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/refresh)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginArray`*"]
+ pub fn refresh_with_reload_documents(this: &PluginArray, reload_documents: bool);
+ #[cfg(feature = "Plugin")]
+ #[wasm_bindgen(method, structural, js_class = "PluginArray", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*"]
+ pub fn get_with_index(this: &PluginArray, index: u32) -> Option<Plugin>;
+ #[cfg(feature = "Plugin")]
+ #[wasm_bindgen(method, structural, js_class = "PluginArray", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*"]
+ pub fn get_with_name(this: &PluginArray, name: &str) -> Option<Plugin>;
+}
diff --git a/vendor/web-sys/src/features/gen_PluginCrashedEventInit.rs b/vendor/web-sys/src/features/gen_PluginCrashedEventInit.rs
new file mode 100644
index 000000000..b400555b5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PluginCrashedEventInit.rs
@@ -0,0 +1,197 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PluginCrashedEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PluginCrashedEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginCrashedEventInit`*"]
+ pub type PluginCrashedEventInit;
+}
+impl PluginCrashedEventInit {
+ #[doc = "Construct a new `PluginCrashedEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginCrashedEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginCrashedEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginCrashedEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginCrashedEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `browserDumpID` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginCrashedEventInit`*"]
+ pub fn browser_dump_id(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("browserDumpID"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `gmpPlugin` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginCrashedEventInit`*"]
+ pub fn gmp_plugin(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("gmpPlugin"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pluginDumpID` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginCrashedEventInit`*"]
+ pub fn plugin_dump_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pluginDumpID"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pluginFilename` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginCrashedEventInit`*"]
+ pub fn plugin_filename(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pluginFilename"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pluginID` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginCrashedEventInit`*"]
+ pub fn plugin_id(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pluginID"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pluginName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginCrashedEventInit`*"]
+ pub fn plugin_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pluginName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `submittedCrashReport` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PluginCrashedEventInit`*"]
+ pub fn submitted_crash_report(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("submittedCrashReport"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PluginCrashedEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PointerEvent.rs b/vendor/web-sys/src/features/gen_PointerEvent.rs
new file mode 100644
index 000000000..7bdd3c987
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PointerEvent.rs
@@ -0,0 +1,109 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = MouseEvent , extends = UiEvent , extends = Event , extends = :: js_sys :: Object , js_name = PointerEvent , typescript_type = "PointerEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PointerEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub type PointerEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "PointerEvent" , js_name = pointerId)]
+ #[doc = "Getter for the `pointerId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub fn pointer_id(this: &PointerEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "PointerEvent" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub fn width(this: &PointerEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "PointerEvent" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub fn height(this: &PointerEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "PointerEvent" , js_name = pressure)]
+ #[doc = "Getter for the `pressure` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pressure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub fn pressure(this: &PointerEvent) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "PointerEvent" , js_name = tangentialPressure)]
+ #[doc = "Getter for the `tangentialPressure` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tangentialPressure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub fn tangential_pressure(this: &PointerEvent) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "PointerEvent" , js_name = tiltX)]
+ #[doc = "Getter for the `tiltX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tiltX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub fn tilt_x(this: &PointerEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "PointerEvent" , js_name = tiltY)]
+ #[doc = "Getter for the `tiltY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tiltY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub fn tilt_y(this: &PointerEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "PointerEvent" , js_name = twist)]
+ #[doc = "Getter for the `twist` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/twist)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub fn twist(this: &PointerEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "PointerEvent" , js_name = pointerType)]
+ #[doc = "Getter for the `pointerType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub fn pointer_type(this: &PointerEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PointerEvent" , js_name = isPrimary)]
+ #[doc = "Getter for the `isPrimary` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/isPrimary)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub fn is_primary(this: &PointerEvent) -> bool;
+ #[wasm_bindgen(catch, constructor, js_class = "PointerEvent")]
+ #[doc = "The `new PointerEvent(..)` constructor, creating a new instance of `PointerEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub fn new(type_: &str) -> Result<PointerEvent, JsValue>;
+ #[cfg(feature = "PointerEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "PointerEvent")]
+ #[doc = "The `new PointerEvent(..)` constructor, creating a new instance of `PointerEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`, `PointerEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &PointerEventInit,
+ ) -> Result<PointerEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "PointerEvent" , js_name = getCoalescedEvents)]
+ #[doc = "The `getCoalescedEvents()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/getCoalescedEvents)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEvent`*"]
+ pub fn get_coalesced_events(this: &PointerEvent) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_PointerEventInit.rs b/vendor/web-sys/src/features/gen_PointerEventInit.rs
new file mode 100644
index 000000000..30655a4ab
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PointerEventInit.rs
@@ -0,0 +1,643 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PointerEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PointerEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub type PointerEventInit;
+}
+impl PointerEventInit {
+ #[doc = "Construct a new `PointerEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn detail(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detail"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Window")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`, `Window`*"]
+ pub fn view(&mut self, val: Option<&Window>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `altKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn alt_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("altKey"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ctrlKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn ctrl_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ctrlKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `metaKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn meta_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("metaKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierAltGraph` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn modifier_alt_graph(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierAltGraph"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierCapsLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn modifier_caps_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierCapsLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFn` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn modifier_fn(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFn"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFnLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn modifier_fn_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFnLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierNumLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn modifier_num_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierNumLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierOS` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn modifier_os(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierOS"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierScrollLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn modifier_scroll_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierScrollLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbol` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn modifier_symbol(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbol"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbolLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn modifier_symbol_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbolLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `shiftKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn shift_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("shiftKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `button` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn button(&mut self, val: i16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("button"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `buttons` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn buttons(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("buttons"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `clientX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn client_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `clientY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn client_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `movementX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn movement_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("movementX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `movementY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn movement_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("movementY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "EventTarget")]
+ #[doc = "Change the `relatedTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`, `PointerEventInit`*"]
+ pub fn related_target(&mut self, val: Option<&EventTarget>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("relatedTarget"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `screenX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn screen_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("screenX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `screenY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn screen_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("screenY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `coalescedEvents` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn coalesced_events(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("coalescedEvents"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn height(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("height"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `isPrimary` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn is_primary(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isPrimary"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pointerId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn pointer_id(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pointerId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pointerType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn pointer_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pointerType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pressure` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn pressure(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pressure"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `tangentialPressure` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn tangential_pressure(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("tangentialPressure"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `tiltX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn tilt_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("tiltX"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `tiltY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn tilt_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("tiltY"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `twist` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn twist(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("twist"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PointerEventInit`*"]
+ pub fn width(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("width"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PointerEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PopStateEvent.rs b/vendor/web-sys/src/features/gen_PopStateEvent.rs
new file mode 100644
index 000000000..5fac86918
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PopStateEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PopStateEvent , typescript_type = "PopStateEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PopStateEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopStateEvent`*"]
+ pub type PopStateEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "PopStateEvent" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopStateEvent`*"]
+ pub fn state(this: &PopStateEvent) -> ::wasm_bindgen::JsValue;
+ #[wasm_bindgen(catch, constructor, js_class = "PopStateEvent")]
+ #[doc = "The `new PopStateEvent(..)` constructor, creating a new instance of `PopStateEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent/PopStateEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopStateEvent`*"]
+ pub fn new(type_: &str) -> Result<PopStateEvent, JsValue>;
+ #[cfg(feature = "PopStateEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "PopStateEvent")]
+ #[doc = "The `new PopStateEvent(..)` constructor, creating a new instance of `PopStateEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent/PopStateEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopStateEvent`, `PopStateEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &PopStateEventInit,
+ ) -> Result<PopStateEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PopStateEventInit.rs b/vendor/web-sys/src/features/gen_PopStateEventInit.rs
new file mode 100644
index 000000000..f1a0653c7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PopStateEventInit.rs
@@ -0,0 +1,91 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PopStateEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PopStateEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopStateEventInit`*"]
+ pub type PopStateEventInit;
+}
+impl PopStateEventInit {
+ #[doc = "Construct a new `PopStateEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopStateEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopStateEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopStateEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopStateEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopStateEventInit`*"]
+ pub fn state(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("state"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PopStateEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PopupBlockedEvent.rs b/vendor/web-sys/src/features/gen_PopupBlockedEvent.rs
new file mode 100644
index 000000000..22b008868
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PopupBlockedEvent.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PopupBlockedEvent , typescript_type = "PopupBlockedEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PopupBlockedEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEvent`*"]
+ pub type PopupBlockedEvent;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PopupBlockedEvent" , js_name = requestingWindow)]
+ #[doc = "Getter for the `requestingWindow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/requestingWindow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEvent`, `Window`*"]
+ pub fn requesting_window(this: &PopupBlockedEvent) -> Option<Window>;
+ # [wasm_bindgen (structural , method , getter , js_class = "PopupBlockedEvent" , js_name = popupWindowName)]
+ #[doc = "Getter for the `popupWindowName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/popupWindowName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEvent`*"]
+ pub fn popup_window_name(this: &PopupBlockedEvent) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "PopupBlockedEvent" , js_name = popupWindowFeatures)]
+ #[doc = "Getter for the `popupWindowFeatures` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/popupWindowFeatures)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEvent`*"]
+ pub fn popup_window_features(this: &PopupBlockedEvent) -> Option<String>;
+ #[wasm_bindgen(catch, constructor, js_class = "PopupBlockedEvent")]
+ #[doc = "The `new PopupBlockedEvent(..)` constructor, creating a new instance of `PopupBlockedEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/PopupBlockedEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEvent`*"]
+ pub fn new(type_: &str) -> Result<PopupBlockedEvent, JsValue>;
+ #[cfg(feature = "PopupBlockedEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "PopupBlockedEvent")]
+ #[doc = "The `new PopupBlockedEvent(..)` constructor, creating a new instance of `PopupBlockedEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/PopupBlockedEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEvent`, `PopupBlockedEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &PopupBlockedEventInit,
+ ) -> Result<PopupBlockedEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PopupBlockedEventInit.rs b/vendor/web-sys/src/features/gen_PopupBlockedEventInit.rs
new file mode 100644
index 000000000..81494ec06
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PopupBlockedEventInit.rs
@@ -0,0 +1,130 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PopupBlockedEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PopupBlockedEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEventInit`*"]
+ pub type PopupBlockedEventInit;
+}
+impl PopupBlockedEventInit {
+ #[doc = "Construct a new `PopupBlockedEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `popupWindowFeatures` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEventInit`*"]
+ pub fn popup_window_features(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("popupWindowFeatures"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `popupWindowName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEventInit`*"]
+ pub fn popup_window_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("popupWindowName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Window")]
+ #[doc = "Change the `requestingWindow` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PopupBlockedEventInit`, `Window`*"]
+ pub fn requesting_window(&mut self, val: Option<&Window>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("requestingWindow"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PopupBlockedEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Position.rs b/vendor/web-sys/src/features/gen_Position.rs
new file mode 100644
index 000000000..b8e1dfaed
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Position.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = Position , typescript_type = "Position")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Position` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Position)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Position`*"]
+ pub type Position;
+ #[cfg(feature = "Coordinates")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Position" , js_name = coords)]
+ #[doc = "Getter for the `coords` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Position/coords)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Coordinates`, `Position`*"]
+ pub fn coords(this: &Position) -> Coordinates;
+ # [wasm_bindgen (structural , method , getter , js_class = "Position" , js_name = timestamp)]
+ #[doc = "Getter for the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Position/timestamp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Position`*"]
+ pub fn timestamp(this: &Position) -> f64;
+}
diff --git a/vendor/web-sys/src/features/gen_PositionAlignSetting.rs b/vendor/web-sys/src/features/gen_PositionAlignSetting.rs
new file mode 100644
index 000000000..d6db3f17b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PositionAlignSetting.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PositionAlignSetting` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PositionAlignSetting`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PositionAlignSetting {
+ LineLeft = "line-left",
+ Center = "center",
+ LineRight = "line-right",
+ Auto = "auto",
+}
diff --git a/vendor/web-sys/src/features/gen_PositionError.rs b/vendor/web-sys/src/features/gen_PositionError.rs
new file mode 100644
index 000000000..b21b7586b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PositionError.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = PositionError , typescript_type = "PositionError")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PositionError` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PositionError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionError`*"]
+ pub type PositionError;
+ # [wasm_bindgen (structural , method , getter , js_class = "PositionError" , js_name = code)]
+ #[doc = "Getter for the `code` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PositionError/code)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionError`*"]
+ pub fn code(this: &PositionError) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "PositionError" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PositionError/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionError`*"]
+ pub fn message(this: &PositionError) -> String;
+}
+impl PositionError {
+ #[doc = "The `PositionError.PERMISSION_DENIED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionError`*"]
+ pub const PERMISSION_DENIED: u16 = 1u64 as u16;
+ #[doc = "The `PositionError.POSITION_UNAVAILABLE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionError`*"]
+ pub const POSITION_UNAVAILABLE: u16 = 2u64 as u16;
+ #[doc = "The `PositionError.TIMEOUT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionError`*"]
+ pub const TIMEOUT: u16 = 3u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_PositionOptions.rs b/vendor/web-sys/src/features/gen_PositionOptions.rs
new file mode 100644
index 000000000..30c0b1063
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PositionOptions.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PositionOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PositionOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionOptions`*"]
+ pub type PositionOptions;
+}
+impl PositionOptions {
+ #[doc = "Construct a new `PositionOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `enableHighAccuracy` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionOptions`*"]
+ pub fn enable_high_accuracy(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("enableHighAccuracy"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `maximumAge` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionOptions`*"]
+ pub fn maximum_age(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maximumAge"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timeout` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionOptions`*"]
+ pub fn timeout(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timeout"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PositionOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PremultiplyAlpha.rs b/vendor/web-sys/src/features/gen_PremultiplyAlpha.rs
new file mode 100644
index 000000000..f838d000e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PremultiplyAlpha.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PremultiplyAlpha` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PremultiplyAlpha`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PremultiplyAlpha {
+ None = "none",
+ Premultiply = "premultiply",
+ Default = "default",
+}
diff --git a/vendor/web-sys/src/features/gen_Presentation.rs b/vendor/web-sys/src/features/gen_Presentation.rs
new file mode 100644
index 000000000..428975568
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Presentation.rs
@@ -0,0 +1,38 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Presentation , typescript_type = "Presentation")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Presentation` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Presentation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Presentation`*"]
+ pub type Presentation;
+ #[cfg(feature = "PresentationRequest")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Presentation" , js_name = defaultRequest)]
+ #[doc = "Getter for the `defaultRequest` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Presentation/defaultRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Presentation`, `PresentationRequest`*"]
+ pub fn default_request(this: &Presentation) -> Option<PresentationRequest>;
+ #[cfg(feature = "PresentationRequest")]
+ # [wasm_bindgen (structural , method , setter , js_class = "Presentation" , js_name = defaultRequest)]
+ #[doc = "Setter for the `defaultRequest` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Presentation/defaultRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Presentation`, `PresentationRequest`*"]
+ pub fn set_default_request(this: &Presentation, value: Option<&PresentationRequest>);
+ #[cfg(feature = "PresentationReceiver")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Presentation" , js_name = receiver)]
+ #[doc = "Getter for the `receiver` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Presentation/receiver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Presentation`, `PresentationReceiver`*"]
+ pub fn receiver(this: &Presentation) -> Option<PresentationReceiver>;
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationAvailability.rs b/vendor/web-sys/src/features/gen_PresentationAvailability.rs
new file mode 100644
index 000000000..90ea7c55c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationAvailability.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationAvailability , typescript_type = "PresentationAvailability")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PresentationAvailability` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationAvailability)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationAvailability`*"]
+ pub type PresentationAvailability;
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationAvailability" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationAvailability/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationAvailability`*"]
+ pub fn value(this: &PresentationAvailability) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationAvailability" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationAvailability/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationAvailability`*"]
+ pub fn onchange(this: &PresentationAvailability) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "PresentationAvailability" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationAvailability/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationAvailability`*"]
+ pub fn set_onchange(this: &PresentationAvailability, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationConnection.rs b/vendor/web-sys/src/features/gen_PresentationConnection.rs
new file mode 100644
index 000000000..8c4977879
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationConnection.rs
@@ -0,0 +1,164 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationConnection , typescript_type = "PresentationConnection")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PresentationConnection` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub type PresentationConnection;
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnection" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn id(this: &PresentationConnection) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnection" , js_name = url)]
+ #[doc = "Getter for the `url` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/url)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn url(this: &PresentationConnection) -> String;
+ #[cfg(feature = "PresentationConnectionState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnection" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionState`*"]
+ pub fn state(this: &PresentationConnection) -> PresentationConnectionState;
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnection" , js_name = onconnect)]
+ #[doc = "Getter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn onconnect(this: &PresentationConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "PresentationConnection" , js_name = onconnect)]
+ #[doc = "Setter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn set_onconnect(this: &PresentationConnection, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnection" , js_name = onclose)]
+ #[doc = "Getter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn onclose(this: &PresentationConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "PresentationConnection" , js_name = onclose)]
+ #[doc = "Setter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn set_onclose(this: &PresentationConnection, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnection" , js_name = onterminate)]
+ #[doc = "Getter for the `onterminate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onterminate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn onterminate(this: &PresentationConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "PresentationConnection" , js_name = onterminate)]
+ #[doc = "Setter for the `onterminate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onterminate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn set_onterminate(this: &PresentationConnection, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "PresentationConnectionBinaryType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnection" , js_name = binaryType)]
+ #[doc = "Getter for the `binaryType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/binaryType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionBinaryType`*"]
+ pub fn binary_type(this: &PresentationConnection) -> PresentationConnectionBinaryType;
+ #[cfg(feature = "PresentationConnectionBinaryType")]
+ # [wasm_bindgen (structural , method , setter , js_class = "PresentationConnection" , js_name = binaryType)]
+ #[doc = "Setter for the `binaryType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/binaryType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionBinaryType`*"]
+ pub fn set_binary_type(this: &PresentationConnection, value: PresentationConnectionBinaryType);
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnection" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn onmessage(this: &PresentationConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "PresentationConnection" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn set_onmessage(this: &PresentationConnection, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "PresentationConnection" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn close(this: &PresentationConnection) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PresentationConnection" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn send_with_str(this: &PresentationConnection, data: &str) -> Result<(), JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "PresentationConnection" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `PresentationConnection`*"]
+ pub fn send_with_blob(this: &PresentationConnection, data: &Blob) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PresentationConnection" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn send_with_array_buffer(
+ this: &PresentationConnection,
+ data: &::js_sys::ArrayBuffer,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PresentationConnection" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn send_with_array_buffer_view(
+ this: &PresentationConnection,
+ data: &::js_sys::Object,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PresentationConnection" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn send_with_u8_array(this: &PresentationConnection, data: &[u8]) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PresentationConnection" , js_name = terminate)]
+ #[doc = "The `terminate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/terminate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`*"]
+ pub fn terminate(this: &PresentationConnection) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEvent.rs b/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEvent.rs
new file mode 100644
index 000000000..203c6b14a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEvent.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PresentationConnectionAvailableEvent , typescript_type = "PresentationConnectionAvailableEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PresentationConnectionAvailableEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionAvailableEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionAvailableEvent`*"]
+ pub type PresentationConnectionAvailableEvent;
+ #[cfg(feature = "PresentationConnection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnectionAvailableEvent" , js_name = connection)]
+ #[doc = "Getter for the `connection` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionAvailableEvent/connection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionAvailableEvent`*"]
+ pub fn connection(this: &PresentationConnectionAvailableEvent) -> PresentationConnection;
+ #[cfg(feature = "PresentationConnectionAvailableEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "PresentationConnectionAvailableEvent")]
+ #[doc = "The `new PresentationConnectionAvailableEvent(..)` constructor, creating a new instance of `PresentationConnectionAvailableEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionAvailableEvent/PresentationConnectionAvailableEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionAvailableEvent`, `PresentationConnectionAvailableEventInit`*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &PresentationConnectionAvailableEventInit,
+ ) -> Result<PresentationConnectionAvailableEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEventInit.rs b/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEventInit.rs
new file mode 100644
index 000000000..8ea8b6962
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEventInit.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PresentationConnectionAvailableEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PresentationConnectionAvailableEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionAvailableEventInit`*"]
+ pub type PresentationConnectionAvailableEventInit;
+}
+impl PresentationConnectionAvailableEventInit {
+ #[cfg(feature = "PresentationConnection")]
+ #[doc = "Construct a new `PresentationConnectionAvailableEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionAvailableEventInit`*"]
+ pub fn new(connection: &PresentationConnection) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.connection(connection);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionAvailableEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionAvailableEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionAvailableEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PresentationConnection")]
+ #[doc = "Change the `connection` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionAvailableEventInit`*"]
+ pub fn connection(&mut self, val: &PresentationConnection) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("connection"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionBinaryType.rs b/vendor/web-sys/src/features/gen_PresentationConnectionBinaryType.rs
new file mode 100644
index 000000000..927c3791c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationConnectionBinaryType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PresentationConnectionBinaryType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PresentationConnectionBinaryType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PresentationConnectionBinaryType {
+ Blob = "blob",
+ Arraybuffer = "arraybuffer",
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionCloseEvent.rs b/vendor/web-sys/src/features/gen_PresentationConnectionCloseEvent.rs
new file mode 100644
index 000000000..405b2e59d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationConnectionCloseEvent.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PresentationConnectionCloseEvent , typescript_type = "PresentationConnectionCloseEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PresentationConnectionCloseEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionCloseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionCloseEvent`*"]
+ pub type PresentationConnectionCloseEvent;
+ #[cfg(feature = "PresentationConnectionClosedReason")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnectionCloseEvent" , js_name = reason)]
+ #[doc = "Getter for the `reason` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionCloseEvent/reason)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionCloseEvent`, `PresentationConnectionClosedReason`*"]
+ pub fn reason(this: &PresentationConnectionCloseEvent) -> PresentationConnectionClosedReason;
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnectionCloseEvent" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionCloseEvent/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionCloseEvent`*"]
+ pub fn message(this: &PresentationConnectionCloseEvent) -> String;
+ #[cfg(feature = "PresentationConnectionCloseEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "PresentationConnectionCloseEvent")]
+ #[doc = "The `new PresentationConnectionCloseEvent(..)` constructor, creating a new instance of `PresentationConnectionCloseEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionCloseEvent/PresentationConnectionCloseEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionCloseEvent`, `PresentationConnectionCloseEventInit`*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &PresentationConnectionCloseEventInit,
+ ) -> Result<PresentationConnectionCloseEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionCloseEventInit.rs b/vendor/web-sys/src/features/gen_PresentationConnectionCloseEventInit.rs
new file mode 100644
index 000000000..9a7c221c2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationConnectionCloseEventInit.rs
@@ -0,0 +1,107 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PresentationConnectionCloseEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PresentationConnectionCloseEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionCloseEventInit`*"]
+ pub type PresentationConnectionCloseEventInit;
+}
+impl PresentationConnectionCloseEventInit {
+ #[cfg(feature = "PresentationConnectionClosedReason")]
+ #[doc = "Construct a new `PresentationConnectionCloseEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionCloseEventInit`, `PresentationConnectionClosedReason`*"]
+ pub fn new(reason: PresentationConnectionClosedReason) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.reason(reason);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionCloseEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionCloseEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionCloseEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionCloseEventInit`*"]
+ pub fn message(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("message"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PresentationConnectionClosedReason")]
+ #[doc = "Change the `reason` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionCloseEventInit`, `PresentationConnectionClosedReason`*"]
+ pub fn reason(&mut self, val: PresentationConnectionClosedReason) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("reason"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionClosedReason.rs b/vendor/web-sys/src/features/gen_PresentationConnectionClosedReason.rs
new file mode 100644
index 000000000..d478b0979
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationConnectionClosedReason.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PresentationConnectionClosedReason` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PresentationConnectionClosedReason`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PresentationConnectionClosedReason {
+ Error = "error",
+ Closed = "closed",
+ Wentaway = "wentaway",
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionList.rs b/vendor/web-sys/src/features/gen_PresentationConnectionList.rs
new file mode 100644
index 000000000..c1c95cba5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationConnectionList.rs
@@ -0,0 +1,38 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationConnectionList , typescript_type = "PresentationConnectionList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PresentationConnectionList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionList`*"]
+ pub type PresentationConnectionList;
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnectionList" , js_name = connections)]
+ #[doc = "Getter for the `connections` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList/connections)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionList`*"]
+ pub fn connections(this: &PresentationConnectionList) -> ::js_sys::Array;
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnectionList" , js_name = onconnectionavailable)]
+ #[doc = "Getter for the `onconnectionavailable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList/onconnectionavailable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionList`*"]
+ pub fn onconnectionavailable(this: &PresentationConnectionList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "PresentationConnectionList" , js_name = onconnectionavailable)]
+ #[doc = "Setter for the `onconnectionavailable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList/onconnectionavailable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionList`*"]
+ pub fn set_onconnectionavailable(
+ this: &PresentationConnectionList,
+ value: Option<&::js_sys::Function>,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionState.rs b/vendor/web-sys/src/features/gen_PresentationConnectionState.rs
new file mode 100644
index 000000000..68e0905a2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationConnectionState.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PresentationConnectionState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PresentationConnectionState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PresentationConnectionState {
+ Connecting = "connecting",
+ Connected = "connected",
+ Closed = "closed",
+ Terminated = "terminated",
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationReceiver.rs b/vendor/web-sys/src/features/gen_PresentationReceiver.rs
new file mode 100644
index 000000000..5e1388a6e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationReceiver.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PresentationReceiver , typescript_type = "PresentationReceiver")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PresentationReceiver` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationReceiver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationReceiver`*"]
+ pub type PresentationReceiver;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "PresentationReceiver" , js_name = connectionList)]
+ #[doc = "Getter for the `connectionList` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationReceiver/connectionList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationReceiver`*"]
+ pub fn connection_list(this: &PresentationReceiver) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationRequest.rs b/vendor/web-sys/src/features/gen_PresentationRequest.rs
new file mode 100644
index 000000000..484b4c3f0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationRequest.rs
@@ -0,0 +1,69 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationRequest , typescript_type = "PresentationRequest")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PresentationRequest` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationRequest`*"]
+ pub type PresentationRequest;
+ # [wasm_bindgen (structural , method , getter , js_class = "PresentationRequest" , js_name = onconnectionavailable)]
+ #[doc = "Getter for the `onconnectionavailable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/onconnectionavailable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationRequest`*"]
+ pub fn onconnectionavailable(this: &PresentationRequest) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "PresentationRequest" , js_name = onconnectionavailable)]
+ #[doc = "Setter for the `onconnectionavailable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/onconnectionavailable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationRequest`*"]
+ pub fn set_onconnectionavailable(
+ this: &PresentationRequest,
+ value: Option<&::js_sys::Function>,
+ );
+ #[wasm_bindgen(catch, constructor, js_class = "PresentationRequest")]
+ #[doc = "The `new PresentationRequest(..)` constructor, creating a new instance of `PresentationRequest`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/PresentationRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationRequest`*"]
+ pub fn new_with_url(url: &str) -> Result<PresentationRequest, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "PresentationRequest")]
+ #[doc = "The `new PresentationRequest(..)` constructor, creating a new instance of `PresentationRequest`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/PresentationRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationRequest`*"]
+ pub fn new_with_urls(urls: &::wasm_bindgen::JsValue) -> Result<PresentationRequest, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PresentationRequest" , js_name = getAvailability)]
+ #[doc = "The `getAvailability()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/getAvailability)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationRequest`*"]
+ pub fn get_availability(this: &PresentationRequest) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PresentationRequest" , js_name = reconnect)]
+ #[doc = "The `reconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/reconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationRequest`*"]
+ pub fn reconnect(
+ this: &PresentationRequest,
+ presentation_id: &str,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PresentationRequest" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PresentationRequest`*"]
+ pub fn start(this: &PresentationRequest) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PresentationStyle.rs b/vendor/web-sys/src/features/gen_PresentationStyle.rs
new file mode 100644
index 000000000..3f45b29c9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PresentationStyle.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `PresentationStyle` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PresentationStyle`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PresentationStyle {
+ Unspecified = "unspecified",
+ Inline = "inline",
+ Attachment = "attachment",
+}
diff --git a/vendor/web-sys/src/features/gen_ProcessingInstruction.rs b/vendor/web-sys/src/features/gen_ProcessingInstruction.rs
new file mode 100644
index 000000000..158f56bf8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ProcessingInstruction.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CharacterData , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = ProcessingInstruction , typescript_type = "ProcessingInstruction")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ProcessingInstruction` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProcessingInstruction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProcessingInstruction`*"]
+ pub type ProcessingInstruction;
+ # [wasm_bindgen (structural , method , getter , js_class = "ProcessingInstruction" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProcessingInstruction/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProcessingInstruction`*"]
+ pub fn target(this: &ProcessingInstruction) -> String;
+ #[cfg(feature = "StyleSheet")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ProcessingInstruction" , js_name = sheet)]
+ #[doc = "Getter for the `sheet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProcessingInstruction/sheet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProcessingInstruction`, `StyleSheet`*"]
+ pub fn sheet(this: &ProcessingInstruction) -> Option<StyleSheet>;
+}
diff --git a/vendor/web-sys/src/features/gen_ProfileTimelineLayerRect.rs b/vendor/web-sys/src/features/gen_ProfileTimelineLayerRect.rs
new file mode 100644
index 000000000..b16776e3f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ProfileTimelineLayerRect.rs
@@ -0,0 +1,80 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ProfileTimelineLayerRect)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ProfileTimelineLayerRect` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineLayerRect`*"]
+ pub type ProfileTimelineLayerRect;
+}
+impl ProfileTimelineLayerRect {
+ #[doc = "Construct a new `ProfileTimelineLayerRect`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineLayerRect`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineLayerRect`*"]
+ pub fn height(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("height"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineLayerRect`*"]
+ pub fn width(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("width"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineLayerRect`*"]
+ pub fn x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("x"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineLayerRect`*"]
+ pub fn y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("y"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ProfileTimelineLayerRect {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ProfileTimelineMarker.rs b/vendor/web-sys/src/features/gen_ProfileTimelineMarker.rs
new file mode 100644
index 000000000..f12f1a6b0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ProfileTimelineMarker.rs
@@ -0,0 +1,267 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ProfileTimelineMarker)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ProfileTimelineMarker` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub type ProfileTimelineMarker;
+}
+impl ProfileTimelineMarker {
+ #[doc = "Construct a new `ProfileTimelineMarker`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `causeName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn cause_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("causeName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `end` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn end(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("end"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `endStack` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn end_stack(&mut self, val: Option<&::js_sys::Object>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("endStack"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `eventPhase` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn event_phase(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("eventPhase"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `isAnimationOnly` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn is_animation_only(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isAnimationOnly"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `isOffMainThread` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn is_off_main_thread(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isOffMainThread"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ProfileTimelineMessagePortOperationType")]
+ #[doc = "Change the `messagePortOperation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`, `ProfileTimelineMessagePortOperationType`*"]
+ pub fn message_port_operation(
+ &mut self,
+ val: ProfileTimelineMessagePortOperationType,
+ ) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("messagePortOperation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `processType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn process_type(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("processType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rectangles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn rectangles(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rectangles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `stack` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn stack(&mut self, val: Option<&::js_sys::Object>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("stack"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `start` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn start(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("start"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn type_(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `unixTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`*"]
+ pub fn unix_time(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("unixTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ProfileTimelineWorkerOperationType")]
+ #[doc = "Change the `workerOperation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMarker`, `ProfileTimelineWorkerOperationType`*"]
+ pub fn worker_operation(&mut self, val: ProfileTimelineWorkerOperationType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("workerOperation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ProfileTimelineMarker {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ProfileTimelineMessagePortOperationType.rs b/vendor/web-sys/src/features/gen_ProfileTimelineMessagePortOperationType.rs
new file mode 100644
index 000000000..ef447a95f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ProfileTimelineMessagePortOperationType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ProfileTimelineMessagePortOperationType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ProfileTimelineMessagePortOperationType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ProfileTimelineMessagePortOperationType {
+ SerializeData = "serializeData",
+ DeserializeData = "deserializeData",
+}
diff --git a/vendor/web-sys/src/features/gen_ProfileTimelineStackFrame.rs b/vendor/web-sys/src/features/gen_ProfileTimelineStackFrame.rs
new file mode 100644
index 000000000..79bd3b74f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ProfileTimelineStackFrame.rs
@@ -0,0 +1,133 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ProfileTimelineStackFrame)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ProfileTimelineStackFrame` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineStackFrame`*"]
+ pub type ProfileTimelineStackFrame;
+}
+impl ProfileTimelineStackFrame {
+ #[doc = "Construct a new `ProfileTimelineStackFrame`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineStackFrame`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `asyncCause` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineStackFrame`*"]
+ pub fn async_cause(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("asyncCause"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `asyncParent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineStackFrame`*"]
+ pub fn async_parent(&mut self, val: Option<&::js_sys::Object>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("asyncParent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `column` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineStackFrame`*"]
+ pub fn column(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("column"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `functionDisplayName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineStackFrame`*"]
+ pub fn function_display_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("functionDisplayName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `line` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineStackFrame`*"]
+ pub fn line(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("line"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `parent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineStackFrame`*"]
+ pub fn parent(&mut self, val: Option<&::js_sys::Object>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("parent"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProfileTimelineStackFrame`*"]
+ pub fn source(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("source"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ProfileTimelineStackFrame {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ProfileTimelineWorkerOperationType.rs b/vendor/web-sys/src/features/gen_ProfileTimelineWorkerOperationType.rs
new file mode 100644
index 000000000..9006dda12
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ProfileTimelineWorkerOperationType.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ProfileTimelineWorkerOperationType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ProfileTimelineWorkerOperationType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ProfileTimelineWorkerOperationType {
+ SerializeDataOffMainThread = "serializeDataOffMainThread",
+ SerializeDataOnMainThread = "serializeDataOnMainThread",
+ DeserializeDataOffMainThread = "deserializeDataOffMainThread",
+ DeserializeDataOnMainThread = "deserializeDataOnMainThread",
+}
diff --git a/vendor/web-sys/src/features/gen_ProgressEvent.rs b/vendor/web-sys/src/features/gen_ProgressEvent.rs
new file mode 100644
index 000000000..8ab6d36af
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ProgressEvent.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = ProgressEvent , typescript_type = "ProgressEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ProgressEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEvent`*"]
+ pub type ProgressEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "ProgressEvent" , js_name = lengthComputable)]
+ #[doc = "Getter for the `lengthComputable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/lengthComputable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEvent`*"]
+ pub fn length_computable(this: &ProgressEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "ProgressEvent" , js_name = loaded)]
+ #[doc = "Getter for the `loaded` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/loaded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEvent`*"]
+ pub fn loaded(this: &ProgressEvent) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "ProgressEvent" , js_name = total)]
+ #[doc = "Getter for the `total` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/total)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEvent`*"]
+ pub fn total(this: &ProgressEvent) -> f64;
+ #[wasm_bindgen(catch, constructor, js_class = "ProgressEvent")]
+ #[doc = "The `new ProgressEvent(..)` constructor, creating a new instance of `ProgressEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/ProgressEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEvent`*"]
+ pub fn new(type_: &str) -> Result<ProgressEvent, JsValue>;
+ #[cfg(feature = "ProgressEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "ProgressEvent")]
+ #[doc = "The `new ProgressEvent(..)` constructor, creating a new instance of `ProgressEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/ProgressEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEvent`, `ProgressEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &ProgressEventInit,
+ ) -> Result<ProgressEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ProgressEventInit.rs b/vendor/web-sys/src/features/gen_ProgressEventInit.rs
new file mode 100644
index 000000000..ea6a5fe11
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ProgressEventInit.rs
@@ -0,0 +1,122 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ProgressEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ProgressEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEventInit`*"]
+ pub type ProgressEventInit;
+}
+impl ProgressEventInit {
+ #[doc = "Construct a new `ProgressEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `lengthComputable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEventInit`*"]
+ pub fn length_computable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lengthComputable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `loaded` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEventInit`*"]
+ pub fn loaded(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("loaded"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `total` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ProgressEventInit`*"]
+ pub fn total(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("total"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ProgressEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PromiseNativeHandler.rs b/vendor/web-sys/src/features/gen_PromiseNativeHandler.rs
new file mode 100644
index 000000000..6fbf1acf5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PromiseNativeHandler.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = PromiseNativeHandler , typescript_type = "PromiseNativeHandler")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PromiseNativeHandler` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PromiseNativeHandler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PromiseNativeHandler`*"]
+ pub type PromiseNativeHandler;
+}
diff --git a/vendor/web-sys/src/features/gen_PromiseRejectionEvent.rs b/vendor/web-sys/src/features/gen_PromiseRejectionEvent.rs
new file mode 100644
index 000000000..6d7361f69
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PromiseRejectionEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PromiseRejectionEvent , typescript_type = "PromiseRejectionEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PromiseRejectionEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PromiseRejectionEvent`*"]
+ pub type PromiseRejectionEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "PromiseRejectionEvent" , js_name = promise)]
+ #[doc = "Getter for the `promise` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent/promise)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PromiseRejectionEvent`*"]
+ pub fn promise(this: &PromiseRejectionEvent) -> ::js_sys::Promise;
+ # [wasm_bindgen (structural , method , getter , js_class = "PromiseRejectionEvent" , js_name = reason)]
+ #[doc = "Getter for the `reason` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent/reason)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PromiseRejectionEvent`*"]
+ pub fn reason(this: &PromiseRejectionEvent) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "PromiseRejectionEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "PromiseRejectionEvent")]
+ #[doc = "The `new PromiseRejectionEvent(..)` constructor, creating a new instance of `PromiseRejectionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent/PromiseRejectionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PromiseRejectionEvent`, `PromiseRejectionEventInit`*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &PromiseRejectionEventInit,
+ ) -> Result<PromiseRejectionEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PromiseRejectionEventInit.rs b/vendor/web-sys/src/features/gen_PromiseRejectionEventInit.rs
new file mode 100644
index 000000000..30375764e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PromiseRejectionEventInit.rs
@@ -0,0 +1,105 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PromiseRejectionEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PromiseRejectionEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PromiseRejectionEventInit`*"]
+ pub type PromiseRejectionEventInit;
+}
+impl PromiseRejectionEventInit {
+ #[doc = "Construct a new `PromiseRejectionEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PromiseRejectionEventInit`*"]
+ pub fn new(promise: &::js_sys::Promise) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.promise(promise);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PromiseRejectionEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PromiseRejectionEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PromiseRejectionEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `promise` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PromiseRejectionEventInit`*"]
+ pub fn promise(&mut self, val: &::js_sys::Promise) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("promise"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `reason` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PromiseRejectionEventInit`*"]
+ pub fn reason(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("reason"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredential.rs b/vendor/web-sys/src/features/gen_PublicKeyCredential.rs
new file mode 100644
index 000000000..dd7f8cbd0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PublicKeyCredential.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Credential , extends = :: js_sys :: Object , js_name = PublicKeyCredential , typescript_type = "PublicKeyCredential")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PublicKeyCredential` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredential`*"]
+ pub type PublicKeyCredential;
+ # [wasm_bindgen (structural , method , getter , js_class = "PublicKeyCredential" , js_name = rawId)]
+ #[doc = "Getter for the `rawId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/rawId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredential`*"]
+ pub fn raw_id(this: &PublicKeyCredential) -> ::js_sys::ArrayBuffer;
+ #[cfg(feature = "AuthenticatorResponse")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PublicKeyCredential" , js_name = response)]
+ #[doc = "Getter for the `response` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorResponse`, `PublicKeyCredential`*"]
+ pub fn response(this: &PublicKeyCredential) -> AuthenticatorResponse;
+ #[cfg(feature = "AuthenticationExtensionsClientOutputs")]
+ # [wasm_bindgen (method , structural , js_class = "PublicKeyCredential" , js_name = getClientExtensionResults)]
+ #[doc = "The `getClientExtensionResults()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/getClientExtensionResults)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsClientOutputs`, `PublicKeyCredential`*"]
+ pub fn get_client_extension_results(
+ this: &PublicKeyCredential,
+ ) -> AuthenticationExtensionsClientOutputs;
+ # [wasm_bindgen (static_method_of = PublicKeyCredential , js_class = "PublicKeyCredential" , js_name = isUserVerifyingPlatformAuthenticatorAvailable)]
+ #[doc = "The `isUserVerifyingPlatformAuthenticatorAvailable()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredential`*"]
+ pub fn is_user_verifying_platform_authenticator_available() -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialCreationOptions.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialCreationOptions.rs
new file mode 100644
index 000000000..e1a1ed72d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialCreationOptions.rs
@@ -0,0 +1,185 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialCreationOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PublicKeyCredentialCreationOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialCreationOptions`*"]
+ pub type PublicKeyCredentialCreationOptions;
+}
+impl PublicKeyCredentialCreationOptions {
+ #[cfg(all(
+ feature = "PublicKeyCredentialRpEntity",
+ feature = "PublicKeyCredentialUserEntity",
+ ))]
+ #[doc = "Construct a new `PublicKeyCredentialCreationOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialCreationOptions`, `PublicKeyCredentialRpEntity`, `PublicKeyCredentialUserEntity`*"]
+ pub fn new(
+ challenge: &::js_sys::Object,
+ pub_key_cred_params: &::wasm_bindgen::JsValue,
+ rp: &PublicKeyCredentialRpEntity,
+ user: &PublicKeyCredentialUserEntity,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.challenge(challenge);
+ ret.pub_key_cred_params(pub_key_cred_params);
+ ret.rp(rp);
+ ret.user(user);
+ ret
+ }
+ #[cfg(feature = "AttestationConveyancePreference")]
+ #[doc = "Change the `attestation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AttestationConveyancePreference`, `PublicKeyCredentialCreationOptions`*"]
+ pub fn attestation(&mut self, val: AttestationConveyancePreference) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("attestation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "AuthenticatorSelectionCriteria")]
+ #[doc = "Change the `authenticatorSelection` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticatorSelectionCriteria`, `PublicKeyCredentialCreationOptions`*"]
+ pub fn authenticator_selection(&mut self, val: &AuthenticatorSelectionCriteria) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("authenticatorSelection"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `challenge` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialCreationOptions`*"]
+ pub fn challenge(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("challenge"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `excludeCredentials` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialCreationOptions`*"]
+ pub fn exclude_credentials(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("excludeCredentials"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "AuthenticationExtensionsClientInputs")]
+ #[doc = "Change the `extensions` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsClientInputs`, `PublicKeyCredentialCreationOptions`*"]
+ pub fn extensions(&mut self, val: &AuthenticationExtensionsClientInputs) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("extensions"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pubKeyCredParams` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialCreationOptions`*"]
+ pub fn pub_key_cred_params(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pubKeyCredParams"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PublicKeyCredentialRpEntity")]
+ #[doc = "Change the `rp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialCreationOptions`, `PublicKeyCredentialRpEntity`*"]
+ pub fn rp(&mut self, val: &PublicKeyCredentialRpEntity) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("rp"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timeout` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialCreationOptions`*"]
+ pub fn timeout(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timeout"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PublicKeyCredentialUserEntity")]
+ #[doc = "Change the `user` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialCreationOptions`, `PublicKeyCredentialUserEntity`*"]
+ pub fn user(&mut self, val: &PublicKeyCredentialUserEntity) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("user"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialDescriptor.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialDescriptor.rs
new file mode 100644
index 000000000..907d346a3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialDescriptor.rs
@@ -0,0 +1,69 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PublicKeyCredentialDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialDescriptor`*"]
+ pub type PublicKeyCredentialDescriptor;
+}
+impl PublicKeyCredentialDescriptor {
+ #[cfg(feature = "PublicKeyCredentialType")]
+ #[doc = "Construct a new `PublicKeyCredentialDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialDescriptor`, `PublicKeyCredentialType`*"]
+ pub fn new(id: &::js_sys::Object, type_: PublicKeyCredentialType) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.id(id);
+ ret.type_(type_);
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialDescriptor`*"]
+ pub fn id(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `transports` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialDescriptor`*"]
+ pub fn transports(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transports"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PublicKeyCredentialType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialDescriptor`, `PublicKeyCredentialType`*"]
+ pub fn type_(&mut self, val: PublicKeyCredentialType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialEntity.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialEntity.rs
new file mode 100644
index 000000000..d5ca9f981
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialEntity.rs
@@ -0,0 +1,49 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialEntity)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PublicKeyCredentialEntity` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialEntity`*"]
+ pub type PublicKeyCredentialEntity;
+}
+impl PublicKeyCredentialEntity {
+ #[doc = "Construct a new `PublicKeyCredentialEntity`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialEntity`*"]
+ pub fn new(name: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret
+ }
+ #[doc = "Change the `icon` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialEntity`*"]
+ pub fn icon(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("icon"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialEntity`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialParameters.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialParameters.rs
new file mode 100644
index 000000000..9eac4922f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialParameters.rs
@@ -0,0 +1,52 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PublicKeyCredentialParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialParameters`*"]
+ pub type PublicKeyCredentialParameters;
+}
+impl PublicKeyCredentialParameters {
+ #[cfg(feature = "PublicKeyCredentialType")]
+ #[doc = "Construct a new `PublicKeyCredentialParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialParameters`, `PublicKeyCredentialType`*"]
+ pub fn new(alg: i32, type_: PublicKeyCredentialType) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.alg(alg);
+ ret.type_(type_);
+ ret
+ }
+ #[doc = "Change the `alg` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialParameters`*"]
+ pub fn alg(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("alg"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PublicKeyCredentialType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialParameters`, `PublicKeyCredentialType`*"]
+ pub fn type_(&mut self, val: PublicKeyCredentialType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialRequestOptions.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialRequestOptions.rs
new file mode 100644
index 000000000..7db1ffdfe
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialRequestOptions.rs
@@ -0,0 +1,123 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialRequestOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PublicKeyCredentialRequestOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialRequestOptions`*"]
+ pub type PublicKeyCredentialRequestOptions;
+}
+impl PublicKeyCredentialRequestOptions {
+ #[doc = "Construct a new `PublicKeyCredentialRequestOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialRequestOptions`*"]
+ pub fn new(challenge: &::js_sys::Object) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.challenge(challenge);
+ ret
+ }
+ #[doc = "Change the `allowCredentials` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialRequestOptions`*"]
+ pub fn allow_credentials(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("allowCredentials"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `challenge` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialRequestOptions`*"]
+ pub fn challenge(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("challenge"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "AuthenticationExtensionsClientInputs")]
+ #[doc = "Change the `extensions` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsClientInputs`, `PublicKeyCredentialRequestOptions`*"]
+ pub fn extensions(&mut self, val: &AuthenticationExtensionsClientInputs) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("extensions"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rpId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialRequestOptions`*"]
+ pub fn rp_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("rpId"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timeout` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialRequestOptions`*"]
+ pub fn timeout(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timeout"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "UserVerificationRequirement")]
+ #[doc = "Change the `userVerification` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialRequestOptions`, `UserVerificationRequirement`*"]
+ pub fn user_verification(&mut self, val: UserVerificationRequirement) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("userVerification"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialRpEntity.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialRpEntity.rs
new file mode 100644
index 000000000..a1152f87b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialRpEntity.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialRpEntity)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PublicKeyCredentialRpEntity` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialRpEntity`*"]
+ pub type PublicKeyCredentialRpEntity;
+}
+impl PublicKeyCredentialRpEntity {
+ #[doc = "Construct a new `PublicKeyCredentialRpEntity`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialRpEntity`*"]
+ pub fn new(name: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret
+ }
+ #[doc = "Change the `icon` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialRpEntity`*"]
+ pub fn icon(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("icon"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialRpEntity`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialRpEntity`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialType.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialType.rs
new file mode 100644
index 000000000..d75328e57
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialType.rs
@@ -0,0 +1,10 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PublicKeyCredentialType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PublicKeyCredentialType {
+ PublicKey = "public-key",
+}
diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialUserEntity.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialUserEntity.rs
new file mode 100644
index 000000000..d9e369cb0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialUserEntity.rs
@@ -0,0 +1,81 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialUserEntity)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PublicKeyCredentialUserEntity` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialUserEntity`*"]
+ pub type PublicKeyCredentialUserEntity;
+}
+impl PublicKeyCredentialUserEntity {
+ #[doc = "Construct a new `PublicKeyCredentialUserEntity`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialUserEntity`*"]
+ pub fn new(name: &str, display_name: &str, id: &::js_sys::Object) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.display_name(display_name);
+ ret.id(id);
+ ret
+ }
+ #[doc = "Change the `icon` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialUserEntity`*"]
+ pub fn icon(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("icon"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialUserEntity`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `displayName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialUserEntity`*"]
+ pub fn display_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("displayName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PublicKeyCredentialUserEntity`*"]
+ pub fn id(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PushEncryptionKeyName.rs b/vendor/web-sys/src/features/gen_PushEncryptionKeyName.rs
new file mode 100644
index 000000000..426f7dba1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PushEncryptionKeyName.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PushEncryptionKeyName` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PushEncryptionKeyName`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PushEncryptionKeyName {
+ P256dh = "p256dh",
+ Auth = "auth",
+}
diff --git a/vendor/web-sys/src/features/gen_PushEvent.rs b/vendor/web-sys/src/features/gen_PushEvent.rs
new file mode 100644
index 000000000..c22f03058
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PushEvent.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = ExtendableEvent , extends = Event , extends = :: js_sys :: Object , js_name = PushEvent , typescript_type = "PushEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PushEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushEvent`*"]
+ pub type PushEvent;
+ #[cfg(feature = "PushMessageData")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PushEvent" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushEvent/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushEvent`, `PushMessageData`*"]
+ pub fn data(this: &PushEvent) -> Option<PushMessageData>;
+ #[wasm_bindgen(catch, constructor, js_class = "PushEvent")]
+ #[doc = "The `new PushEvent(..)` constructor, creating a new instance of `PushEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushEvent/PushEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushEvent`*"]
+ pub fn new(type_: &str) -> Result<PushEvent, JsValue>;
+ #[cfg(feature = "PushEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "PushEvent")]
+ #[doc = "The `new PushEvent(..)` constructor, creating a new instance of `PushEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushEvent/PushEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushEvent`, `PushEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &PushEventInit,
+ ) -> Result<PushEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PushEventInit.rs b/vendor/web-sys/src/features/gen_PushEventInit.rs
new file mode 100644
index 000000000..35c412272
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PushEventInit.rs
@@ -0,0 +1,91 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PushEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushEventInit`*"]
+ pub type PushEventInit;
+}
+impl PushEventInit {
+ #[doc = "Construct a new `PushEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushEventInit`*"]
+ pub fn data(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PushEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PushManager.rs b/vendor/web-sys/src/features/gen_PushManager.rs
new file mode 100644
index 000000000..b272c5067
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PushManager.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushManager , typescript_type = "PushManager")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PushManager` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushManager`*"]
+ pub type PushManager;
+ # [wasm_bindgen (catch , method , structural , js_class = "PushManager" , js_name = getSubscription)]
+ #[doc = "The `getSubscription()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/getSubscription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushManager`*"]
+ pub fn get_subscription(this: &PushManager) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PushManager" , js_name = permissionState)]
+ #[doc = "The `permissionState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/permissionState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushManager`*"]
+ pub fn permission_state(this: &PushManager) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "PushSubscriptionOptionsInit")]
+ # [wasm_bindgen (catch , method , structural , js_class = "PushManager" , js_name = permissionState)]
+ #[doc = "The `permissionState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/permissionState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushManager`, `PushSubscriptionOptionsInit`*"]
+ pub fn permission_state_with_options(
+ this: &PushManager,
+ options: &PushSubscriptionOptionsInit,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PushManager" , js_name = subscribe)]
+ #[doc = "The `subscribe()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/subscribe)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushManager`*"]
+ pub fn subscribe(this: &PushManager) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "PushSubscriptionOptionsInit")]
+ # [wasm_bindgen (catch , method , structural , js_class = "PushManager" , js_name = subscribe)]
+ #[doc = "The `subscribe()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/subscribe)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushManager`, `PushSubscriptionOptionsInit`*"]
+ pub fn subscribe_with_options(
+ this: &PushManager,
+ options: &PushSubscriptionOptionsInit,
+ ) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PushMessageData.rs b/vendor/web-sys/src/features/gen_PushMessageData.rs
new file mode 100644
index 000000000..b641f968e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PushMessageData.rs
@@ -0,0 +1,43 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushMessageData , typescript_type = "PushMessageData")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PushMessageData` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushMessageData`*"]
+ pub type PushMessageData;
+ # [wasm_bindgen (catch , method , structural , js_class = "PushMessageData" , js_name = arrayBuffer)]
+ #[doc = "The `arrayBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData/arrayBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushMessageData`*"]
+ pub fn array_buffer(this: &PushMessageData) -> Result<::js_sys::ArrayBuffer, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "PushMessageData" , js_name = blob)]
+ #[doc = "The `blob()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData/blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `PushMessageData`*"]
+ pub fn blob(this: &PushMessageData) -> Result<Blob, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PushMessageData" , js_name = json)]
+ #[doc = "The `json()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData/json)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushMessageData`*"]
+ pub fn json(this: &PushMessageData) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "PushMessageData" , js_name = text)]
+ #[doc = "The `text()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushMessageData`*"]
+ pub fn text(this: &PushMessageData) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_PushPermissionState.rs b/vendor/web-sys/src/features/gen_PushPermissionState.rs
new file mode 100644
index 000000000..b86708f72
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PushPermissionState.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `PushPermissionState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `PushPermissionState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PushPermissionState {
+ Granted = "granted",
+ Denied = "denied",
+ Prompt = "prompt",
+}
diff --git a/vendor/web-sys/src/features/gen_PushSubscription.rs b/vendor/web-sys/src/features/gen_PushSubscription.rs
new file mode 100644
index 000000000..46d48290b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PushSubscription.rs
@@ -0,0 +1,55 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushSubscription , typescript_type = "PushSubscription")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PushSubscription` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscription`*"]
+ pub type PushSubscription;
+ # [wasm_bindgen (structural , method , getter , js_class = "PushSubscription" , js_name = endpoint)]
+ #[doc = "Getter for the `endpoint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/endpoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscription`*"]
+ pub fn endpoint(this: &PushSubscription) -> String;
+ #[cfg(feature = "PushSubscriptionOptions")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PushSubscription" , js_name = options)]
+ #[doc = "Getter for the `options` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/options)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscription`, `PushSubscriptionOptions`*"]
+ pub fn options(this: &PushSubscription) -> PushSubscriptionOptions;
+ #[cfg(feature = "PushEncryptionKeyName")]
+ # [wasm_bindgen (catch , method , structural , js_class = "PushSubscription" , js_name = getKey)]
+ #[doc = "The `getKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/getKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushEncryptionKeyName`, `PushSubscription`*"]
+ pub fn get_key(
+ this: &PushSubscription,
+ name: PushEncryptionKeyName,
+ ) -> Result<Option<::js_sys::ArrayBuffer>, JsValue>;
+ #[cfg(feature = "PushSubscriptionJson")]
+ # [wasm_bindgen (catch , method , structural , js_class = "PushSubscription" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscription`, `PushSubscriptionJson`*"]
+ pub fn to_json(this: &PushSubscription) -> Result<PushSubscriptionJson, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "PushSubscription" , js_name = unsubscribe)]
+ #[doc = "The `unsubscribe()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/unsubscribe)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscription`*"]
+ pub fn unsubscribe(this: &PushSubscription) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PushSubscriptionInit.rs b/vendor/web-sys/src/features/gen_PushSubscriptionInit.rs
new file mode 100644
index 000000000..9b7784a8e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PushSubscriptionInit.rs
@@ -0,0 +1,105 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushSubscriptionInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PushSubscriptionInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionInit`*"]
+ pub type PushSubscriptionInit;
+}
+impl PushSubscriptionInit {
+ #[doc = "Construct a new `PushSubscriptionInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionInit`*"]
+ pub fn new(endpoint: &str, scope: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.endpoint(endpoint);
+ ret.scope(scope);
+ ret
+ }
+ #[doc = "Change the `appServerKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionInit`*"]
+ pub fn app_server_key(&mut self, val: Option<&::js_sys::Object>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("appServerKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `authSecret` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionInit`*"]
+ pub fn auth_secret(&mut self, val: Option<&::js_sys::ArrayBuffer>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("authSecret"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `endpoint` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionInit`*"]
+ pub fn endpoint(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("endpoint"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `p256dhKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionInit`*"]
+ pub fn p256dh_key(&mut self, val: Option<&::js_sys::ArrayBuffer>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("p256dhKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `scope` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionInit`*"]
+ pub fn scope(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("scope"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PushSubscriptionJson.rs b/vendor/web-sys/src/features/gen_PushSubscriptionJson.rs
new file mode 100644
index 000000000..6859af3f7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PushSubscriptionJson.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushSubscriptionJSON)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PushSubscriptionJson` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionJson`*"]
+ pub type PushSubscriptionJson;
+}
+impl PushSubscriptionJson {
+ #[doc = "Construct a new `PushSubscriptionJson`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionJson`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `endpoint` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionJson`*"]
+ pub fn endpoint(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("endpoint"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "PushSubscriptionKeys")]
+ #[doc = "Change the `keys` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionJson`, `PushSubscriptionKeys`*"]
+ pub fn keys(&mut self, val: &PushSubscriptionKeys) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("keys"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PushSubscriptionJson {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PushSubscriptionKeys.rs b/vendor/web-sys/src/features/gen_PushSubscriptionKeys.rs
new file mode 100644
index 000000000..d42b47eac
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PushSubscriptionKeys.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushSubscriptionKeys)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PushSubscriptionKeys` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionKeys`*"]
+ pub type PushSubscriptionKeys;
+}
+impl PushSubscriptionKeys {
+ #[doc = "Construct a new `PushSubscriptionKeys`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionKeys`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `auth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionKeys`*"]
+ pub fn auth(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("auth"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `p256dh` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionKeys`*"]
+ pub fn p256dh(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("p256dh"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PushSubscriptionKeys {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_PushSubscriptionOptions.rs b/vendor/web-sys/src/features/gen_PushSubscriptionOptions.rs
new file mode 100644
index 000000000..de64371c5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PushSubscriptionOptions.rs
@@ -0,0 +1,23 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushSubscriptionOptions , typescript_type = "PushSubscriptionOptions")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PushSubscriptionOptions` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscriptionOptions)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionOptions`*"]
+ pub type PushSubscriptionOptions;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "PushSubscriptionOptions" , js_name = applicationServerKey)]
+ #[doc = "Getter for the `applicationServerKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscriptionOptions/applicationServerKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionOptions`*"]
+ pub fn application_server_key(
+ this: &PushSubscriptionOptions,
+ ) -> Result<Option<::js_sys::ArrayBuffer>, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_PushSubscriptionOptionsInit.rs b/vendor/web-sys/src/features/gen_PushSubscriptionOptionsInit.rs
new file mode 100644
index 000000000..1e9ae13ed
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PushSubscriptionOptionsInit.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushSubscriptionOptionsInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PushSubscriptionOptionsInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionOptionsInit`*"]
+ pub type PushSubscriptionOptionsInit;
+}
+impl PushSubscriptionOptionsInit {
+ #[doc = "Construct a new `PushSubscriptionOptionsInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionOptionsInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `applicationServerKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionOptionsInit`*"]
+ pub fn application_server_key(&mut self, val: Option<&::wasm_bindgen::JsValue>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("applicationServerKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `userVisibleOnly` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushSubscriptionOptionsInit`*"]
+ pub fn user_visible_only(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("userVisibleOnly"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for PushSubscriptionOptionsInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_QueuingStrategy.rs b/vendor/web-sys/src/features/gen_QueuingStrategy.rs
new file mode 100644
index 000000000..d94bdba8d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_QueuingStrategy.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = QueuingStrategy)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `QueuingStrategy` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `QueuingStrategy`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type QueuingStrategy;
+}
+#[cfg(web_sys_unstable_apis)]
+impl QueuingStrategy {
+ #[doc = "Construct a new `QueuingStrategy`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `QueuingStrategy`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `highWaterMark` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `QueuingStrategy`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn high_water_mark(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("highWaterMark"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `QueuingStrategy`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn size(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("size"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for QueuingStrategy {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_QueuingStrategyInit.rs b/vendor/web-sys/src/features/gen_QueuingStrategyInit.rs
new file mode 100644
index 000000000..89141292f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_QueuingStrategyInit.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = QueuingStrategyInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `QueuingStrategyInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `QueuingStrategyInit`*"]
+ pub type QueuingStrategyInit;
+}
+impl QueuingStrategyInit {
+ #[doc = "Construct a new `QueuingStrategyInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `QueuingStrategyInit`*"]
+ pub fn new(high_water_mark: f64) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.high_water_mark(high_water_mark);
+ ret
+ }
+ #[doc = "Change the `highWaterMark` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `QueuingStrategyInit`*"]
+ pub fn high_water_mark(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("highWaterMark"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RadioNodeList.rs b/vendor/web-sys/src/features/gen_RadioNodeList.rs
new file mode 100644
index 000000000..91c239809
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RadioNodeList.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = NodeList , extends = :: js_sys :: Object , js_name = RadioNodeList , typescript_type = "RadioNodeList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RadioNodeList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RadioNodeList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RadioNodeList`*"]
+ pub type RadioNodeList;
+ # [wasm_bindgen (structural , method , getter , js_class = "RadioNodeList" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RadioNodeList/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RadioNodeList`*"]
+ pub fn value(this: &RadioNodeList) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "RadioNodeList" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RadioNodeList/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RadioNodeList`*"]
+ pub fn set_value(this: &RadioNodeList, value: &str);
+}
diff --git a/vendor/web-sys/src/features/gen_Range.rs b/vendor/web-sys/src/features/gen_Range.rs
new file mode 100644
index 000000000..1aa1f937b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Range.rs
@@ -0,0 +1,277 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Range , typescript_type = "Range")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Range` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub type Range;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Range" , js_name = startContainer)]
+ #[doc = "Getter for the `startContainer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/startContainer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn start_container(this: &Range) -> Result<Node, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Range" , js_name = startOffset)]
+ #[doc = "Getter for the `startOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/startOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub fn start_offset(this: &Range) -> Result<u32, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Range" , js_name = endContainer)]
+ #[doc = "Getter for the `endContainer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/endContainer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn end_container(this: &Range) -> Result<Node, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Range" , js_name = endOffset)]
+ #[doc = "Getter for the `endOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/endOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub fn end_offset(this: &Range) -> Result<u32, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Range" , js_name = collapsed)]
+ #[doc = "Getter for the `collapsed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/collapsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub fn collapsed(this: &Range) -> bool;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Range" , js_name = commonAncestorContainer)]
+ #[doc = "Getter for the `commonAncestorContainer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/commonAncestorContainer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn common_ancestor_container(this: &Range) -> Result<Node, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Range")]
+ #[doc = "The `new Range(..)` constructor, creating a new instance of `Range`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/Range)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub fn new() -> Result<Range, JsValue>;
+ #[cfg(feature = "DocumentFragment")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = cloneContents)]
+ #[doc = "The `cloneContents()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/cloneContents)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Range`*"]
+ pub fn clone_contents(this: &Range) -> Result<DocumentFragment, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Range" , js_name = cloneRange)]
+ #[doc = "The `cloneRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/cloneRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub fn clone_range(this: &Range) -> Range;
+ # [wasm_bindgen (method , structural , js_class = "Range" , js_name = collapse)]
+ #[doc = "The `collapse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/collapse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub fn collapse(this: &Range);
+ # [wasm_bindgen (method , structural , js_class = "Range" , js_name = collapse)]
+ #[doc = "The `collapse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/collapse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub fn collapse_with_to_start(this: &Range, to_start: bool);
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = compareBoundaryPoints)]
+ #[doc = "The `compareBoundaryPoints()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/compareBoundaryPoints)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub fn compare_boundary_points(
+ this: &Range,
+ how: u16,
+ source_range: &Range,
+ ) -> Result<i16, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = comparePoint)]
+ #[doc = "The `comparePoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/comparePoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn compare_point(this: &Range, node: &Node, offset: u32) -> Result<i16, JsValue>;
+ #[cfg(feature = "DocumentFragment")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = createContextualFragment)]
+ #[doc = "The `createContextualFragment()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/createContextualFragment)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Range`*"]
+ pub fn create_contextual_fragment(
+ this: &Range,
+ fragment: &str,
+ ) -> Result<DocumentFragment, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = deleteContents)]
+ #[doc = "The `deleteContents()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/deleteContents)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub fn delete_contents(this: &Range) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Range" , js_name = detach)]
+ #[doc = "The `detach()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/detach)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub fn detach(this: &Range);
+ #[cfg(feature = "DocumentFragment")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = extractContents)]
+ #[doc = "The `extractContents()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/extractContents)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Range`*"]
+ pub fn extract_contents(this: &Range) -> Result<DocumentFragment, JsValue>;
+ #[cfg(feature = "DomRect")]
+ # [wasm_bindgen (method , structural , js_class = "Range" , js_name = getBoundingClientRect)]
+ #[doc = "The `getBoundingClientRect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/getBoundingClientRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRect`, `Range`*"]
+ pub fn get_bounding_client_rect(this: &Range) -> DomRect;
+ #[cfg(feature = "DomRectList")]
+ # [wasm_bindgen (method , structural , js_class = "Range" , js_name = getClientRects)]
+ #[doc = "The `getClientRects()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/getClientRects)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectList`, `Range`*"]
+ pub fn get_client_rects(this: &Range) -> Option<DomRectList>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = insertNode)]
+ #[doc = "The `insertNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/insertNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn insert_node(this: &Range, node: &Node) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = intersectsNode)]
+ #[doc = "The `intersectsNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/intersectsNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn intersects_node(this: &Range, node: &Node) -> Result<bool, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = isPointInRange)]
+ #[doc = "The `isPointInRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/isPointInRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn is_point_in_range(this: &Range, node: &Node, offset: u32) -> Result<bool, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = selectNode)]
+ #[doc = "The `selectNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/selectNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn select_node(this: &Range, ref_node: &Node) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = selectNodeContents)]
+ #[doc = "The `selectNodeContents()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/selectNodeContents)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn select_node_contents(this: &Range, ref_node: &Node) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = setEnd)]
+ #[doc = "The `setEnd()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn set_end(this: &Range, ref_node: &Node, offset: u32) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = setEndAfter)]
+ #[doc = "The `setEndAfter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setEndAfter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn set_end_after(this: &Range, ref_node: &Node) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = setEndBefore)]
+ #[doc = "The `setEndBefore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setEndBefore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn set_end_before(this: &Range, ref_node: &Node) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = setStart)]
+ #[doc = "The `setStart()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn set_start(this: &Range, ref_node: &Node, offset: u32) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = setStartAfter)]
+ #[doc = "The `setStartAfter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setStartAfter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn set_start_after(this: &Range, ref_node: &Node) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = setStartBefore)]
+ #[doc = "The `setStartBefore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setStartBefore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn set_start_before(this: &Range, ref_node: &Node) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Range" , js_name = surroundContents)]
+ #[doc = "The `surroundContents()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/surroundContents)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"]
+ pub fn surround_contents(this: &Range, new_parent: &Node) -> Result<(), JsValue>;
+}
+impl Range {
+ #[doc = "The `Range.START_TO_START` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub const START_TO_START: u16 = 0i64 as u16;
+ #[doc = "The `Range.START_TO_END` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub const START_TO_END: u16 = 1u64 as u16;
+ #[doc = "The `Range.END_TO_END` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub const END_TO_END: u16 = 2u64 as u16;
+ #[doc = "The `Range.END_TO_START` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`*"]
+ pub const END_TO_START: u16 = 3u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_RcwnPerfStats.rs b/vendor/web-sys/src/features/gen_RcwnPerfStats.rs
new file mode 100644
index 000000000..251053a13
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RcwnPerfStats.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RcwnPerfStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RcwnPerfStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnPerfStats`*"]
+ pub type RcwnPerfStats;
+}
+impl RcwnPerfStats {
+ #[doc = "Construct a new `RcwnPerfStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnPerfStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `avgLong` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnPerfStats`*"]
+ pub fn avg_long(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("avgLong"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `avgShort` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnPerfStats`*"]
+ pub fn avg_short(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("avgShort"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `stddevLong` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnPerfStats`*"]
+ pub fn stddev_long(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stddevLong"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RcwnPerfStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RcwnStatus.rs b/vendor/web-sys/src/features/gen_RcwnStatus.rs
new file mode 100644
index 000000000..17c01013f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RcwnStatus.rs
@@ -0,0 +1,129 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RcwnStatus)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RcwnStatus` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnStatus`*"]
+ pub type RcwnStatus;
+}
+impl RcwnStatus {
+ #[doc = "Construct a new `RcwnStatus`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnStatus`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `cacheNotSlowCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnStatus`*"]
+ pub fn cache_not_slow_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cacheNotSlowCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cacheSlowCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnStatus`*"]
+ pub fn cache_slow_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cacheSlowCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `perfStats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnStatus`*"]
+ pub fn perf_stats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("perfStats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rcwnCacheWonCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnStatus`*"]
+ pub fn rcwn_cache_won_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rcwnCacheWonCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rcwnNetWonCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnStatus`*"]
+ pub fn rcwn_net_won_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rcwnNetWonCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `totalNetworkRequests` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RcwnStatus`*"]
+ pub fn total_network_requests(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("totalNetworkRequests"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RcwnStatus {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ReadableByteStreamController.rs b/vendor/web-sys/src/features/gen_ReadableByteStreamController.rs
new file mode 100644
index 000000000..df4509417
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReadableByteStreamController.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableByteStreamController , typescript_type = "ReadableByteStreamController")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ReadableByteStreamController` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableByteStreamController`*"]
+ pub type ReadableByteStreamController;
+ #[cfg(feature = "ReadableStreamByobRequest")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ReadableByteStreamController" , js_name = byobRequest)]
+ #[doc = "Getter for the `byobRequest` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/byobRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableByteStreamController`, `ReadableStreamByobRequest`*"]
+ pub fn byob_request(this: &ReadableByteStreamController) -> Option<ReadableStreamByobRequest>;
+ # [wasm_bindgen (structural , method , getter , js_class = "ReadableByteStreamController" , js_name = desiredSize)]
+ #[doc = "Getter for the `desiredSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/desiredSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableByteStreamController`*"]
+ pub fn desired_size(this: &ReadableByteStreamController) -> Option<f64>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ReadableByteStreamController" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableByteStreamController`*"]
+ pub fn close(this: &ReadableByteStreamController) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ReadableByteStreamController" , js_name = enqueue)]
+ #[doc = "The `enqueue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/enqueue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableByteStreamController`*"]
+ pub fn enqueue_with_array_buffer_view(
+ this: &ReadableByteStreamController,
+ chunk: &::js_sys::Object,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ReadableByteStreamController" , js_name = enqueue)]
+ #[doc = "The `enqueue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/enqueue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableByteStreamController`*"]
+ pub fn enqueue_with_u8_array(
+ this: &ReadableByteStreamController,
+ chunk: &mut [u8],
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "ReadableByteStreamController" , js_name = error)]
+ #[doc = "The `error()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableByteStreamController`*"]
+ pub fn error(this: &ReadableByteStreamController);
+ # [wasm_bindgen (method , structural , js_class = "ReadableByteStreamController" , js_name = error)]
+ #[doc = "The `error()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableByteStreamController`*"]
+ pub fn error_with_e(this: &ReadableByteStreamController, e: &::wasm_bindgen::JsValue);
+}
diff --git a/vendor/web-sys/src/features/gen_ReadableStream.rs b/vendor/web-sys/src/features/gen_ReadableStream.rs
new file mode 100644
index 000000000..c66b913be
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReadableStream.rs
@@ -0,0 +1,142 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableStream , typescript_type = "ReadableStream")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ReadableStream` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`*"]
+ pub type ReadableStream;
+ # [wasm_bindgen (structural , method , getter , js_class = "ReadableStream" , js_name = locked)]
+ #[doc = "Getter for the `locked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/locked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`*"]
+ pub fn locked(this: &ReadableStream) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "ReadableStream")]
+ #[doc = "The `new ReadableStream(..)` constructor, creating a new instance of `ReadableStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Result<ReadableStream, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "ReadableStream")]
+ #[doc = "The `new ReadableStream(..)` constructor, creating a new instance of `ReadableStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_underlying_source(
+ underlying_source: &::js_sys::Object,
+ ) -> Result<ReadableStream, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "QueuingStrategy")]
+ #[wasm_bindgen(catch, constructor, js_class = "ReadableStream")]
+ #[doc = "The `new ReadableStream(..)` constructor, creating a new instance of `ReadableStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `QueuingStrategy`, `ReadableStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_underlying_source_and_strategy(
+ underlying_source: &::js_sys::Object,
+ strategy: &QueuingStrategy,
+ ) -> Result<ReadableStream, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = cancel)]
+ #[doc = "The `cancel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/cancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`*"]
+ pub fn cancel(this: &ReadableStream) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = cancel)]
+ #[doc = "The `cancel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/cancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`*"]
+ pub fn cancel_with_reason(
+ this: &ReadableStream,
+ reason: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = getReader)]
+ #[doc = "The `getReader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/getReader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`*"]
+ pub fn get_reader(this: &ReadableStream) -> ::js_sys::Object;
+ #[cfg(feature = "ReadableStreamGetReaderOptions")]
+ # [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = getReader)]
+ #[doc = "The `getReader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/getReader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `ReadableStreamGetReaderOptions`*"]
+ pub fn get_reader_with_options(
+ this: &ReadableStream,
+ options: &ReadableStreamGetReaderOptions,
+ ) -> ::js_sys::Object;
+ #[cfg(feature = "ReadableWritablePair")]
+ # [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = pipeThrough)]
+ #[doc = "The `pipeThrough()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeThrough)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `ReadableWritablePair`*"]
+ pub fn pipe_through(this: &ReadableStream, transform: &ReadableWritablePair) -> ReadableStream;
+ #[cfg(all(feature = "ReadableWritablePair", feature = "StreamPipeOptions",))]
+ # [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = pipeThrough)]
+ #[doc = "The `pipeThrough()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeThrough)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `ReadableWritablePair`, `StreamPipeOptions`*"]
+ pub fn pipe_through_with_options(
+ this: &ReadableStream,
+ transform: &ReadableWritablePair,
+ options: &StreamPipeOptions,
+ ) -> ReadableStream;
+ #[cfg(feature = "WritableStream")]
+ # [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = pipeTo)]
+ #[doc = "The `pipeTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `WritableStream`*"]
+ pub fn pipe_to(this: &ReadableStream, destination: &WritableStream) -> ::js_sys::Promise;
+ #[cfg(all(feature = "StreamPipeOptions", feature = "WritableStream",))]
+ # [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = pipeTo)]
+ #[doc = "The `pipeTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `StreamPipeOptions`, `WritableStream`*"]
+ pub fn pipe_to_with_options(
+ this: &ReadableStream,
+ destination: &WritableStream,
+ options: &StreamPipeOptions,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = tee)]
+ #[doc = "The `tee()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/tee)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`*"]
+ pub fn tee(this: &ReadableStream) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_ReadableStreamByobReader.rs b/vendor/web-sys/src/features/gen_ReadableStreamByobReader.rs
new file mode 100644
index 000000000..1f0512551
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReadableStreamByobReader.rs
@@ -0,0 +1,73 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableStreamBYOBReader , typescript_type = "ReadableStreamBYOBReader")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ReadableStreamByobReader` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
+ pub type ReadableStreamByobReader;
+ # [wasm_bindgen (structural , method , getter , js_class = "ReadableStreamBYOBReader" , js_name = closed)]
+ #[doc = "Getter for the `closed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/closed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
+ pub fn closed(this: &ReadableStreamByobReader) -> ::js_sys::Promise;
+ #[cfg(feature = "ReadableStream")]
+ #[wasm_bindgen(catch, constructor, js_class = "ReadableStreamBYOBReader")]
+ #[doc = "The `new ReadableStreamByobReader(..)` constructor, creating a new instance of `ReadableStreamByobReader`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/ReadableStreamBYOBReader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `ReadableStreamByobReader`*"]
+ pub fn new(stream: &ReadableStream) -> Result<ReadableStreamByobReader, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "ReadableStreamBYOBReader" , js_name = read)]
+ #[doc = "The `read()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/read)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
+ pub fn read_with_array_buffer_view(
+ this: &ReadableStreamByobReader,
+ view: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "ReadableStreamBYOBReader" , js_name = read)]
+ #[doc = "The `read()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/read)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
+ pub fn read_with_u8_array(
+ this: &ReadableStreamByobReader,
+ view: &mut [u8],
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "ReadableStreamBYOBReader" , js_name = releaseLock)]
+ #[doc = "The `releaseLock()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/releaseLock)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
+ pub fn release_lock(this: &ReadableStreamByobReader);
+ # [wasm_bindgen (method , structural , js_class = "ReadableStreamBYOBReader" , js_name = cancel)]
+ #[doc = "The `cancel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/cancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
+ pub fn cancel(this: &ReadableStreamByobReader) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "ReadableStreamBYOBReader" , js_name = cancel)]
+ #[doc = "The `cancel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/cancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
+ pub fn cancel_with_reason(
+ this: &ReadableStreamByobReader,
+ reason: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_ReadableStreamByobRequest.rs b/vendor/web-sys/src/features/gen_ReadableStreamByobRequest.rs
new file mode 100644
index 000000000..7638c598d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReadableStreamByobRequest.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableStreamBYOBRequest , typescript_type = "ReadableStreamBYOBRequest")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ReadableStreamByobRequest` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobRequest`*"]
+ pub type ReadableStreamByobRequest;
+ # [wasm_bindgen (structural , method , getter , js_class = "ReadableStreamBYOBRequest" , js_name = view)]
+ #[doc = "Getter for the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBRequest/view)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobRequest`*"]
+ pub fn view(this: &ReadableStreamByobRequest) -> Option<::js_sys::Object>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ReadableStreamBYOBRequest" , js_name = respond)]
+ #[doc = "The `respond()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBRequest/respond)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobRequest`*"]
+ pub fn respond_with_u32(
+ this: &ReadableStreamByobRequest,
+ bytes_written: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ReadableStreamBYOBRequest" , js_name = respond)]
+ #[doc = "The `respond()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBRequest/respond)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobRequest`*"]
+ pub fn respond_with_f64(
+ this: &ReadableStreamByobRequest,
+ bytes_written: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ReadableStreamBYOBRequest" , js_name = respondWithNewView)]
+ #[doc = "The `respondWithNewView()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobRequest`*"]
+ pub fn respond_with_new_view_with_array_buffer_view(
+ this: &ReadableStreamByobRequest,
+ view: &::js_sys::Object,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ReadableStreamBYOBRequest" , js_name = respondWithNewView)]
+ #[doc = "The `respondWithNewView()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobRequest`*"]
+ pub fn respond_with_new_view_with_u8_array(
+ this: &ReadableStreamByobRequest,
+ view: &mut [u8],
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ReadableStreamDefaultController.rs b/vendor/web-sys/src/features/gen_ReadableStreamDefaultController.rs
new file mode 100644
index 000000000..d721b20aa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReadableStreamDefaultController.rs
@@ -0,0 +1,59 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableStreamDefaultController , typescript_type = "ReadableStreamDefaultController")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ReadableStreamDefaultController` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultController`*"]
+ pub type ReadableStreamDefaultController;
+ # [wasm_bindgen (structural , method , getter , js_class = "ReadableStreamDefaultController" , js_name = desiredSize)]
+ #[doc = "Getter for the `desiredSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/desiredSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultController`*"]
+ pub fn desired_size(this: &ReadableStreamDefaultController) -> Option<f64>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ReadableStreamDefaultController" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultController`*"]
+ pub fn close(this: &ReadableStreamDefaultController) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ReadableStreamDefaultController" , js_name = enqueue)]
+ #[doc = "The `enqueue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/enqueue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultController`*"]
+ pub fn enqueue(this: &ReadableStreamDefaultController) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ReadableStreamDefaultController" , js_name = enqueue)]
+ #[doc = "The `enqueue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/enqueue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultController`*"]
+ pub fn enqueue_with_chunk(
+ this: &ReadableStreamDefaultController,
+ chunk: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "ReadableStreamDefaultController" , js_name = error)]
+ #[doc = "The `error()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultController`*"]
+ pub fn error(this: &ReadableStreamDefaultController);
+ # [wasm_bindgen (method , structural , js_class = "ReadableStreamDefaultController" , js_name = error)]
+ #[doc = "The `error()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultController`*"]
+ pub fn error_with_e(this: &ReadableStreamDefaultController, e: &::wasm_bindgen::JsValue);
+}
diff --git a/vendor/web-sys/src/features/gen_ReadableStreamDefaultReader.rs b/vendor/web-sys/src/features/gen_ReadableStreamDefaultReader.rs
new file mode 100644
index 000000000..6b12a74ca
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReadableStreamDefaultReader.rs
@@ -0,0 +1,60 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableStreamDefaultReader , typescript_type = "ReadableStreamDefaultReader")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ReadableStreamDefaultReader` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultReader`*"]
+ pub type ReadableStreamDefaultReader;
+ # [wasm_bindgen (structural , method , getter , js_class = "ReadableStreamDefaultReader" , js_name = closed)]
+ #[doc = "Getter for the `closed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/closed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultReader`*"]
+ pub fn closed(this: &ReadableStreamDefaultReader) -> ::js_sys::Promise;
+ #[cfg(feature = "ReadableStream")]
+ #[wasm_bindgen(catch, constructor, js_class = "ReadableStreamDefaultReader")]
+ #[doc = "The `new ReadableStreamDefaultReader(..)` constructor, creating a new instance of `ReadableStreamDefaultReader`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/ReadableStreamDefaultReader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `ReadableStreamDefaultReader`*"]
+ pub fn new(stream: &ReadableStream) -> Result<ReadableStreamDefaultReader, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "ReadableStreamDefaultReader" , js_name = read)]
+ #[doc = "The `read()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/read)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultReader`*"]
+ pub fn read(this: &ReadableStreamDefaultReader) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "ReadableStreamDefaultReader" , js_name = releaseLock)]
+ #[doc = "The `releaseLock()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/releaseLock)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultReader`*"]
+ pub fn release_lock(this: &ReadableStreamDefaultReader);
+ # [wasm_bindgen (method , structural , js_class = "ReadableStreamDefaultReader" , js_name = cancel)]
+ #[doc = "The `cancel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/cancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultReader`*"]
+ pub fn cancel(this: &ReadableStreamDefaultReader) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "ReadableStreamDefaultReader" , js_name = cancel)]
+ #[doc = "The `cancel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/cancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultReader`*"]
+ pub fn cancel_with_reason(
+ this: &ReadableStreamDefaultReader,
+ reason: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_ReadableStreamGetReaderOptions.rs b/vendor/web-sys/src/features/gen_ReadableStreamGetReaderOptions.rs
new file mode 100644
index 000000000..632b82634
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReadableStreamGetReaderOptions.rs
@@ -0,0 +1,41 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableStreamGetReaderOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ReadableStreamGetReaderOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamGetReaderOptions`*"]
+ pub type ReadableStreamGetReaderOptions;
+}
+impl ReadableStreamGetReaderOptions {
+ #[doc = "Construct a new `ReadableStreamGetReaderOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamGetReaderOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "ReadableStreamReaderMode")]
+ #[doc = "Change the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamGetReaderOptions`, `ReadableStreamReaderMode`*"]
+ pub fn mode(&mut self, val: ReadableStreamReaderMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("mode"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ReadableStreamGetReaderOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ReadableStreamIteratorOptions.rs b/vendor/web-sys/src/features/gen_ReadableStreamIteratorOptions.rs
new file mode 100644
index 000000000..f1c2d65b6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReadableStreamIteratorOptions.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableStreamIteratorOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ReadableStreamIteratorOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamIteratorOptions`*"]
+ pub type ReadableStreamIteratorOptions;
+}
+impl ReadableStreamIteratorOptions {
+ #[doc = "Construct a new `ReadableStreamIteratorOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamIteratorOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `preventCancel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamIteratorOptions`*"]
+ pub fn prevent_cancel(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("preventCancel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ReadableStreamIteratorOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ReadableStreamReadResult.rs b/vendor/web-sys/src/features/gen_ReadableStreamReadResult.rs
new file mode 100644
index 000000000..794dc0e9b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReadableStreamReadResult.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableStreamReadResult)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ReadableStreamReadResult` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamReadResult`*"]
+ pub type ReadableStreamReadResult;
+}
+impl ReadableStreamReadResult {
+ #[doc = "Construct a new `ReadableStreamReadResult`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamReadResult`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `done` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamReadResult`*"]
+ pub fn done(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("done"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamReadResult`*"]
+ pub fn value(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ReadableStreamReadResult {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ReadableStreamReaderMode.rs b/vendor/web-sys/src/features/gen_ReadableStreamReaderMode.rs
new file mode 100644
index 000000000..a01a07dac
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReadableStreamReaderMode.rs
@@ -0,0 +1,10 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ReadableStreamReaderMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ReadableStreamReaderMode`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ReadableStreamReaderMode {
+ Byob = "byob",
+}
diff --git a/vendor/web-sys/src/features/gen_ReadableStreamType.rs b/vendor/web-sys/src/features/gen_ReadableStreamType.rs
new file mode 100644
index 000000000..5bbe4467f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReadableStreamType.rs
@@ -0,0 +1,10 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ReadableStreamType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ReadableStreamType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ReadableStreamType {
+ Bytes = "bytes",
+}
diff --git a/vendor/web-sys/src/features/gen_ReadableWritablePair.rs b/vendor/web-sys/src/features/gen_ReadableWritablePair.rs
new file mode 100644
index 000000000..8a34d98ac
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReadableWritablePair.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableWritablePair)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ReadableWritablePair` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableWritablePair`*"]
+ pub type ReadableWritablePair;
+}
+impl ReadableWritablePair {
+ #[cfg(all(feature = "ReadableStream", feature = "WritableStream",))]
+ #[doc = "Construct a new `ReadableWritablePair`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `ReadableWritablePair`, `WritableStream`*"]
+ pub fn new(readable: &ReadableStream, writable: &WritableStream) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.readable(readable);
+ ret.writable(writable);
+ ret
+ }
+ #[cfg(feature = "ReadableStream")]
+ #[doc = "Change the `readable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `ReadableWritablePair`*"]
+ pub fn readable(&mut self, val: &ReadableStream) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("readable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "WritableStream")]
+ #[doc = "Change the `writable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableWritablePair`, `WritableStream`*"]
+ pub fn writable(&mut self, val: &WritableStream) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("writable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RecordingState.rs b/vendor/web-sys/src/features/gen_RecordingState.rs
new file mode 100644
index 000000000..b652faf75
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RecordingState.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RecordingState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RecordingState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RecordingState {
+ Inactive = "inactive",
+ Recording = "recording",
+ Paused = "paused",
+}
diff --git a/vendor/web-sys/src/features/gen_ReferrerPolicy.rs b/vendor/web-sys/src/features/gen_ReferrerPolicy.rs
new file mode 100644
index 000000000..8a04af575
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ReferrerPolicy.rs
@@ -0,0 +1,18 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ReferrerPolicy` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ReferrerPolicy`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ReferrerPolicy {
+ None = "",
+ NoReferrer = "no-referrer",
+ NoReferrerWhenDowngrade = "no-referrer-when-downgrade",
+ Origin = "origin",
+ OriginWhenCrossOrigin = "origin-when-cross-origin",
+ UnsafeUrl = "unsafe-url",
+ SameOrigin = "same-origin",
+ StrictOrigin = "strict-origin",
+ StrictOriginWhenCrossOrigin = "strict-origin-when-cross-origin",
+}
diff --git a/vendor/web-sys/src/features/gen_RegisterRequest.rs b/vendor/web-sys/src/features/gen_RegisterRequest.rs
new file mode 100644
index 000000000..c3ef76705
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RegisterRequest.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RegisterRequest)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RegisterRequest` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisterRequest`*"]
+ pub type RegisterRequest;
+}
+impl RegisterRequest {
+ #[doc = "Construct a new `RegisterRequest`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisterRequest`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `challenge` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisterRequest`*"]
+ pub fn challenge(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("challenge"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `version` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisterRequest`*"]
+ pub fn version(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("version"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RegisterRequest {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RegisterResponse.rs b/vendor/web-sys/src/features/gen_RegisterResponse.rs
new file mode 100644
index 000000000..19c324a2b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RegisterResponse.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RegisterResponse)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RegisterResponse` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisterResponse`*"]
+ pub type RegisterResponse;
+}
+impl RegisterResponse {
+ #[doc = "Construct a new `RegisterResponse`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisterResponse`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `clientData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisterResponse`*"]
+ pub fn client_data(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `errorCode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisterResponse`*"]
+ pub fn error_code(&mut self, val: Option<u16>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("errorCode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `errorMessage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisterResponse`*"]
+ pub fn error_message(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("errorMessage"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `registrationData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisterResponse`*"]
+ pub fn registration_data(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("registrationData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `version` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisterResponse`*"]
+ pub fn version(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("version"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RegisterResponse {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RegisteredKey.rs b/vendor/web-sys/src/features/gen_RegisteredKey.rs
new file mode 100644
index 000000000..d18b00853
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RegisteredKey.rs
@@ -0,0 +1,91 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RegisteredKey)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RegisteredKey` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisteredKey`*"]
+ pub type RegisteredKey;
+}
+impl RegisteredKey {
+ #[doc = "Construct a new `RegisteredKey`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisteredKey`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `appId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisteredKey`*"]
+ pub fn app_id(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("appId"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `keyHandle` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisteredKey`*"]
+ pub fn key_handle(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("keyHandle"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `transports` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisteredKey`*"]
+ pub fn transports(&mut self, val: Option<&::wasm_bindgen::JsValue>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transports"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `version` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegisteredKey`*"]
+ pub fn version(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("version"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RegisteredKey {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RegistrationOptions.rs b/vendor/web-sys/src/features/gen_RegistrationOptions.rs
new file mode 100644
index 000000000..9c186a6c8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RegistrationOptions.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RegistrationOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RegistrationOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegistrationOptions`*"]
+ pub type RegistrationOptions;
+}
+impl RegistrationOptions {
+ #[doc = "Construct a new `RegistrationOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegistrationOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `scope` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegistrationOptions`*"]
+ pub fn scope(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("scope"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ServiceWorkerUpdateViaCache")]
+ #[doc = "Change the `updateViaCache` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegistrationOptions`, `ServiceWorkerUpdateViaCache`*"]
+ pub fn update_via_cache(&mut self, val: ServiceWorkerUpdateViaCache) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("updateViaCache"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RegistrationOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Request.rs b/vendor/web-sys/src/features/gen_Request.rs
new file mode 100644
index 000000000..d83d86a29
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Request.rs
@@ -0,0 +1,196 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Request , typescript_type = "Request")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Request` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub type Request;
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = method)]
+ #[doc = "Getter for the `method` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/method)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn method(this: &Request) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = url)]
+ #[doc = "Getter for the `url` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/url)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn url(this: &Request) -> String;
+ #[cfg(feature = "Headers")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = headers)]
+ #[doc = "Getter for the `headers` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/headers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Headers`, `Request`*"]
+ pub fn headers(this: &Request) -> Headers;
+ #[cfg(feature = "RequestDestination")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = destination)]
+ #[doc = "Getter for the `destination` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/destination)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestDestination`*"]
+ pub fn destination(this: &Request) -> RequestDestination;
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = referrer)]
+ #[doc = "Getter for the `referrer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/referrer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn referrer(this: &Request) -> String;
+ #[cfg(feature = "ReferrerPolicy")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = referrerPolicy)]
+ #[doc = "Getter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReferrerPolicy`, `Request`*"]
+ pub fn referrer_policy(this: &Request) -> ReferrerPolicy;
+ #[cfg(feature = "RequestMode")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = mode)]
+ #[doc = "Getter for the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/mode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestMode`*"]
+ pub fn mode(this: &Request) -> RequestMode;
+ #[cfg(feature = "RequestCredentials")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = credentials)]
+ #[doc = "Getter for the `credentials` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestCredentials`*"]
+ pub fn credentials(this: &Request) -> RequestCredentials;
+ #[cfg(feature = "RequestCache")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = cache)]
+ #[doc = "Getter for the `cache` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/cache)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestCache`*"]
+ pub fn cache(this: &Request) -> RequestCache;
+ #[cfg(feature = "RequestRedirect")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = redirect)]
+ #[doc = "Getter for the `redirect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/redirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestRedirect`*"]
+ pub fn redirect(this: &Request) -> RequestRedirect;
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = integrity)]
+ #[doc = "Getter for the `integrity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/integrity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn integrity(this: &Request) -> String;
+ #[cfg(feature = "AbortSignal")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = signal)]
+ #[doc = "Getter for the `signal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/signal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortSignal`, `Request`*"]
+ pub fn signal(this: &Request) -> AbortSignal;
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = bodyUsed)]
+ #[doc = "Getter for the `bodyUsed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/bodyUsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn body_used(this: &Request) -> bool;
+ #[cfg(feature = "ReadableStream")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Request" , js_name = body)]
+ #[doc = "Getter for the `body` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/body)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `Request`*"]
+ pub fn body(this: &Request) -> Option<ReadableStream>;
+ #[wasm_bindgen(catch, constructor, js_class = "Request")]
+ #[doc = "The `new Request(..)` constructor, creating a new instance of `Request`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn new_with_request(input: &Request) -> Result<Request, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Request")]
+ #[doc = "The `new Request(..)` constructor, creating a new instance of `Request`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn new_with_str(input: &str) -> Result<Request, JsValue>;
+ #[cfg(feature = "RequestInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "Request")]
+ #[doc = "The `new Request(..)` constructor, creating a new instance of `Request`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestInit`*"]
+ pub fn new_with_request_and_init(
+ input: &Request,
+ init: &RequestInit,
+ ) -> Result<Request, JsValue>;
+ #[cfg(feature = "RequestInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "Request")]
+ #[doc = "The `new Request(..)` constructor, creating a new instance of `Request`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestInit`*"]
+ pub fn new_with_str_and_init(input: &str, init: &RequestInit) -> Result<Request, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Request" , js_name = clone)]
+ #[doc = "The `clone()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/clone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn clone(this: &Request) -> Result<Request, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Request" , js_name = arrayBuffer)]
+ #[doc = "The `arrayBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/arrayBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn array_buffer(this: &Request) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Request" , js_name = blob)]
+ #[doc = "The `blob()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn blob(this: &Request) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Request" , js_name = formData)]
+ #[doc = "The `formData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/formData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn form_data(this: &Request) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Request" , js_name = json)]
+ #[doc = "The `json()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/json)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn json(this: &Request) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Request" , js_name = text)]
+ #[doc = "The `text()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`*"]
+ pub fn text(this: &Request) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_RequestCache.rs b/vendor/web-sys/src/features/gen_RequestCache.rs
new file mode 100644
index 000000000..411fce685
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RequestCache.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RequestCache` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RequestCache`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RequestCache {
+ Default = "default",
+ NoStore = "no-store",
+ Reload = "reload",
+ NoCache = "no-cache",
+ ForceCache = "force-cache",
+ OnlyIfCached = "only-if-cached",
+}
diff --git a/vendor/web-sys/src/features/gen_RequestCredentials.rs b/vendor/web-sys/src/features/gen_RequestCredentials.rs
new file mode 100644
index 000000000..5c61d97a2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RequestCredentials.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RequestCredentials` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RequestCredentials`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RequestCredentials {
+ Omit = "omit",
+ SameOrigin = "same-origin",
+ Include = "include",
+}
diff --git a/vendor/web-sys/src/features/gen_RequestDestination.rs b/vendor/web-sys/src/features/gen_RequestDestination.rs
new file mode 100644
index 000000000..e21089dc5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RequestDestination.rs
@@ -0,0 +1,27 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RequestDestination` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RequestDestination`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RequestDestination {
+ None = "",
+ Audio = "audio",
+ Audioworklet = "audioworklet",
+ Document = "document",
+ Embed = "embed",
+ Font = "font",
+ Image = "image",
+ Manifest = "manifest",
+ Object = "object",
+ Paintworklet = "paintworklet",
+ Report = "report",
+ Script = "script",
+ Sharedworker = "sharedworker",
+ Style = "style",
+ Track = "track",
+ Video = "video",
+ Worker = "worker",
+ Xslt = "xslt",
+}
diff --git a/vendor/web-sys/src/features/gen_RequestDeviceOptions.rs b/vendor/web-sys/src/features/gen_RequestDeviceOptions.rs
new file mode 100644
index 000000000..02f230278
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RequestDeviceOptions.rs
@@ -0,0 +1,99 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RequestDeviceOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RequestDeviceOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestDeviceOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type RequestDeviceOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl RequestDeviceOptions {
+ #[doc = "Construct a new `RequestDeviceOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestDeviceOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `acceptAllDevices` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestDeviceOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn accept_all_devices(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("acceptAllDevices"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `filters` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestDeviceOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn filters(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("filters"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `optionalServices` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestDeviceOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn optional_services(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("optionalServices"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for RequestDeviceOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RequestInit.rs b/vendor/web-sys/src/features/gen_RequestInit.rs
new file mode 100644
index 000000000..12ad7bf61
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RequestInit.rs
@@ -0,0 +1,220 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RequestInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RequestInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestInit`*"]
+ pub type RequestInit;
+}
+impl RequestInit {
+ #[doc = "Construct a new `RequestInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `body` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestInit`*"]
+ pub fn body(&mut self, val: Option<&::wasm_bindgen::JsValue>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("body"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RequestCache")]
+ #[doc = "Change the `cache` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestCache`, `RequestInit`*"]
+ pub fn cache(&mut self, val: RequestCache) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("cache"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RequestCredentials")]
+ #[doc = "Change the `credentials` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestCredentials`, `RequestInit`*"]
+ pub fn credentials(&mut self, val: RequestCredentials) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("credentials"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `headers` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestInit`*"]
+ pub fn headers(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("headers"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `integrity` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestInit`*"]
+ pub fn integrity(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("integrity"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `method` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestInit`*"]
+ pub fn method(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("method"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RequestMode")]
+ #[doc = "Change the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestInit`, `RequestMode`*"]
+ pub fn mode(&mut self, val: RequestMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("mode"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ObserverCallback")]
+ #[doc = "Change the `observe` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ObserverCallback`, `RequestInit`*"]
+ pub fn observe(&mut self, val: &ObserverCallback) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("observe"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RequestRedirect")]
+ #[doc = "Change the `redirect` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestInit`, `RequestRedirect`*"]
+ pub fn redirect(&mut self, val: RequestRedirect) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("redirect"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `referrer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestInit`*"]
+ pub fn referrer(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("referrer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ReferrerPolicy")]
+ #[doc = "Change the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReferrerPolicy`, `RequestInit`*"]
+ pub fn referrer_policy(&mut self, val: ReferrerPolicy) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("referrerPolicy"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "AbortSignal")]
+ #[doc = "Change the `signal` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortSignal`, `RequestInit`*"]
+ pub fn signal(&mut self, val: Option<&AbortSignal>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("signal"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RequestInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RequestMediaKeySystemAccessNotification.rs b/vendor/web-sys/src/features/gen_RequestMediaKeySystemAccessNotification.rs
new file mode 100644
index 000000000..2af8ca812
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RequestMediaKeySystemAccessNotification.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RequestMediaKeySystemAccessNotification)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RequestMediaKeySystemAccessNotification` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestMediaKeySystemAccessNotification`*"]
+ pub type RequestMediaKeySystemAccessNotification;
+}
+impl RequestMediaKeySystemAccessNotification {
+ #[cfg(feature = "MediaKeySystemStatus")]
+ #[doc = "Construct a new `RequestMediaKeySystemAccessNotification`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemStatus`, `RequestMediaKeySystemAccessNotification`*"]
+ pub fn new(key_system: &str, status: MediaKeySystemStatus) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.key_system(key_system);
+ ret.status(status);
+ ret
+ }
+ #[doc = "Change the `keySystem` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestMediaKeySystemAccessNotification`*"]
+ pub fn key_system(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("keySystem"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "MediaKeySystemStatus")]
+ #[doc = "Change the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaKeySystemStatus`, `RequestMediaKeySystemAccessNotification`*"]
+ pub fn status(&mut self, val: MediaKeySystemStatus) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("status"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RequestMode.rs b/vendor/web-sys/src/features/gen_RequestMode.rs
new file mode 100644
index 000000000..cd1293979
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RequestMode.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RequestMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RequestMode`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RequestMode {
+ SameOrigin = "same-origin",
+ NoCors = "no-cors",
+ Cors = "cors",
+ Navigate = "navigate",
+}
diff --git a/vendor/web-sys/src/features/gen_RequestRedirect.rs b/vendor/web-sys/src/features/gen_RequestRedirect.rs
new file mode 100644
index 000000000..ae6cc92ad
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RequestRedirect.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RequestRedirect` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RequestRedirect`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RequestRedirect {
+ Follow = "follow",
+ Error = "error",
+ Manual = "manual",
+}
diff --git a/vendor/web-sys/src/features/gen_ResizeObserver.rs b/vendor/web-sys/src/features/gen_ResizeObserver.rs
new file mode 100644
index 000000000..8b3ef38d2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ResizeObserver.rs
@@ -0,0 +1,80 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ResizeObserver , typescript_type = "ResizeObserver")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ResizeObserver` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserver`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ResizeObserver;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "ResizeObserver")]
+ #[doc = "The `new ResizeObserver(..)` constructor, creating a new instance of `ResizeObserver`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/ResizeObserver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserver`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(callback: &::js_sys::Function) -> Result<ResizeObserver, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "ResizeObserver" , js_name = disconnect)]
+ #[doc = "The `disconnect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/disconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserver`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn disconnect(this: &ResizeObserver);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "ResizeObserver" , js_name = observe)]
+ #[doc = "The `observe()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ResizeObserver`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn observe(this: &ResizeObserver, target: &Element);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "Element", feature = "ResizeObserverOptions",))]
+ # [wasm_bindgen (method , structural , js_class = "ResizeObserver" , js_name = observe)]
+ #[doc = "The `observe()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ResizeObserver`, `ResizeObserverOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn observe_with_options(
+ this: &ResizeObserver,
+ target: &Element,
+ options: &ResizeObserverOptions,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "ResizeObserver" , js_name = unobserve)]
+ #[doc = "The `unobserve()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/unobserve)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ResizeObserver`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn unobserve(this: &ResizeObserver, target: &Element);
+}
diff --git a/vendor/web-sys/src/features/gen_ResizeObserverBoxOptions.rs b/vendor/web-sys/src/features/gen_ResizeObserverBoxOptions.rs
new file mode 100644
index 000000000..fb8f3e194
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ResizeObserverBoxOptions.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `ResizeObserverBoxOptions` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ResizeObserverBoxOptions`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ResizeObserverBoxOptions {
+ BorderBox = "border-box",
+ ContentBox = "content-box",
+ DevicePixelContentBox = "device-pixel-content-box",
+}
diff --git a/vendor/web-sys/src/features/gen_ResizeObserverEntry.rs b/vendor/web-sys/src/features/gen_ResizeObserverEntry.rs
new file mode 100644
index 000000000..7b9122280
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ResizeObserverEntry.rs
@@ -0,0 +1,75 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ResizeObserverEntry , typescript_type = "ResizeObserverEntry")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ResizeObserverEntry` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserverEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ResizeObserverEntry;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverEntry" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ResizeObserverEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn target(this: &ResizeObserverEntry) -> Element;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DomRectReadOnly")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverEntry" , js_name = contentRect)]
+ #[doc = "Getter for the `contentRect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/contentRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`, `ResizeObserverEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn content_rect(this: &ResizeObserverEntry) -> DomRectReadOnly;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverEntry" , js_name = borderBoxSize)]
+ #[doc = "Getter for the `borderBoxSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/borderBoxSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserverEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn border_box_size(this: &ResizeObserverEntry) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverEntry" , js_name = contentBoxSize)]
+ #[doc = "Getter for the `contentBoxSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/contentBoxSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserverEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn content_box_size(this: &ResizeObserverEntry) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverEntry" , js_name = devicePixelContentBoxSize)]
+ #[doc = "Getter for the `devicePixelContentBoxSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/devicePixelContentBoxSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserverEntry`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device_pixel_content_box_size(this: &ResizeObserverEntry) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_ResizeObserverOptions.rs b/vendor/web-sys/src/features/gen_ResizeObserverOptions.rs
new file mode 100644
index 000000000..e5f60a392
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ResizeObserverOptions.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ResizeObserverOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ResizeObserverOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserverOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ResizeObserverOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl ResizeObserverOptions {
+ #[doc = "Construct a new `ResizeObserverOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserverOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ResizeObserverBoxOptions")]
+ #[doc = "Change the `box` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserverBoxOptions`, `ResizeObserverOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn box_(&mut self, val: ResizeObserverBoxOptions) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("box"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for ResizeObserverOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ResizeObserverSize.rs b/vendor/web-sys/src/features/gen_ResizeObserverSize.rs
new file mode 100644
index 000000000..fbe899f69
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ResizeObserverSize.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ResizeObserverSize , typescript_type = "ResizeObserverSize")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ResizeObserverSize` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserverSize`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ResizeObserverSize;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverSize" , js_name = inlineSize)]
+ #[doc = "Getter for the `inlineSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverSize/inlineSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserverSize`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn inline_size(this: &ResizeObserverSize) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverSize" , js_name = blockSize)]
+ #[doc = "Getter for the `blockSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverSize/blockSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResizeObserverSize`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn block_size(this: &ResizeObserverSize) -> f64;
+}
diff --git a/vendor/web-sys/src/features/gen_ResizeQuality.rs b/vendor/web-sys/src/features/gen_ResizeQuality.rs
new file mode 100644
index 000000000..fbb1e1066
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ResizeQuality.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ResizeQuality` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ResizeQuality`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ResizeQuality {
+ Pixelated = "pixelated",
+ Low = "low",
+ Medium = "medium",
+ High = "high",
+}
diff --git a/vendor/web-sys/src/features/gen_Response.rs b/vendor/web-sys/src/features/gen_Response.rs
new file mode 100644
index 000000000..028c14206
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Response.rs
@@ -0,0 +1,284 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Response , typescript_type = "Response")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Response` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub type Response;
+ #[cfg(feature = "ResponseType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Response" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`, `ResponseType`*"]
+ pub fn type_(this: &Response) -> ResponseType;
+ # [wasm_bindgen (structural , method , getter , js_class = "Response" , js_name = url)]
+ #[doc = "Getter for the `url` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/url)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn url(this: &Response) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Response" , js_name = redirected)]
+ #[doc = "Getter for the `redirected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/redirected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn redirected(this: &Response) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "Response" , js_name = status)]
+ #[doc = "Getter for the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/status)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn status(this: &Response) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "Response" , js_name = ok)]
+ #[doc = "Getter for the `ok` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/ok)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn ok(this: &Response) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "Response" , js_name = statusText)]
+ #[doc = "Getter for the `statusText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/statusText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn status_text(this: &Response) -> String;
+ #[cfg(feature = "Headers")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Response" , js_name = headers)]
+ #[doc = "Getter for the `headers` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/headers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Headers`, `Response`*"]
+ pub fn headers(this: &Response) -> Headers;
+ # [wasm_bindgen (structural , method , getter , js_class = "Response" , js_name = bodyUsed)]
+ #[doc = "Getter for the `bodyUsed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/bodyUsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn body_used(this: &Response) -> bool;
+ #[cfg(feature = "ReadableStream")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Response" , js_name = body)]
+ #[doc = "Getter for the `body` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/body)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `Response`*"]
+ pub fn body(this: &Response) -> Option<ReadableStream>;
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn new() -> Result<Response, JsValue>;
+ #[cfg(feature = "Blob")]
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `Response`*"]
+ pub fn new_with_opt_blob(body: Option<&Blob>) -> Result<Response, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn new_with_opt_buffer_source(body: Option<&::js_sys::Object>)
+ -> Result<Response, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn new_with_opt_u8_array(body: Option<&mut [u8]>) -> Result<Response, JsValue>;
+ #[cfg(feature = "FormData")]
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`, `Response`*"]
+ pub fn new_with_opt_form_data(body: Option<&FormData>) -> Result<Response, JsValue>;
+ #[cfg(feature = "UrlSearchParams")]
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`, `UrlSearchParams`*"]
+ pub fn new_with_opt_url_search_params(
+ body: Option<&UrlSearchParams>,
+ ) -> Result<Response, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn new_with_opt_str(body: Option<&str>) -> Result<Response, JsValue>;
+ #[cfg(feature = "ReadableStream")]
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `Response`*"]
+ pub fn new_with_opt_readable_stream(body: Option<&ReadableStream>)
+ -> Result<Response, JsValue>;
+ #[cfg(all(feature = "Blob", feature = "ResponseInit",))]
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `Response`, `ResponseInit`*"]
+ pub fn new_with_opt_blob_and_init(
+ body: Option<&Blob>,
+ init: &ResponseInit,
+ ) -> Result<Response, JsValue>;
+ #[cfg(feature = "ResponseInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`, `ResponseInit`*"]
+ pub fn new_with_opt_buffer_source_and_init(
+ body: Option<&::js_sys::Object>,
+ init: &ResponseInit,
+ ) -> Result<Response, JsValue>;
+ #[cfg(feature = "ResponseInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`, `ResponseInit`*"]
+ pub fn new_with_opt_u8_array_and_init(
+ body: Option<&mut [u8]>,
+ init: &ResponseInit,
+ ) -> Result<Response, JsValue>;
+ #[cfg(all(feature = "FormData", feature = "ResponseInit",))]
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`, `Response`, `ResponseInit`*"]
+ pub fn new_with_opt_form_data_and_init(
+ body: Option<&FormData>,
+ init: &ResponseInit,
+ ) -> Result<Response, JsValue>;
+ #[cfg(all(feature = "ResponseInit", feature = "UrlSearchParams",))]
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`, `ResponseInit`, `UrlSearchParams`*"]
+ pub fn new_with_opt_url_search_params_and_init(
+ body: Option<&UrlSearchParams>,
+ init: &ResponseInit,
+ ) -> Result<Response, JsValue>;
+ #[cfg(feature = "ResponseInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`, `ResponseInit`*"]
+ pub fn new_with_opt_str_and_init(
+ body: Option<&str>,
+ init: &ResponseInit,
+ ) -> Result<Response, JsValue>;
+ #[cfg(all(feature = "ReadableStream", feature = "ResponseInit",))]
+ #[wasm_bindgen(catch, constructor, js_class = "Response")]
+ #[doc = "The `new Response(..)` constructor, creating a new instance of `Response`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `Response`, `ResponseInit`*"]
+ pub fn new_with_opt_readable_stream_and_init(
+ body: Option<&ReadableStream>,
+ init: &ResponseInit,
+ ) -> Result<Response, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Response" , js_name = clone)]
+ #[doc = "The `clone()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/clone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn clone(this: &Response) -> Result<Response, JsValue>;
+ # [wasm_bindgen (static_method_of = Response , js_class = "Response" , js_name = error)]
+ #[doc = "The `error()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn error() -> Response;
+ # [wasm_bindgen (catch , static_method_of = Response , js_class = "Response" , js_name = redirect)]
+ #[doc = "The `redirect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/redirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn redirect(url: &str) -> Result<Response, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = Response , js_class = "Response" , js_name = redirect)]
+ #[doc = "The `redirect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/redirect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn redirect_with_status(url: &str, status: u16) -> Result<Response, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Response" , js_name = arrayBuffer)]
+ #[doc = "The `arrayBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/arrayBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn array_buffer(this: &Response) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Response" , js_name = blob)]
+ #[doc = "The `blob()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/blob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn blob(this: &Response) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Response" , js_name = formData)]
+ #[doc = "The `formData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/formData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn form_data(this: &Response) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Response" , js_name = json)]
+ #[doc = "The `json()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/json)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn json(this: &Response) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Response" , js_name = text)]
+ #[doc = "The `text()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Response`*"]
+ pub fn text(this: &Response) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ResponseInit.rs b/vendor/web-sys/src/features/gen_ResponseInit.rs
new file mode 100644
index 000000000..14b265350
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ResponseInit.rs
@@ -0,0 +1,75 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ResponseInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ResponseInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResponseInit`*"]
+ pub type ResponseInit;
+}
+impl ResponseInit {
+ #[doc = "Construct a new `ResponseInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResponseInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `headers` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResponseInit`*"]
+ pub fn headers(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("headers"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResponseInit`*"]
+ pub fn status(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("status"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `statusText` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ResponseInit`*"]
+ pub fn status_text(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("statusText"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ResponseInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ResponseType.rs b/vendor/web-sys/src/features/gen_ResponseType.rs
new file mode 100644
index 000000000..2ff543a75
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ResponseType.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ResponseType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ResponseType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ResponseType {
+ Basic = "basic",
+ Cors = "cors",
+ Default = "default",
+ Error = "error",
+ Opaque = "opaque",
+ Opaqueredirect = "opaqueredirect",
+}
diff --git a/vendor/web-sys/src/features/gen_RsaHashedImportParams.rs b/vendor/web-sys/src/features/gen_RsaHashedImportParams.rs
new file mode 100644
index 000000000..d98141c45
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RsaHashedImportParams.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RsaHashedImportParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RsaHashedImportParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaHashedImportParams`*"]
+ pub type RsaHashedImportParams;
+}
+impl RsaHashedImportParams {
+ #[doc = "Construct a new `RsaHashedImportParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaHashedImportParams`*"]
+ pub fn new(hash: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.hash(hash);
+ ret
+ }
+ #[doc = "Change the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaHashedImportParams`*"]
+ pub fn hash(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("hash"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RsaOaepParams.rs b/vendor/web-sys/src/features/gen_RsaOaepParams.rs
new file mode 100644
index 000000000..fd50a4737
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RsaOaepParams.rs
@@ -0,0 +1,49 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RsaOaepParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RsaOaepParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaOaepParams`*"]
+ pub type RsaOaepParams;
+}
+impl RsaOaepParams {
+ #[doc = "Construct a new `RsaOaepParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaOaepParams`*"]
+ pub fn new(name: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaOaepParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaOaepParams`*"]
+ pub fn label(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("label"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RsaOtherPrimesInfo.rs b/vendor/web-sys/src/features/gen_RsaOtherPrimesInfo.rs
new file mode 100644
index 000000000..7f9ceb816
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RsaOtherPrimesInfo.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RsaOtherPrimesInfo)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RsaOtherPrimesInfo` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaOtherPrimesInfo`*"]
+ pub type RsaOtherPrimesInfo;
+}
+impl RsaOtherPrimesInfo {
+ #[doc = "Construct a new `RsaOtherPrimesInfo`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaOtherPrimesInfo`*"]
+ pub fn new(d: &str, r: &str, t: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.d(d);
+ ret.r(r);
+ ret.t(t);
+ ret
+ }
+ #[doc = "Change the `d` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaOtherPrimesInfo`*"]
+ pub fn d(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("d"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `r` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaOtherPrimesInfo`*"]
+ pub fn r(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("r"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `t` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaOtherPrimesInfo`*"]
+ pub fn t(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("t"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RsaPssParams.rs b/vendor/web-sys/src/features/gen_RsaPssParams.rs
new file mode 100644
index 000000000..cddd994e4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RsaPssParams.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RsaPssParams)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RsaPssParams` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaPssParams`*"]
+ pub type RsaPssParams;
+}
+impl RsaPssParams {
+ #[doc = "Construct a new `RsaPssParams`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaPssParams`*"]
+ pub fn new(name: &str, salt_length: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret.salt_length(salt_length);
+ ret
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaPssParams`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `saltLength` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RsaPssParams`*"]
+ pub fn salt_length(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("saltLength"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcAnswerOptions.rs b/vendor/web-sys/src/features/gen_RtcAnswerOptions.rs
new file mode 100644
index 000000000..a3d7bcea5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcAnswerOptions.rs
@@ -0,0 +1,27 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCAnswerOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcAnswerOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcAnswerOptions`*"]
+ pub type RtcAnswerOptions;
+}
+impl RtcAnswerOptions {
+ #[doc = "Construct a new `RtcAnswerOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcAnswerOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+}
+impl Default for RtcAnswerOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcBundlePolicy.rs b/vendor/web-sys/src/features/gen_RtcBundlePolicy.rs
new file mode 100644
index 000000000..261c153e1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcBundlePolicy.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcBundlePolicy` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcBundlePolicy`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcBundlePolicy {
+ Balanced = "balanced",
+ MaxCompat = "max-compat",
+ MaxBundle = "max-bundle",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcCertificate.rs b/vendor/web-sys/src/features/gen_RtcCertificate.rs
new file mode 100644
index 000000000..fe4bffb42
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcCertificate.rs
@@ -0,0 +1,21 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCCertificate , typescript_type = "RTCCertificate")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcCertificate` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCCertificate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCertificate`*"]
+ pub type RtcCertificate;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCCertificate" , js_name = expires)]
+ #[doc = "Getter for the `expires` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCCertificate/expires)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCertificate`*"]
+ pub fn expires(this: &RtcCertificate) -> f64;
+}
diff --git a/vendor/web-sys/src/features/gen_RtcCertificateExpiration.rs b/vendor/web-sys/src/features/gen_RtcCertificateExpiration.rs
new file mode 100644
index 000000000..141c99548
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcCertificateExpiration.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCCertificateExpiration)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcCertificateExpiration` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCertificateExpiration`*"]
+ pub type RtcCertificateExpiration;
+}
+impl RtcCertificateExpiration {
+ #[doc = "Construct a new `RtcCertificateExpiration`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCertificateExpiration`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `expires` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCertificateExpiration`*"]
+ pub fn expires(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("expires"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcCertificateExpiration {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcCodecStats.rs b/vendor/web-sys/src/features/gen_RtcCodecStats.rs
new file mode 100644
index 000000000..3ffe6ae5f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcCodecStats.rs
@@ -0,0 +1,152 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCCodecStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcCodecStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCodecStats`*"]
+ pub type RtcCodecStats;
+}
+impl RtcCodecStats {
+ #[doc = "Construct a new `RtcCodecStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCodecStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCodecStats`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCodecStats`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCodecStats`, `RtcStatsType`*"]
+ pub fn type_(&mut self, val: RtcStatsType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `channels` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCodecStats`*"]
+ pub fn channels(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channels"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `clockRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCodecStats`*"]
+ pub fn clock_rate(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clockRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `codec` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCodecStats`*"]
+ pub fn codec(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("codec"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `parameters` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCodecStats`*"]
+ pub fn parameters(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("parameters"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `payloadType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcCodecStats`*"]
+ pub fn payload_type(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("payloadType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcCodecStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcConfiguration.rs b/vendor/web-sys/src/features/gen_RtcConfiguration.rs
new file mode 100644
index 000000000..284b6e295
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcConfiguration.rs
@@ -0,0 +1,114 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCConfiguration)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcConfiguration` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcConfiguration`*"]
+ pub type RtcConfiguration;
+}
+impl RtcConfiguration {
+ #[doc = "Construct a new `RtcConfiguration`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcConfiguration`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "RtcBundlePolicy")]
+ #[doc = "Change the `bundlePolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcBundlePolicy`, `RtcConfiguration`*"]
+ pub fn bundle_policy(&mut self, val: RtcBundlePolicy) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bundlePolicy"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `certificates` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcConfiguration`*"]
+ pub fn certificates(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("certificates"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iceServers` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcConfiguration`*"]
+ pub fn ice_servers(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iceServers"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcIceTransportPolicy")]
+ #[doc = "Change the `iceTransportPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcConfiguration`, `RtcIceTransportPolicy`*"]
+ pub fn ice_transport_policy(&mut self, val: RtcIceTransportPolicy) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iceTransportPolicy"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `peerIdentity` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcConfiguration`*"]
+ pub fn peer_identity(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("peerIdentity"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcConfiguration {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcDataChannel.rs b/vendor/web-sys/src/features/gen_RtcDataChannel.rs
new file mode 100644
index 000000000..8f991858c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcDataChannel.rs
@@ -0,0 +1,206 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = RTCDataChannel , typescript_type = "RTCDataChannel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcDataChannel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub type RtcDataChannel;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn label(this: &RtcDataChannel) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = reliable)]
+ #[doc = "Getter for the `reliable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/reliable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn reliable(this: &RtcDataChannel) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = maxPacketLifeTime)]
+ #[doc = "Getter for the `maxPacketLifeTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/maxPacketLifeTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn max_packet_life_time(this: &RtcDataChannel) -> Option<u16>;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = maxRetransmits)]
+ #[doc = "Getter for the `maxRetransmits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/maxRetransmits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn max_retransmits(this: &RtcDataChannel) -> Option<u16>;
+ #[cfg(feature = "RtcDataChannelState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelState`*"]
+ pub fn ready_state(this: &RtcDataChannel) -> RtcDataChannelState;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = bufferedAmount)]
+ #[doc = "Getter for the `bufferedAmount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/bufferedAmount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn buffered_amount(this: &RtcDataChannel) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = bufferedAmountLowThreshold)]
+ #[doc = "Getter for the `bufferedAmountLowThreshold` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/bufferedAmountLowThreshold)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn buffered_amount_low_threshold(this: &RtcDataChannel) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCDataChannel" , js_name = bufferedAmountLowThreshold)]
+ #[doc = "Setter for the `bufferedAmountLowThreshold` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/bufferedAmountLowThreshold)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn set_buffered_amount_low_threshold(this: &RtcDataChannel, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = onopen)]
+ #[doc = "Getter for the `onopen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onopen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn onopen(this: &RtcDataChannel) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCDataChannel" , js_name = onopen)]
+ #[doc = "Setter for the `onopen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onopen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn set_onopen(this: &RtcDataChannel, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn onerror(this: &RtcDataChannel) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCDataChannel" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn set_onerror(this: &RtcDataChannel, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = onclose)]
+ #[doc = "Getter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn onclose(this: &RtcDataChannel) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCDataChannel" , js_name = onclose)]
+ #[doc = "Setter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn set_onclose(this: &RtcDataChannel, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn onmessage(this: &RtcDataChannel) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCDataChannel" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn set_onmessage(this: &RtcDataChannel, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = onbufferedamountlow)]
+ #[doc = "Getter for the `onbufferedamountlow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onbufferedamountlow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn onbufferedamountlow(this: &RtcDataChannel) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCDataChannel" , js_name = onbufferedamountlow)]
+ #[doc = "Setter for the `onbufferedamountlow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onbufferedamountlow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn set_onbufferedamountlow(this: &RtcDataChannel, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "RtcDataChannelType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannel" , js_name = binaryType)]
+ #[doc = "Getter for the `binaryType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/binaryType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelType`*"]
+ pub fn binary_type(this: &RtcDataChannel) -> RtcDataChannelType;
+ #[cfg(feature = "RtcDataChannelType")]
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCDataChannel" , js_name = binaryType)]
+ #[doc = "Setter for the `binaryType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/binaryType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelType`*"]
+ pub fn set_binary_type(this: &RtcDataChannel, value: RtcDataChannelType);
+ # [wasm_bindgen (method , structural , js_class = "RTCDataChannel" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn close(this: &RtcDataChannel);
+ # [wasm_bindgen (catch , method , structural , js_class = "RTCDataChannel" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn send_with_str(this: &RtcDataChannel, data: &str) -> Result<(), JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "RTCDataChannel" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `RtcDataChannel`*"]
+ pub fn send_with_blob(this: &RtcDataChannel, data: &Blob) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "RTCDataChannel" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn send_with_array_buffer(
+ this: &RtcDataChannel,
+ data: &::js_sys::ArrayBuffer,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "RTCDataChannel" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn send_with_array_buffer_view(
+ this: &RtcDataChannel,
+ data: &::js_sys::Object,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "RTCDataChannel" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"]
+ pub fn send_with_u8_array(this: &RtcDataChannel, data: &[u8]) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_RtcDataChannelEvent.rs b/vendor/web-sys/src/features/gen_RtcDataChannelEvent.rs
new file mode 100644
index 000000000..7782c81b5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcDataChannelEvent.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = RTCDataChannelEvent , typescript_type = "RTCDataChannelEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcDataChannelEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelEvent`*"]
+ pub type RtcDataChannelEvent;
+ #[cfg(feature = "RtcDataChannel")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDataChannelEvent" , js_name = channel)]
+ #[doc = "Getter for the `channel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent/channel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelEvent`*"]
+ pub fn channel(this: &RtcDataChannelEvent) -> RtcDataChannel;
+ #[cfg(feature = "RtcDataChannelEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "RTCDataChannelEvent")]
+ #[doc = "The `new RtcDataChannelEvent(..)` constructor, creating a new instance of `RtcDataChannelEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent/RTCDataChannelEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelEvent`, `RtcDataChannelEventInit`*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &RtcDataChannelEventInit,
+ ) -> Result<RtcDataChannelEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_RtcDataChannelEventInit.rs b/vendor/web-sys/src/features/gen_RtcDataChannelEventInit.rs
new file mode 100644
index 000000000..16f0bb782
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcDataChannelEventInit.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCDataChannelEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcDataChannelEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelEventInit`*"]
+ pub type RtcDataChannelEventInit;
+}
+impl RtcDataChannelEventInit {
+ #[cfg(feature = "RtcDataChannel")]
+ #[doc = "Construct a new `RtcDataChannelEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelEventInit`*"]
+ pub fn new(channel: &RtcDataChannel) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.channel(channel);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcDataChannel")]
+ #[doc = "Change the `channel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelEventInit`*"]
+ pub fn channel(&mut self, val: &RtcDataChannel) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcDataChannelInit.rs b/vendor/web-sys/src/features/gen_RtcDataChannelInit.rs
new file mode 100644
index 000000000..b8e2751e5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcDataChannelInit.rs
@@ -0,0 +1,142 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCDataChannelInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcDataChannelInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelInit`*"]
+ pub type RtcDataChannelInit;
+}
+impl RtcDataChannelInit {
+ #[doc = "Construct a new `RtcDataChannelInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelInit`*"]
+ pub fn id(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `maxPacketLifeTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelInit`*"]
+ pub fn max_packet_life_time(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maxPacketLifeTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `maxRetransmitTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelInit`*"]
+ pub fn max_retransmit_time(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maxRetransmitTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `maxRetransmits` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelInit`*"]
+ pub fn max_retransmits(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maxRetransmits"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `negotiated` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelInit`*"]
+ pub fn negotiated(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("negotiated"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ordered` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelInit`*"]
+ pub fn ordered(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ordered"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannelInit`*"]
+ pub fn protocol(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("protocol"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcDataChannelInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcDataChannelState.rs b/vendor/web-sys/src/features/gen_RtcDataChannelState.rs
new file mode 100644
index 000000000..4c999cad0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcDataChannelState.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcDataChannelState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcDataChannelState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcDataChannelState {
+ Connecting = "connecting",
+ Open = "open",
+ Closing = "closing",
+ Closed = "closed",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcDataChannelType.rs b/vendor/web-sys/src/features/gen_RtcDataChannelType.rs
new file mode 100644
index 000000000..e2089d4e2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcDataChannelType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcDataChannelType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcDataChannelType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcDataChannelType {
+ Arraybuffer = "arraybuffer",
+ Blob = "blob",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcDegradationPreference.rs b/vendor/web-sys/src/features/gen_RtcDegradationPreference.rs
new file mode 100644
index 000000000..118c3ed7a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcDegradationPreference.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcDegradationPreference` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcDegradationPreference`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcDegradationPreference {
+ MaintainFramerate = "maintain-framerate",
+ MaintainResolution = "maintain-resolution",
+ Balanced = "balanced",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcFecParameters.rs b/vendor/web-sys/src/features/gen_RtcFecParameters.rs
new file mode 100644
index 000000000..d5b1a5487
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcFecParameters.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCFecParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcFecParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcFecParameters`*"]
+ pub type RtcFecParameters;
+}
+impl RtcFecParameters {
+ #[doc = "Construct a new `RtcFecParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcFecParameters`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `ssrc` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcFecParameters`*"]
+ pub fn ssrc(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ssrc"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcFecParameters {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIceCandidate.rs b/vendor/web-sys/src/features/gen_RtcIceCandidate.rs
new file mode 100644
index 000000000..ca7424e99
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIceCandidate.rs
@@ -0,0 +1,71 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIceCandidate , typescript_type = "RTCIceCandidate")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIceCandidate` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`*"]
+ pub type RtcIceCandidate;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCIceCandidate" , js_name = candidate)]
+ #[doc = "Getter for the `candidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/candidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`*"]
+ pub fn candidate(this: &RtcIceCandidate) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCIceCandidate" , js_name = candidate)]
+ #[doc = "Setter for the `candidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/candidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`*"]
+ pub fn set_candidate(this: &RtcIceCandidate, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCIceCandidate" , js_name = sdpMid)]
+ #[doc = "Getter for the `sdpMid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`*"]
+ pub fn sdp_mid(this: &RtcIceCandidate) -> Option<String>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCIceCandidate" , js_name = sdpMid)]
+ #[doc = "Setter for the `sdpMid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`*"]
+ pub fn set_sdp_mid(this: &RtcIceCandidate, value: Option<&str>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCIceCandidate" , js_name = sdpMLineIndex)]
+ #[doc = "Getter for the `sdpMLineIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMLineIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`*"]
+ pub fn sdp_m_line_index(this: &RtcIceCandidate) -> Option<u16>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCIceCandidate" , js_name = sdpMLineIndex)]
+ #[doc = "Setter for the `sdpMLineIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMLineIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`*"]
+ pub fn set_sdp_m_line_index(this: &RtcIceCandidate, value: Option<u16>);
+ #[cfg(feature = "RtcIceCandidateInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "RTCIceCandidate")]
+ #[doc = "The `new RtcIceCandidate(..)` constructor, creating a new instance of `RtcIceCandidate`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/RTCIceCandidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcIceCandidateInit`*"]
+ pub fn new(candidate_init_dict: &RtcIceCandidateInit) -> Result<RtcIceCandidate, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "RTCIceCandidate" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`*"]
+ pub fn to_json(this: &RtcIceCandidate) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIceCandidateInit.rs b/vendor/web-sys/src/features/gen_RtcIceCandidateInit.rs
new file mode 100644
index 000000000..a23091f6b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIceCandidateInit.rs
@@ -0,0 +1,71 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIceCandidateInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIceCandidateInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateInit`*"]
+ pub type RtcIceCandidateInit;
+}
+impl RtcIceCandidateInit {
+ #[doc = "Construct a new `RtcIceCandidateInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateInit`*"]
+ pub fn new(candidate: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.candidate(candidate);
+ ret
+ }
+ #[doc = "Change the `candidate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateInit`*"]
+ pub fn candidate(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("candidate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sdpMLineIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateInit`*"]
+ pub fn sdp_m_line_index(&mut self, val: Option<u16>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sdpMLineIndex"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sdpMid` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateInit`*"]
+ pub fn sdp_mid(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("sdpMid"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIceCandidatePairStats.rs b/vendor/web-sys/src/features/gen_RtcIceCandidatePairStats.rs
new file mode 100644
index 000000000..8fa447ae8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIceCandidatePairStats.rs
@@ -0,0 +1,306 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIceCandidatePairStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIceCandidatePairStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub type RtcIceCandidatePairStats;
+}
+impl RtcIceCandidatePairStats {
+ #[doc = "Construct a new `RtcIceCandidatePairStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`, `RtcStatsType`*"]
+ pub fn type_(&mut self, val: RtcStatsType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bytesReceived` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn bytes_received(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bytesReceived"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bytesSent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn bytes_sent(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bytesSent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `componentId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn component_id(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("componentId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `lastPacketReceivedTimestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn last_packet_received_timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lastPacketReceivedTimestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `lastPacketSentTimestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn last_packet_sent_timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lastPacketSentTimestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `localCandidateId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn local_candidate_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("localCandidateId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `nominated` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn nominated(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("nominated"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `priority` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn priority(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("priority"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `readable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn readable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("readable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `remoteCandidateId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn remote_candidate_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("remoteCandidateId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `selected` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn selected(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("selected"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsIceCandidatePairState")]
+ #[doc = "Change the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`, `RtcStatsIceCandidatePairState`*"]
+ pub fn state(&mut self, val: RtcStatsIceCandidatePairState) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("state"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `transportId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn transport_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transportId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `writable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidatePairStats`*"]
+ pub fn writable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("writable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcIceCandidatePairStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIceCandidateStats.rs b/vendor/web-sys/src/features/gen_RtcIceCandidateStats.rs
new file mode 100644
index 000000000..8d9c3a950
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIceCandidateStats.rs
@@ -0,0 +1,174 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIceCandidateStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIceCandidateStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateStats`*"]
+ pub type RtcIceCandidateStats;
+}
+impl RtcIceCandidateStats {
+ #[doc = "Construct a new `RtcIceCandidateStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateStats`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateStats`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateStats`, `RtcStatsType`*"]
+ pub fn type_(&mut self, val: RtcStatsType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `candidateId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateStats`*"]
+ pub fn candidate_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("candidateId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsIceCandidateType")]
+ #[doc = "Change the `candidateType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateStats`, `RtcStatsIceCandidateType`*"]
+ pub fn candidate_type(&mut self, val: RtcStatsIceCandidateType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("candidateType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `componentId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateStats`*"]
+ pub fn component_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("componentId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ipAddress` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateStats`*"]
+ pub fn ip_address(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ipAddress"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `portNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateStats`*"]
+ pub fn port_number(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("portNumber"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `transport` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateStats`*"]
+ pub fn transport(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transport"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcIceCandidateStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIceComponentStats.rs b/vendor/web-sys/src/features/gen_RtcIceComponentStats.rs
new file mode 100644
index 000000000..ec7d27bda
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIceComponentStats.rs
@@ -0,0 +1,156 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIceComponentStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIceComponentStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceComponentStats`*"]
+ pub type RtcIceComponentStats;
+}
+impl RtcIceComponentStats {
+ #[doc = "Construct a new `RtcIceComponentStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceComponentStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceComponentStats`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceComponentStats`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceComponentStats`, `RtcStatsType`*"]
+ pub fn type_(&mut self, val: RtcStatsType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `activeConnection` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceComponentStats`*"]
+ pub fn active_connection(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("activeConnection"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bytesReceived` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceComponentStats`*"]
+ pub fn bytes_received(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bytesReceived"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bytesSent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceComponentStats`*"]
+ pub fn bytes_sent(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bytesSent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `component` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceComponentStats`*"]
+ pub fn component(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("component"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `transportId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceComponentStats`*"]
+ pub fn transport_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transportId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcIceComponentStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIceConnectionState.rs b/vendor/web-sys/src/features/gen_RtcIceConnectionState.rs
new file mode 100644
index 000000000..fae44d722
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIceConnectionState.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcIceConnectionState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcIceConnectionState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcIceConnectionState {
+ New = "new",
+ Checking = "checking",
+ Connected = "connected",
+ Completed = "completed",
+ Failed = "failed",
+ Disconnected = "disconnected",
+ Closed = "closed",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIceCredentialType.rs b/vendor/web-sys/src/features/gen_RtcIceCredentialType.rs
new file mode 100644
index 000000000..a04b720a7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIceCredentialType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcIceCredentialType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcIceCredentialType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcIceCredentialType {
+ Password = "password",
+ Token = "token",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIceGatheringState.rs b/vendor/web-sys/src/features/gen_RtcIceGatheringState.rs
new file mode 100644
index 000000000..ce6db0abe
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIceGatheringState.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcIceGatheringState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcIceGatheringState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcIceGatheringState {
+ New = "new",
+ Gathering = "gathering",
+ Complete = "complete",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIceServer.rs b/vendor/web-sys/src/features/gen_RtcIceServer.rs
new file mode 100644
index 000000000..ebdd79d8a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIceServer.rs
@@ -0,0 +1,105 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIceServer)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIceServer` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceServer`*"]
+ pub type RtcIceServer;
+}
+impl RtcIceServer {
+ #[doc = "Construct a new `RtcIceServer`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceServer`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `credential` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceServer`*"]
+ pub fn credential(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("credential"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcIceCredentialType")]
+ #[doc = "Change the `credentialType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCredentialType`, `RtcIceServer`*"]
+ pub fn credential_type(&mut self, val: RtcIceCredentialType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("credentialType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `url` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceServer`*"]
+ pub fn url(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("url"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `urls` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceServer`*"]
+ pub fn urls(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("urls"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `username` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceServer`*"]
+ pub fn username(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("username"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcIceServer {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIceTransportPolicy.rs b/vendor/web-sys/src/features/gen_RtcIceTransportPolicy.rs
new file mode 100644
index 000000000..c3f2124cf
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIceTransportPolicy.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcIceTransportPolicy` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcIceTransportPolicy`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcIceTransportPolicy {
+ Relay = "relay",
+ All = "all",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIdentityAssertion.rs b/vendor/web-sys/src/features/gen_RtcIdentityAssertion.rs
new file mode 100644
index 000000000..aa1fc60f1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIdentityAssertion.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIdentityAssertion)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIdentityAssertion` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityAssertion`*"]
+ pub type RtcIdentityAssertion;
+}
+impl RtcIdentityAssertion {
+ #[doc = "Construct a new `RtcIdentityAssertion`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityAssertion`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `idp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityAssertion`*"]
+ pub fn idp(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("idp"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityAssertion`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcIdentityAssertion {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIdentityAssertionResult.rs b/vendor/web-sys/src/features/gen_RtcIdentityAssertionResult.rs
new file mode 100644
index 000000000..98d9af7c8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIdentityAssertionResult.rs
@@ -0,0 +1,56 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIdentityAssertionResult)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIdentityAssertionResult` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityAssertionResult`*"]
+ pub type RtcIdentityAssertionResult;
+}
+impl RtcIdentityAssertionResult {
+ #[cfg(feature = "RtcIdentityProviderDetails")]
+ #[doc = "Construct a new `RtcIdentityAssertionResult`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityAssertionResult`, `RtcIdentityProviderDetails`*"]
+ pub fn new(assertion: &str, idp: &RtcIdentityProviderDetails) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.assertion(assertion);
+ ret.idp(idp);
+ ret
+ }
+ #[doc = "Change the `assertion` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityAssertionResult`*"]
+ pub fn assertion(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("assertion"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcIdentityProviderDetails")]
+ #[doc = "Change the `idp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityAssertionResult`, `RtcIdentityProviderDetails`*"]
+ pub fn idp(&mut self, val: &RtcIdentityProviderDetails) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("idp"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIdentityProvider.rs b/vendor/web-sys/src/features/gen_RtcIdentityProvider.rs
new file mode 100644
index 000000000..bf64f976b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIdentityProvider.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIdentityProvider)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIdentityProvider` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProvider`*"]
+ pub type RtcIdentityProvider;
+}
+impl RtcIdentityProvider {
+ #[doc = "Construct a new `RtcIdentityProvider`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProvider`*"]
+ pub fn new(
+ generate_assertion: &::js_sys::Function,
+ validate_assertion: &::js_sys::Function,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.generate_assertion(generate_assertion);
+ ret.validate_assertion(validate_assertion);
+ ret
+ }
+ #[doc = "Change the `generateAssertion` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProvider`*"]
+ pub fn generate_assertion(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("generateAssertion"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `validateAssertion` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProvider`*"]
+ pub fn validate_assertion(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("validateAssertion"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIdentityProviderDetails.rs b/vendor/web-sys/src/features/gen_RtcIdentityProviderDetails.rs
new file mode 100644
index 000000000..dda6cbc9b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIdentityProviderDetails.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIdentityProviderDetails)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIdentityProviderDetails` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProviderDetails`*"]
+ pub type RtcIdentityProviderDetails;
+}
+impl RtcIdentityProviderDetails {
+ #[doc = "Construct a new `RtcIdentityProviderDetails`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProviderDetails`*"]
+ pub fn new(domain: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.domain(domain);
+ ret
+ }
+ #[doc = "Change the `domain` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProviderDetails`*"]
+ pub fn domain(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("domain"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProviderDetails`*"]
+ pub fn protocol(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("protocol"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIdentityProviderOptions.rs b/vendor/web-sys/src/features/gen_RtcIdentityProviderOptions.rs
new file mode 100644
index 000000000..cdb594b4e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIdentityProviderOptions.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIdentityProviderOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIdentityProviderOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProviderOptions`*"]
+ pub type RtcIdentityProviderOptions;
+}
+impl RtcIdentityProviderOptions {
+ #[doc = "Construct a new `RtcIdentityProviderOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProviderOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `peerIdentity` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProviderOptions`*"]
+ pub fn peer_identity(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("peerIdentity"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProviderOptions`*"]
+ pub fn protocol(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("protocol"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `usernameHint` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProviderOptions`*"]
+ pub fn username_hint(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("usernameHint"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcIdentityProviderOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIdentityProviderRegistrar.rs b/vendor/web-sys/src/features/gen_RtcIdentityProviderRegistrar.rs
new file mode 100644
index 000000000..86a4f2be0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIdentityProviderRegistrar.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = RTCIdentityProviderRegistrar , typescript_type = "RTCIdentityProviderRegistrar")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIdentityProviderRegistrar` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIdentityProviderRegistrar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProviderRegistrar`*"]
+ pub type RtcIdentityProviderRegistrar;
+ #[cfg(feature = "RtcIdentityProvider")]
+ # [wasm_bindgen (method , structural , js_class = "RTCIdentityProviderRegistrar" , js_name = register)]
+ #[doc = "The `register()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIdentityProviderRegistrar/register)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProvider`, `RtcIdentityProviderRegistrar`*"]
+ pub fn register(this: &RtcIdentityProviderRegistrar, idp: &RtcIdentityProvider);
+}
diff --git a/vendor/web-sys/src/features/gen_RtcIdentityValidationResult.rs b/vendor/web-sys/src/features/gen_RtcIdentityValidationResult.rs
new file mode 100644
index 000000000..cd5ba8e16
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcIdentityValidationResult.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIdentityValidationResult)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcIdentityValidationResult` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityValidationResult`*"]
+ pub type RtcIdentityValidationResult;
+}
+impl RtcIdentityValidationResult {
+ #[doc = "Construct a new `RtcIdentityValidationResult`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityValidationResult`*"]
+ pub fn new(contents: &str, identity: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.contents(contents);
+ ret.identity(identity);
+ ret
+ }
+ #[doc = "Change the `contents` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityValidationResult`*"]
+ pub fn contents(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("contents"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `identity` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityValidationResult`*"]
+ pub fn identity(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("identity"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcInboundRtpStreamStats.rs b/vendor/web-sys/src/features/gen_RtcInboundRtpStreamStats.rs
new file mode 100644
index 000000000..41091b2b2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcInboundRtpStreamStats.rs
@@ -0,0 +1,421 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCInboundRTPStreamStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcInboundRtpStreamStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub type RtcInboundRtpStreamStats;
+}
+impl RtcInboundRtpStreamStats {
+ #[doc = "Construct a new `RtcInboundRtpStreamStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`, `RtcStatsType`*"]
+ pub fn type_(&mut self, val: RtcStatsType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bitrateMean` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn bitrate_mean(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bitrateMean"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bitrateStdDev` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn bitrate_std_dev(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bitrateStdDev"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `codecId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn codec_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("codecId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `firCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn fir_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("firCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framerateMean` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn framerate_mean(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framerateMean"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framerateStdDev` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn framerate_std_dev(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framerateStdDev"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `isRemote` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn is_remote(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isRemote"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mediaTrackId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn media_track_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mediaTrackId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mediaType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn media_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mediaType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `nackCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn nack_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("nackCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pliCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn pli_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pliCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `remoteId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn remote_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("remoteId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ssrc` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn ssrc(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ssrc"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `transportId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn transport_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transportId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bytesReceived` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn bytes_received(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bytesReceived"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `discardedPackets` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn discarded_packets(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("discardedPackets"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framesDecoded` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn frames_decoded(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framesDecoded"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `jitter` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn jitter(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("jitter"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `packetsLost` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn packets_lost(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("packetsLost"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `packetsReceived` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn packets_received(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("packetsReceived"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `roundTripTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcInboundRtpStreamStats`*"]
+ pub fn round_trip_time(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("roundTripTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcInboundRtpStreamStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcLifecycleEvent.rs b/vendor/web-sys/src/features/gen_RtcLifecycleEvent.rs
new file mode 100644
index 000000000..c8094e514
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcLifecycleEvent.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcLifecycleEvent` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcLifecycleEvent`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcLifecycleEvent {
+ Initialized = "initialized",
+ Icegatheringstatechange = "icegatheringstatechange",
+ Iceconnectionstatechange = "iceconnectionstatechange",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcMediaStreamStats.rs b/vendor/web-sys/src/features/gen_RtcMediaStreamStats.rs
new file mode 100644
index 000000000..a22611319
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcMediaStreamStats.rs
@@ -0,0 +1,105 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCMediaStreamStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcMediaStreamStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamStats`*"]
+ pub type RtcMediaStreamStats;
+}
+impl RtcMediaStreamStats {
+ #[doc = "Construct a new `RtcMediaStreamStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamStats`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamStats`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamStats`, `RtcStatsType`*"]
+ pub fn type_(&mut self, val: RtcStatsType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `streamIdentifier` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamStats`*"]
+ pub fn stream_identifier(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("streamIdentifier"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `trackIds` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamStats`*"]
+ pub fn track_ids(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("trackIds"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcMediaStreamStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcMediaStreamTrackStats.rs b/vendor/web-sys/src/features/gen_RtcMediaStreamTrackStats.rs
new file mode 100644
index 000000000..8caa05807
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcMediaStreamTrackStats.rs
@@ -0,0 +1,309 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCMediaStreamTrackStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcMediaStreamTrackStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub type RtcMediaStreamTrackStats;
+}
+impl RtcMediaStreamTrackStats {
+ #[doc = "Construct a new `RtcMediaStreamTrackStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`, `RtcStatsType`*"]
+ pub fn type_(&mut self, val: RtcStatsType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `audioLevel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn audio_level(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("audioLevel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `echoReturnLoss` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn echo_return_loss(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("echoReturnLoss"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `echoReturnLossEnhancement` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn echo_return_loss_enhancement(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("echoReturnLossEnhancement"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `frameHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn frame_height(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frameHeight"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `frameWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn frame_width(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("frameWidth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framesCorrupted` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn frames_corrupted(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framesCorrupted"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framesDecoded` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn frames_decoded(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framesDecoded"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framesDropped` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn frames_dropped(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framesDropped"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framesPerSecond` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn frames_per_second(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framesPerSecond"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framesReceived` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn frames_received(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framesReceived"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framesSent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn frames_sent(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framesSent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `remoteSource` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn remote_source(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("remoteSource"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ssrcIds` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn ssrc_ids(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ssrcIds"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `trackIdentifier` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcMediaStreamTrackStats`*"]
+ pub fn track_identifier(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("trackIdentifier"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcMediaStreamTrackStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.rs b/vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.rs
new file mode 100644
index 000000000..9c84bcf92
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.rs
@@ -0,0 +1,27 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCOfferAnswerOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcOfferAnswerOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOfferAnswerOptions`*"]
+ pub type RtcOfferAnswerOptions;
+}
+impl RtcOfferAnswerOptions {
+ #[doc = "Construct a new `RtcOfferAnswerOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOfferAnswerOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+}
+impl Default for RtcOfferAnswerOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcOfferOptions.rs b/vendor/web-sys/src/features/gen_RtcOfferOptions.rs
new file mode 100644
index 000000000..4130baa25
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcOfferOptions.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCOfferOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcOfferOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOfferOptions`*"]
+ pub type RtcOfferOptions;
+}
+impl RtcOfferOptions {
+ #[doc = "Construct a new `RtcOfferOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOfferOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `iceRestart` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOfferOptions`*"]
+ pub fn ice_restart(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iceRestart"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `offerToReceiveAudio` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOfferOptions`*"]
+ pub fn offer_to_receive_audio(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("offerToReceiveAudio"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `offerToReceiveVideo` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOfferOptions`*"]
+ pub fn offer_to_receive_video(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("offerToReceiveVideo"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcOfferOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcOutboundRtpStreamStats.rs b/vendor/web-sys/src/features/gen_RtcOutboundRtpStreamStats.rs
new file mode 100644
index 000000000..7630d96ca
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcOutboundRtpStreamStats.rs
@@ -0,0 +1,390 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCOutboundRTPStreamStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcOutboundRtpStreamStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub type RtcOutboundRtpStreamStats;
+}
+impl RtcOutboundRtpStreamStats {
+ #[doc = "Construct a new `RtcOutboundRtpStreamStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`, `RtcStatsType`*"]
+ pub fn type_(&mut self, val: RtcStatsType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bitrateMean` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn bitrate_mean(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bitrateMean"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bitrateStdDev` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn bitrate_std_dev(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bitrateStdDev"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `codecId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn codec_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("codecId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `firCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn fir_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("firCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framerateMean` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn framerate_mean(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framerateMean"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framerateStdDev` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn framerate_std_dev(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framerateStdDev"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `isRemote` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn is_remote(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isRemote"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mediaTrackId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn media_track_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mediaTrackId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mediaType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn media_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mediaType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `nackCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn nack_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("nackCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pliCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn pli_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pliCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `remoteId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn remote_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("remoteId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ssrc` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn ssrc(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ssrc"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `transportId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn transport_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transportId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bytesSent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn bytes_sent(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bytesSent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `droppedFrames` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn dropped_frames(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("droppedFrames"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framesEncoded` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn frames_encoded(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framesEncoded"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `packetsSent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn packets_sent(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("packetsSent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `targetBitrate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOutboundRtpStreamStats`*"]
+ pub fn target_bitrate(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("targetBitrate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcOutboundRtpStreamStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcPeerConnection.rs b/vendor/web-sys/src/features/gen_RtcPeerConnection.rs
new file mode 100644
index 000000000..455a8820b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcPeerConnection.rs
@@ -0,0 +1,819 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = RTCPeerConnection , typescript_type = "RTCPeerConnection")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcPeerConnection` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub type RtcPeerConnection;
+ #[cfg(feature = "RtcSessionDescription")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = localDescription)]
+ #[doc = "Getter for the `localDescription` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/localDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*"]
+ pub fn local_description(this: &RtcPeerConnection) -> Option<RtcSessionDescription>;
+ #[cfg(feature = "RtcSessionDescription")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = currentLocalDescription)]
+ #[doc = "Getter for the `currentLocalDescription` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/currentLocalDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*"]
+ pub fn current_local_description(this: &RtcPeerConnection) -> Option<RtcSessionDescription>;
+ #[cfg(feature = "RtcSessionDescription")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = pendingLocalDescription)]
+ #[doc = "Getter for the `pendingLocalDescription` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/pendingLocalDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*"]
+ pub fn pending_local_description(this: &RtcPeerConnection) -> Option<RtcSessionDescription>;
+ #[cfg(feature = "RtcSessionDescription")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = remoteDescription)]
+ #[doc = "Getter for the `remoteDescription` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/remoteDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*"]
+ pub fn remote_description(this: &RtcPeerConnection) -> Option<RtcSessionDescription>;
+ #[cfg(feature = "RtcSessionDescription")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = currentRemoteDescription)]
+ #[doc = "Getter for the `currentRemoteDescription` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/currentRemoteDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*"]
+ pub fn current_remote_description(this: &RtcPeerConnection) -> Option<RtcSessionDescription>;
+ #[cfg(feature = "RtcSessionDescription")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = pendingRemoteDescription)]
+ #[doc = "Getter for the `pendingRemoteDescription` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/pendingRemoteDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*"]
+ pub fn pending_remote_description(this: &RtcPeerConnection) -> Option<RtcSessionDescription>;
+ #[cfg(feature = "RtcSignalingState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = signalingState)]
+ #[doc = "Getter for the `signalingState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/signalingState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSignalingState`*"]
+ pub fn signaling_state(this: &RtcPeerConnection) -> RtcSignalingState;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = canTrickleIceCandidates)]
+ #[doc = "Getter for the `canTrickleIceCandidates` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/canTrickleIceCandidates)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn can_trickle_ice_candidates(this: &RtcPeerConnection) -> Option<bool>;
+ #[cfg(feature = "RtcIceGatheringState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = iceGatheringState)]
+ #[doc = "Getter for the `iceGatheringState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/iceGatheringState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceGatheringState`, `RtcPeerConnection`*"]
+ pub fn ice_gathering_state(this: &RtcPeerConnection) -> RtcIceGatheringState;
+ #[cfg(feature = "RtcIceConnectionState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = iceConnectionState)]
+ #[doc = "Getter for the `iceConnectionState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/iceConnectionState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceConnectionState`, `RtcPeerConnection`*"]
+ pub fn ice_connection_state(this: &RtcPeerConnection) -> RtcIceConnectionState;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = peerIdentity)]
+ #[doc = "Getter for the `peerIdentity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/peerIdentity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn peer_identity(this: &RtcPeerConnection) -> ::js_sys::Promise;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = idpLoginUrl)]
+ #[doc = "Getter for the `idpLoginUrl` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/idpLoginUrl)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn idp_login_url(this: &RtcPeerConnection) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = onnegotiationneeded)]
+ #[doc = "Getter for the `onnegotiationneeded` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onnegotiationneeded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn onnegotiationneeded(this: &RtcPeerConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCPeerConnection" , js_name = onnegotiationneeded)]
+ #[doc = "Setter for the `onnegotiationneeded` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onnegotiationneeded)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn set_onnegotiationneeded(this: &RtcPeerConnection, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = onicecandidate)]
+ #[doc = "Getter for the `onicecandidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onicecandidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn onicecandidate(this: &RtcPeerConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCPeerConnection" , js_name = onicecandidate)]
+ #[doc = "Setter for the `onicecandidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onicecandidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn set_onicecandidate(this: &RtcPeerConnection, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = onsignalingstatechange)]
+ #[doc = "Getter for the `onsignalingstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onsignalingstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn onsignalingstatechange(this: &RtcPeerConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCPeerConnection" , js_name = onsignalingstatechange)]
+ #[doc = "Setter for the `onsignalingstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onsignalingstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn set_onsignalingstatechange(this: &RtcPeerConnection, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = onaddstream)]
+ #[doc = "Getter for the `onaddstream` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onaddstream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn onaddstream(this: &RtcPeerConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCPeerConnection" , js_name = onaddstream)]
+ #[doc = "Setter for the `onaddstream` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onaddstream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn set_onaddstream(this: &RtcPeerConnection, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = onaddtrack)]
+ #[doc = "Getter for the `onaddtrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onaddtrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn onaddtrack(this: &RtcPeerConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCPeerConnection" , js_name = onaddtrack)]
+ #[doc = "Setter for the `onaddtrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onaddtrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn set_onaddtrack(this: &RtcPeerConnection, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = ontrack)]
+ #[doc = "Getter for the `ontrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/ontrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn ontrack(this: &RtcPeerConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCPeerConnection" , js_name = ontrack)]
+ #[doc = "Setter for the `ontrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/ontrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn set_ontrack(this: &RtcPeerConnection, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = onremovestream)]
+ #[doc = "Getter for the `onremovestream` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onremovestream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn onremovestream(this: &RtcPeerConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCPeerConnection" , js_name = onremovestream)]
+ #[doc = "Setter for the `onremovestream` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onremovestream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn set_onremovestream(this: &RtcPeerConnection, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = oniceconnectionstatechange)]
+ #[doc = "Getter for the `oniceconnectionstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/oniceconnectionstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn oniceconnectionstatechange(this: &RtcPeerConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCPeerConnection" , js_name = oniceconnectionstatechange)]
+ #[doc = "Setter for the `oniceconnectionstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/oniceconnectionstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn set_oniceconnectionstatechange(
+ this: &RtcPeerConnection,
+ value: Option<&::js_sys::Function>,
+ );
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = onicegatheringstatechange)]
+ #[doc = "Getter for the `onicegatheringstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onicegatheringstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn onicegatheringstatechange(this: &RtcPeerConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCPeerConnection" , js_name = onicegatheringstatechange)]
+ #[doc = "Setter for the `onicegatheringstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onicegatheringstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn set_onicegatheringstatechange(
+ this: &RtcPeerConnection,
+ value: Option<&::js_sys::Function>,
+ );
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = ondatachannel)]
+ #[doc = "Getter for the `ondatachannel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/ondatachannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn ondatachannel(this: &RtcPeerConnection) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCPeerConnection" , js_name = ondatachannel)]
+ #[doc = "Setter for the `ondatachannel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/ondatachannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn set_ondatachannel(this: &RtcPeerConnection, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "RTCPeerConnection")]
+ #[doc = "The `new RtcPeerConnection(..)` constructor, creating a new instance of `RtcPeerConnection`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn new() -> Result<RtcPeerConnection, JsValue>;
+ #[cfg(feature = "RtcConfiguration")]
+ #[wasm_bindgen(catch, constructor, js_class = "RTCPeerConnection")]
+ #[doc = "The `new RtcPeerConnection(..)` constructor, creating a new instance of `RtcPeerConnection`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcConfiguration`, `RtcPeerConnection`*"]
+ pub fn new_with_configuration(
+ configuration: &RtcConfiguration,
+ ) -> Result<RtcPeerConnection, JsValue>;
+ #[cfg(feature = "RtcConfiguration")]
+ #[wasm_bindgen(catch, constructor, js_class = "RTCPeerConnection")]
+ #[doc = "The `new RtcPeerConnection(..)` constructor, creating a new instance of `RtcPeerConnection`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcConfiguration`, `RtcPeerConnection`*"]
+ pub fn new_with_configuration_and_constraints(
+ configuration: &RtcConfiguration,
+ constraints: Option<&::js_sys::Object>,
+ ) -> Result<RtcPeerConnection, JsValue>;
+ #[cfg(feature = "RtcIceCandidateInit")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addIceCandidate)]
+ #[doc = "The `addIceCandidate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addIceCandidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidateInit`, `RtcPeerConnection`*"]
+ pub fn add_ice_candidate_with_opt_rtc_ice_candidate_init(
+ this: &RtcPeerConnection,
+ candidate: Option<&RtcIceCandidateInit>,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "RtcIceCandidate")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addIceCandidate)]
+ #[doc = "The `addIceCandidate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addIceCandidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcPeerConnection`*"]
+ pub fn add_ice_candidate_with_opt_rtc_ice_candidate(
+ this: &RtcPeerConnection,
+ candidate: Option<&RtcIceCandidate>,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "RtcIceCandidate")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addIceCandidate)]
+ #[doc = "The `addIceCandidate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addIceCandidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcPeerConnection`*"]
+ pub fn add_ice_candidate_with_rtc_ice_candidate_and_success_callback_and_failure_callback(
+ this: &RtcPeerConnection,
+ candidate: &RtcIceCandidate,
+ success_callback: &::js_sys::Function,
+ failure_callback: &::js_sys::Function,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "MediaStream")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addStream)]
+ #[doc = "The `addStream()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `RtcPeerConnection`*"]
+ pub fn add_stream(this: &RtcPeerConnection, stream: &MediaStream);
+ #[cfg(all(
+ feature = "MediaStream",
+ feature = "MediaStreamTrack",
+ feature = "RtcRtpSender",
+ ))]
+ # [wasm_bindgen (method , structural , variadic , js_class = "RTCPeerConnection" , js_name = addTrack)]
+ #[doc = "The `addTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*"]
+ pub fn add_track(
+ this: &RtcPeerConnection,
+ track: &MediaStreamTrack,
+ stream: &MediaStream,
+ more_streams: &::js_sys::Array,
+ ) -> RtcRtpSender;
+ #[cfg(all(
+ feature = "MediaStream",
+ feature = "MediaStreamTrack",
+ feature = "RtcRtpSender",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addTrack)]
+ #[doc = "The `addTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*"]
+ pub fn add_track_0(
+ this: &RtcPeerConnection,
+ track: &MediaStreamTrack,
+ stream: &MediaStream,
+ ) -> RtcRtpSender;
+ #[cfg(all(
+ feature = "MediaStream",
+ feature = "MediaStreamTrack",
+ feature = "RtcRtpSender",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addTrack)]
+ #[doc = "The `addTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*"]
+ pub fn add_track_1(
+ this: &RtcPeerConnection,
+ track: &MediaStreamTrack,
+ stream: &MediaStream,
+ more_streams_1: &MediaStream,
+ ) -> RtcRtpSender;
+ #[cfg(all(
+ feature = "MediaStream",
+ feature = "MediaStreamTrack",
+ feature = "RtcRtpSender",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addTrack)]
+ #[doc = "The `addTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*"]
+ pub fn add_track_2(
+ this: &RtcPeerConnection,
+ track: &MediaStreamTrack,
+ stream: &MediaStream,
+ more_streams_1: &MediaStream,
+ more_streams_2: &MediaStream,
+ ) -> RtcRtpSender;
+ #[cfg(all(
+ feature = "MediaStream",
+ feature = "MediaStreamTrack",
+ feature = "RtcRtpSender",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addTrack)]
+ #[doc = "The `addTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*"]
+ pub fn add_track_3(
+ this: &RtcPeerConnection,
+ track: &MediaStreamTrack,
+ stream: &MediaStream,
+ more_streams_1: &MediaStream,
+ more_streams_2: &MediaStream,
+ more_streams_3: &MediaStream,
+ ) -> RtcRtpSender;
+ #[cfg(all(
+ feature = "MediaStream",
+ feature = "MediaStreamTrack",
+ feature = "RtcRtpSender",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addTrack)]
+ #[doc = "The `addTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*"]
+ pub fn add_track_4(
+ this: &RtcPeerConnection,
+ track: &MediaStreamTrack,
+ stream: &MediaStream,
+ more_streams_1: &MediaStream,
+ more_streams_2: &MediaStream,
+ more_streams_3: &MediaStream,
+ more_streams_4: &MediaStream,
+ ) -> RtcRtpSender;
+ #[cfg(all(
+ feature = "MediaStream",
+ feature = "MediaStreamTrack",
+ feature = "RtcRtpSender",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addTrack)]
+ #[doc = "The `addTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*"]
+ pub fn add_track_5(
+ this: &RtcPeerConnection,
+ track: &MediaStreamTrack,
+ stream: &MediaStream,
+ more_streams_1: &MediaStream,
+ more_streams_2: &MediaStream,
+ more_streams_3: &MediaStream,
+ more_streams_4: &MediaStream,
+ more_streams_5: &MediaStream,
+ ) -> RtcRtpSender;
+ #[cfg(all(
+ feature = "MediaStream",
+ feature = "MediaStreamTrack",
+ feature = "RtcRtpSender",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addTrack)]
+ #[doc = "The `addTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*"]
+ pub fn add_track_6(
+ this: &RtcPeerConnection,
+ track: &MediaStreamTrack,
+ stream: &MediaStream,
+ more_streams_1: &MediaStream,
+ more_streams_2: &MediaStream,
+ more_streams_3: &MediaStream,
+ more_streams_4: &MediaStream,
+ more_streams_5: &MediaStream,
+ more_streams_6: &MediaStream,
+ ) -> RtcRtpSender;
+ #[cfg(all(
+ feature = "MediaStream",
+ feature = "MediaStreamTrack",
+ feature = "RtcRtpSender",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addTrack)]
+ #[doc = "The `addTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*"]
+ pub fn add_track_7(
+ this: &RtcPeerConnection,
+ track: &MediaStreamTrack,
+ stream: &MediaStream,
+ more_streams_1: &MediaStream,
+ more_streams_2: &MediaStream,
+ more_streams_3: &MediaStream,
+ more_streams_4: &MediaStream,
+ more_streams_5: &MediaStream,
+ more_streams_6: &MediaStream,
+ more_streams_7: &MediaStream,
+ ) -> RtcRtpSender;
+ #[cfg(all(feature = "MediaStreamTrack", feature = "RtcRtpTransceiver",))]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addTransceiver)]
+ #[doc = "The `addTransceiver()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTransceiver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpTransceiver`*"]
+ pub fn add_transceiver_with_media_stream_track(
+ this: &RtcPeerConnection,
+ track_or_kind: &MediaStreamTrack,
+ ) -> RtcRtpTransceiver;
+ #[cfg(feature = "RtcRtpTransceiver")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addTransceiver)]
+ #[doc = "The `addTransceiver()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTransceiver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcRtpTransceiver`*"]
+ pub fn add_transceiver_with_str(
+ this: &RtcPeerConnection,
+ track_or_kind: &str,
+ ) -> RtcRtpTransceiver;
+ #[cfg(all(
+ feature = "MediaStreamTrack",
+ feature = "RtcRtpTransceiver",
+ feature = "RtcRtpTransceiverInit",
+ ))]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addTransceiver)]
+ #[doc = "The `addTransceiver()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTransceiver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpTransceiver`, `RtcRtpTransceiverInit`*"]
+ pub fn add_transceiver_with_media_stream_track_and_init(
+ this: &RtcPeerConnection,
+ track_or_kind: &MediaStreamTrack,
+ init: &RtcRtpTransceiverInit,
+ ) -> RtcRtpTransceiver;
+ #[cfg(all(feature = "RtcRtpTransceiver", feature = "RtcRtpTransceiverInit",))]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = addTransceiver)]
+ #[doc = "The `addTransceiver()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTransceiver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcRtpTransceiver`, `RtcRtpTransceiverInit`*"]
+ pub fn add_transceiver_with_str_and_init(
+ this: &RtcPeerConnection,
+ track_or_kind: &str,
+ init: &RtcRtpTransceiverInit,
+ ) -> RtcRtpTransceiver;
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn close(this: &RtcPeerConnection);
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = createAnswer)]
+ #[doc = "The `createAnswer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createAnswer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn create_answer(this: &RtcPeerConnection) -> ::js_sys::Promise;
+ #[cfg(feature = "RtcAnswerOptions")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = createAnswer)]
+ #[doc = "The `createAnswer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createAnswer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcAnswerOptions`, `RtcPeerConnection`*"]
+ pub fn create_answer_with_rtc_answer_options(
+ this: &RtcPeerConnection,
+ options: &RtcAnswerOptions,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = createAnswer)]
+ #[doc = "The `createAnswer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createAnswer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn create_answer_with_success_callback_and_failure_callback(
+ this: &RtcPeerConnection,
+ success_callback: &::js_sys::Function,
+ failure_callback: &::js_sys::Function,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "RtcDataChannel")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = createDataChannel)]
+ #[doc = "The `createDataChannel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createDataChannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcPeerConnection`*"]
+ pub fn create_data_channel(this: &RtcPeerConnection, label: &str) -> RtcDataChannel;
+ #[cfg(all(feature = "RtcDataChannel", feature = "RtcDataChannelInit",))]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = createDataChannel)]
+ #[doc = "The `createDataChannel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createDataChannel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelInit`, `RtcPeerConnection`*"]
+ pub fn create_data_channel_with_data_channel_dict(
+ this: &RtcPeerConnection,
+ label: &str,
+ data_channel_dict: &RtcDataChannelInit,
+ ) -> RtcDataChannel;
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = createOffer)]
+ #[doc = "The `createOffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn create_offer(this: &RtcPeerConnection) -> ::js_sys::Promise;
+ #[cfg(feature = "RtcOfferOptions")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = createOffer)]
+ #[doc = "The `createOffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOfferOptions`, `RtcPeerConnection`*"]
+ pub fn create_offer_with_rtc_offer_options(
+ this: &RtcPeerConnection,
+ options: &RtcOfferOptions,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = createOffer)]
+ #[doc = "The `createOffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn create_offer_with_callback_and_failure_callback(
+ this: &RtcPeerConnection,
+ success_callback: &::js_sys::Function,
+ failure_callback: &::js_sys::Function,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "RtcOfferOptions")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = createOffer)]
+ #[doc = "The `createOffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcOfferOptions`, `RtcPeerConnection`*"]
+ pub fn create_offer_with_callback_and_failure_callback_and_options(
+ this: &RtcPeerConnection,
+ success_callback: &::js_sys::Function,
+ failure_callback: &::js_sys::Function,
+ options: &RtcOfferOptions,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (catch , static_method_of = RtcPeerConnection , js_class = "RTCPeerConnection" , js_name = generateCertificate)]
+ #[doc = "The `generateCertificate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/generateCertificate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn generate_certificate_with_object(
+ keygen_algorithm: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = RtcPeerConnection , js_class = "RTCPeerConnection" , js_name = generateCertificate)]
+ #[doc = "The `generateCertificate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/generateCertificate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn generate_certificate_with_str(
+ keygen_algorithm: &str,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "RtcConfiguration")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = getConfiguration)]
+ #[doc = "The `getConfiguration()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getConfiguration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcConfiguration`, `RtcPeerConnection`*"]
+ pub fn get_configuration(this: &RtcPeerConnection) -> RtcConfiguration;
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = getIdentityAssertion)]
+ #[doc = "The `getIdentityAssertion()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getIdentityAssertion)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn get_identity_assertion(this: &RtcPeerConnection) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = getLocalStreams)]
+ #[doc = "The `getLocalStreams()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getLocalStreams)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn get_local_streams(this: &RtcPeerConnection) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = getReceivers)]
+ #[doc = "The `getReceivers()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getReceivers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn get_receivers(this: &RtcPeerConnection) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = getRemoteStreams)]
+ #[doc = "The `getRemoteStreams()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getRemoteStreams)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn get_remote_streams(this: &RtcPeerConnection) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = getSenders)]
+ #[doc = "The `getSenders()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getSenders)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn get_senders(this: &RtcPeerConnection) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = getStats)]
+ #[doc = "The `getStats()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getStats)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn get_stats(this: &RtcPeerConnection) -> ::js_sys::Promise;
+ #[cfg(feature = "MediaStreamTrack")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = getStats)]
+ #[doc = "The `getStats()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getStats)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcPeerConnection`*"]
+ pub fn get_stats_with_selector(
+ this: &RtcPeerConnection,
+ selector: Option<&MediaStreamTrack>,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "MediaStreamTrack")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = getStats)]
+ #[doc = "The `getStats()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getStats)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcPeerConnection`*"]
+ pub fn get_stats_with_selector_and_success_callback_and_failure_callback(
+ this: &RtcPeerConnection,
+ selector: Option<&MediaStreamTrack>,
+ success_callback: &::js_sys::Function,
+ failure_callback: &::js_sys::Function,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = getTransceivers)]
+ #[doc = "The `getTransceivers()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getTransceivers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn get_transceivers(this: &RtcPeerConnection) -> ::js_sys::Array;
+ #[cfg(feature = "RtcRtpSender")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = removeTrack)]
+ #[doc = "The `removeTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/removeTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcRtpSender`*"]
+ pub fn remove_track(this: &RtcPeerConnection, sender: &RtcRtpSender);
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = setIdentityProvider)]
+ #[doc = "The `setIdentityProvider()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setIdentityProvider)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"]
+ pub fn set_identity_provider(this: &RtcPeerConnection, provider: &str);
+ #[cfg(feature = "RtcIdentityProviderOptions")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = setIdentityProvider)]
+ #[doc = "The `setIdentityProvider()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setIdentityProvider)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIdentityProviderOptions`, `RtcPeerConnection`*"]
+ pub fn set_identity_provider_with_options(
+ this: &RtcPeerConnection,
+ provider: &str,
+ options: &RtcIdentityProviderOptions,
+ );
+ #[cfg(feature = "RtcSessionDescriptionInit")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = setLocalDescription)]
+ #[doc = "The `setLocalDescription()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setLocalDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescriptionInit`*"]
+ pub fn set_local_description(
+ this: &RtcPeerConnection,
+ description: &RtcSessionDescriptionInit,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "RtcSessionDescriptionInit")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = setLocalDescription)]
+ #[doc = "The `setLocalDescription()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setLocalDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescriptionInit`*"]
+ pub fn set_local_description_with_success_callback_and_failure_callback(
+ this: &RtcPeerConnection,
+ description: &RtcSessionDescriptionInit,
+ success_callback: &::js_sys::Function,
+ failure_callback: &::js_sys::Function,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "RtcSessionDescriptionInit")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = setRemoteDescription)]
+ #[doc = "The `setRemoteDescription()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setRemoteDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescriptionInit`*"]
+ pub fn set_remote_description(
+ this: &RtcPeerConnection,
+ description: &RtcSessionDescriptionInit,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "RtcSessionDescriptionInit")]
+ # [wasm_bindgen (method , structural , js_class = "RTCPeerConnection" , js_name = setRemoteDescription)]
+ #[doc = "The `setRemoteDescription()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setRemoteDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescriptionInit`*"]
+ pub fn set_remote_description_with_success_callback_and_failure_callback(
+ this: &RtcPeerConnection,
+ description: &RtcSessionDescriptionInit,
+ success_callback: &::js_sys::Function,
+ failure_callback: &::js_sys::Function,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEvent.rs b/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEvent.rs
new file mode 100644
index 000000000..3a59c593b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEvent.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = RTCPeerConnectionIceEvent , typescript_type = "RTCPeerConnectionIceEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcPeerConnectionIceEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceEvent`*"]
+ pub type RtcPeerConnectionIceEvent;
+ #[cfg(feature = "RtcIceCandidate")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnectionIceEvent" , js_name = candidate)]
+ #[doc = "Getter for the `candidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/candidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcPeerConnectionIceEvent`*"]
+ pub fn candidate(this: &RtcPeerConnectionIceEvent) -> Option<RtcIceCandidate>;
+ #[wasm_bindgen(catch, constructor, js_class = "RTCPeerConnectionIceEvent")]
+ #[doc = "The `new RtcPeerConnectionIceEvent(..)` constructor, creating a new instance of `RtcPeerConnectionIceEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/RTCPeerConnectionIceEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceEvent`*"]
+ pub fn new(type_: &str) -> Result<RtcPeerConnectionIceEvent, JsValue>;
+ #[cfg(feature = "RtcPeerConnectionIceEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "RTCPeerConnectionIceEvent")]
+ #[doc = "The `new RtcPeerConnectionIceEvent(..)` constructor, creating a new instance of `RtcPeerConnectionIceEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/RTCPeerConnectionIceEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceEvent`, `RtcPeerConnectionIceEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &RtcPeerConnectionIceEventInit,
+ ) -> Result<RtcPeerConnectionIceEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEventInit.rs b/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEventInit.rs
new file mode 100644
index 000000000..2847f6ed7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEventInit.rs
@@ -0,0 +1,96 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCPeerConnectionIceEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcPeerConnectionIceEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceEventInit`*"]
+ pub type RtcPeerConnectionIceEventInit;
+}
+impl RtcPeerConnectionIceEventInit {
+ #[doc = "Construct a new `RtcPeerConnectionIceEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcIceCandidate")]
+ #[doc = "Change the `candidate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcPeerConnectionIceEventInit`*"]
+ pub fn candidate(&mut self, val: Option<&RtcIceCandidate>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("candidate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcPeerConnectionIceEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcPriorityType.rs b/vendor/web-sys/src/features/gen_RtcPriorityType.rs
new file mode 100644
index 000000000..ddd712e4c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcPriorityType.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcPriorityType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcPriorityType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcPriorityType {
+ VeryLow = "very-low",
+ Low = "low",
+ Medium = "medium",
+ High = "high",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtcpParameters.rs b/vendor/web-sys/src/features/gen_RtcRtcpParameters.rs
new file mode 100644
index 000000000..85df471a0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtcpParameters.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtcpParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtcpParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtcpParameters`*"]
+ pub type RtcRtcpParameters;
+}
+impl RtcRtcpParameters {
+ #[doc = "Construct a new `RtcRtcpParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtcpParameters`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `cname` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtcpParameters`*"]
+ pub fn cname(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("cname"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `reducedSize` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtcpParameters`*"]
+ pub fn reduced_size(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("reducedSize"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcRtcpParameters {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpCodecParameters.rs b/vendor/web-sys/src/features/gen_RtcRtpCodecParameters.rs
new file mode 100644
index 000000000..1292d7cac
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpCodecParameters.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpCodecParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtpCodecParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpCodecParameters`*"]
+ pub type RtcRtpCodecParameters;
+}
+impl RtcRtpCodecParameters {
+ #[doc = "Construct a new `RtcRtpCodecParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpCodecParameters`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channels` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpCodecParameters`*"]
+ pub fn channels(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channels"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `clockRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpCodecParameters`*"]
+ pub fn clock_rate(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clockRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mimeType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpCodecParameters`*"]
+ pub fn mime_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mimeType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `payloadType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpCodecParameters`*"]
+ pub fn payload_type(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("payloadType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sdpFmtpLine` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpCodecParameters`*"]
+ pub fn sdp_fmtp_line(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sdpFmtpLine"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcRtpCodecParameters {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpContributingSource.rs b/vendor/web-sys/src/features/gen_RtcRtpContributingSource.rs
new file mode 100644
index 000000000..6f32c2053
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpContributingSource.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpContributingSource)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtpContributingSource` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpContributingSource`*"]
+ pub type RtcRtpContributingSource;
+}
+impl RtcRtpContributingSource {
+ #[doc = "Construct a new `RtcRtpContributingSource`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpContributingSource`*"]
+ pub fn new(source: u32, timestamp: f64) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.source(source);
+ ret.timestamp(timestamp);
+ ret
+ }
+ #[doc = "Change the `audioLevel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpContributingSource`*"]
+ pub fn audio_level(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("audioLevel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpContributingSource`*"]
+ pub fn source(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("source"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpContributingSource`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpEncodingParameters.rs b/vendor/web-sys/src/features/gen_RtcRtpEncodingParameters.rs
new file mode 100644
index 000000000..339ec385a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpEncodingParameters.rs
@@ -0,0 +1,165 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpEncodingParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtpEncodingParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpEncodingParameters`*"]
+ pub type RtcRtpEncodingParameters;
+}
+impl RtcRtpEncodingParameters {
+ #[doc = "Construct a new `RtcRtpEncodingParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpEncodingParameters`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `active` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpEncodingParameters`*"]
+ pub fn active(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("active"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcDegradationPreference")]
+ #[doc = "Change the `degradationPreference` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcDegradationPreference`, `RtcRtpEncodingParameters`*"]
+ pub fn degradation_preference(&mut self, val: RtcDegradationPreference) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("degradationPreference"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcFecParameters")]
+ #[doc = "Change the `fec` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcFecParameters`, `RtcRtpEncodingParameters`*"]
+ pub fn fec(&mut self, val: &RtcFecParameters) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("fec"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `maxBitrate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpEncodingParameters`*"]
+ pub fn max_bitrate(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("maxBitrate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcPriorityType")]
+ #[doc = "Change the `priority` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcPriorityType`, `RtcRtpEncodingParameters`*"]
+ pub fn priority(&mut self, val: RtcPriorityType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("priority"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rid` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpEncodingParameters`*"]
+ pub fn rid(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("rid"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcRtxParameters")]
+ #[doc = "Change the `rtx` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpEncodingParameters`, `RtcRtxParameters`*"]
+ pub fn rtx(&mut self, val: &RtcRtxParameters) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("rtx"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `scaleResolutionDownBy` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpEncodingParameters`*"]
+ pub fn scale_resolution_down_by(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("scaleResolutionDownBy"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ssrc` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpEncodingParameters`*"]
+ pub fn ssrc(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ssrc"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcRtpEncodingParameters {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpHeaderExtensionParameters.rs b/vendor/web-sys/src/features/gen_RtcRtpHeaderExtensionParameters.rs
new file mode 100644
index 000000000..5523869a3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpHeaderExtensionParameters.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpHeaderExtensionParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtpHeaderExtensionParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpHeaderExtensionParameters`*"]
+ pub type RtcRtpHeaderExtensionParameters;
+}
+impl RtcRtpHeaderExtensionParameters {
+ #[doc = "Construct a new `RtcRtpHeaderExtensionParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpHeaderExtensionParameters`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `encrypted` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpHeaderExtensionParameters`*"]
+ pub fn encrypted(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("encrypted"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpHeaderExtensionParameters`*"]
+ pub fn id(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `uri` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpHeaderExtensionParameters`*"]
+ pub fn uri(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("uri"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcRtpHeaderExtensionParameters {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpParameters.rs b/vendor/web-sys/src/features/gen_RtcRtpParameters.rs
new file mode 100644
index 000000000..7b413d275
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpParameters.rs
@@ -0,0 +1,89 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtpParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpParameters`*"]
+ pub type RtcRtpParameters;
+}
+impl RtcRtpParameters {
+ #[doc = "Construct a new `RtcRtpParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpParameters`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `codecs` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpParameters`*"]
+ pub fn codecs(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("codecs"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `encodings` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpParameters`*"]
+ pub fn encodings(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("encodings"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `headerExtensions` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpParameters`*"]
+ pub fn header_extensions(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("headerExtensions"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcRtcpParameters")]
+ #[doc = "Change the `rtcp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtcpParameters`, `RtcRtpParameters`*"]
+ pub fn rtcp(&mut self, val: &RtcRtcpParameters) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("rtcp"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcRtpParameters {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpReceiver.rs b/vendor/web-sys/src/features/gen_RtcRtpReceiver.rs
new file mode 100644
index 000000000..ee09e0805
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpReceiver.rs
@@ -0,0 +1,43 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpReceiver , typescript_type = "RTCRtpReceiver")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtpReceiver` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpReceiver`*"]
+ pub type RtcRtpReceiver;
+ #[cfg(feature = "MediaStreamTrack")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCRtpReceiver" , js_name = track)]
+ #[doc = "Getter for the `track` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/track)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcRtpReceiver`*"]
+ pub fn track(this: &RtcRtpReceiver) -> MediaStreamTrack;
+ # [wasm_bindgen (method , structural , js_class = "RTCRtpReceiver" , js_name = getContributingSources)]
+ #[doc = "The `getContributingSources()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/getContributingSources)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpReceiver`*"]
+ pub fn get_contributing_sources(this: &RtcRtpReceiver) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "RTCRtpReceiver" , js_name = getStats)]
+ #[doc = "The `getStats()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/getStats)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpReceiver`*"]
+ pub fn get_stats(this: &RtcRtpReceiver) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "RTCRtpReceiver" , js_name = getSynchronizationSources)]
+ #[doc = "The `getSynchronizationSources()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/getSynchronizationSources)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpReceiver`*"]
+ pub fn get_synchronization_sources(this: &RtcRtpReceiver) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpSender.rs b/vendor/web-sys/src/features/gen_RtcRtpSender.rs
new file mode 100644
index 000000000..8de87c61b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpSender.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpSender , typescript_type = "RTCRtpSender")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtpSender` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSender`*"]
+ pub type RtcRtpSender;
+ #[cfg(feature = "MediaStreamTrack")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCRtpSender" , js_name = track)]
+ #[doc = "Getter for the `track` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/track)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcRtpSender`*"]
+ pub fn track(this: &RtcRtpSender) -> Option<MediaStreamTrack>;
+ #[cfg(feature = "RtcdtmfSender")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCRtpSender" , js_name = dtmf)]
+ #[doc = "Getter for the `dtmf` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/dtmf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSender`, `RtcdtmfSender`*"]
+ pub fn dtmf(this: &RtcRtpSender) -> Option<RtcdtmfSender>;
+ #[cfg(feature = "RtcRtpParameters")]
+ # [wasm_bindgen (method , structural , js_class = "RTCRtpSender" , js_name = getParameters)]
+ #[doc = "The `getParameters()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/getParameters)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpParameters`, `RtcRtpSender`*"]
+ pub fn get_parameters(this: &RtcRtpSender) -> RtcRtpParameters;
+ # [wasm_bindgen (method , structural , js_class = "RTCRtpSender" , js_name = getStats)]
+ #[doc = "The `getStats()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/getStats)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSender`*"]
+ pub fn get_stats(this: &RtcRtpSender) -> ::js_sys::Promise;
+ #[cfg(feature = "MediaStreamTrack")]
+ # [wasm_bindgen (method , structural , js_class = "RTCRtpSender" , js_name = replaceTrack)]
+ #[doc = "The `replaceTrack()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/replaceTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcRtpSender`*"]
+ pub fn replace_track(
+ this: &RtcRtpSender,
+ with_track: Option<&MediaStreamTrack>,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "RTCRtpSender" , js_name = setParameters)]
+ #[doc = "The `setParameters()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/setParameters)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSender`*"]
+ pub fn set_parameters(this: &RtcRtpSender) -> ::js_sys::Promise;
+ #[cfg(feature = "RtcRtpParameters")]
+ # [wasm_bindgen (method , structural , js_class = "RTCRtpSender" , js_name = setParameters)]
+ #[doc = "The `setParameters()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/setParameters)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpParameters`, `RtcRtpSender`*"]
+ pub fn set_parameters_with_parameters(
+ this: &RtcRtpSender,
+ parameters: &RtcRtpParameters,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpSourceEntry.rs b/vendor/web-sys/src/features/gen_RtcRtpSourceEntry.rs
new file mode 100644
index 000000000..a4673ba52
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpSourceEntry.rs
@@ -0,0 +1,109 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpSourceEntry)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtpSourceEntry` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSourceEntry`*"]
+ pub type RtcRtpSourceEntry;
+}
+impl RtcRtpSourceEntry {
+ #[cfg(feature = "RtcRtpSourceEntryType")]
+ #[doc = "Construct a new `RtcRtpSourceEntry`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSourceEntry`, `RtcRtpSourceEntryType`*"]
+ pub fn new(source: u32, timestamp: f64, source_type: RtcRtpSourceEntryType) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.source(source);
+ ret.timestamp(timestamp);
+ ret.source_type(source_type);
+ ret
+ }
+ #[doc = "Change the `audioLevel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSourceEntry`*"]
+ pub fn audio_level(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("audioLevel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSourceEntry`*"]
+ pub fn source(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("source"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSourceEntry`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `voiceActivityFlag` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSourceEntry`*"]
+ pub fn voice_activity_flag(&mut self, val: Option<bool>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("voiceActivityFlag"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcRtpSourceEntryType")]
+ #[doc = "Change the `sourceType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSourceEntry`, `RtcRtpSourceEntryType`*"]
+ pub fn source_type(&mut self, val: RtcRtpSourceEntryType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sourceType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpSourceEntryType.rs b/vendor/web-sys/src/features/gen_RtcRtpSourceEntryType.rs
new file mode 100644
index 000000000..e9c709edb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpSourceEntryType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcRtpSourceEntryType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcRtpSourceEntryType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcRtpSourceEntryType {
+ Contributing = "contributing",
+ Synchronization = "synchronization",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpSynchronizationSource.rs b/vendor/web-sys/src/features/gen_RtcRtpSynchronizationSource.rs
new file mode 100644
index 000000000..dcab44083
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpSynchronizationSource.rs
@@ -0,0 +1,89 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpSynchronizationSource)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtpSynchronizationSource` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSynchronizationSource`*"]
+ pub type RtcRtpSynchronizationSource;
+}
+impl RtcRtpSynchronizationSource {
+ #[doc = "Construct a new `RtcRtpSynchronizationSource`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSynchronizationSource`*"]
+ pub fn new(source: u32, timestamp: f64) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.source(source);
+ ret.timestamp(timestamp);
+ ret
+ }
+ #[doc = "Change the `audioLevel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSynchronizationSource`*"]
+ pub fn audio_level(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("audioLevel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSynchronizationSource`*"]
+ pub fn source(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("source"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSynchronizationSource`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `voiceActivityFlag` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSynchronizationSource`*"]
+ pub fn voice_activity_flag(&mut self, val: Option<bool>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("voiceActivityFlag"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpTransceiver.rs b/vendor/web-sys/src/features/gen_RtcRtpTransceiver.rs
new file mode 100644
index 000000000..6d6eaf251
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpTransceiver.rs
@@ -0,0 +1,82 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpTransceiver , typescript_type = "RTCRtpTransceiver")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtpTransceiver` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiver`*"]
+ pub type RtcRtpTransceiver;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCRtpTransceiver" , js_name = mid)]
+ #[doc = "Getter for the `mid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver/mid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiver`*"]
+ pub fn mid(this: &RtcRtpTransceiver) -> Option<String>;
+ #[cfg(feature = "RtcRtpSender")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCRtpTransceiver" , js_name = sender)]
+ #[doc = "Getter for the `sender` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver/sender)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpSender`, `RtcRtpTransceiver`*"]
+ pub fn sender(this: &RtcRtpTransceiver) -> RtcRtpSender;
+ #[cfg(feature = "RtcRtpReceiver")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCRtpTransceiver" , js_name = receiver)]
+ #[doc = "Getter for the `receiver` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver/receiver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpReceiver`, `RtcRtpTransceiver`*"]
+ pub fn receiver(this: &RtcRtpTransceiver) -> RtcRtpReceiver;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCRtpTransceiver" , js_name = stopped)]
+ #[doc = "Getter for the `stopped` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver/stopped)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiver`*"]
+ pub fn stopped(this: &RtcRtpTransceiver) -> bool;
+ #[cfg(feature = "RtcRtpTransceiverDirection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCRtpTransceiver" , js_name = direction)]
+ #[doc = "Getter for the `direction` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver/direction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiver`, `RtcRtpTransceiverDirection`*"]
+ pub fn direction(this: &RtcRtpTransceiver) -> RtcRtpTransceiverDirection;
+ #[cfg(feature = "RtcRtpTransceiverDirection")]
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCRtpTransceiver" , js_name = direction)]
+ #[doc = "Setter for the `direction` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver/direction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiver`, `RtcRtpTransceiverDirection`*"]
+ pub fn set_direction(this: &RtcRtpTransceiver, value: RtcRtpTransceiverDirection);
+ #[cfg(feature = "RtcRtpTransceiverDirection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCRtpTransceiver" , js_name = currentDirection)]
+ #[doc = "Getter for the `currentDirection` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver/currentDirection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiver`, `RtcRtpTransceiverDirection`*"]
+ pub fn current_direction(this: &RtcRtpTransceiver) -> Option<RtcRtpTransceiverDirection>;
+ # [wasm_bindgen (method , structural , js_class = "RTCRtpTransceiver" , js_name = getRemoteTrackId)]
+ #[doc = "The `getRemoteTrackId()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver/getRemoteTrackId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiver`*"]
+ pub fn get_remote_track_id(this: &RtcRtpTransceiver) -> String;
+ # [wasm_bindgen (method , structural , js_class = "RTCRtpTransceiver" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiver`*"]
+ pub fn stop(this: &RtcRtpTransceiver);
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpTransceiverDirection.rs b/vendor/web-sys/src/features/gen_RtcRtpTransceiverDirection.rs
new file mode 100644
index 000000000..60a8f98f9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpTransceiverDirection.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcRtpTransceiverDirection` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiverDirection`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcRtpTransceiverDirection {
+ Sendrecv = "sendrecv",
+ Sendonly = "sendonly",
+ Recvonly = "recvonly",
+ Inactive = "inactive",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtpTransceiverInit.rs b/vendor/web-sys/src/features/gen_RtcRtpTransceiverInit.rs
new file mode 100644
index 000000000..3f6836a6b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtpTransceiverInit.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpTransceiverInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtpTransceiverInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiverInit`*"]
+ pub type RtcRtpTransceiverInit;
+}
+impl RtcRtpTransceiverInit {
+ #[doc = "Construct a new `RtcRtpTransceiverInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiverInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "RtcRtpTransceiverDirection")]
+ #[doc = "Change the `direction` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiverDirection`, `RtcRtpTransceiverInit`*"]
+ pub fn direction(&mut self, val: RtcRtpTransceiverDirection) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("direction"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `streams` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiverInit`*"]
+ pub fn streams(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("streams"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcRtpTransceiverInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcRtxParameters.rs b/vendor/web-sys/src/features/gen_RtcRtxParameters.rs
new file mode 100644
index 000000000..7540a9813
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcRtxParameters.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtxParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcRtxParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtxParameters`*"]
+ pub type RtcRtxParameters;
+}
+impl RtcRtxParameters {
+ #[doc = "Construct a new `RtcRtxParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtxParameters`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `ssrc` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtxParameters`*"]
+ pub fn ssrc(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ssrc"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcRtxParameters {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcSdpType.rs b/vendor/web-sys/src/features/gen_RtcSdpType.rs
new file mode 100644
index 000000000..deaa34309
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcSdpType.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcSdpType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcSdpType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcSdpType {
+ Offer = "offer",
+ Pranswer = "pranswer",
+ Answer = "answer",
+ Rollback = "rollback",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcSessionDescription.rs b/vendor/web-sys/src/features/gen_RtcSessionDescription.rs
new file mode 100644
index 000000000..975d098e5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcSessionDescription.rs
@@ -0,0 +1,68 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCSessionDescription , typescript_type = "RTCSessionDescription")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcSessionDescription` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcSessionDescription`*"]
+ pub type RtcSessionDescription;
+ #[cfg(feature = "RtcSdpType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCSessionDescription" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcSdpType`, `RtcSessionDescription`*"]
+ pub fn type_(this: &RtcSessionDescription) -> RtcSdpType;
+ #[cfg(feature = "RtcSdpType")]
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCSessionDescription" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcSdpType`, `RtcSessionDescription`*"]
+ pub fn set_type(this: &RtcSessionDescription, value: RtcSdpType);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCSessionDescription" , js_name = sdp)]
+ #[doc = "Getter for the `sdp` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/sdp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcSessionDescription`*"]
+ pub fn sdp(this: &RtcSessionDescription) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCSessionDescription" , js_name = sdp)]
+ #[doc = "Setter for the `sdp` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/sdp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcSessionDescription`*"]
+ pub fn set_sdp(this: &RtcSessionDescription, value: &str);
+ #[wasm_bindgen(catch, constructor, js_class = "RTCSessionDescription")]
+ #[doc = "The `new RtcSessionDescription(..)` constructor, creating a new instance of `RtcSessionDescription`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/RTCSessionDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcSessionDescription`*"]
+ pub fn new() -> Result<RtcSessionDescription, JsValue>;
+ #[cfg(feature = "RtcSessionDescriptionInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "RTCSessionDescription")]
+ #[doc = "The `new RtcSessionDescription(..)` constructor, creating a new instance of `RtcSessionDescription`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/RTCSessionDescription)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcSessionDescription`, `RtcSessionDescriptionInit`*"]
+ pub fn new_with_description_init_dict(
+ description_init_dict: &RtcSessionDescriptionInit,
+ ) -> Result<RtcSessionDescription, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "RTCSessionDescription" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcSessionDescription`*"]
+ pub fn to_json(this: &RtcSessionDescription) -> ::js_sys::Object;
+}
diff --git a/vendor/web-sys/src/features/gen_RtcSessionDescriptionInit.rs b/vendor/web-sys/src/features/gen_RtcSessionDescriptionInit.rs
new file mode 100644
index 000000000..72ed9cc34
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcSessionDescriptionInit.rs
@@ -0,0 +1,51 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCSessionDescriptionInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcSessionDescriptionInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcSessionDescriptionInit`*"]
+ pub type RtcSessionDescriptionInit;
+}
+impl RtcSessionDescriptionInit {
+ #[cfg(feature = "RtcSdpType")]
+ #[doc = "Construct a new `RtcSessionDescriptionInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcSdpType`, `RtcSessionDescriptionInit`*"]
+ pub fn new(type_: RtcSdpType) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.type_(type_);
+ ret
+ }
+ #[doc = "Change the `sdp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcSessionDescriptionInit`*"]
+ pub fn sdp(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("sdp"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcSdpType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcSdpType`, `RtcSessionDescriptionInit`*"]
+ pub fn type_(&mut self, val: RtcSdpType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcSignalingState.rs b/vendor/web-sys/src/features/gen_RtcSignalingState.rs
new file mode 100644
index 000000000..9fa4c48e6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcSignalingState.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcSignalingState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcSignalingState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcSignalingState {
+ Stable = "stable",
+ HaveLocalOffer = "have-local-offer",
+ HaveRemoteOffer = "have-remote-offer",
+ HaveLocalPranswer = "have-local-pranswer",
+ HaveRemotePranswer = "have-remote-pranswer",
+ Closed = "closed",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcStats.rs b/vendor/web-sys/src/features/gen_RtcStats.rs
new file mode 100644
index 000000000..fc54145da
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcStats.rs
@@ -0,0 +1,71 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStats`*"]
+ pub type RtcStats;
+}
+impl RtcStats {
+ #[doc = "Construct a new `RtcStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStats`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStats`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStats`, `RtcStatsType`*"]
+ pub fn type_(&mut self, val: RtcStatsType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcStatsIceCandidatePairState.rs b/vendor/web-sys/src/features/gen_RtcStatsIceCandidatePairState.rs
new file mode 100644
index 000000000..0cad390dc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcStatsIceCandidatePairState.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcStatsIceCandidatePairState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcStatsIceCandidatePairState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcStatsIceCandidatePairState {
+ Frozen = "frozen",
+ Waiting = "waiting",
+ Inprogress = "inprogress",
+ Failed = "failed",
+ Succeeded = "succeeded",
+ Cancelled = "cancelled",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcStatsIceCandidateType.rs b/vendor/web-sys/src/features/gen_RtcStatsIceCandidateType.rs
new file mode 100644
index 000000000..0756f85e3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcStatsIceCandidateType.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcStatsIceCandidateType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcStatsIceCandidateType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcStatsIceCandidateType {
+ Host = "host",
+ Serverreflexive = "serverreflexive",
+ Peerreflexive = "peerreflexive",
+ Relayed = "relayed",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcStatsReport.rs b/vendor/web-sys/src/features/gen_RtcStatsReport.rs
new file mode 100644
index 000000000..a72b561ba
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcStatsReport.rs
@@ -0,0 +1,63 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCStatsReport , typescript_type = "RTCStatsReport")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcStatsReport` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
+ pub type RtcStatsReport;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCStatsReport" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
+ pub fn size(this: &RtcStatsReport) -> u32;
+ # [wasm_bindgen (method , structural , js_class = "RTCStatsReport" , js_name = entries)]
+ #[doc = "The `entries()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/entries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
+ pub fn entries(this: &RtcStatsReport) -> ::js_sys::Iterator;
+ # [wasm_bindgen (catch , method , structural , js_class = "RTCStatsReport" , js_name = forEach)]
+ #[doc = "The `forEach()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/forEach)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
+ pub fn for_each(this: &RtcStatsReport, callback: &::js_sys::Function) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "RTCStatsReport" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
+ pub fn get(this: &RtcStatsReport, key: &str) -> Option<::js_sys::Object>;
+ # [wasm_bindgen (method , structural , js_class = "RTCStatsReport" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
+ pub fn has(this: &RtcStatsReport, key: &str) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "RTCStatsReport" , js_name = keys)]
+ #[doc = "The `keys()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/keys)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
+ pub fn keys(this: &RtcStatsReport) -> ::js_sys::Iterator;
+ # [wasm_bindgen (method , structural , js_class = "RTCStatsReport" , js_name = values)]
+ #[doc = "The `values()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/values)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
+ pub fn values(this: &RtcStatsReport) -> ::js_sys::Iterator;
+}
diff --git a/vendor/web-sys/src/features/gen_RtcStatsReportInternal.rs b/vendor/web-sys/src/features/gen_RtcStatsReportInternal.rs
new file mode 100644
index 000000000..5b285c2b5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcStatsReportInternal.rs
@@ -0,0 +1,377 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCStatsReportInternal)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcStatsReportInternal` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub type RtcStatsReportInternal;
+}
+impl RtcStatsReportInternal {
+ #[doc = "Construct a new `RtcStatsReportInternal`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `closed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn closed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("closed"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `codecStats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn codec_stats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("codecStats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iceCandidatePairStats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn ice_candidate_pair_stats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iceCandidatePairStats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iceCandidateStats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn ice_candidate_stats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iceCandidateStats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iceComponentStats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn ice_component_stats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iceComponentStats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iceRestarts` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn ice_restarts(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iceRestarts"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `iceRollbacks` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn ice_rollbacks(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("iceRollbacks"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `inboundRTPStreamStats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn inbound_rtp_stream_stats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("inboundRTPStreamStats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `localSdp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn local_sdp(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("localSdp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mediaStreamStats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn media_stream_stats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mediaStreamStats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mediaStreamTrackStats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn media_stream_track_stats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mediaStreamTrackStats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `offerer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn offerer(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("offerer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `outboundRTPStreamStats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn outbound_rtp_stream_stats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("outboundRTPStreamStats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pcid` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn pcid(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("pcid"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rawLocalCandidates` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn raw_local_candidates(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rawLocalCandidates"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rawRemoteCandidates` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn raw_remote_candidates(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rawRemoteCandidates"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `remoteSdp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn remote_sdp(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("remoteSdp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rtpContributingSourceStats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn rtp_contributing_source_stats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rtpContributingSourceStats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `transportStats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn transport_stats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transportStats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `trickledIceCandidateStats` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsReportInternal`*"]
+ pub fn trickled_ice_candidate_stats(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("trickledIceCandidateStats"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcStatsReportInternal {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcStatsType.rs b/vendor/web-sys/src/features/gen_RtcStatsType.rs
new file mode 100644
index 000000000..777c8d178
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcStatsType.rs
@@ -0,0 +1,18 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `RtcStatsType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `RtcStatsType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RtcStatsType {
+ InboundRtp = "inbound-rtp",
+ OutboundRtp = "outbound-rtp",
+ Csrc = "csrc",
+ Session = "session",
+ Track = "track",
+ Transport = "transport",
+ CandidatePair = "candidate-pair",
+ LocalCandidate = "local-candidate",
+ RemoteCandidate = "remote-candidate",
+}
diff --git a/vendor/web-sys/src/features/gen_RtcTrackEvent.rs b/vendor/web-sys/src/features/gen_RtcTrackEvent.rs
new file mode 100644
index 000000000..69870c1a3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcTrackEvent.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = RTCTrackEvent , typescript_type = "RTCTrackEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcTrackEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCTrackEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTrackEvent`*"]
+ pub type RtcTrackEvent;
+ #[cfg(feature = "RtcRtpReceiver")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCTrackEvent" , js_name = receiver)]
+ #[doc = "Getter for the `receiver` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCTrackEvent/receiver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpReceiver`, `RtcTrackEvent`*"]
+ pub fn receiver(this: &RtcTrackEvent) -> RtcRtpReceiver;
+ #[cfg(feature = "MediaStreamTrack")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCTrackEvent" , js_name = track)]
+ #[doc = "Getter for the `track` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCTrackEvent/track)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcTrackEvent`*"]
+ pub fn track(this: &RtcTrackEvent) -> MediaStreamTrack;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCTrackEvent" , js_name = streams)]
+ #[doc = "Getter for the `streams` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCTrackEvent/streams)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTrackEvent`*"]
+ pub fn streams(this: &RtcTrackEvent) -> ::js_sys::Array;
+ #[cfg(feature = "RtcRtpTransceiver")]
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCTrackEvent" , js_name = transceiver)]
+ #[doc = "Getter for the `transceiver` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCTrackEvent/transceiver)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiver`, `RtcTrackEvent`*"]
+ pub fn transceiver(this: &RtcTrackEvent) -> RtcRtpTransceiver;
+ #[cfg(feature = "RtcTrackEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "RTCTrackEvent")]
+ #[doc = "The `new RtcTrackEvent(..)` constructor, creating a new instance of `RtcTrackEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCTrackEvent/RTCTrackEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTrackEvent`, `RtcTrackEventInit`*"]
+ pub fn new(type_: &str, event_init_dict: &RtcTrackEventInit) -> Result<RtcTrackEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_RtcTrackEventInit.rs b/vendor/web-sys/src/features/gen_RtcTrackEventInit.rs
new file mode 100644
index 000000000..a8c8031da
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcTrackEventInit.rs
@@ -0,0 +1,152 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCTrackEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcTrackEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTrackEventInit`*"]
+ pub type RtcTrackEventInit;
+}
+impl RtcTrackEventInit {
+ #[cfg(all(
+ feature = "MediaStreamTrack",
+ feature = "RtcRtpReceiver",
+ feature = "RtcRtpTransceiver",
+ ))]
+ #[doc = "Construct a new `RtcTrackEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcRtpReceiver`, `RtcRtpTransceiver`, `RtcTrackEventInit`*"]
+ pub fn new(
+ receiver: &RtcRtpReceiver,
+ track: &MediaStreamTrack,
+ transceiver: &RtcRtpTransceiver,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.receiver(receiver);
+ ret.track(track);
+ ret.transceiver(transceiver);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTrackEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTrackEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTrackEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcRtpReceiver")]
+ #[doc = "Change the `receiver` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpReceiver`, `RtcTrackEventInit`*"]
+ pub fn receiver(&mut self, val: &RtcRtpReceiver) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("receiver"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `streams` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTrackEventInit`*"]
+ pub fn streams(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("streams"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "MediaStreamTrack")]
+ #[doc = "Change the `track` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcTrackEventInit`*"]
+ pub fn track(&mut self, val: &MediaStreamTrack) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("track"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcRtpTransceiver")]
+ #[doc = "Change the `transceiver` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiver`, `RtcTrackEventInit`*"]
+ pub fn transceiver(&mut self, val: &RtcRtpTransceiver) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transceiver"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcTransportStats.rs b/vendor/web-sys/src/features/gen_RtcTransportStats.rs
new file mode 100644
index 000000000..bfe856e27
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcTransportStats.rs
@@ -0,0 +1,105 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCTransportStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcTransportStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTransportStats`*"]
+ pub type RtcTransportStats;
+}
+impl RtcTransportStats {
+ #[doc = "Construct a new `RtcTransportStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTransportStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTransportStats`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTransportStats`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsType`, `RtcTransportStats`*"]
+ pub fn type_(&mut self, val: RtcStatsType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bytesReceived` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTransportStats`*"]
+ pub fn bytes_received(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bytesReceived"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bytesSent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcTransportStats`*"]
+ pub fn bytes_sent(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bytesSent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcTransportStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcdtmfSender.rs b/vendor/web-sys/src/features/gen_RtcdtmfSender.rs
new file mode 100644
index 000000000..8feda592e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcdtmfSender.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = RTCDTMFSender , typescript_type = "RTCDTMFSender")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcdtmfSender` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfSender`*"]
+ pub type RtcdtmfSender;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDTMFSender" , js_name = ontonechange)]
+ #[doc = "Getter for the `ontonechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/ontonechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfSender`*"]
+ pub fn ontonechange(this: &RtcdtmfSender) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "RTCDTMFSender" , js_name = ontonechange)]
+ #[doc = "Setter for the `ontonechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/ontonechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfSender`*"]
+ pub fn set_ontonechange(this: &RtcdtmfSender, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDTMFSender" , js_name = toneBuffer)]
+ #[doc = "Getter for the `toneBuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/toneBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfSender`*"]
+ pub fn tone_buffer(this: &RtcdtmfSender) -> String;
+ # [wasm_bindgen (method , structural , js_class = "RTCDTMFSender" , js_name = insertDTMF)]
+ #[doc = "The `insertDTMF()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/insertDTMF)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfSender`*"]
+ pub fn insert_dtmf(this: &RtcdtmfSender, tones: &str);
+ # [wasm_bindgen (method , structural , js_class = "RTCDTMFSender" , js_name = insertDTMF)]
+ #[doc = "The `insertDTMF()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/insertDTMF)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfSender`*"]
+ pub fn insert_dtmf_with_duration(this: &RtcdtmfSender, tones: &str, duration: u32);
+ # [wasm_bindgen (method , structural , js_class = "RTCDTMFSender" , js_name = insertDTMF)]
+ #[doc = "The `insertDTMF()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/insertDTMF)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfSender`*"]
+ pub fn insert_dtmf_with_duration_and_inter_tone_gap(
+ this: &RtcdtmfSender,
+ tones: &str,
+ duration: u32,
+ inter_tone_gap: u32,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEvent.rs b/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEvent.rs
new file mode 100644
index 000000000..3d513d294
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = RTCDTMFToneChangeEvent , typescript_type = "RTCDTMFToneChangeEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcdtmfToneChangeEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFToneChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfToneChangeEvent`*"]
+ pub type RtcdtmfToneChangeEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "RTCDTMFToneChangeEvent" , js_name = tone)]
+ #[doc = "Getter for the `tone` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFToneChangeEvent/tone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfToneChangeEvent`*"]
+ pub fn tone(this: &RtcdtmfToneChangeEvent) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "RTCDTMFToneChangeEvent")]
+ #[doc = "The `new RtcdtmfToneChangeEvent(..)` constructor, creating a new instance of `RtcdtmfToneChangeEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFToneChangeEvent/RTCDTMFToneChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfToneChangeEvent`*"]
+ pub fn new(type_: &str) -> Result<RtcdtmfToneChangeEvent, JsValue>;
+ #[cfg(feature = "RtcdtmfToneChangeEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "RTCDTMFToneChangeEvent")]
+ #[doc = "The `new RtcdtmfToneChangeEvent(..)` constructor, creating a new instance of `RtcdtmfToneChangeEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFToneChangeEvent/RTCDTMFToneChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfToneChangeEvent`, `RtcdtmfToneChangeEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &RtcdtmfToneChangeEventInit,
+ ) -> Result<RtcdtmfToneChangeEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEventInit.rs b/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEventInit.rs
new file mode 100644
index 000000000..eb6479aa4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEventInit.rs
@@ -0,0 +1,91 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCDTMFToneChangeEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcdtmfToneChangeEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfToneChangeEventInit`*"]
+ pub type RtcdtmfToneChangeEventInit;
+}
+impl RtcdtmfToneChangeEventInit {
+ #[doc = "Construct a new `RtcdtmfToneChangeEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfToneChangeEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfToneChangeEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfToneChangeEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfToneChangeEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `tone` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcdtmfToneChangeEventInit`*"]
+ pub fn tone(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("tone"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcdtmfToneChangeEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcrtpContributingSourceStats.rs b/vendor/web-sys/src/features/gen_RtcrtpContributingSourceStats.rs
new file mode 100644
index 000000000..46b293ae0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcrtpContributingSourceStats.rs
@@ -0,0 +1,105 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRTPContributingSourceStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcrtpContributingSourceStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpContributingSourceStats`*"]
+ pub type RtcrtpContributingSourceStats;
+}
+impl RtcrtpContributingSourceStats {
+ #[doc = "Construct a new `RtcrtpContributingSourceStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpContributingSourceStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpContributingSourceStats`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpContributingSourceStats`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsType`, `RtcrtpContributingSourceStats`*"]
+ pub fn type_(&mut self, val: RtcStatsType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `contributorSsrc` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpContributingSourceStats`*"]
+ pub fn contributor_ssrc(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("contributorSsrc"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `inboundRtpStreamId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpContributingSourceStats`*"]
+ pub fn inbound_rtp_stream_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("inboundRtpStreamId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcrtpContributingSourceStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_RtcrtpStreamStats.rs b/vendor/web-sys/src/features/gen_RtcrtpStreamStats.rs
new file mode 100644
index 000000000..8982a8eae
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_RtcrtpStreamStats.rs
@@ -0,0 +1,305 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRTPStreamStats)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `RtcrtpStreamStats` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub type RtcrtpStreamStats;
+}
+impl RtcrtpStreamStats {
+ #[doc = "Construct a new `RtcrtpStreamStats`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "RtcStatsType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcStatsType`, `RtcrtpStreamStats`*"]
+ pub fn type_(&mut self, val: RtcStatsType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bitrateMean` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn bitrate_mean(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bitrateMean"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `bitrateStdDev` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn bitrate_std_dev(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bitrateStdDev"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `codecId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn codec_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("codecId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `firCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn fir_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("firCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framerateMean` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn framerate_mean(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framerateMean"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framerateStdDev` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn framerate_std_dev(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framerateStdDev"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `isRemote` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn is_remote(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("isRemote"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mediaTrackId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn media_track_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mediaTrackId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `mediaType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn media_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("mediaType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `nackCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn nack_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("nackCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pliCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn pli_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pliCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `remoteId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn remote_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("remoteId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ssrc` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn ssrc(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("ssrc"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `transportId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RtcrtpStreamStats`*"]
+ pub fn transport_id(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transportId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for RtcrtpStreamStats {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Screen.rs b/vendor/web-sys/src/features/gen_Screen.rs
new file mode 100644
index 000000000..fc2b7a54e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Screen.rs
@@ -0,0 +1,122 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Screen , typescript_type = "Screen")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Screen` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub type Screen;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Screen" , js_name = availWidth)]
+ #[doc = "Getter for the `availWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/availWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub fn avail_width(this: &Screen) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Screen" , js_name = availHeight)]
+ #[doc = "Getter for the `availHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/availHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub fn avail_height(this: &Screen) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Screen" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub fn width(this: &Screen) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Screen" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub fn height(this: &Screen) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Screen" , js_name = colorDepth)]
+ #[doc = "Getter for the `colorDepth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/colorDepth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub fn color_depth(this: &Screen) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Screen" , js_name = pixelDepth)]
+ #[doc = "Getter for the `pixelDepth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/pixelDepth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub fn pixel_depth(this: &Screen) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Screen" , js_name = top)]
+ #[doc = "Getter for the `top` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/top)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub fn top(this: &Screen) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Screen" , js_name = left)]
+ #[doc = "Getter for the `left` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/left)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub fn left(this: &Screen) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Screen" , js_name = availTop)]
+ #[doc = "Getter for the `availTop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/availTop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub fn avail_top(this: &Screen) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Screen" , js_name = availLeft)]
+ #[doc = "Getter for the `availLeft` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/availLeft)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub fn avail_left(this: &Screen) -> Result<i32, JsValue>;
+ #[cfg(feature = "ScreenOrientation")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Screen" , js_name = orientation)]
+ #[doc = "Getter for the `orientation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/orientation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`, `ScreenOrientation`*"]
+ pub fn orientation(this: &Screen) -> ScreenOrientation;
+ #[cfg(feature = "ScreenColorGamut")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Screen" , js_name = colorGamut)]
+ #[doc = "Getter for the `colorGamut` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/colorGamut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`, `ScreenColorGamut`*"]
+ pub fn color_gamut(this: &Screen) -> ScreenColorGamut;
+ #[cfg(feature = "ScreenLuminance")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Screen" , js_name = luminance)]
+ #[doc = "Getter for the `luminance` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/luminance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`, `ScreenLuminance`*"]
+ pub fn luminance(this: &Screen) -> Option<ScreenLuminance>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Screen" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub fn onchange(this: &Screen) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Screen" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`*"]
+ pub fn set_onchange(this: &Screen, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_ScreenColorGamut.rs b/vendor/web-sys/src/features/gen_ScreenColorGamut.rs
new file mode 100644
index 000000000..354af5c6e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScreenColorGamut.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ScreenColorGamut` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ScreenColorGamut`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ScreenColorGamut {
+ Srgb = "srgb",
+ P3 = "p3",
+ Rec2020 = "rec2020",
+}
diff --git a/vendor/web-sys/src/features/gen_ScreenLuminance.rs b/vendor/web-sys/src/features/gen_ScreenLuminance.rs
new file mode 100644
index 000000000..8bdb1ba16
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScreenLuminance.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ScreenLuminance , typescript_type = "ScreenLuminance")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ScreenLuminance` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScreenLuminance`*"]
+ pub type ScreenLuminance;
+ # [wasm_bindgen (structural , method , getter , js_class = "ScreenLuminance" , js_name = min)]
+ #[doc = "Getter for the `min` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance/min)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScreenLuminance`*"]
+ pub fn min(this: &ScreenLuminance) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "ScreenLuminance" , js_name = max)]
+ #[doc = "Getter for the `max` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance/max)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScreenLuminance`*"]
+ pub fn max(this: &ScreenLuminance) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "ScreenLuminance" , js_name = maxAverage)]
+ #[doc = "Getter for the `maxAverage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance/maxAverage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScreenLuminance`*"]
+ pub fn max_average(this: &ScreenLuminance) -> f64;
+}
diff --git a/vendor/web-sys/src/features/gen_ScreenOrientation.rs b/vendor/web-sys/src/features/gen_ScreenOrientation.rs
new file mode 100644
index 000000000..1e26c3b90
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScreenOrientation.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = ScreenOrientation , typescript_type = "ScreenOrientation")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ScreenOrientation` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScreenOrientation`*"]
+ pub type ScreenOrientation;
+ #[cfg(feature = "OrientationType")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "ScreenOrientation" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OrientationType`, `ScreenOrientation`*"]
+ pub fn type_(this: &ScreenOrientation) -> Result<OrientationType, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "ScreenOrientation" , js_name = angle)]
+ #[doc = "Getter for the `angle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/angle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScreenOrientation`*"]
+ pub fn angle(this: &ScreenOrientation) -> Result<u16, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "ScreenOrientation" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScreenOrientation`*"]
+ pub fn onchange(this: &ScreenOrientation) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ScreenOrientation" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScreenOrientation`*"]
+ pub fn set_onchange(this: &ScreenOrientation, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "OrientationLockType")]
+ # [wasm_bindgen (catch , method , structural , js_class = "ScreenOrientation" , js_name = lock)]
+ #[doc = "The `lock()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/lock)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OrientationLockType`, `ScreenOrientation`*"]
+ pub fn lock(
+ this: &ScreenOrientation,
+ orientation: OrientationLockType,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ScreenOrientation" , js_name = unlock)]
+ #[doc = "The `unlock()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/unlock)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScreenOrientation`*"]
+ pub fn unlock(this: &ScreenOrientation) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ScriptProcessorNode.rs b/vendor/web-sys/src/features/gen_ScriptProcessorNode.rs
new file mode 100644
index 000000000..c21322740
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScriptProcessorNode.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = ScriptProcessorNode , typescript_type = "ScriptProcessorNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ScriptProcessorNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScriptProcessorNode`*"]
+ pub type ScriptProcessorNode;
+ # [wasm_bindgen (structural , method , getter , js_class = "ScriptProcessorNode" , js_name = onaudioprocess)]
+ #[doc = "Getter for the `onaudioprocess` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/onaudioprocess)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScriptProcessorNode`*"]
+ pub fn onaudioprocess(this: &ScriptProcessorNode) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ScriptProcessorNode" , js_name = onaudioprocess)]
+ #[doc = "Setter for the `onaudioprocess` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/onaudioprocess)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScriptProcessorNode`*"]
+ pub fn set_onaudioprocess(this: &ScriptProcessorNode, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "ScriptProcessorNode" , js_name = bufferSize)]
+ #[doc = "Getter for the `bufferSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/bufferSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScriptProcessorNode`*"]
+ pub fn buffer_size(this: &ScriptProcessorNode) -> i32;
+}
diff --git a/vendor/web-sys/src/features/gen_ScrollAreaEvent.rs b/vendor/web-sys/src/features/gen_ScrollAreaEvent.rs
new file mode 100644
index 000000000..c4c5103e4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScrollAreaEvent.rs
@@ -0,0 +1,171 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = UiEvent , extends = Event , extends = :: js_sys :: Object , js_name = ScrollAreaEvent , typescript_type = "ScrollAreaEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ScrollAreaEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
+ pub type ScrollAreaEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "ScrollAreaEvent" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
+ pub fn x(this: &ScrollAreaEvent) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "ScrollAreaEvent" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
+ pub fn y(this: &ScrollAreaEvent) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "ScrollAreaEvent" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
+ pub fn width(this: &ScrollAreaEvent) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "ScrollAreaEvent" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
+ pub fn height(this: &ScrollAreaEvent) -> f32;
+ # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
+ #[doc = "The `initScrollAreaEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
+ pub fn init_scroll_area_event(this: &ScrollAreaEvent, type_: &str);
+ # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
+ #[doc = "The `initScrollAreaEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
+ pub fn init_scroll_area_event_with_can_bubble(
+ this: &ScrollAreaEvent,
+ type_: &str,
+ can_bubble: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
+ #[doc = "The `initScrollAreaEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
+ pub fn init_scroll_area_event_with_can_bubble_and_cancelable(
+ this: &ScrollAreaEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
+ #[doc = "The `initScrollAreaEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*"]
+ pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view(
+ this: &ScrollAreaEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
+ #[doc = "The `initScrollAreaEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*"]
+ pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail(
+ this: &ScrollAreaEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
+ #[doc = "The `initScrollAreaEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*"]
+ pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x(
+ this: &ScrollAreaEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ x: f32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
+ #[doc = "The `initScrollAreaEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*"]
+ pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y(
+ this: &ScrollAreaEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ x: f32,
+ y: f32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
+ #[doc = "The `initScrollAreaEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*"]
+ pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width(
+ this: &ScrollAreaEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ x: f32,
+ y: f32,
+ width: f32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
+ #[doc = "The `initScrollAreaEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*"]
+ pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_and_height(
+ this: &ScrollAreaEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ x: f32,
+ y: f32,
+ width: f32,
+ height: f32,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_ScrollBehavior.rs b/vendor/web-sys/src/features/gen_ScrollBehavior.rs
new file mode 100644
index 000000000..9df43cc73
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScrollBehavior.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ScrollBehavior` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ScrollBehavior`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ScrollBehavior {
+ Auto = "auto",
+ Instant = "instant",
+ Smooth = "smooth",
+}
diff --git a/vendor/web-sys/src/features/gen_ScrollBoxObject.rs b/vendor/web-sys/src/features/gen_ScrollBoxObject.rs
new file mode 100644
index 000000000..36749f197
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScrollBoxObject.rs
@@ -0,0 +1,82 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = ScrollBoxObject , typescript_type = "ScrollBoxObject")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ScrollBoxObject` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollBoxObject)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollBoxObject`*"]
+ pub type ScrollBoxObject;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "ScrollBoxObject" , js_name = positionX)]
+ #[doc = "Getter for the `positionX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollBoxObject/positionX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollBoxObject`*"]
+ pub fn position_x(this: &ScrollBoxObject) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "ScrollBoxObject" , js_name = positionY)]
+ #[doc = "Getter for the `positionY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollBoxObject/positionY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollBoxObject`*"]
+ pub fn position_y(this: &ScrollBoxObject) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "ScrollBoxObject" , js_name = scrolledWidth)]
+ #[doc = "Getter for the `scrolledWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollBoxObject/scrolledWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollBoxObject`*"]
+ pub fn scrolled_width(this: &ScrollBoxObject) -> Result<i32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "ScrollBoxObject" , js_name = scrolledHeight)]
+ #[doc = "Getter for the `scrolledHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollBoxObject/scrolledHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollBoxObject`*"]
+ pub fn scrolled_height(this: &ScrollBoxObject) -> Result<i32, JsValue>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (catch , method , structural , js_class = "ScrollBoxObject" , js_name = ensureElementIsVisible)]
+ #[doc = "The `ensureElementIsVisible()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollBoxObject/ensureElementIsVisible)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollBoxObject`*"]
+ pub fn ensure_element_is_visible(
+ this: &ScrollBoxObject,
+ child: &Element,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ScrollBoxObject" , js_name = scrollBy)]
+ #[doc = "The `scrollBy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollBoxObject/scrollBy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollBoxObject`*"]
+ pub fn scroll_by(this: &ScrollBoxObject, dx: i32, dy: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ScrollBoxObject" , js_name = scrollByIndex)]
+ #[doc = "The `scrollByIndex()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollBoxObject/scrollByIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollBoxObject`*"]
+ pub fn scroll_by_index(this: &ScrollBoxObject, dindexes: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ScrollBoxObject" , js_name = scrollTo)]
+ #[doc = "The `scrollTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollBoxObject/scrollTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollBoxObject`*"]
+ pub fn scroll_to(this: &ScrollBoxObject, x: i32, y: i32) -> Result<(), JsValue>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (catch , method , structural , js_class = "ScrollBoxObject" , js_name = scrollToElement)]
+ #[doc = "The `scrollToElement()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollBoxObject/scrollToElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollBoxObject`*"]
+ pub fn scroll_to_element(this: &ScrollBoxObject, child: &Element) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ScrollIntoViewOptions.rs b/vendor/web-sys/src/features/gen_ScrollIntoViewOptions.rs
new file mode 100644
index 000000000..41bbe8794
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScrollIntoViewOptions.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ScrollIntoViewOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ScrollIntoViewOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollIntoViewOptions`*"]
+ pub type ScrollIntoViewOptions;
+}
+impl ScrollIntoViewOptions {
+ #[doc = "Construct a new `ScrollIntoViewOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollIntoViewOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "ScrollBehavior")]
+ #[doc = "Change the `behavior` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollBehavior`, `ScrollIntoViewOptions`*"]
+ pub fn behavior(&mut self, val: ScrollBehavior) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("behavior"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ScrollLogicalPosition")]
+ #[doc = "Change the `block` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollIntoViewOptions`, `ScrollLogicalPosition`*"]
+ pub fn block(&mut self, val: ScrollLogicalPosition) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("block"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ScrollLogicalPosition")]
+ #[doc = "Change the `inline` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollIntoViewOptions`, `ScrollLogicalPosition`*"]
+ pub fn inline(&mut self, val: ScrollLogicalPosition) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("inline"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ScrollIntoViewOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ScrollLogicalPosition.rs b/vendor/web-sys/src/features/gen_ScrollLogicalPosition.rs
new file mode 100644
index 000000000..a3643a4fa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScrollLogicalPosition.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ScrollLogicalPosition` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ScrollLogicalPosition`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ScrollLogicalPosition {
+ Start = "start",
+ Center = "center",
+ End = "end",
+ Nearest = "nearest",
+}
diff --git a/vendor/web-sys/src/features/gen_ScrollOptions.rs b/vendor/web-sys/src/features/gen_ScrollOptions.rs
new file mode 100644
index 000000000..8248151ed
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScrollOptions.rs
@@ -0,0 +1,45 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ScrollOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ScrollOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollOptions`*"]
+ pub type ScrollOptions;
+}
+impl ScrollOptions {
+ #[doc = "Construct a new `ScrollOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "ScrollBehavior")]
+ #[doc = "Change the `behavior` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollBehavior`, `ScrollOptions`*"]
+ pub fn behavior(&mut self, val: ScrollBehavior) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("behavior"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ScrollOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ScrollRestoration.rs b/vendor/web-sys/src/features/gen_ScrollRestoration.rs
new file mode 100644
index 000000000..615878089
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScrollRestoration.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ScrollRestoration` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ScrollRestoration`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ScrollRestoration {
+ Auto = "auto",
+ Manual = "manual",
+}
diff --git a/vendor/web-sys/src/features/gen_ScrollSetting.rs b/vendor/web-sys/src/features/gen_ScrollSetting.rs
new file mode 100644
index 000000000..d4ba6cbf7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScrollSetting.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ScrollSetting` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ScrollSetting`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ScrollSetting {
+ None = "",
+ Up = "up",
+}
diff --git a/vendor/web-sys/src/features/gen_ScrollState.rs b/vendor/web-sys/src/features/gen_ScrollState.rs
new file mode 100644
index 000000000..2af8c7aa4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScrollState.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ScrollState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ScrollState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ScrollState {
+ Started = "started",
+ Stopped = "stopped",
+}
diff --git a/vendor/web-sys/src/features/gen_ScrollToOptions.rs b/vendor/web-sys/src/features/gen_ScrollToOptions.rs
new file mode 100644
index 000000000..3458f6d5c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScrollToOptions.rs
@@ -0,0 +1,71 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ScrollToOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ScrollToOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`*"]
+ pub type ScrollToOptions;
+}
+impl ScrollToOptions {
+ #[doc = "Construct a new `ScrollToOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "ScrollBehavior")]
+ #[doc = "Change the `behavior` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollBehavior`, `ScrollToOptions`*"]
+ pub fn behavior(&mut self, val: ScrollBehavior) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("behavior"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `left` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`*"]
+ pub fn left(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("left"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `top` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`*"]
+ pub fn top(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("top"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ScrollToOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ScrollViewChangeEventInit.rs b/vendor/web-sys/src/features/gen_ScrollViewChangeEventInit.rs
new file mode 100644
index 000000000..8ea656b57
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ScrollViewChangeEventInit.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ScrollViewChangeEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ScrollViewChangeEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollViewChangeEventInit`*"]
+ pub type ScrollViewChangeEventInit;
+}
+impl ScrollViewChangeEventInit {
+ #[doc = "Construct a new `ScrollViewChangeEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollViewChangeEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollViewChangeEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollViewChangeEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollViewChangeEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ScrollState")]
+ #[doc = "Change the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollState`, `ScrollViewChangeEventInit`*"]
+ pub fn state(&mut self, val: ScrollState) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("state"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ScrollViewChangeEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SecurityPolicyViolationEvent.rs b/vendor/web-sys/src/features/gen_SecurityPolicyViolationEvent.rs
new file mode 100644
index 000000000..65b354d56
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SecurityPolicyViolationEvent.rs
@@ -0,0 +1,119 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = SecurityPolicyViolationEvent , typescript_type = "SecurityPolicyViolationEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SecurityPolicyViolationEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub type SecurityPolicyViolationEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = documentURI)]
+ #[doc = "Getter for the `documentURI` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/documentURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub fn document_uri(this: &SecurityPolicyViolationEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = referrer)]
+ #[doc = "Getter for the `referrer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/referrer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub fn referrer(this: &SecurityPolicyViolationEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = blockedURI)]
+ #[doc = "Getter for the `blockedURI` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/blockedURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub fn blocked_uri(this: &SecurityPolicyViolationEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = violatedDirective)]
+ #[doc = "Getter for the `violatedDirective` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/violatedDirective)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub fn violated_directive(this: &SecurityPolicyViolationEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = effectiveDirective)]
+ #[doc = "Getter for the `effectiveDirective` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/effectiveDirective)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub fn effective_directive(this: &SecurityPolicyViolationEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = originalPolicy)]
+ #[doc = "Getter for the `originalPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/originalPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub fn original_policy(this: &SecurityPolicyViolationEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = sourceFile)]
+ #[doc = "Getter for the `sourceFile` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/sourceFile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub fn source_file(this: &SecurityPolicyViolationEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = sample)]
+ #[doc = "Getter for the `sample` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/sample)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub fn sample(this: &SecurityPolicyViolationEvent) -> String;
+ #[cfg(feature = "SecurityPolicyViolationEventDisposition")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = disposition)]
+ #[doc = "Getter for the `disposition` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/disposition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`, `SecurityPolicyViolationEventDisposition`*"]
+ pub fn disposition(
+ this: &SecurityPolicyViolationEvent,
+ ) -> SecurityPolicyViolationEventDisposition;
+ # [wasm_bindgen (structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = statusCode)]
+ #[doc = "Getter for the `statusCode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/statusCode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub fn status_code(this: &SecurityPolicyViolationEvent) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = lineNumber)]
+ #[doc = "Getter for the `lineNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/lineNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub fn line_number(this: &SecurityPolicyViolationEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = columnNumber)]
+ #[doc = "Getter for the `columnNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub fn column_number(this: &SecurityPolicyViolationEvent) -> i32;
+ #[wasm_bindgen(catch, constructor, js_class = "SecurityPolicyViolationEvent")]
+ #[doc = "The `new SecurityPolicyViolationEvent(..)` constructor, creating a new instance of `SecurityPolicyViolationEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/SecurityPolicyViolationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*"]
+ pub fn new(type_: &str) -> Result<SecurityPolicyViolationEvent, JsValue>;
+ #[cfg(feature = "SecurityPolicyViolationEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "SecurityPolicyViolationEvent")]
+ #[doc = "The `new SecurityPolicyViolationEvent(..)` constructor, creating a new instance of `SecurityPolicyViolationEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/SecurityPolicyViolationEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`, `SecurityPolicyViolationEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &SecurityPolicyViolationEventInit,
+ ) -> Result<SecurityPolicyViolationEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventDisposition.rs b/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventDisposition.rs
new file mode 100644
index 000000000..749e43da5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventDisposition.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `SecurityPolicyViolationEventDisposition` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventDisposition`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum SecurityPolicyViolationEventDisposition {
+ Enforce = "enforce",
+ Report = "report",
+}
diff --git a/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventInit.rs b/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventInit.rs
new file mode 100644
index 000000000..8170d05ed
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventInit.rs
@@ -0,0 +1,280 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SecurityPolicyViolationEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SecurityPolicyViolationEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub type SecurityPolicyViolationEventInit;
+}
+impl SecurityPolicyViolationEventInit {
+ #[doc = "Construct a new `SecurityPolicyViolationEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `blockedURI` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn blocked_uri(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("blockedURI"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `columnNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn column_number(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("columnNumber"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "SecurityPolicyViolationEventDisposition")]
+ #[doc = "Change the `disposition` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventDisposition`, `SecurityPolicyViolationEventInit`*"]
+ pub fn disposition(&mut self, val: SecurityPolicyViolationEventDisposition) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("disposition"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `documentURI` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn document_uri(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("documentURI"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `effectiveDirective` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn effective_directive(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("effectiveDirective"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `lineNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn line_number(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lineNumber"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `originalPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn original_policy(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("originalPolicy"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `referrer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn referrer(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("referrer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sample` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn sample(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("sample"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sourceFile` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn source_file(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sourceFile"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `statusCode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn status_code(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("statusCode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `violatedDirective` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SecurityPolicyViolationEventInit`*"]
+ pub fn violated_directive(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("violatedDirective"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for SecurityPolicyViolationEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Selection.rs b/vendor/web-sys/src/features/gen_Selection.rs
new file mode 100644
index 000000000..d4636464b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Selection.rs
@@ -0,0 +1,248 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Selection , typescript_type = "Selection")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Selection` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub type Selection;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Selection" , js_name = anchorNode)]
+ #[doc = "Getter for the `anchorNode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/anchorNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"]
+ pub fn anchor_node(this: &Selection) -> Option<Node>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Selection" , js_name = anchorOffset)]
+ #[doc = "Getter for the `anchorOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/anchorOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn anchor_offset(this: &Selection) -> u32;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Selection" , js_name = focusNode)]
+ #[doc = "Getter for the `focusNode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/focusNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"]
+ pub fn focus_node(this: &Selection) -> Option<Node>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Selection" , js_name = focusOffset)]
+ #[doc = "Getter for the `focusOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/focusOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn focus_offset(this: &Selection) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Selection" , js_name = isCollapsed)]
+ #[doc = "Getter for the `isCollapsed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/isCollapsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn is_collapsed(this: &Selection) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "Selection" , js_name = rangeCount)]
+ #[doc = "Getter for the `rangeCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/rangeCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn range_count(this: &Selection) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Selection" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn type_(this: &Selection) -> String;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Selection" , js_name = caretBidiLevel)]
+ #[doc = "Getter for the `caretBidiLevel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/caretBidiLevel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn caret_bidi_level(this: &Selection) -> Result<Option<i16>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Selection" , js_name = caretBidiLevel)]
+ #[doc = "Setter for the `caretBidiLevel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/caretBidiLevel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn set_caret_bidi_level(this: &Selection, value: Option<i16>) -> Result<(), JsValue>;
+ #[cfg(feature = "Range")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = addRange)]
+ #[doc = "The `addRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/addRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`, `Selection`*"]
+ pub fn add_range(this: &Selection, range: &Range) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = collapse)]
+ #[doc = "The `collapse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"]
+ pub fn collapse(this: &Selection, node: Option<&Node>) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = collapse)]
+ #[doc = "The `collapse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"]
+ pub fn collapse_with_offset(
+ this: &Selection,
+ node: Option<&Node>,
+ offset: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = collapseToEnd)]
+ #[doc = "The `collapseToEnd()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapseToEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn collapse_to_end(this: &Selection) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = collapseToStart)]
+ #[doc = "The `collapseToStart()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapseToStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn collapse_to_start(this: &Selection) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = containsNode)]
+ #[doc = "The `containsNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/containsNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"]
+ pub fn contains_node(this: &Selection, node: &Node) -> Result<bool, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = containsNode)]
+ #[doc = "The `containsNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/containsNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"]
+ pub fn contains_node_with_allow_partial_containment(
+ this: &Selection,
+ node: &Node,
+ allow_partial_containment: bool,
+ ) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = deleteFromDocument)]
+ #[doc = "The `deleteFromDocument()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/deleteFromDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn delete_from_document(this: &Selection) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = empty)]
+ #[doc = "The `empty()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/empty)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn empty(this: &Selection) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = extend)]
+ #[doc = "The `extend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/extend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"]
+ pub fn extend(this: &Selection, node: &Node) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = extend)]
+ #[doc = "The `extend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/extend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"]
+ pub fn extend_with_offset(this: &Selection, node: &Node, offset: u32) -> Result<(), JsValue>;
+ #[cfg(feature = "Range")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = getRangeAt)]
+ #[doc = "The `getRangeAt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/getRangeAt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`, `Selection`*"]
+ pub fn get_range_at(this: &Selection, index: u32) -> Result<Range, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = modify)]
+ #[doc = "The `modify()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/modify)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn modify(
+ this: &Selection,
+ alter: &str,
+ direction: &str,
+ granularity: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = removeAllRanges)]
+ #[doc = "The `removeAllRanges()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/removeAllRanges)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`*"]
+ pub fn remove_all_ranges(this: &Selection) -> Result<(), JsValue>;
+ #[cfg(feature = "Range")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = removeRange)]
+ #[doc = "The `removeRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/removeRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Range`, `Selection`*"]
+ pub fn remove_range(this: &Selection, range: &Range) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = selectAllChildren)]
+ #[doc = "The `selectAllChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/selectAllChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"]
+ pub fn select_all_children(this: &Selection, node: &Node) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = setBaseAndExtent)]
+ #[doc = "The `setBaseAndExtent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/setBaseAndExtent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"]
+ pub fn set_base_and_extent(
+ this: &Selection,
+ anchor_node: &Node,
+ anchor_offset: u32,
+ focus_node: &Node,
+ focus_offset: u32,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = setPosition)]
+ #[doc = "The `setPosition()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/setPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"]
+ pub fn set_position(this: &Selection, node: Option<&Node>) -> Result<(), JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Selection" , js_name = setPosition)]
+ #[doc = "The `setPosition()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/setPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"]
+ pub fn set_position_with_offset(
+ this: &Selection,
+ node: Option<&Node>,
+ offset: u32,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_Serial.rs b/vendor/web-sys/src/features/gen_Serial.rs
new file mode 100644
index 000000000..f6a0bf895
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Serial.rs
@@ -0,0 +1,99 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Serial , typescript_type = "Serial")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Serial` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Serial)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Serial`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type Serial;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "Serial" , js_name = onconnect)]
+ #[doc = "Getter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Serial/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Serial`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onconnect(this: &Serial) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "Serial" , js_name = onconnect)]
+ #[doc = "Setter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Serial/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Serial`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onconnect(this: &Serial, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "Serial" , js_name = ondisconnect)]
+ #[doc = "Getter for the `ondisconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Serial/ondisconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Serial`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn ondisconnect(this: &Serial) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "Serial" , js_name = ondisconnect)]
+ #[doc = "Setter for the `ondisconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Serial/ondisconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Serial`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_ondisconnect(this: &Serial, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "Serial" , js_name = getPorts)]
+ #[doc = "The `getPorts()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Serial/getPorts)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Serial`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_ports(this: &Serial) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "Serial" , js_name = requestPort)]
+ #[doc = "The `requestPort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Serial/requestPort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Serial`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_port(this: &Serial) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "SerialPortRequestOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Serial" , js_name = requestPort)]
+ #[doc = "The `requestPort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Serial/requestPort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Serial`, `SerialPortRequestOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_port_with_options(
+ this: &Serial,
+ options: &SerialPortRequestOptions,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_SerialInputSignals.rs b/vendor/web-sys/src/features/gen_SerialInputSignals.rs
new file mode 100644
index 000000000..59b453b2a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SerialInputSignals.rs
@@ -0,0 +1,123 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SerialInputSignals)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SerialInputSignals` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialInputSignals`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type SerialInputSignals;
+}
+#[cfg(web_sys_unstable_apis)]
+impl SerialInputSignals {
+ #[doc = "Construct a new `SerialInputSignals`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialInputSignals`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ clear_to_send: bool,
+ data_carrier_detect: bool,
+ data_set_ready: bool,
+ ring_indicator: bool,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.clear_to_send(clear_to_send);
+ ret.data_carrier_detect(data_carrier_detect);
+ ret.data_set_ready(data_set_ready);
+ ret.ring_indicator(ring_indicator);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `clearToSend` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialInputSignals`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clear_to_send(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clearToSend"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `dataCarrierDetect` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialInputSignals`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data_carrier_detect(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dataCarrierDetect"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `dataSetReady` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialInputSignals`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data_set_ready(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dataSetReady"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `ringIndicator` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialInputSignals`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn ring_indicator(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ringIndicator"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SerialOptions.rs b/vendor/web-sys/src/features/gen_SerialOptions.rs
new file mode 100644
index 000000000..a432f9728
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SerialOptions.rs
@@ -0,0 +1,156 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SerialOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SerialOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type SerialOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl SerialOptions {
+ #[doc = "Construct a new `SerialOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(baud_rate: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.baud_rate(baud_rate);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `baudRate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn baud_rate(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("baudRate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bufferSize` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn buffer_size(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bufferSize"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `dataBits` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data_bits(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dataBits"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "FlowControlType")]
+ #[doc = "Change the `flowControl` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FlowControlType`, `SerialOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn flow_control(&mut self, val: FlowControlType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("flowControl"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ParityType")]
+ #[doc = "Change the `parity` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ParityType`, `SerialOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn parity(&mut self, val: ParityType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("parity"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `stopBits` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stop_bits(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stopBits"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SerialOutputSignals.rs b/vendor/web-sys/src/features/gen_SerialOutputSignals.rs
new file mode 100644
index 000000000..7b0d98dc4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SerialOutputSignals.rs
@@ -0,0 +1,95 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SerialOutputSignals)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SerialOutputSignals` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOutputSignals`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type SerialOutputSignals;
+}
+#[cfg(web_sys_unstable_apis)]
+impl SerialOutputSignals {
+ #[doc = "Construct a new `SerialOutputSignals`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOutputSignals`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `break` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOutputSignals`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn break_(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("break"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `dataTerminalReady` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOutputSignals`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data_terminal_ready(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("dataTerminalReady"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `requestToSend` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOutputSignals`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_to_send(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("requestToSend"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for SerialOutputSignals {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SerialPort.rs b/vendor/web-sys/src/features/gen_SerialPort.rs
new file mode 100644
index 000000000..c80abca9e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SerialPort.rs
@@ -0,0 +1,169 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SerialPort , typescript_type = "SerialPort")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SerialPort` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPort`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type SerialPort;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "SerialPort" , js_name = onconnect)]
+ #[doc = "Getter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPort`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onconnect(this: &SerialPort) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "SerialPort" , js_name = onconnect)]
+ #[doc = "Setter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPort`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onconnect(this: &SerialPort, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "SerialPort" , js_name = ondisconnect)]
+ #[doc = "Getter for the `ondisconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/ondisconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPort`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn ondisconnect(this: &SerialPort) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "SerialPort" , js_name = ondisconnect)]
+ #[doc = "Setter for the `ondisconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/ondisconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPort`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_ondisconnect(this: &SerialPort, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ReadableStream")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SerialPort" , js_name = readable)]
+ #[doc = "Getter for the `readable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/readable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `SerialPort`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn readable(this: &SerialPort) -> ReadableStream;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "WritableStream")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SerialPort" , js_name = writable)]
+ #[doc = "Getter for the `writable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/writable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPort`, `WritableStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn writable(this: &SerialPort) -> WritableStream;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "SerialPort" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPort`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn close(this: &SerialPort) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "SerialPort" , js_name = forget)]
+ #[doc = "The `forget()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/forget)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPort`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn forget(this: &SerialPort) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "SerialPortInfo")]
+ # [wasm_bindgen (method , structural , js_class = "SerialPort" , js_name = getInfo)]
+ #[doc = "The `getInfo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/getInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPort`, `SerialPortInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_info(this: &SerialPort) -> SerialPortInfo;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "SerialPort" , js_name = getSignals)]
+ #[doc = "The `getSignals()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/getSignals)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPort`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_signals(this: &SerialPort) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "SerialOptions")]
+ # [wasm_bindgen (method , structural , js_class = "SerialPort" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOptions`, `SerialPort`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn open(this: &SerialPort, options: &SerialOptions) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "SerialPort" , js_name = setSignals)]
+ #[doc = "The `setSignals()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/setSignals)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPort`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_signals(this: &SerialPort) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "SerialOutputSignals")]
+ # [wasm_bindgen (method , structural , js_class = "SerialPort" , js_name = setSignals)]
+ #[doc = "The `setSignals()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/setSignals)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialOutputSignals`, `SerialPort`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_signals_with_signals(
+ this: &SerialPort,
+ signals: &SerialOutputSignals,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_SerialPortFilter.rs b/vendor/web-sys/src/features/gen_SerialPortFilter.rs
new file mode 100644
index 000000000..aea94bb29
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SerialPortFilter.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SerialPortFilter)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SerialPortFilter` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPortFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type SerialPortFilter;
+}
+#[cfg(web_sys_unstable_apis)]
+impl SerialPortFilter {
+ #[doc = "Construct a new `SerialPortFilter`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPortFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usbProductId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPortFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usb_product_id(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("usbProductId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usbVendorId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPortFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usb_vendor_id(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("usbVendorId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for SerialPortFilter {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SerialPortInfo.rs b/vendor/web-sys/src/features/gen_SerialPortInfo.rs
new file mode 100644
index 000000000..fda2717fb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SerialPortInfo.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SerialPortInfo)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SerialPortInfo` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPortInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type SerialPortInfo;
+}
+#[cfg(web_sys_unstable_apis)]
+impl SerialPortInfo {
+ #[doc = "Construct a new `SerialPortInfo`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPortInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usbProductId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPortInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usb_product_id(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("usbProductId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `usbVendorId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPortInfo`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usb_vendor_id(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("usbVendorId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for SerialPortInfo {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SerialPortRequestOptions.rs b/vendor/web-sys/src/features/gen_SerialPortRequestOptions.rs
new file mode 100644
index 000000000..fa992828c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SerialPortRequestOptions.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SerialPortRequestOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SerialPortRequestOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPortRequestOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type SerialPortRequestOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl SerialPortRequestOptions {
+ #[doc = "Construct a new `SerialPortRequestOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPortRequestOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `filters` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SerialPortRequestOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn filters(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("filters"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for SerialPortRequestOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ServerSocketOptions.rs b/vendor/web-sys/src/features/gen_ServerSocketOptions.rs
new file mode 100644
index 000000000..c347b90a0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ServerSocketOptions.rs
@@ -0,0 +1,45 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ServerSocketOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ServerSocketOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServerSocketOptions`*"]
+ pub type ServerSocketOptions;
+}
+impl ServerSocketOptions {
+ #[doc = "Construct a new `ServerSocketOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServerSocketOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "TcpSocketBinaryType")]
+ #[doc = "Change the `binaryType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServerSocketOptions`, `TcpSocketBinaryType`*"]
+ pub fn binary_type(&mut self, val: TcpSocketBinaryType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("binaryType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for ServerSocketOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ServiceWorker.rs b/vendor/web-sys/src/features/gen_ServiceWorker.rs
new file mode 100644
index 000000000..7e006d764
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ServiceWorker.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = ServiceWorker , typescript_type = "ServiceWorker")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ServiceWorker` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`*"]
+ pub type ServiceWorker;
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorker" , js_name = scriptURL)]
+ #[doc = "Getter for the `scriptURL` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/scriptURL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`*"]
+ pub fn script_url(this: &ServiceWorker) -> String;
+ #[cfg(feature = "ServiceWorkerState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorker" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerState`*"]
+ pub fn state(this: &ServiceWorker) -> ServiceWorkerState;
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorker" , js_name = onstatechange)]
+ #[doc = "Getter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`*"]
+ pub fn onstatechange(this: &ServiceWorker) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorker" , js_name = onstatechange)]
+ #[doc = "Setter for the `onstatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/onstatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`*"]
+ pub fn set_onstatechange(this: &ServiceWorker, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorker" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`*"]
+ pub fn onerror(this: &ServiceWorker) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorker" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`*"]
+ pub fn set_onerror(this: &ServiceWorker, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "ServiceWorker" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`*"]
+ pub fn post_message(
+ this: &ServiceWorker,
+ message: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ServiceWorker" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`*"]
+ pub fn post_message_with_transferable(
+ this: &ServiceWorker,
+ message: &::wasm_bindgen::JsValue,
+ transferable: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ServiceWorkerContainer.rs b/vendor/web-sys/src/features/gen_ServiceWorkerContainer.rs
new file mode 100644
index 000000000..d2be819c5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ServiceWorkerContainer.rs
@@ -0,0 +1,124 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = ServiceWorkerContainer , typescript_type = "ServiceWorkerContainer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ServiceWorkerContainer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub type ServiceWorkerContainer;
+ #[cfg(feature = "ServiceWorker")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerContainer" , js_name = controller)]
+ #[doc = "Getter for the `controller` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/controller)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerContainer`*"]
+ pub fn controller(this: &ServiceWorkerContainer) -> Option<ServiceWorker>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "ServiceWorkerContainer" , js_name = ready)]
+ #[doc = "Getter for the `ready` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/ready)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub fn ready(this: &ServiceWorkerContainer) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerContainer" , js_name = oncontrollerchange)]
+ #[doc = "Getter for the `oncontrollerchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/oncontrollerchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub fn oncontrollerchange(this: &ServiceWorkerContainer) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorkerContainer" , js_name = oncontrollerchange)]
+ #[doc = "Setter for the `oncontrollerchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/oncontrollerchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub fn set_oncontrollerchange(
+ this: &ServiceWorkerContainer,
+ value: Option<&::js_sys::Function>,
+ );
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerContainer" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub fn onerror(this: &ServiceWorkerContainer) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorkerContainer" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub fn set_onerror(this: &ServiceWorkerContainer, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerContainer" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub fn onmessage(this: &ServiceWorkerContainer) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorkerContainer" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub fn set_onmessage(this: &ServiceWorkerContainer, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (method , structural , js_class = "ServiceWorkerContainer" , js_name = getRegistration)]
+ #[doc = "The `getRegistration()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getRegistration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub fn get_registration(this: &ServiceWorkerContainer) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "ServiceWorkerContainer" , js_name = getRegistration)]
+ #[doc = "The `getRegistration()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getRegistration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub fn get_registration_with_document_url(
+ this: &ServiceWorkerContainer,
+ document_url: &str,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "ServiceWorkerContainer" , js_name = getRegistrations)]
+ #[doc = "The `getRegistrations()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getRegistrations)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub fn get_registrations(this: &ServiceWorkerContainer) -> ::js_sys::Promise;
+ # [wasm_bindgen (catch , method , structural , js_class = "ServiceWorkerContainer" , js_name = getScopeForUrl)]
+ #[doc = "The `getScopeForUrl()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getScopeForUrl)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub fn get_scope_for_url(this: &ServiceWorkerContainer, url: &str) -> Result<String, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "ServiceWorkerContainer" , js_name = register)]
+ #[doc = "The `register()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/register)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerContainer`*"]
+ pub fn register(this: &ServiceWorkerContainer, script_url: &str) -> ::js_sys::Promise;
+ #[cfg(feature = "RegistrationOptions")]
+ # [wasm_bindgen (method , structural , js_class = "ServiceWorkerContainer" , js_name = register)]
+ #[doc = "The `register()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/register)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RegistrationOptions`, `ServiceWorkerContainer`*"]
+ pub fn register_with_options(
+ this: &ServiceWorkerContainer,
+ script_url: &str,
+ options: &RegistrationOptions,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_ServiceWorkerGlobalScope.rs b/vendor/web-sys/src/features/gen_ServiceWorkerGlobalScope.rs
new file mode 100644
index 000000000..e25ebbc44
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ServiceWorkerGlobalScope.rs
@@ -0,0 +1,158 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = WorkerGlobalScope , extends = EventTarget , extends = :: js_sys :: Object , js_name = ServiceWorkerGlobalScope , typescript_type = "ServiceWorkerGlobalScope")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ServiceWorkerGlobalScope` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub type ServiceWorkerGlobalScope;
+ #[cfg(feature = "Clients")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerGlobalScope" , js_name = clients)]
+ #[doc = "Getter for the `clients` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/clients)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Clients`, `ServiceWorkerGlobalScope`*"]
+ pub fn clients(this: &ServiceWorkerGlobalScope) -> Clients;
+ #[cfg(feature = "ServiceWorkerRegistration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerGlobalScope" , js_name = registration)]
+ #[doc = "Getter for the `registration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/registration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`, `ServiceWorkerRegistration`*"]
+ pub fn registration(this: &ServiceWorkerGlobalScope) -> ServiceWorkerRegistration;
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerGlobalScope" , js_name = oninstall)]
+ #[doc = "Getter for the `oninstall` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/oninstall)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn oninstall(this: &ServiceWorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorkerGlobalScope" , js_name = oninstall)]
+ #[doc = "Setter for the `oninstall` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/oninstall)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn set_oninstall(this: &ServiceWorkerGlobalScope, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerGlobalScope" , js_name = onactivate)]
+ #[doc = "Getter for the `onactivate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onactivate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn onactivate(this: &ServiceWorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorkerGlobalScope" , js_name = onactivate)]
+ #[doc = "Setter for the `onactivate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onactivate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn set_onactivate(this: &ServiceWorkerGlobalScope, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerGlobalScope" , js_name = onfetch)]
+ #[doc = "Getter for the `onfetch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onfetch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn onfetch(this: &ServiceWorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorkerGlobalScope" , js_name = onfetch)]
+ #[doc = "Setter for the `onfetch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onfetch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn set_onfetch(this: &ServiceWorkerGlobalScope, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerGlobalScope" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn onmessage(this: &ServiceWorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorkerGlobalScope" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn set_onmessage(this: &ServiceWorkerGlobalScope, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerGlobalScope" , js_name = onpush)]
+ #[doc = "Getter for the `onpush` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onpush)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn onpush(this: &ServiceWorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorkerGlobalScope" , js_name = onpush)]
+ #[doc = "Setter for the `onpush` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onpush)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn set_onpush(this: &ServiceWorkerGlobalScope, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerGlobalScope" , js_name = onpushsubscriptionchange)]
+ #[doc = "Getter for the `onpushsubscriptionchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onpushsubscriptionchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn onpushsubscriptionchange(this: &ServiceWorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorkerGlobalScope" , js_name = onpushsubscriptionchange)]
+ #[doc = "Setter for the `onpushsubscriptionchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onpushsubscriptionchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn set_onpushsubscriptionchange(
+ this: &ServiceWorkerGlobalScope,
+ value: Option<&::js_sys::Function>,
+ );
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerGlobalScope" , js_name = onnotificationclick)]
+ #[doc = "Getter for the `onnotificationclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn onnotificationclick(this: &ServiceWorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorkerGlobalScope" , js_name = onnotificationclick)]
+ #[doc = "Setter for the `onnotificationclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn set_onnotificationclick(
+ this: &ServiceWorkerGlobalScope,
+ value: Option<&::js_sys::Function>,
+ );
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerGlobalScope" , js_name = onnotificationclose)]
+ #[doc = "Getter for the `onnotificationclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn onnotificationclose(this: &ServiceWorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorkerGlobalScope" , js_name = onnotificationclose)]
+ #[doc = "Setter for the `onnotificationclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn set_onnotificationclose(
+ this: &ServiceWorkerGlobalScope,
+ value: Option<&::js_sys::Function>,
+ );
+ # [wasm_bindgen (catch , method , structural , js_class = "ServiceWorkerGlobalScope" , js_name = skipWaiting)]
+ #[doc = "The `skipWaiting()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/skipWaiting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*"]
+ pub fn skip_waiting(this: &ServiceWorkerGlobalScope) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ServiceWorkerRegistration.rs b/vendor/web-sys/src/features/gen_ServiceWorkerRegistration.rs
new file mode 100644
index 000000000..06155365c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ServiceWorkerRegistration.rs
@@ -0,0 +1,133 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = ServiceWorkerRegistration , typescript_type = "ServiceWorkerRegistration")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ServiceWorkerRegistration` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*"]
+ pub type ServiceWorkerRegistration;
+ #[cfg(feature = "ServiceWorker")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerRegistration" , js_name = installing)]
+ #[doc = "Getter for the `installing` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/installing)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerRegistration`*"]
+ pub fn installing(this: &ServiceWorkerRegistration) -> Option<ServiceWorker>;
+ #[cfg(feature = "ServiceWorker")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerRegistration" , js_name = waiting)]
+ #[doc = "Getter for the `waiting` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/waiting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerRegistration`*"]
+ pub fn waiting(this: &ServiceWorkerRegistration) -> Option<ServiceWorker>;
+ #[cfg(feature = "ServiceWorker")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerRegistration" , js_name = active)]
+ #[doc = "Getter for the `active` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/active)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerRegistration`*"]
+ pub fn active(this: &ServiceWorkerRegistration) -> Option<ServiceWorker>;
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerRegistration" , js_name = scope)]
+ #[doc = "Getter for the `scope` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/scope)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*"]
+ pub fn scope(this: &ServiceWorkerRegistration) -> String;
+ #[cfg(feature = "ServiceWorkerUpdateViaCache")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "ServiceWorkerRegistration" , js_name = updateViaCache)]
+ #[doc = "Getter for the `updateViaCache` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/updateViaCache)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerRegistration`, `ServiceWorkerUpdateViaCache`*"]
+ pub fn update_via_cache(
+ this: &ServiceWorkerRegistration,
+ ) -> Result<ServiceWorkerUpdateViaCache, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "ServiceWorkerRegistration" , js_name = onupdatefound)]
+ #[doc = "Getter for the `onupdatefound` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/onupdatefound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*"]
+ pub fn onupdatefound(this: &ServiceWorkerRegistration) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "ServiceWorkerRegistration" , js_name = onupdatefound)]
+ #[doc = "Setter for the `onupdatefound` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/onupdatefound)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*"]
+ pub fn set_onupdatefound(this: &ServiceWorkerRegistration, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "PushManager")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "ServiceWorkerRegistration" , js_name = pushManager)]
+ #[doc = "Getter for the `pushManager` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/pushManager)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PushManager`, `ServiceWorkerRegistration`*"]
+ pub fn push_manager(this: &ServiceWorkerRegistration) -> Result<PushManager, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ServiceWorkerRegistration" , js_name = getNotifications)]
+ #[doc = "The `getNotifications()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/getNotifications)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*"]
+ pub fn get_notifications(
+ this: &ServiceWorkerRegistration,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "GetNotificationOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "ServiceWorkerRegistration" , js_name = getNotifications)]
+ #[doc = "The `getNotifications()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/getNotifications)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `GetNotificationOptions`, `ServiceWorkerRegistration`*"]
+ pub fn get_notifications_with_filter(
+ this: &ServiceWorkerRegistration,
+ filter: &GetNotificationOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ServiceWorkerRegistration" , js_name = showNotification)]
+ #[doc = "The `showNotification()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*"]
+ pub fn show_notification(
+ this: &ServiceWorkerRegistration,
+ title: &str,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "NotificationOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "ServiceWorkerRegistration" , js_name = showNotification)]
+ #[doc = "The `showNotification()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NotificationOptions`, `ServiceWorkerRegistration`*"]
+ pub fn show_notification_with_options(
+ this: &ServiceWorkerRegistration,
+ title: &str,
+ options: &NotificationOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ServiceWorkerRegistration" , js_name = unregister)]
+ #[doc = "The `unregister()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/unregister)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*"]
+ pub fn unregister(this: &ServiceWorkerRegistration) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "ServiceWorkerRegistration" , js_name = update)]
+ #[doc = "The `update()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/update)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*"]
+ pub fn update(this: &ServiceWorkerRegistration) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ServiceWorkerState.rs b/vendor/web-sys/src/features/gen_ServiceWorkerState.rs
new file mode 100644
index 000000000..4dfcc6156
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ServiceWorkerState.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ServiceWorkerState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ServiceWorkerState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ServiceWorkerState {
+ Parsed = "parsed",
+ Installing = "installing",
+ Installed = "installed",
+ Activating = "activating",
+ Activated = "activated",
+ Redundant = "redundant",
+}
diff --git a/vendor/web-sys/src/features/gen_ServiceWorkerUpdateViaCache.rs b/vendor/web-sys/src/features/gen_ServiceWorkerUpdateViaCache.rs
new file mode 100644
index 000000000..72de930ae
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ServiceWorkerUpdateViaCache.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ServiceWorkerUpdateViaCache` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ServiceWorkerUpdateViaCache`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ServiceWorkerUpdateViaCache {
+ Imports = "imports",
+ All = "all",
+ None = "none",
+}
diff --git a/vendor/web-sys/src/features/gen_ShadowRoot.rs b/vendor/web-sys/src/features/gen_ShadowRoot.rs
new file mode 100644
index 000000000..a0186ea2e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ShadowRoot.rs
@@ -0,0 +1,127 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = DocumentFragment , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = ShadowRoot , typescript_type = "ShadowRoot")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ShadowRoot` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShadowRoot`*"]
+ pub type ShadowRoot;
+ #[cfg(feature = "ShadowRootMode")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ShadowRoot" , js_name = mode)]
+ #[doc = "Getter for the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/mode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShadowRoot`, `ShadowRootMode`*"]
+ pub fn mode(this: &ShadowRoot) -> ShadowRootMode;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ShadowRoot" , js_name = host)]
+ #[doc = "Getter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*"]
+ pub fn host(this: &ShadowRoot) -> Element;
+ # [wasm_bindgen (structural , method , getter , js_class = "ShadowRoot" , js_name = innerHTML)]
+ #[doc = "Getter for the `innerHTML` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/innerHTML)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShadowRoot`*"]
+ pub fn inner_html(this: &ShadowRoot) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "ShadowRoot" , js_name = innerHTML)]
+ #[doc = "Setter for the `innerHTML` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/innerHTML)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShadowRoot`*"]
+ pub fn set_inner_html(this: &ShadowRoot, value: &str);
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ShadowRoot" , js_name = activeElement)]
+ #[doc = "Getter for the `activeElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/activeElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*"]
+ pub fn active_element(this: &ShadowRoot) -> Option<Element>;
+ #[cfg(feature = "StyleSheetList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ShadowRoot" , js_name = styleSheets)]
+ #[doc = "Getter for the `styleSheets` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/styleSheets)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShadowRoot`, `StyleSheetList`*"]
+ pub fn style_sheets(this: &ShadowRoot) -> StyleSheetList;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ShadowRoot" , js_name = pointerLockElement)]
+ #[doc = "Getter for the `pointerLockElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/pointerLockElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*"]
+ pub fn pointer_lock_element(this: &ShadowRoot) -> Option<Element>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "ShadowRoot" , js_name = fullscreenElement)]
+ #[doc = "Getter for the `fullscreenElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/fullscreenElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*"]
+ pub fn fullscreen_element(this: &ShadowRoot) -> Option<Element>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "ShadowRoot" , js_name = getElementById)]
+ #[doc = "The `getElementById()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/getElementById)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*"]
+ pub fn get_element_by_id(this: &ShadowRoot, element_id: &str) -> Option<Element>;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (method , structural , js_class = "ShadowRoot" , js_name = getElementsByClassName)]
+ #[doc = "The `getElementsByClassName()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/getElementsByClassName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `ShadowRoot`*"]
+ pub fn get_elements_by_class_name(this: &ShadowRoot, class_names: &str) -> HtmlCollection;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (method , structural , js_class = "ShadowRoot" , js_name = getElementsByTagName)]
+ #[doc = "The `getElementsByTagName()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/getElementsByTagName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `ShadowRoot`*"]
+ pub fn get_elements_by_tag_name(this: &ShadowRoot, local_name: &str) -> HtmlCollection;
+ #[cfg(feature = "HtmlCollection")]
+ # [wasm_bindgen (method , structural , js_class = "ShadowRoot" , js_name = getElementsByTagNameNS)]
+ #[doc = "The `getElementsByTagNameNS()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/getElementsByTagNameNS)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `ShadowRoot`*"]
+ pub fn get_elements_by_tag_name_ns(
+ this: &ShadowRoot,
+ namespace: Option<&str>,
+ local_name: &str,
+ ) -> HtmlCollection;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (method , structural , js_class = "ShadowRoot" , js_name = elementFromPoint)]
+ #[doc = "The `elementFromPoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/elementFromPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*"]
+ pub fn element_from_point(this: &ShadowRoot, x: f32, y: f32) -> Option<Element>;
+ # [wasm_bindgen (method , structural , js_class = "ShadowRoot" , js_name = elementsFromPoint)]
+ #[doc = "The `elementsFromPoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/elementsFromPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShadowRoot`*"]
+ pub fn elements_from_point(this: &ShadowRoot, x: f32, y: f32) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_ShadowRootInit.rs b/vendor/web-sys/src/features/gen_ShadowRootInit.rs
new file mode 100644
index 000000000..762fc9e81
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ShadowRootInit.rs
@@ -0,0 +1,38 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ShadowRootInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ShadowRootInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShadowRootInit`*"]
+ pub type ShadowRootInit;
+}
+impl ShadowRootInit {
+ #[cfg(feature = "ShadowRootMode")]
+ #[doc = "Construct a new `ShadowRootInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShadowRootInit`, `ShadowRootMode`*"]
+ pub fn new(mode: ShadowRootMode) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.mode(mode);
+ ret
+ }
+ #[cfg(feature = "ShadowRootMode")]
+ #[doc = "Change the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShadowRootInit`, `ShadowRootMode`*"]
+ pub fn mode(&mut self, val: ShadowRootMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("mode"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_ShadowRootMode.rs b/vendor/web-sys/src/features/gen_ShadowRootMode.rs
new file mode 100644
index 000000000..baddd9fe9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ShadowRootMode.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `ShadowRootMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `ShadowRootMode`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ShadowRootMode {
+ Open = "open",
+ Closed = "closed",
+}
diff --git a/vendor/web-sys/src/features/gen_ShareData.rs b/vendor/web-sys/src/features/gen_ShareData.rs
new file mode 100644
index 000000000..982cbd480
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ShareData.rs
@@ -0,0 +1,104 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ShareData)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ShareData` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShareData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ShareData;
+}
+#[cfg(web_sys_unstable_apis)]
+impl ShareData {
+ #[doc = "Construct a new `ShareData`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShareData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `files` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShareData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn files(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("files"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShareData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn text(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("text"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `title` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShareData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn title(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("title"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `url` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ShareData`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn url(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("url"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for ShareData {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SharedWorker.rs b/vendor/web-sys/src/features/gen_SharedWorker.rs
new file mode 100644
index 000000000..28c93e770
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SharedWorker.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SharedWorker , typescript_type = "SharedWorker")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SharedWorker` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SharedWorker`*"]
+ pub type SharedWorker;
+ #[cfg(feature = "MessagePort")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SharedWorker" , js_name = port)]
+ #[doc = "Getter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MessagePort`, `SharedWorker`*"]
+ pub fn port(this: &SharedWorker) -> MessagePort;
+ # [wasm_bindgen (structural , method , getter , js_class = "SharedWorker" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SharedWorker`*"]
+ pub fn onerror(this: &SharedWorker) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SharedWorker" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SharedWorker`*"]
+ pub fn set_onerror(this: &SharedWorker, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "SharedWorker")]
+ #[doc = "The `new SharedWorker(..)` constructor, creating a new instance of `SharedWorker`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/SharedWorker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SharedWorker`*"]
+ pub fn new(script_url: &str) -> Result<SharedWorker, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "SharedWorker")]
+ #[doc = "The `new SharedWorker(..)` constructor, creating a new instance of `SharedWorker`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/SharedWorker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SharedWorker`*"]
+ pub fn new_with_str(script_url: &str, options: &str) -> Result<SharedWorker, JsValue>;
+ #[cfg(feature = "WorkerOptions")]
+ #[wasm_bindgen(catch, constructor, js_class = "SharedWorker")]
+ #[doc = "The `new SharedWorker(..)` constructor, creating a new instance of `SharedWorker`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/SharedWorker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SharedWorker`, `WorkerOptions`*"]
+ pub fn new_with_worker_options(
+ script_url: &str,
+ options: &WorkerOptions,
+ ) -> Result<SharedWorker, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SharedWorkerGlobalScope.rs b/vendor/web-sys/src/features/gen_SharedWorkerGlobalScope.rs
new file mode 100644
index 000000000..b77b9f892
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SharedWorkerGlobalScope.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = WorkerGlobalScope , extends = EventTarget , extends = :: js_sys :: Object , js_name = SharedWorkerGlobalScope , typescript_type = "SharedWorkerGlobalScope")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SharedWorkerGlobalScope` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*"]
+ pub type SharedWorkerGlobalScope;
+ # [wasm_bindgen (structural , method , getter , js_class = "SharedWorkerGlobalScope" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*"]
+ pub fn name(this: &SharedWorkerGlobalScope) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "SharedWorkerGlobalScope" , js_name = onconnect)]
+ #[doc = "Getter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*"]
+ pub fn onconnect(this: &SharedWorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SharedWorkerGlobalScope" , js_name = onconnect)]
+ #[doc = "Setter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*"]
+ pub fn set_onconnect(this: &SharedWorkerGlobalScope, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (method , structural , js_class = "SharedWorkerGlobalScope" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*"]
+ pub fn close(this: &SharedWorkerGlobalScope);
+}
diff --git a/vendor/web-sys/src/features/gen_SignResponse.rs b/vendor/web-sys/src/features/gen_SignResponse.rs
new file mode 100644
index 000000000..5b0680e1d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SignResponse.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SignResponse)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SignResponse` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SignResponse`*"]
+ pub type SignResponse;
+}
+impl SignResponse {
+ #[doc = "Construct a new `SignResponse`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SignResponse`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `clientData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SignResponse`*"]
+ pub fn client_data(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `errorCode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SignResponse`*"]
+ pub fn error_code(&mut self, val: Option<u16>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("errorCode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `errorMessage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SignResponse`*"]
+ pub fn error_message(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("errorMessage"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `keyHandle` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SignResponse`*"]
+ pub fn key_handle(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("keyHandle"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `signatureData` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SignResponse`*"]
+ pub fn signature_data(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("signatureData"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for SignResponse {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SocketElement.rs b/vendor/web-sys/src/features/gen_SocketElement.rs
new file mode 100644
index 000000000..81bc62c72
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SocketElement.rs
@@ -0,0 +1,110 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SocketElement)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SocketElement` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketElement`*"]
+ pub type SocketElement;
+}
+impl SocketElement {
+ #[doc = "Construct a new `SocketElement`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketElement`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `active` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketElement`*"]
+ pub fn active(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("active"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketElement`*"]
+ pub fn host(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("host"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketElement`*"]
+ pub fn port(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("port"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `received` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketElement`*"]
+ pub fn received(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("received"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketElement`*"]
+ pub fn sent(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("sent"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `tcp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketElement`*"]
+ pub fn tcp(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("tcp"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for SocketElement {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SocketOptions.rs b/vendor/web-sys/src/features/gen_SocketOptions.rs
new file mode 100644
index 000000000..103c82e19
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SocketOptions.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SocketOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SocketOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketOptions`*"]
+ pub type SocketOptions;
+}
+impl SocketOptions {
+ #[doc = "Construct a new `SocketOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "TcpSocketBinaryType")]
+ #[doc = "Change the `binaryType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketOptions`, `TcpSocketBinaryType`*"]
+ pub fn binary_type(&mut self, val: TcpSocketBinaryType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("binaryType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `useSecureTransport` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketOptions`*"]
+ pub fn use_secure_transport(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("useSecureTransport"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for SocketOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SocketReadyState.rs b/vendor/web-sys/src/features/gen_SocketReadyState.rs
new file mode 100644
index 000000000..5c359de2a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SocketReadyState.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `SocketReadyState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `SocketReadyState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum SocketReadyState {
+ Opening = "opening",
+ Open = "open",
+ Closing = "closing",
+ Closed = "closed",
+ Halfclosed = "halfclosed",
+}
diff --git a/vendor/web-sys/src/features/gen_SocketsDict.rs b/vendor/web-sys/src/features/gen_SocketsDict.rs
new file mode 100644
index 000000000..15e87f118
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SocketsDict.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SocketsDict)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SocketsDict` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketsDict`*"]
+ pub type SocketsDict;
+}
+impl SocketsDict {
+ #[doc = "Construct a new `SocketsDict`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketsDict`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `received` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketsDict`*"]
+ pub fn received(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("received"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketsDict`*"]
+ pub fn sent(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("sent"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sockets` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketsDict`*"]
+ pub fn sockets(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sockets"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for SocketsDict {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SourceBuffer.rs b/vendor/web-sys/src/features/gen_SourceBuffer.rs
new file mode 100644
index 000000000..8405987e3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SourceBuffer.rs
@@ -0,0 +1,271 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SourceBuffer , typescript_type = "SourceBuffer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SourceBuffer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub type SourceBuffer;
+ #[cfg(feature = "SourceBufferAppendMode")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = mode)]
+ #[doc = "Getter for the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/mode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`, `SourceBufferAppendMode`*"]
+ pub fn mode(this: &SourceBuffer) -> SourceBufferAppendMode;
+ #[cfg(feature = "SourceBufferAppendMode")]
+ # [wasm_bindgen (structural , method , setter , js_class = "SourceBuffer" , js_name = mode)]
+ #[doc = "Setter for the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/mode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`, `SourceBufferAppendMode`*"]
+ pub fn set_mode(this: &SourceBuffer, value: SourceBufferAppendMode);
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = updating)]
+ #[doc = "Getter for the `updating` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/updating)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn updating(this: &SourceBuffer) -> bool;
+ #[cfg(feature = "TimeRanges")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "SourceBuffer" , js_name = buffered)]
+ #[doc = "Getter for the `buffered` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/buffered)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`, `TimeRanges`*"]
+ pub fn buffered(this: &SourceBuffer) -> Result<TimeRanges, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = timestampOffset)]
+ #[doc = "Getter for the `timestampOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/timestampOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn timestamp_offset(this: &SourceBuffer) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "SourceBuffer" , js_name = timestampOffset)]
+ #[doc = "Setter for the `timestampOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/timestampOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn set_timestamp_offset(this: &SourceBuffer, value: f64);
+ #[cfg(feature = "AudioTrackList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = audioTracks)]
+ #[doc = "Getter for the `audioTracks` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/audioTracks)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioTrackList`, `SourceBuffer`*"]
+ pub fn audio_tracks(this: &SourceBuffer) -> AudioTrackList;
+ #[cfg(feature = "VideoTrackList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = videoTracks)]
+ #[doc = "Getter for the `videoTracks` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/videoTracks)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`, `VideoTrackList`*"]
+ pub fn video_tracks(this: &SourceBuffer) -> VideoTrackList;
+ #[cfg(feature = "TextTrackList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = textTracks)]
+ #[doc = "Getter for the `textTracks` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/textTracks)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`, `TextTrackList`*"]
+ pub fn text_tracks(this: &SourceBuffer) -> TextTrackList;
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = appendWindowStart)]
+ #[doc = "Getter for the `appendWindowStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn append_window_start(this: &SourceBuffer) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "SourceBuffer" , js_name = appendWindowStart)]
+ #[doc = "Setter for the `appendWindowStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn set_append_window_start(this: &SourceBuffer, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = appendWindowEnd)]
+ #[doc = "Getter for the `appendWindowEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn append_window_end(this: &SourceBuffer) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "SourceBuffer" , js_name = appendWindowEnd)]
+ #[doc = "Setter for the `appendWindowEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn set_append_window_end(this: &SourceBuffer, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = onupdatestart)]
+ #[doc = "Getter for the `onupdatestart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdatestart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn onupdatestart(this: &SourceBuffer) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SourceBuffer" , js_name = onupdatestart)]
+ #[doc = "Setter for the `onupdatestart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdatestart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn set_onupdatestart(this: &SourceBuffer, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = onupdate)]
+ #[doc = "Getter for the `onupdate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn onupdate(this: &SourceBuffer) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SourceBuffer" , js_name = onupdate)]
+ #[doc = "Setter for the `onupdate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn set_onupdate(this: &SourceBuffer, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = onupdateend)]
+ #[doc = "Getter for the `onupdateend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdateend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn onupdateend(this: &SourceBuffer) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SourceBuffer" , js_name = onupdateend)]
+ #[doc = "Setter for the `onupdateend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdateend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn set_onupdateend(this: &SourceBuffer, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn onerror(this: &SourceBuffer) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SourceBuffer" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn set_onerror(this: &SourceBuffer, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBuffer" , js_name = onabort)]
+ #[doc = "Getter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn onabort(this: &SourceBuffer) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SourceBuffer" , js_name = onabort)]
+ #[doc = "Setter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn set_onabort(this: &SourceBuffer, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "SourceBuffer" , js_name = abort)]
+ #[doc = "The `abort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/abort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn abort(this: &SourceBuffer) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SourceBuffer" , js_name = appendBuffer)]
+ #[doc = "The `appendBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn append_buffer_with_array_buffer(
+ this: &SourceBuffer,
+ data: &::js_sys::ArrayBuffer,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SourceBuffer" , js_name = appendBuffer)]
+ #[doc = "The `appendBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn append_buffer_with_array_buffer_view(
+ this: &SourceBuffer,
+ data: &::js_sys::Object,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SourceBuffer" , js_name = appendBuffer)]
+ #[doc = "The `appendBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn append_buffer_with_u8_array(this: &SourceBuffer, data: &mut [u8])
+ -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SourceBuffer" , js_name = appendBufferAsync)]
+ #[doc = "The `appendBufferAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBufferAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn append_buffer_async_with_array_buffer(
+ this: &SourceBuffer,
+ data: &::js_sys::ArrayBuffer,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SourceBuffer" , js_name = appendBufferAsync)]
+ #[doc = "The `appendBufferAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBufferAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn append_buffer_async_with_array_buffer_view(
+ this: &SourceBuffer,
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SourceBuffer" , js_name = appendBufferAsync)]
+ #[doc = "The `appendBufferAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBufferAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn append_buffer_async_with_u8_array(
+ this: &SourceBuffer,
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SourceBuffer" , js_name = changeType)]
+ #[doc = "The `changeType()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/changeType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn change_type(this: &SourceBuffer, type_: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SourceBuffer" , js_name = remove)]
+ #[doc = "The `remove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/remove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn remove(this: &SourceBuffer, start: f64, end: f64) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SourceBuffer" , js_name = removeAsync)]
+ #[doc = "The `removeAsync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/removeAsync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`*"]
+ pub fn remove_async(
+ this: &SourceBuffer,
+ start: f64,
+ end: f64,
+ ) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SourceBufferAppendMode.rs b/vendor/web-sys/src/features/gen_SourceBufferAppendMode.rs
new file mode 100644
index 000000000..21eb0db9a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SourceBufferAppendMode.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `SourceBufferAppendMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `SourceBufferAppendMode`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum SourceBufferAppendMode {
+ Segments = "segments",
+ Sequence = "sequence",
+}
diff --git a/vendor/web-sys/src/features/gen_SourceBufferList.rs b/vendor/web-sys/src/features/gen_SourceBufferList.rs
new file mode 100644
index 000000000..37e0e2307
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SourceBufferList.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SourceBufferList , typescript_type = "SourceBufferList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SourceBufferList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBufferList`*"]
+ pub type SourceBufferList;
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBufferList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBufferList`*"]
+ pub fn length(this: &SourceBufferList) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBufferList" , js_name = onaddsourcebuffer)]
+ #[doc = "Getter for the `onaddsourcebuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/onaddsourcebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBufferList`*"]
+ pub fn onaddsourcebuffer(this: &SourceBufferList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SourceBufferList" , js_name = onaddsourcebuffer)]
+ #[doc = "Setter for the `onaddsourcebuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/onaddsourcebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBufferList`*"]
+ pub fn set_onaddsourcebuffer(this: &SourceBufferList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SourceBufferList" , js_name = onremovesourcebuffer)]
+ #[doc = "Getter for the `onremovesourcebuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/onremovesourcebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBufferList`*"]
+ pub fn onremovesourcebuffer(this: &SourceBufferList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SourceBufferList" , js_name = onremovesourcebuffer)]
+ #[doc = "Setter for the `onremovesourcebuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/onremovesourcebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBufferList`*"]
+ pub fn set_onremovesourcebuffer(this: &SourceBufferList, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "SourceBuffer")]
+ #[wasm_bindgen(method, structural, js_class = "SourceBufferList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`, `SourceBufferList`*"]
+ pub fn get(this: &SourceBufferList, index: u32) -> Option<SourceBuffer>;
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechGrammar.rs b/vendor/web-sys/src/features/gen_SpeechGrammar.rs
new file mode 100644
index 000000000..f9a24accc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechGrammar.rs
@@ -0,0 +1,49 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechGrammar , typescript_type = "SpeechGrammar")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechGrammar` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammar`*"]
+ pub type SpeechGrammar;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "SpeechGrammar" , js_name = src)]
+ #[doc = "Getter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammar`*"]
+ pub fn src(this: &SpeechGrammar) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "SpeechGrammar" , js_name = src)]
+ #[doc = "Setter for the `src` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/src)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammar`*"]
+ pub fn set_src(this: &SpeechGrammar, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "SpeechGrammar" , js_name = weight)]
+ #[doc = "Getter for the `weight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/weight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammar`*"]
+ pub fn weight(this: &SpeechGrammar) -> Result<f32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "SpeechGrammar" , js_name = weight)]
+ #[doc = "Setter for the `weight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/weight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammar`*"]
+ pub fn set_weight(this: &SpeechGrammar, value: f32) -> Result<(), JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "SpeechGrammar")]
+ #[doc = "The `new SpeechGrammar(..)` constructor, creating a new instance of `SpeechGrammar`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/SpeechGrammar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammar`*"]
+ pub fn new() -> Result<SpeechGrammar, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechGrammarList.rs b/vendor/web-sys/src/features/gen_SpeechGrammarList.rs
new file mode 100644
index 000000000..1f9e7a721
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechGrammarList.rs
@@ -0,0 +1,86 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechGrammarList , typescript_type = "SpeechGrammarList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechGrammarList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammarList`*"]
+ pub type SpeechGrammarList;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechGrammarList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammarList`*"]
+ pub fn length(this: &SpeechGrammarList) -> u32;
+ #[wasm_bindgen(catch, constructor, js_class = "SpeechGrammarList")]
+ #[doc = "The `new SpeechGrammarList(..)` constructor, creating a new instance of `SpeechGrammarList`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/SpeechGrammarList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammarList`*"]
+ pub fn new() -> Result<SpeechGrammarList, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SpeechGrammarList" , js_name = addFromString)]
+ #[doc = "The `addFromString()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammarList`*"]
+ pub fn add_from_string(this: &SpeechGrammarList, string: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SpeechGrammarList" , js_name = addFromString)]
+ #[doc = "The `addFromString()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammarList`*"]
+ pub fn add_from_string_with_weight(
+ this: &SpeechGrammarList,
+ string: &str,
+ weight: f32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SpeechGrammarList" , js_name = addFromURI)]
+ #[doc = "The `addFromURI()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammarList`*"]
+ pub fn add_from_uri(this: &SpeechGrammarList, src: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SpeechGrammarList" , js_name = addFromURI)]
+ #[doc = "The `addFromURI()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammarList`*"]
+ pub fn add_from_uri_with_weight(
+ this: &SpeechGrammarList,
+ src: &str,
+ weight: f32,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "SpeechGrammar")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SpeechGrammarList" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammar`, `SpeechGrammarList`*"]
+ pub fn item(this: &SpeechGrammarList, index: u32) -> Result<SpeechGrammar, JsValue>;
+ #[cfg(feature = "SpeechGrammar")]
+ #[wasm_bindgen(
+ catch,
+ method,
+ structural,
+ js_class = "SpeechGrammarList",
+ indexing_getter
+ )]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammar`, `SpeechGrammarList`*"]
+ pub fn get(this: &SpeechGrammarList, index: u32) -> Result<SpeechGrammar, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechRecognition.rs b/vendor/web-sys/src/features/gen_SpeechRecognition.rs
new file mode 100644
index 000000000..10bb4a75e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechRecognition.rs
@@ -0,0 +1,291 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SpeechRecognition , typescript_type = "SpeechRecognition")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechRecognition` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub type SpeechRecognition;
+ #[cfg(feature = "SpeechGrammarList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = grammars)]
+ #[doc = "Getter for the `grammars` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/grammars)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammarList`, `SpeechRecognition`*"]
+ pub fn grammars(this: &SpeechRecognition) -> SpeechGrammarList;
+ #[cfg(feature = "SpeechGrammarList")]
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = grammars)]
+ #[doc = "Setter for the `grammars` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/grammars)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechGrammarList`, `SpeechRecognition`*"]
+ pub fn set_grammars(this: &SpeechRecognition, value: &SpeechGrammarList);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = lang)]
+ #[doc = "Getter for the `lang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/lang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn lang(this: &SpeechRecognition) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = lang)]
+ #[doc = "Setter for the `lang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/lang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_lang(this: &SpeechRecognition, value: &str);
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "SpeechRecognition" , js_name = continuous)]
+ #[doc = "Getter for the `continuous` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/continuous)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn continuous(this: &SpeechRecognition) -> Result<bool, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "SpeechRecognition" , js_name = continuous)]
+ #[doc = "Setter for the `continuous` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/continuous)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_continuous(this: &SpeechRecognition, value: bool) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = interimResults)]
+ #[doc = "Getter for the `interimResults` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/interimResults)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn interim_results(this: &SpeechRecognition) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = interimResults)]
+ #[doc = "Setter for the `interimResults` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/interimResults)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_interim_results(this: &SpeechRecognition, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = maxAlternatives)]
+ #[doc = "Getter for the `maxAlternatives` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/maxAlternatives)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn max_alternatives(this: &SpeechRecognition) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = maxAlternatives)]
+ #[doc = "Setter for the `maxAlternatives` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/maxAlternatives)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_max_alternatives(this: &SpeechRecognition, value: u32);
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "SpeechRecognition" , js_name = serviceURI)]
+ #[doc = "Getter for the `serviceURI` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/serviceURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn service_uri(this: &SpeechRecognition) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "SpeechRecognition" , js_name = serviceURI)]
+ #[doc = "Setter for the `serviceURI` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/serviceURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_service_uri(this: &SpeechRecognition, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onaudiostart)]
+ #[doc = "Getter for the `onaudiostart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudiostart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn onaudiostart(this: &SpeechRecognition) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onaudiostart)]
+ #[doc = "Setter for the `onaudiostart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudiostart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_onaudiostart(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onsoundstart)]
+ #[doc = "Getter for the `onsoundstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn onsoundstart(this: &SpeechRecognition) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onsoundstart)]
+ #[doc = "Setter for the `onsoundstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_onsoundstart(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onspeechstart)]
+ #[doc = "Getter for the `onspeechstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn onspeechstart(this: &SpeechRecognition) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onspeechstart)]
+ #[doc = "Setter for the `onspeechstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_onspeechstart(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onspeechend)]
+ #[doc = "Getter for the `onspeechend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn onspeechend(this: &SpeechRecognition) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onspeechend)]
+ #[doc = "Setter for the `onspeechend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_onspeechend(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onsoundend)]
+ #[doc = "Getter for the `onsoundend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn onsoundend(this: &SpeechRecognition) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onsoundend)]
+ #[doc = "Setter for the `onsoundend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_onsoundend(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onaudioend)]
+ #[doc = "Getter for the `onaudioend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudioend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn onaudioend(this: &SpeechRecognition) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onaudioend)]
+ #[doc = "Setter for the `onaudioend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudioend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_onaudioend(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onresult)]
+ #[doc = "Getter for the `onresult` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onresult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn onresult(this: &SpeechRecognition) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onresult)]
+ #[doc = "Setter for the `onresult` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onresult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_onresult(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onnomatch)]
+ #[doc = "Getter for the `onnomatch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onnomatch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn onnomatch(this: &SpeechRecognition) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onnomatch)]
+ #[doc = "Setter for the `onnomatch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onnomatch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_onnomatch(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn onerror(this: &SpeechRecognition) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_onerror(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onstart)]
+ #[doc = "Getter for the `onstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn onstart(this: &SpeechRecognition) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onstart)]
+ #[doc = "Setter for the `onstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_onstart(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onend)]
+ #[doc = "Getter for the `onend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn onend(this: &SpeechRecognition) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onend)]
+ #[doc = "Setter for the `onend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn set_onend(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "SpeechRecognition")]
+ #[doc = "The `new SpeechRecognition(..)` constructor, creating a new instance of `SpeechRecognition`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/SpeechRecognition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn new() -> Result<SpeechRecognition, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "SpeechRecognition" , js_name = abort)]
+ #[doc = "The `abort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/abort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn abort(this: &SpeechRecognition);
+ # [wasm_bindgen (catch , method , structural , js_class = "SpeechRecognition" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn start(this: &SpeechRecognition) -> Result<(), JsValue>;
+ #[cfg(feature = "MediaStream")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SpeechRecognition" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `SpeechRecognition`*"]
+ pub fn start_with_stream(this: &SpeechRecognition, stream: &MediaStream)
+ -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "SpeechRecognition" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
+ pub fn stop(this: &SpeechRecognition);
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionAlternative.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionAlternative.rs
new file mode 100644
index 000000000..5aced7fb3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechRecognitionAlternative.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechRecognitionAlternative , typescript_type = "SpeechRecognitionAlternative")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechRecognitionAlternative` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionAlternative)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`*"]
+ pub type SpeechRecognitionAlternative;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognitionAlternative" , js_name = transcript)]
+ #[doc = "Getter for the `transcript` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionAlternative/transcript)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`*"]
+ pub fn transcript(this: &SpeechRecognitionAlternative) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognitionAlternative" , js_name = confidence)]
+ #[doc = "Getter for the `confidence` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionAlternative/confidence)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`*"]
+ pub fn confidence(this: &SpeechRecognitionAlternative) -> f32;
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionError.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionError.rs
new file mode 100644
index 000000000..371112712
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechRecognitionError.rs
@@ -0,0 +1,47 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = SpeechRecognitionError , typescript_type = "SpeechRecognitionError")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechRecognitionError` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionError`*"]
+ pub type SpeechRecognitionError;
+ #[cfg(feature = "SpeechRecognitionErrorCode")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognitionError" , js_name = error)]
+ #[doc = "Getter for the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionError`, `SpeechRecognitionErrorCode`*"]
+ pub fn error(this: &SpeechRecognitionError) -> SpeechRecognitionErrorCode;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognitionError" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionError`*"]
+ pub fn message(this: &SpeechRecognitionError) -> Option<String>;
+ #[wasm_bindgen(catch, constructor, js_class = "SpeechRecognitionError")]
+ #[doc = "The `new SpeechRecognitionError(..)` constructor, creating a new instance of `SpeechRecognitionError`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError/SpeechRecognitionError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionError`*"]
+ pub fn new(type_: &str) -> Result<SpeechRecognitionError, JsValue>;
+ #[cfg(feature = "SpeechRecognitionErrorInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "SpeechRecognitionError")]
+ #[doc = "The `new SpeechRecognitionError(..)` constructor, creating a new instance of `SpeechRecognitionError`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError/SpeechRecognitionError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionError`, `SpeechRecognitionErrorInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &SpeechRecognitionErrorInit,
+ ) -> Result<SpeechRecognitionError, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionErrorCode.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionErrorCode.rs
new file mode 100644
index 000000000..4f7284690
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechRecognitionErrorCode.rs
@@ -0,0 +1,17 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `SpeechRecognitionErrorCode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionErrorCode`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum SpeechRecognitionErrorCode {
+ NoSpeech = "no-speech",
+ Aborted = "aborted",
+ AudioCapture = "audio-capture",
+ Network = "network",
+ NotAllowed = "not-allowed",
+ ServiceNotAllowed = "service-not-allowed",
+ BadGrammar = "bad-grammar",
+ LanguageNotSupported = "language-not-supported",
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionErrorInit.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionErrorInit.rs
new file mode 100644
index 000000000..1a7d578ac
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechRecognitionErrorInit.rs
@@ -0,0 +1,109 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechRecognitionErrorInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechRecognitionErrorInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionErrorInit`*"]
+ pub type SpeechRecognitionErrorInit;
+}
+impl SpeechRecognitionErrorInit {
+ #[doc = "Construct a new `SpeechRecognitionErrorInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionErrorInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionErrorInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionErrorInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionErrorInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "SpeechRecognitionErrorCode")]
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionErrorCode`, `SpeechRecognitionErrorInit`*"]
+ pub fn error(&mut self, val: SpeechRecognitionErrorCode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionErrorInit`*"]
+ pub fn message(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("message"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for SpeechRecognitionErrorInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionEvent.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionEvent.rs
new file mode 100644
index 000000000..1e37c86ab
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechRecognitionEvent.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = SpeechRecognitionEvent , typescript_type = "SpeechRecognitionEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechRecognitionEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEvent`*"]
+ pub type SpeechRecognitionEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognitionEvent" , js_name = resultIndex)]
+ #[doc = "Getter for the `resultIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/resultIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEvent`*"]
+ pub fn result_index(this: &SpeechRecognitionEvent) -> u32;
+ #[cfg(feature = "SpeechRecognitionResultList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognitionEvent" , js_name = results)]
+ #[doc = "Getter for the `results` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/results)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEvent`, `SpeechRecognitionResultList`*"]
+ pub fn results(this: &SpeechRecognitionEvent) -> Option<SpeechRecognitionResultList>;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognitionEvent" , js_name = interpretation)]
+ #[doc = "Getter for the `interpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/interpretation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEvent`*"]
+ pub fn interpretation(this: &SpeechRecognitionEvent) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognitionEvent" , js_name = emma)]
+ #[doc = "Getter for the `emma` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/emma)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `SpeechRecognitionEvent`*"]
+ pub fn emma(this: &SpeechRecognitionEvent) -> Option<Document>;
+ #[wasm_bindgen(catch, constructor, js_class = "SpeechRecognitionEvent")]
+ #[doc = "The `new SpeechRecognitionEvent(..)` constructor, creating a new instance of `SpeechRecognitionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/SpeechRecognitionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEvent`*"]
+ pub fn new(type_: &str) -> Result<SpeechRecognitionEvent, JsValue>;
+ #[cfg(feature = "SpeechRecognitionEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "SpeechRecognitionEvent")]
+ #[doc = "The `new SpeechRecognitionEvent(..)` constructor, creating a new instance of `SpeechRecognitionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/SpeechRecognitionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEvent`, `SpeechRecognitionEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &SpeechRecognitionEventInit,
+ ) -> Result<SpeechRecognitionEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionEventInit.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionEventInit.rs
new file mode 100644
index 000000000..7ac78ecf2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechRecognitionEventInit.rs
@@ -0,0 +1,144 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechRecognitionEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechRecognitionEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEventInit`*"]
+ pub type SpeechRecognitionEventInit;
+}
+impl SpeechRecognitionEventInit {
+ #[doc = "Construct a new `SpeechRecognitionEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Document")]
+ #[doc = "Change the `emma` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `SpeechRecognitionEventInit`*"]
+ pub fn emma(&mut self, val: Option<&Document>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("emma"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `interpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEventInit`*"]
+ pub fn interpretation(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("interpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `resultIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEventInit`*"]
+ pub fn result_index(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("resultIndex"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "SpeechRecognitionResultList")]
+ #[doc = "Change the `results` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionEventInit`, `SpeechRecognitionResultList`*"]
+ pub fn results(&mut self, val: Option<&SpeechRecognitionResultList>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("results"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for SpeechRecognitionEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionResult.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionResult.rs
new file mode 100644
index 000000000..15075334d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechRecognitionResult.rs
@@ -0,0 +1,49 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechRecognitionResult , typescript_type = "SpeechRecognitionResult")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechRecognitionResult` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionResult`*"]
+ pub type SpeechRecognitionResult;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognitionResult" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionResult`*"]
+ pub fn length(this: &SpeechRecognitionResult) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognitionResult" , js_name = isFinal)]
+ #[doc = "Getter for the `isFinal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/isFinal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionResult`*"]
+ pub fn is_final(this: &SpeechRecognitionResult) -> bool;
+ #[cfg(feature = "SpeechRecognitionAlternative")]
+ # [wasm_bindgen (method , structural , js_class = "SpeechRecognitionResult" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`, `SpeechRecognitionResult`*"]
+ pub fn item(this: &SpeechRecognitionResult, index: u32) -> SpeechRecognitionAlternative;
+ #[cfg(feature = "SpeechRecognitionAlternative")]
+ #[wasm_bindgen(
+ method,
+ structural,
+ js_class = "SpeechRecognitionResult",
+ indexing_getter
+ )]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`, `SpeechRecognitionResult`*"]
+ pub fn get(this: &SpeechRecognitionResult, index: u32) -> Option<SpeechRecognitionAlternative>;
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionResultList.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionResultList.rs
new file mode 100644
index 000000000..9201f8e53
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechRecognitionResultList.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechRecognitionResultList , typescript_type = "SpeechRecognitionResultList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechRecognitionResultList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResultList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionResultList`*"]
+ pub type SpeechRecognitionResultList;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognitionResultList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResultList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionResultList`*"]
+ pub fn length(this: &SpeechRecognitionResultList) -> u32;
+ #[cfg(feature = "SpeechRecognitionResult")]
+ # [wasm_bindgen (method , structural , js_class = "SpeechRecognitionResultList" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResultList/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionResult`, `SpeechRecognitionResultList`*"]
+ pub fn item(this: &SpeechRecognitionResultList, index: u32) -> SpeechRecognitionResult;
+ #[cfg(feature = "SpeechRecognitionResult")]
+ #[wasm_bindgen(
+ method,
+ structural,
+ js_class = "SpeechRecognitionResultList",
+ indexing_getter
+ )]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionResult`, `SpeechRecognitionResultList`*"]
+ pub fn get(this: &SpeechRecognitionResultList, index: u32) -> Option<SpeechRecognitionResult>;
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesis.rs b/vendor/web-sys/src/features/gen_SpeechSynthesis.rs
new file mode 100644
index 000000000..729f47d00
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechSynthesis.rs
@@ -0,0 +1,85 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SpeechSynthesis , typescript_type = "SpeechSynthesis")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechSynthesis` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`*"]
+ pub type SpeechSynthesis;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesis" , js_name = pending)]
+ #[doc = "Getter for the `pending` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/pending)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`*"]
+ pub fn pending(this: &SpeechSynthesis) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesis" , js_name = speaking)]
+ #[doc = "Getter for the `speaking` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/speaking)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`*"]
+ pub fn speaking(this: &SpeechSynthesis) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesis" , js_name = paused)]
+ #[doc = "Getter for the `paused` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/paused)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`*"]
+ pub fn paused(this: &SpeechSynthesis) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesis" , js_name = onvoiceschanged)]
+ #[doc = "Getter for the `onvoiceschanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/onvoiceschanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`*"]
+ pub fn onvoiceschanged(this: &SpeechSynthesis) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesis" , js_name = onvoiceschanged)]
+ #[doc = "Setter for the `onvoiceschanged` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/onvoiceschanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`*"]
+ pub fn set_onvoiceschanged(this: &SpeechSynthesis, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (method , structural , js_class = "SpeechSynthesis" , js_name = cancel)]
+ #[doc = "The `cancel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/cancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`*"]
+ pub fn cancel(this: &SpeechSynthesis);
+ # [wasm_bindgen (method , structural , js_class = "SpeechSynthesis" , js_name = getVoices)]
+ #[doc = "The `getVoices()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/getVoices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`*"]
+ pub fn get_voices(this: &SpeechSynthesis) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "SpeechSynthesis" , js_name = pause)]
+ #[doc = "The `pause()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/pause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`*"]
+ pub fn pause(this: &SpeechSynthesis);
+ # [wasm_bindgen (method , structural , js_class = "SpeechSynthesis" , js_name = resume)]
+ #[doc = "The `resume()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/resume)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`*"]
+ pub fn resume(this: &SpeechSynthesis);
+ #[cfg(feature = "SpeechSynthesisUtterance")]
+ # [wasm_bindgen (method , structural , js_class = "SpeechSynthesis" , js_name = speak)]
+ #[doc = "The `speak()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/speak)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`, `SpeechSynthesisUtterance`*"]
+ pub fn speak(this: &SpeechSynthesis, utterance: &SpeechSynthesisUtterance);
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisErrorCode.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisErrorCode.rs
new file mode 100644
index 000000000..f6cf1bcba
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechSynthesisErrorCode.rs
@@ -0,0 +1,20 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `SpeechSynthesisErrorCode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorCode`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum SpeechSynthesisErrorCode {
+ Canceled = "canceled",
+ Interrupted = "interrupted",
+ AudioBusy = "audio-busy",
+ AudioHardware = "audio-hardware",
+ Network = "network",
+ SynthesisUnavailable = "synthesis-unavailable",
+ SynthesisFailed = "synthesis-failed",
+ LanguageUnavailable = "language-unavailable",
+ VoiceUnavailable = "voice-unavailable",
+ TextTooLong = "text-too-long",
+ InvalidArgument = "invalid-argument",
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEvent.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEvent.rs
new file mode 100644
index 000000000..9d6354531
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEvent.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SpeechSynthesisEvent , extends = Event , extends = :: js_sys :: Object , js_name = SpeechSynthesisErrorEvent , typescript_type = "SpeechSynthesisErrorEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechSynthesisErrorEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEvent`*"]
+ pub type SpeechSynthesisErrorEvent;
+ #[cfg(feature = "SpeechSynthesisErrorCode")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisErrorEvent" , js_name = error)]
+ #[doc = "Getter for the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisErrorEvent/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorCode`, `SpeechSynthesisErrorEvent`*"]
+ pub fn error(this: &SpeechSynthesisErrorEvent) -> SpeechSynthesisErrorCode;
+ #[cfg(feature = "SpeechSynthesisErrorEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "SpeechSynthesisErrorEvent")]
+ #[doc = "The `new SpeechSynthesisErrorEvent(..)` constructor, creating a new instance of `SpeechSynthesisErrorEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisErrorEvent/SpeechSynthesisErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEvent`, `SpeechSynthesisErrorEventInit`*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &SpeechSynthesisErrorEventInit,
+ ) -> Result<SpeechSynthesisErrorEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEventInit.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEventInit.rs
new file mode 100644
index 000000000..8bb2801a3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEventInit.rs
@@ -0,0 +1,175 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechSynthesisErrorEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechSynthesisErrorEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEventInit`*"]
+ pub type SpeechSynthesisErrorEventInit;
+}
+impl SpeechSynthesisErrorEventInit {
+ #[cfg(all(
+ feature = "SpeechSynthesisErrorCode",
+ feature = "SpeechSynthesisUtterance",
+ ))]
+ #[doc = "Construct a new `SpeechSynthesisErrorEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorCode`, `SpeechSynthesisErrorEventInit`, `SpeechSynthesisUtterance`*"]
+ pub fn new(utterance: &SpeechSynthesisUtterance, error: SpeechSynthesisErrorCode) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.utterance(utterance);
+ ret.error(error);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `charIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEventInit`*"]
+ pub fn char_index(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("charIndex"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `charLength` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEventInit`*"]
+ pub fn char_length(&mut self, val: Option<u32>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("charLength"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `elapsedTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEventInit`*"]
+ pub fn elapsed_time(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("elapsedTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEventInit`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "SpeechSynthesisUtterance")]
+ #[doc = "Change the `utterance` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorEventInit`, `SpeechSynthesisUtterance`*"]
+ pub fn utterance(&mut self, val: &SpeechSynthesisUtterance) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("utterance"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "SpeechSynthesisErrorCode")]
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorCode`, `SpeechSynthesisErrorEventInit`*"]
+ pub fn error(&mut self, val: SpeechSynthesisErrorCode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisEvent.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisEvent.rs
new file mode 100644
index 000000000..361fb54c9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechSynthesisEvent.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = SpeechSynthesisEvent , typescript_type = "SpeechSynthesisEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechSynthesisEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*"]
+ pub type SpeechSynthesisEvent;
+ #[cfg(feature = "SpeechSynthesisUtterance")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisEvent" , js_name = utterance)]
+ #[doc = "Getter for the `utterance` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/utterance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEvent`, `SpeechSynthesisUtterance`*"]
+ pub fn utterance(this: &SpeechSynthesisEvent) -> SpeechSynthesisUtterance;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisEvent" , js_name = charIndex)]
+ #[doc = "Getter for the `charIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/charIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*"]
+ pub fn char_index(this: &SpeechSynthesisEvent) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisEvent" , js_name = charLength)]
+ #[doc = "Getter for the `charLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/charLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*"]
+ pub fn char_length(this: &SpeechSynthesisEvent) -> Option<u32>;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisEvent" , js_name = elapsedTime)]
+ #[doc = "Getter for the `elapsedTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/elapsedTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*"]
+ pub fn elapsed_time(this: &SpeechSynthesisEvent) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisEvent" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*"]
+ pub fn name(this: &SpeechSynthesisEvent) -> Option<String>;
+ #[cfg(feature = "SpeechSynthesisEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "SpeechSynthesisEvent")]
+ #[doc = "The `new SpeechSynthesisEvent(..)` constructor, creating a new instance of `SpeechSynthesisEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/SpeechSynthesisEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEvent`, `SpeechSynthesisEventInit`*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &SpeechSynthesisEventInit,
+ ) -> Result<SpeechSynthesisEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisEventInit.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisEventInit.rs
new file mode 100644
index 000000000..83ddf5e97
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechSynthesisEventInit.rs
@@ -0,0 +1,157 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechSynthesisEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechSynthesisEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEventInit`*"]
+ pub type SpeechSynthesisEventInit;
+}
+impl SpeechSynthesisEventInit {
+ #[cfg(feature = "SpeechSynthesisUtterance")]
+ #[doc = "Construct a new `SpeechSynthesisEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEventInit`, `SpeechSynthesisUtterance`*"]
+ pub fn new(utterance: &SpeechSynthesisUtterance) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.utterance(utterance);
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `charIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEventInit`*"]
+ pub fn char_index(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("charIndex"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `charLength` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEventInit`*"]
+ pub fn char_length(&mut self, val: Option<u32>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("charLength"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `elapsedTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEventInit`*"]
+ pub fn elapsed_time(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("elapsedTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEventInit`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "SpeechSynthesisUtterance")]
+ #[doc = "Change the `utterance` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisEventInit`, `SpeechSynthesisUtterance`*"]
+ pub fn utterance(&mut self, val: &SpeechSynthesisUtterance) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("utterance"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisUtterance.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisUtterance.rs
new file mode 100644
index 000000000..aa7eaacf3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechSynthesisUtterance.rs
@@ -0,0 +1,212 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SpeechSynthesisUtterance , typescript_type = "SpeechSynthesisUtterance")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechSynthesisUtterance` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub type SpeechSynthesisUtterance;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = text)]
+ #[doc = "Getter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn text(this: &SpeechSynthesisUtterance) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = text)]
+ #[doc = "Setter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn set_text(this: &SpeechSynthesisUtterance, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = lang)]
+ #[doc = "Getter for the `lang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/lang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn lang(this: &SpeechSynthesisUtterance) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = lang)]
+ #[doc = "Setter for the `lang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/lang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn set_lang(this: &SpeechSynthesisUtterance, value: &str);
+ #[cfg(feature = "SpeechSynthesisVoice")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = voice)]
+ #[doc = "Getter for the `voice` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/voice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`, `SpeechSynthesisVoice`*"]
+ pub fn voice(this: &SpeechSynthesisUtterance) -> Option<SpeechSynthesisVoice>;
+ #[cfg(feature = "SpeechSynthesisVoice")]
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = voice)]
+ #[doc = "Setter for the `voice` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/voice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`, `SpeechSynthesisVoice`*"]
+ pub fn set_voice(this: &SpeechSynthesisUtterance, value: Option<&SpeechSynthesisVoice>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = volume)]
+ #[doc = "Getter for the `volume` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/volume)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn volume(this: &SpeechSynthesisUtterance) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = volume)]
+ #[doc = "Setter for the `volume` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/volume)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn set_volume(this: &SpeechSynthesisUtterance, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = rate)]
+ #[doc = "Getter for the `rate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/rate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn rate(this: &SpeechSynthesisUtterance) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = rate)]
+ #[doc = "Setter for the `rate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/rate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn set_rate(this: &SpeechSynthesisUtterance, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = pitch)]
+ #[doc = "Getter for the `pitch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/pitch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn pitch(this: &SpeechSynthesisUtterance) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = pitch)]
+ #[doc = "Setter for the `pitch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/pitch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn set_pitch(this: &SpeechSynthesisUtterance, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = onstart)]
+ #[doc = "Getter for the `onstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn onstart(this: &SpeechSynthesisUtterance) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = onstart)]
+ #[doc = "Setter for the `onstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn set_onstart(this: &SpeechSynthesisUtterance, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = onend)]
+ #[doc = "Getter for the `onend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn onend(this: &SpeechSynthesisUtterance) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = onend)]
+ #[doc = "Setter for the `onend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn set_onend(this: &SpeechSynthesisUtterance, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn onerror(this: &SpeechSynthesisUtterance) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn set_onerror(this: &SpeechSynthesisUtterance, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = onpause)]
+ #[doc = "Getter for the `onpause` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onpause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn onpause(this: &SpeechSynthesisUtterance) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = onpause)]
+ #[doc = "Setter for the `onpause` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onpause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn set_onpause(this: &SpeechSynthesisUtterance, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = onresume)]
+ #[doc = "Getter for the `onresume` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onresume)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn onresume(this: &SpeechSynthesisUtterance) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = onresume)]
+ #[doc = "Setter for the `onresume` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onresume)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn set_onresume(this: &SpeechSynthesisUtterance, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = onmark)]
+ #[doc = "Getter for the `onmark` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onmark)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn onmark(this: &SpeechSynthesisUtterance) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = onmark)]
+ #[doc = "Setter for the `onmark` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onmark)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn set_onmark(this: &SpeechSynthesisUtterance, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisUtterance" , js_name = onboundary)]
+ #[doc = "Getter for the `onboundary` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onboundary)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn onboundary(this: &SpeechSynthesisUtterance) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = onboundary)]
+ #[doc = "Setter for the `onboundary` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onboundary)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn set_onboundary(this: &SpeechSynthesisUtterance, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "SpeechSynthesisUtterance")]
+ #[doc = "The `new SpeechSynthesisUtterance(..)` constructor, creating a new instance of `SpeechSynthesisUtterance`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/SpeechSynthesisUtterance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn new() -> Result<SpeechSynthesisUtterance, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "SpeechSynthesisUtterance")]
+ #[doc = "The `new SpeechSynthesisUtterance(..)` constructor, creating a new instance of `SpeechSynthesisUtterance`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/SpeechSynthesisUtterance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*"]
+ pub fn new_with_text(text: &str) -> Result<SpeechSynthesisUtterance, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisVoice.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisVoice.rs
new file mode 100644
index 000000000..260127579
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SpeechSynthesisVoice.rs
@@ -0,0 +1,49 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechSynthesisVoice , typescript_type = "SpeechSynthesisVoice")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SpeechSynthesisVoice` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*"]
+ pub type SpeechSynthesisVoice;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisVoice" , js_name = voiceURI)]
+ #[doc = "Getter for the `voiceURI` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/voiceURI)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*"]
+ pub fn voice_uri(this: &SpeechSynthesisVoice) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisVoice" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*"]
+ pub fn name(this: &SpeechSynthesisVoice) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisVoice" , js_name = lang)]
+ #[doc = "Getter for the `lang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/lang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*"]
+ pub fn lang(this: &SpeechSynthesisVoice) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisVoice" , js_name = localService)]
+ #[doc = "Getter for the `localService` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/localService)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*"]
+ pub fn local_service(this: &SpeechSynthesisVoice) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "SpeechSynthesisVoice" , js_name = default)]
+ #[doc = "Getter for the `default` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/default)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*"]
+ pub fn default(this: &SpeechSynthesisVoice) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_StereoPannerNode.rs b/vendor/web-sys/src/features/gen_StereoPannerNode.rs
new file mode 100644
index 000000000..8accee506
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StereoPannerNode.rs
@@ -0,0 +1,41 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = StereoPannerNode , typescript_type = "StereoPannerNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `StereoPannerNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StereoPannerNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StereoPannerNode`*"]
+ pub type StereoPannerNode;
+ #[cfg(feature = "AudioParam")]
+ # [wasm_bindgen (structural , method , getter , js_class = "StereoPannerNode" , js_name = pan)]
+ #[doc = "Getter for the `pan` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StereoPannerNode/pan)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `StereoPannerNode`*"]
+ pub fn pan(this: &StereoPannerNode) -> AudioParam;
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "StereoPannerNode")]
+ #[doc = "The `new StereoPannerNode(..)` constructor, creating a new instance of `StereoPannerNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StereoPannerNode/StereoPannerNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `StereoPannerNode`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<StereoPannerNode, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "StereoPannerOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "StereoPannerNode")]
+ #[doc = "The `new StereoPannerNode(..)` constructor, creating a new instance of `StereoPannerNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StereoPannerNode/StereoPannerNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `StereoPannerNode`, `StereoPannerOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &StereoPannerOptions,
+ ) -> Result<StereoPannerNode, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_StereoPannerOptions.rs b/vendor/web-sys/src/features/gen_StereoPannerOptions.rs
new file mode 100644
index 000000000..f1996c603
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StereoPannerOptions.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StereoPannerOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `StereoPannerOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StereoPannerOptions`*"]
+ pub type StereoPannerOptions;
+}
+impl StereoPannerOptions {
+ #[doc = "Construct a new `StereoPannerOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StereoPannerOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StereoPannerOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`, `StereoPannerOptions`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`, `StereoPannerOptions`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pan` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StereoPannerOptions`*"]
+ pub fn pan(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("pan"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for StereoPannerOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Storage.rs b/vendor/web-sys/src/features/gen_Storage.rs
new file mode 100644
index 000000000..2a287b7d9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Storage.rs
@@ -0,0 +1,77 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Storage , typescript_type = "Storage")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Storage` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`*"]
+ pub type Storage;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Storage" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`*"]
+ pub fn length(this: &Storage) -> Result<u32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Storage" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`*"]
+ pub fn clear(this: &Storage) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Storage" , js_name = getItem)]
+ #[doc = "The `getItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/getItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`*"]
+ pub fn get_item(this: &Storage, key: &str) -> Result<Option<String>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Storage" , js_name = key)]
+ #[doc = "The `key()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/key)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`*"]
+ pub fn key(this: &Storage, index: u32) -> Result<Option<String>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Storage" , js_name = removeItem)]
+ #[doc = "The `removeItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/removeItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`*"]
+ pub fn remove_item(this: &Storage, key: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Storage" , js_name = setItem)]
+ #[doc = "The `setItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`*"]
+ pub fn set_item(this: &Storage, key: &str, value: &str) -> Result<(), JsValue>;
+ #[wasm_bindgen(catch, method, structural, js_class = "Storage", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`*"]
+ pub fn get(this: &Storage, key: &str) -> Result<Option<String>, JsValue>;
+ #[wasm_bindgen(catch, method, structural, js_class = "Storage", indexing_setter)]
+ #[doc = "Indexing setter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`*"]
+ pub fn set(this: &Storage, key: &str, value: &str) -> Result<(), JsValue>;
+ #[wasm_bindgen(catch, method, structural, js_class = "Storage", indexing_deleter)]
+ #[doc = "Indexing deleter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`*"]
+ pub fn delete(this: &Storage, key: &str) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_StorageEstimate.rs b/vendor/web-sys/src/features/gen_StorageEstimate.rs
new file mode 100644
index 000000000..20cebe9a1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StorageEstimate.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StorageEstimate)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `StorageEstimate` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEstimate`*"]
+ pub type StorageEstimate;
+}
+impl StorageEstimate {
+ #[doc = "Construct a new `StorageEstimate`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEstimate`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `quota` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEstimate`*"]
+ pub fn quota(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("quota"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `usage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEstimate`*"]
+ pub fn usage(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("usage"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for StorageEstimate {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_StorageEvent.rs b/vendor/web-sys/src/features/gen_StorageEvent.rs
new file mode 100644
index 000000000..8030d407d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StorageEvent.rs
@@ -0,0 +1,170 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = StorageEvent , typescript_type = "StorageEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `StorageEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub type StorageEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "StorageEvent" , js_name = key)]
+ #[doc = "Getter for the `key` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/key)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub fn key(this: &StorageEvent) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "StorageEvent" , js_name = oldValue)]
+ #[doc = "Getter for the `oldValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/oldValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub fn old_value(this: &StorageEvent) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "StorageEvent" , js_name = newValue)]
+ #[doc = "Getter for the `newValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/newValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub fn new_value(this: &StorageEvent) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "StorageEvent" , js_name = url)]
+ #[doc = "Getter for the `url` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/url)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub fn url(this: &StorageEvent) -> Option<String>;
+ #[cfg(feature = "Storage")]
+ # [wasm_bindgen (structural , method , getter , js_class = "StorageEvent" , js_name = storageArea)]
+ #[doc = "Getter for the `storageArea` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/storageArea)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`, `StorageEvent`*"]
+ pub fn storage_area(this: &StorageEvent) -> Option<Storage>;
+ #[wasm_bindgen(catch, constructor, js_class = "StorageEvent")]
+ #[doc = "The `new StorageEvent(..)` constructor, creating a new instance of `StorageEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/StorageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub fn new(type_: &str) -> Result<StorageEvent, JsValue>;
+ #[cfg(feature = "StorageEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "StorageEvent")]
+ #[doc = "The `new StorageEvent(..)` constructor, creating a new instance of `StorageEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/StorageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`, `StorageEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &StorageEventInit,
+ ) -> Result<StorageEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "StorageEvent" , js_name = initStorageEvent)]
+ #[doc = "The `initStorageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub fn init_storage_event(this: &StorageEvent, type_: &str);
+ # [wasm_bindgen (method , structural , js_class = "StorageEvent" , js_name = initStorageEvent)]
+ #[doc = "The `initStorageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub fn init_storage_event_with_can_bubble(this: &StorageEvent, type_: &str, can_bubble: bool);
+ # [wasm_bindgen (method , structural , js_class = "StorageEvent" , js_name = initStorageEvent)]
+ #[doc = "The `initStorageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub fn init_storage_event_with_can_bubble_and_cancelable(
+ this: &StorageEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ );
+ # [wasm_bindgen (method , structural , js_class = "StorageEvent" , js_name = initStorageEvent)]
+ #[doc = "The `initStorageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub fn init_storage_event_with_can_bubble_and_cancelable_and_key(
+ this: &StorageEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ key: Option<&str>,
+ );
+ # [wasm_bindgen (method , structural , js_class = "StorageEvent" , js_name = initStorageEvent)]
+ #[doc = "The `initStorageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value(
+ this: &StorageEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ key: Option<&str>,
+ old_value: Option<&str>,
+ );
+ # [wasm_bindgen (method , structural , js_class = "StorageEvent" , js_name = initStorageEvent)]
+ #[doc = "The `initStorageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value(
+ this: &StorageEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ key: Option<&str>,
+ old_value: Option<&str>,
+ new_value: Option<&str>,
+ );
+ # [wasm_bindgen (method , structural , js_class = "StorageEvent" , js_name = initStorageEvent)]
+ #[doc = "The `initStorageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"]
+ pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url(
+ this: &StorageEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ key: Option<&str>,
+ old_value: Option<&str>,
+ new_value: Option<&str>,
+ url: Option<&str>,
+ );
+ #[cfg(feature = "Storage")]
+ # [wasm_bindgen (method , structural , js_class = "StorageEvent" , js_name = initStorageEvent)]
+ #[doc = "The `initStorageEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`, `StorageEvent`*"]
+ pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url_and_storage_area(
+ this: &StorageEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ key: Option<&str>,
+ old_value: Option<&str>,
+ new_value: Option<&str>,
+ url: Option<&str>,
+ storage_area: Option<&Storage>,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_StorageEventInit.rs b/vendor/web-sys/src/features/gen_StorageEventInit.rs
new file mode 100644
index 000000000..d3509e513
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StorageEventInit.rs
@@ -0,0 +1,156 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StorageEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `StorageEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEventInit`*"]
+ pub type StorageEventInit;
+}
+impl StorageEventInit {
+ #[doc = "Construct a new `StorageEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `key` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEventInit`*"]
+ pub fn key(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("key"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `newValue` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEventInit`*"]
+ pub fn new_value(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("newValue"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `oldValue` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEventInit`*"]
+ pub fn old_value(&mut self, val: Option<&str>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("oldValue"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Storage")]
+ #[doc = "Change the `storageArea` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`, `StorageEventInit`*"]
+ pub fn storage_area(&mut self, val: Option<&Storage>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("storageArea"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `url` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageEventInit`*"]
+ pub fn url(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("url"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for StorageEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_StorageManager.rs b/vendor/web-sys/src/features/gen_StorageManager.rs
new file mode 100644
index 000000000..9901c7950
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StorageManager.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StorageManager , typescript_type = "StorageManager")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `StorageManager` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageManager`*"]
+ pub type StorageManager;
+ # [wasm_bindgen (catch , method , structural , js_class = "StorageManager" , js_name = estimate)]
+ #[doc = "The `estimate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/estimate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageManager`*"]
+ pub fn estimate(this: &StorageManager) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "StorageManager" , js_name = persist)]
+ #[doc = "The `persist()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persist)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageManager`*"]
+ pub fn persist(this: &StorageManager) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "StorageManager" , js_name = persisted)]
+ #[doc = "The `persisted()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persisted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageManager`*"]
+ pub fn persisted(this: &StorageManager) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_StorageType.rs b/vendor/web-sys/src/features/gen_StorageType.rs
new file mode 100644
index 000000000..46eea4c2f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StorageType.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `StorageType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `StorageType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum StorageType {
+ Persistent = "persistent",
+ Temporary = "temporary",
+ Default = "default",
+}
diff --git a/vendor/web-sys/src/features/gen_StreamPipeOptions.rs b/vendor/web-sys/src/features/gen_StreamPipeOptions.rs
new file mode 100644
index 000000000..b58cee2a2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StreamPipeOptions.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StreamPipeOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `StreamPipeOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StreamPipeOptions`*"]
+ pub type StreamPipeOptions;
+}
+impl StreamPipeOptions {
+ #[doc = "Construct a new `StreamPipeOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StreamPipeOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `preventAbort` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StreamPipeOptions`*"]
+ pub fn prevent_abort(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("preventAbort"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `preventCancel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StreamPipeOptions`*"]
+ pub fn prevent_cancel(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("preventCancel"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `preventClose` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StreamPipeOptions`*"]
+ pub fn prevent_close(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("preventClose"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "AbortSignal")]
+ #[doc = "Change the `signal` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortSignal`, `StreamPipeOptions`*"]
+ pub fn signal(&mut self, val: &AbortSignal) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("signal"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for StreamPipeOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_StyleRuleChangeEventInit.rs b/vendor/web-sys/src/features/gen_StyleRuleChangeEventInit.rs
new file mode 100644
index 000000000..7a9d3033c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StyleRuleChangeEventInit.rs
@@ -0,0 +1,110 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StyleRuleChangeEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `StyleRuleChangeEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleRuleChangeEventInit`*"]
+ pub type StyleRuleChangeEventInit;
+}
+impl StyleRuleChangeEventInit {
+ #[doc = "Construct a new `StyleRuleChangeEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleRuleChangeEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleRuleChangeEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleRuleChangeEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleRuleChangeEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "CssRule")]
+ #[doc = "Change the `rule` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssRule`, `StyleRuleChangeEventInit`*"]
+ pub fn rule(&mut self, val: Option<&CssRule>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("rule"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "CssStyleSheet")]
+ #[doc = "Change the `stylesheet` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleSheet`, `StyleRuleChangeEventInit`*"]
+ pub fn stylesheet(&mut self, val: Option<&CssStyleSheet>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stylesheet"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for StyleRuleChangeEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_StyleSheet.rs b/vendor/web-sys/src/features/gen_StyleSheet.rs
new file mode 100644
index 000000000..b539c60e3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StyleSheet.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StyleSheet , typescript_type = "StyleSheet")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `StyleSheet` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheet`*"]
+ pub type StyleSheet;
+ # [wasm_bindgen (structural , method , getter , js_class = "StyleSheet" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheet`*"]
+ pub fn type_(this: &StyleSheet) -> String;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "StyleSheet" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheet`*"]
+ pub fn href(this: &StyleSheet) -> Result<Option<String>, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "StyleSheet" , js_name = ownerNode)]
+ #[doc = "Getter for the `ownerNode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/ownerNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `StyleSheet`*"]
+ pub fn owner_node(this: &StyleSheet) -> Option<Node>;
+ # [wasm_bindgen (structural , method , getter , js_class = "StyleSheet" , js_name = parentStyleSheet)]
+ #[doc = "Getter for the `parentStyleSheet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/parentStyleSheet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheet`*"]
+ pub fn parent_style_sheet(this: &StyleSheet) -> Option<StyleSheet>;
+ # [wasm_bindgen (structural , method , getter , js_class = "StyleSheet" , js_name = title)]
+ #[doc = "Getter for the `title` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/title)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheet`*"]
+ pub fn title(this: &StyleSheet) -> Option<String>;
+ #[cfg(feature = "MediaList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "StyleSheet" , js_name = media)]
+ #[doc = "Getter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaList`, `StyleSheet`*"]
+ pub fn media(this: &StyleSheet) -> MediaList;
+ # [wasm_bindgen (structural , method , getter , js_class = "StyleSheet" , js_name = disabled)]
+ #[doc = "Getter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheet`*"]
+ pub fn disabled(this: &StyleSheet) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "StyleSheet" , js_name = disabled)]
+ #[doc = "Setter for the `disabled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/disabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheet`*"]
+ pub fn set_disabled(this: &StyleSheet, value: bool);
+}
diff --git a/vendor/web-sys/src/features/gen_StyleSheetApplicableStateChangeEventInit.rs b/vendor/web-sys/src/features/gen_StyleSheetApplicableStateChangeEventInit.rs
new file mode 100644
index 000000000..b4ff3d124
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StyleSheetApplicableStateChangeEventInit.rs
@@ -0,0 +1,113 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StyleSheetApplicableStateChangeEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `StyleSheetApplicableStateChangeEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetApplicableStateChangeEventInit`*"]
+ pub type StyleSheetApplicableStateChangeEventInit;
+}
+impl StyleSheetApplicableStateChangeEventInit {
+ #[doc = "Construct a new `StyleSheetApplicableStateChangeEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetApplicableStateChangeEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetApplicableStateChangeEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetApplicableStateChangeEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetApplicableStateChangeEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `applicable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetApplicableStateChangeEventInit`*"]
+ pub fn applicable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("applicable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "CssStyleSheet")]
+ #[doc = "Change the `stylesheet` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleSheet`, `StyleSheetApplicableStateChangeEventInit`*"]
+ pub fn stylesheet(&mut self, val: Option<&CssStyleSheet>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stylesheet"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for StyleSheetApplicableStateChangeEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_StyleSheetChangeEventInit.rs b/vendor/web-sys/src/features/gen_StyleSheetChangeEventInit.rs
new file mode 100644
index 000000000..75b3235d9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StyleSheetChangeEventInit.rs
@@ -0,0 +1,113 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StyleSheetChangeEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `StyleSheetChangeEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetChangeEventInit`*"]
+ pub type StyleSheetChangeEventInit;
+}
+impl StyleSheetChangeEventInit {
+ #[doc = "Construct a new `StyleSheetChangeEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetChangeEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetChangeEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetChangeEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetChangeEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `documentSheet` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetChangeEventInit`*"]
+ pub fn document_sheet(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("documentSheet"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "CssStyleSheet")]
+ #[doc = "Change the `stylesheet` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleSheet`, `StyleSheetChangeEventInit`*"]
+ pub fn stylesheet(&mut self, val: Option<&CssStyleSheet>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stylesheet"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for StyleSheetChangeEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_StyleSheetList.rs b/vendor/web-sys/src/features/gen_StyleSheetList.rs
new file mode 100644
index 000000000..ce7c706e8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_StyleSheetList.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StyleSheetList , typescript_type = "StyleSheetList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `StyleSheetList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheetList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetList`*"]
+ pub type StyleSheetList;
+ # [wasm_bindgen (structural , method , getter , js_class = "StyleSheetList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheetList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheetList`*"]
+ pub fn length(this: &StyleSheetList) -> u32;
+ #[cfg(feature = "StyleSheet")]
+ # [wasm_bindgen (method , structural , js_class = "StyleSheetList" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheetList/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheet`, `StyleSheetList`*"]
+ pub fn item(this: &StyleSheetList, index: u32) -> Option<StyleSheet>;
+ #[cfg(feature = "StyleSheet")]
+ #[wasm_bindgen(method, structural, js_class = "StyleSheetList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheet`, `StyleSheetList`*"]
+ pub fn get(this: &StyleSheetList, index: u32) -> Option<StyleSheet>;
+}
diff --git a/vendor/web-sys/src/features/gen_SubmitEvent.rs b/vendor/web-sys/src/features/gen_SubmitEvent.rs
new file mode 100644
index 000000000..3caca43f2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SubmitEvent.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = SubmitEvent , typescript_type = "SubmitEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SubmitEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubmitEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubmitEvent`*"]
+ pub type SubmitEvent;
+ #[cfg(feature = "HtmlElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SubmitEvent" , js_name = submitter)]
+ #[doc = "Getter for the `submitter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubmitEvent/submitter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`, `SubmitEvent`*"]
+ pub fn submitter(this: &SubmitEvent) -> Option<HtmlElement>;
+ #[wasm_bindgen(catch, constructor, js_class = "SubmitEvent")]
+ #[doc = "The `new SubmitEvent(..)` constructor, creating a new instance of `SubmitEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubmitEvent/SubmitEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubmitEvent`*"]
+ pub fn new(type_: &str) -> Result<SubmitEvent, JsValue>;
+ #[cfg(feature = "SubmitEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "SubmitEvent")]
+ #[doc = "The `new SubmitEvent(..)` constructor, creating a new instance of `SubmitEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubmitEvent/SubmitEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubmitEvent`, `SubmitEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &SubmitEventInit,
+ ) -> Result<SubmitEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SubmitEventInit.rs b/vendor/web-sys/src/features/gen_SubmitEventInit.rs
new file mode 100644
index 000000000..6c5844f69
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SubmitEventInit.rs
@@ -0,0 +1,96 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SubmitEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SubmitEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubmitEventInit`*"]
+ pub type SubmitEventInit;
+}
+impl SubmitEventInit {
+ #[doc = "Construct a new `SubmitEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubmitEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubmitEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubmitEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubmitEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "HtmlElement")]
+ #[doc = "Change the `submitter` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlElement`, `SubmitEventInit`*"]
+ pub fn submitter(&mut self, val: Option<&HtmlElement>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("submitter"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for SubmitEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SubtleCrypto.rs b/vendor/web-sys/src/features/gen_SubtleCrypto.rs
new file mode 100644
index 000000000..516e819ba
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SubtleCrypto.rs
@@ -0,0 +1,640 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SubtleCrypto , typescript_type = "SubtleCrypto")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SubtleCrypto` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubtleCrypto`*"]
+ pub type SubtleCrypto;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = decrypt)]
+ #[doc = "The `decrypt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn decrypt_with_object_and_buffer_source(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ key: &CryptoKey,
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = decrypt)]
+ #[doc = "The `decrypt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn decrypt_with_str_and_buffer_source(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ key: &CryptoKey,
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = decrypt)]
+ #[doc = "The `decrypt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn decrypt_with_object_and_u8_array(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ key: &CryptoKey,
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = decrypt)]
+ #[doc = "The `decrypt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn decrypt_with_str_and_u8_array(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ key: &CryptoKey,
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = deriveBits)]
+ #[doc = "The `deriveBits()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveBits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn derive_bits_with_object(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ base_key: &CryptoKey,
+ length: u32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = deriveBits)]
+ #[doc = "The `deriveBits()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveBits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn derive_bits_with_str(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ base_key: &CryptoKey,
+ length: u32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = deriveKey)]
+ #[doc = "The `deriveKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn derive_key_with_object_and_object(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ base_key: &CryptoKey,
+ derived_key_type: &::js_sys::Object,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = deriveKey)]
+ #[doc = "The `deriveKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn derive_key_with_str_and_object(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ base_key: &CryptoKey,
+ derived_key_type: &::js_sys::Object,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = deriveKey)]
+ #[doc = "The `deriveKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn derive_key_with_object_and_str(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ base_key: &CryptoKey,
+ derived_key_type: &str,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = deriveKey)]
+ #[doc = "The `deriveKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn derive_key_with_str_and_str(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ base_key: &CryptoKey,
+ derived_key_type: &str,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = digest)]
+ #[doc = "The `digest()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubtleCrypto`*"]
+ pub fn digest_with_object_and_buffer_source(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = digest)]
+ #[doc = "The `digest()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubtleCrypto`*"]
+ pub fn digest_with_str_and_buffer_source(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = digest)]
+ #[doc = "The `digest()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubtleCrypto`*"]
+ pub fn digest_with_object_and_u8_array(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = digest)]
+ #[doc = "The `digest()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubtleCrypto`*"]
+ pub fn digest_with_str_and_u8_array(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = encrypt)]
+ #[doc = "The `encrypt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn encrypt_with_object_and_buffer_source(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ key: &CryptoKey,
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = encrypt)]
+ #[doc = "The `encrypt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn encrypt_with_str_and_buffer_source(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ key: &CryptoKey,
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = encrypt)]
+ #[doc = "The `encrypt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn encrypt_with_object_and_u8_array(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ key: &CryptoKey,
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = encrypt)]
+ #[doc = "The `encrypt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn encrypt_with_str_and_u8_array(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ key: &CryptoKey,
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = exportKey)]
+ #[doc = "The `exportKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/exportKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn export_key(
+ this: &SubtleCrypto,
+ format: &str,
+ key: &CryptoKey,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = generateKey)]
+ #[doc = "The `generateKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/generateKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubtleCrypto`*"]
+ pub fn generate_key_with_object(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = generateKey)]
+ #[doc = "The `generateKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/generateKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubtleCrypto`*"]
+ pub fn generate_key_with_str(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = importKey)]
+ #[doc = "The `importKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/importKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubtleCrypto`*"]
+ pub fn import_key_with_object(
+ this: &SubtleCrypto,
+ format: &str,
+ key_data: &::js_sys::Object,
+ algorithm: &::js_sys::Object,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = importKey)]
+ #[doc = "The `importKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/importKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SubtleCrypto`*"]
+ pub fn import_key_with_str(
+ this: &SubtleCrypto,
+ format: &str,
+ key_data: &::js_sys::Object,
+ algorithm: &str,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = sign)]
+ #[doc = "The `sign()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn sign_with_object_and_buffer_source(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ key: &CryptoKey,
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = sign)]
+ #[doc = "The `sign()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn sign_with_str_and_buffer_source(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ key: &CryptoKey,
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = sign)]
+ #[doc = "The `sign()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn sign_with_object_and_u8_array(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ key: &CryptoKey,
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = sign)]
+ #[doc = "The `sign()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn sign_with_str_and_u8_array(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ key: &CryptoKey,
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey)]
+ #[doc = "The `unwrapKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/unwrapKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn unwrap_key_with_buffer_source_and_object_and_object(
+ this: &SubtleCrypto,
+ format: &str,
+ wrapped_key: &::js_sys::Object,
+ unwrapping_key: &CryptoKey,
+ unwrap_algorithm: &::js_sys::Object,
+ unwrapped_key_algorithm: &::js_sys::Object,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey)]
+ #[doc = "The `unwrapKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/unwrapKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn unwrap_key_with_u8_array_and_object_and_object(
+ this: &SubtleCrypto,
+ format: &str,
+ wrapped_key: &mut [u8],
+ unwrapping_key: &CryptoKey,
+ unwrap_algorithm: &::js_sys::Object,
+ unwrapped_key_algorithm: &::js_sys::Object,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey)]
+ #[doc = "The `unwrapKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/unwrapKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn unwrap_key_with_buffer_source_and_str_and_object(
+ this: &SubtleCrypto,
+ format: &str,
+ wrapped_key: &::js_sys::Object,
+ unwrapping_key: &CryptoKey,
+ unwrap_algorithm: &str,
+ unwrapped_key_algorithm: &::js_sys::Object,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey)]
+ #[doc = "The `unwrapKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/unwrapKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn unwrap_key_with_u8_array_and_str_and_object(
+ this: &SubtleCrypto,
+ format: &str,
+ wrapped_key: &mut [u8],
+ unwrapping_key: &CryptoKey,
+ unwrap_algorithm: &str,
+ unwrapped_key_algorithm: &::js_sys::Object,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey)]
+ #[doc = "The `unwrapKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/unwrapKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn unwrap_key_with_buffer_source_and_object_and_str(
+ this: &SubtleCrypto,
+ format: &str,
+ wrapped_key: &::js_sys::Object,
+ unwrapping_key: &CryptoKey,
+ unwrap_algorithm: &::js_sys::Object,
+ unwrapped_key_algorithm: &str,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey)]
+ #[doc = "The `unwrapKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/unwrapKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn unwrap_key_with_u8_array_and_object_and_str(
+ this: &SubtleCrypto,
+ format: &str,
+ wrapped_key: &mut [u8],
+ unwrapping_key: &CryptoKey,
+ unwrap_algorithm: &::js_sys::Object,
+ unwrapped_key_algorithm: &str,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey)]
+ #[doc = "The `unwrapKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/unwrapKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn unwrap_key_with_buffer_source_and_str_and_str(
+ this: &SubtleCrypto,
+ format: &str,
+ wrapped_key: &::js_sys::Object,
+ unwrapping_key: &CryptoKey,
+ unwrap_algorithm: &str,
+ unwrapped_key_algorithm: &str,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey)]
+ #[doc = "The `unwrapKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/unwrapKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn unwrap_key_with_u8_array_and_str_and_str(
+ this: &SubtleCrypto,
+ format: &str,
+ wrapped_key: &mut [u8],
+ unwrapping_key: &CryptoKey,
+ unwrap_algorithm: &str,
+ unwrapped_key_algorithm: &str,
+ extractable: bool,
+ key_usages: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = verify)]
+ #[doc = "The `verify()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn verify_with_object_and_buffer_source_and_buffer_source(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ key: &CryptoKey,
+ signature: &::js_sys::Object,
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = verify)]
+ #[doc = "The `verify()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn verify_with_str_and_buffer_source_and_buffer_source(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ key: &CryptoKey,
+ signature: &::js_sys::Object,
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = verify)]
+ #[doc = "The `verify()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn verify_with_object_and_u8_array_and_buffer_source(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ key: &CryptoKey,
+ signature: &mut [u8],
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = verify)]
+ #[doc = "The `verify()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn verify_with_str_and_u8_array_and_buffer_source(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ key: &CryptoKey,
+ signature: &mut [u8],
+ data: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = verify)]
+ #[doc = "The `verify()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn verify_with_object_and_buffer_source_and_u8_array(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ key: &CryptoKey,
+ signature: &::js_sys::Object,
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = verify)]
+ #[doc = "The `verify()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn verify_with_str_and_buffer_source_and_u8_array(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ key: &CryptoKey,
+ signature: &::js_sys::Object,
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = verify)]
+ #[doc = "The `verify()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn verify_with_object_and_u8_array_and_u8_array(
+ this: &SubtleCrypto,
+ algorithm: &::js_sys::Object,
+ key: &CryptoKey,
+ signature: &mut [u8],
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = verify)]
+ #[doc = "The `verify()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn verify_with_str_and_u8_array_and_u8_array(
+ this: &SubtleCrypto,
+ algorithm: &str,
+ key: &CryptoKey,
+ signature: &mut [u8],
+ data: &mut [u8],
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = wrapKey)]
+ #[doc = "The `wrapKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/wrapKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn wrap_key_with_object(
+ this: &SubtleCrypto,
+ format: &str,
+ key: &CryptoKey,
+ wrapping_key: &CryptoKey,
+ wrap_algorithm: &::js_sys::Object,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "CryptoKey")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SubtleCrypto" , js_name = wrapKey)]
+ #[doc = "The `wrapKey()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/wrapKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*"]
+ pub fn wrap_key_with_str(
+ this: &SubtleCrypto,
+ format: &str,
+ key: &CryptoKey,
+ wrapping_key: &CryptoKey,
+ wrap_algorithm: &str,
+ ) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SupportedType.rs b/vendor/web-sys/src/features/gen_SupportedType.rs
new file mode 100644
index 000000000..dcc3d41ba
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SupportedType.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `SupportedType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `SupportedType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum SupportedType {
+ TextHtml = "text/html",
+ TextXml = "text/xml",
+ ApplicationXml = "application/xml",
+ ApplicationXhtmlXml = "application/xhtml+xml",
+ ImageSvgXml = "image/svg+xml",
+}
diff --git a/vendor/web-sys/src/features/gen_SvcOutputMetadata.rs b/vendor/web-sys/src/features/gen_SvcOutputMetadata.rs
new file mode 100644
index 000000000..aebaa2040
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvcOutputMetadata.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SvcOutputMetadata)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvcOutputMetadata` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvcOutputMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type SvcOutputMetadata;
+}
+#[cfg(web_sys_unstable_apis)]
+impl SvcOutputMetadata {
+ #[doc = "Construct a new `SvcOutputMetadata`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvcOutputMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `temporalLayerId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvcOutputMetadata`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn temporal_layer_id(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("temporalLayerId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for SvcOutputMetadata {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAngle.rs b/vendor/web-sys/src/features/gen_SvgAngle.rs
new file mode 100644
index 000000000..3406dfdfe
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAngle.rs
@@ -0,0 +1,103 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAngle , typescript_type = "SVGAngle")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAngle` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub type SvgAngle;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAngle" , js_name = unitType)]
+ #[doc = "Getter for the `unitType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/unitType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub fn unit_type(this: &SvgAngle) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAngle" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub fn value(this: &SvgAngle) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAngle" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub fn set_value(this: &SvgAngle, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAngle" , js_name = valueInSpecifiedUnits)]
+ #[doc = "Getter for the `valueInSpecifiedUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueInSpecifiedUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub fn value_in_specified_units(this: &SvgAngle) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAngle" , js_name = valueInSpecifiedUnits)]
+ #[doc = "Setter for the `valueInSpecifiedUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueInSpecifiedUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub fn set_value_in_specified_units(this: &SvgAngle, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAngle" , js_name = valueAsString)]
+ #[doc = "Getter for the `valueAsString` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueAsString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub fn value_as_string(this: &SvgAngle) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAngle" , js_name = valueAsString)]
+ #[doc = "Setter for the `valueAsString` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueAsString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub fn set_value_as_string(this: &SvgAngle, value: &str);
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGAngle" , js_name = convertToSpecifiedUnits)]
+ #[doc = "The `convertToSpecifiedUnits()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/convertToSpecifiedUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub fn convert_to_specified_units(this: &SvgAngle, unit_type: u16) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGAngle" , js_name = newValueSpecifiedUnits)]
+ #[doc = "The `newValueSpecifiedUnits()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/newValueSpecifiedUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub fn new_value_specified_units(
+ this: &SvgAngle,
+ unit_type: u16,
+ value_in_specified_units: f32,
+ ) -> Result<(), JsValue>;
+}
+impl SvgAngle {
+ #[doc = "The `SVGAngle.SVG_ANGLETYPE_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub const SVG_ANGLETYPE_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGAngle.SVG_ANGLETYPE_UNSPECIFIED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub const SVG_ANGLETYPE_UNSPECIFIED: u16 = 1u64 as u16;
+ #[doc = "The `SVGAngle.SVG_ANGLETYPE_DEG` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub const SVG_ANGLETYPE_DEG: u16 = 2u64 as u16;
+ #[doc = "The `SVGAngle.SVG_ANGLETYPE_RAD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub const SVG_ANGLETYPE_RAD: u16 = 3u64 as u16;
+ #[doc = "The `SVGAngle.SVG_ANGLETYPE_GRAD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
+ pub const SVG_ANGLETYPE_GRAD: u16 = 4u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimateElement.rs b/vendor/web-sys/src/features/gen_SvgAnimateElement.rs
new file mode 100644
index 000000000..273f132de
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimateElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgAnimationElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGAnimateElement , typescript_type = "SVGAnimateElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimateElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimateElement`*"]
+ pub type SvgAnimateElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimateMotionElement.rs b/vendor/web-sys/src/features/gen_SvgAnimateMotionElement.rs
new file mode 100644
index 000000000..2d29f1948
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimateMotionElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgAnimationElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGAnimateMotionElement , typescript_type = "SVGAnimateMotionElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimateMotionElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateMotionElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimateMotionElement`*"]
+ pub type SvgAnimateMotionElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimateTransformElement.rs b/vendor/web-sys/src/features/gen_SvgAnimateTransformElement.rs
new file mode 100644
index 000000000..c1d437c22
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimateTransformElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgAnimationElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGAnimateTransformElement , typescript_type = "SVGAnimateTransformElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimateTransformElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateTransformElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimateTransformElement`*"]
+ pub type SvgAnimateTransformElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedAngle.rs b/vendor/web-sys/src/features/gen_SvgAnimatedAngle.rs
new file mode 100644
index 000000000..ffcfd63e4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimatedAngle.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedAngle , typescript_type = "SVGAnimatedAngle")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimatedAngle` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedAngle`*"]
+ pub type SvgAnimatedAngle;
+ #[cfg(feature = "SvgAngle")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedAngle" , js_name = baseVal)]
+ #[doc = "Getter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedAngle/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`, `SvgAnimatedAngle`*"]
+ pub fn base_val(this: &SvgAnimatedAngle) -> SvgAngle;
+ #[cfg(feature = "SvgAngle")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedAngle" , js_name = animVal)]
+ #[doc = "Getter for the `animVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedAngle/animVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`, `SvgAnimatedAngle`*"]
+ pub fn anim_val(this: &SvgAnimatedAngle) -> SvgAngle;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedBoolean.rs b/vendor/web-sys/src/features/gen_SvgAnimatedBoolean.rs
new file mode 100644
index 000000000..99b3d98a0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimatedBoolean.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedBoolean , typescript_type = "SVGAnimatedBoolean")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimatedBoolean` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedBoolean)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedBoolean`*"]
+ pub type SvgAnimatedBoolean;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedBoolean" , js_name = baseVal)]
+ #[doc = "Getter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedBoolean/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedBoolean`*"]
+ pub fn base_val(this: &SvgAnimatedBoolean) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAnimatedBoolean" , js_name = baseVal)]
+ #[doc = "Setter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedBoolean/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedBoolean`*"]
+ pub fn set_base_val(this: &SvgAnimatedBoolean, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedBoolean" , js_name = animVal)]
+ #[doc = "Getter for the `animVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedBoolean/animVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedBoolean`*"]
+ pub fn anim_val(this: &SvgAnimatedBoolean) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedEnumeration.rs b/vendor/web-sys/src/features/gen_SvgAnimatedEnumeration.rs
new file mode 100644
index 000000000..2d9172db7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimatedEnumeration.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedEnumeration , typescript_type = "SVGAnimatedEnumeration")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimatedEnumeration` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedEnumeration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`*"]
+ pub type SvgAnimatedEnumeration;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedEnumeration" , js_name = baseVal)]
+ #[doc = "Getter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedEnumeration/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`*"]
+ pub fn base_val(this: &SvgAnimatedEnumeration) -> u16;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAnimatedEnumeration" , js_name = baseVal)]
+ #[doc = "Setter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedEnumeration/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`*"]
+ pub fn set_base_val(this: &SvgAnimatedEnumeration, value: u16);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedEnumeration" , js_name = animVal)]
+ #[doc = "Getter for the `animVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedEnumeration/animVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`*"]
+ pub fn anim_val(this: &SvgAnimatedEnumeration) -> u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedInteger.rs b/vendor/web-sys/src/features/gen_SvgAnimatedInteger.rs
new file mode 100644
index 000000000..89690a261
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimatedInteger.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedInteger , typescript_type = "SVGAnimatedInteger")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimatedInteger` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedInteger)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`*"]
+ pub type SvgAnimatedInteger;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedInteger" , js_name = baseVal)]
+ #[doc = "Getter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedInteger/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`*"]
+ pub fn base_val(this: &SvgAnimatedInteger) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAnimatedInteger" , js_name = baseVal)]
+ #[doc = "Setter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedInteger/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`*"]
+ pub fn set_base_val(this: &SvgAnimatedInteger, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedInteger" , js_name = animVal)]
+ #[doc = "Getter for the `animVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedInteger/animVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`*"]
+ pub fn anim_val(this: &SvgAnimatedInteger) -> i32;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedLength.rs b/vendor/web-sys/src/features/gen_SvgAnimatedLength.rs
new file mode 100644
index 000000000..8348f7d02
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimatedLength.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedLength , typescript_type = "SVGAnimatedLength")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimatedLength` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`*"]
+ pub type SvgAnimatedLength;
+ #[cfg(feature = "SvgLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedLength" , js_name = baseVal)]
+ #[doc = "Getter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLength/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLength`*"]
+ pub fn base_val(this: &SvgAnimatedLength) -> SvgLength;
+ #[cfg(feature = "SvgLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedLength" , js_name = animVal)]
+ #[doc = "Getter for the `animVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLength/animVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLength`*"]
+ pub fn anim_val(this: &SvgAnimatedLength) -> SvgLength;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedLengthList.rs b/vendor/web-sys/src/features/gen_SvgAnimatedLengthList.rs
new file mode 100644
index 000000000..9e5032f16
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimatedLengthList.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedLengthList , typescript_type = "SVGAnimatedLengthList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimatedLengthList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLengthList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLengthList`*"]
+ pub type SvgAnimatedLengthList;
+ #[cfg(feature = "SvgLengthList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedLengthList" , js_name = baseVal)]
+ #[doc = "Getter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLengthList/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgLengthList`*"]
+ pub fn base_val(this: &SvgAnimatedLengthList) -> SvgLengthList;
+ #[cfg(feature = "SvgLengthList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedLengthList" , js_name = animVal)]
+ #[doc = "Getter for the `animVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLengthList/animVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgLengthList`*"]
+ pub fn anim_val(this: &SvgAnimatedLengthList) -> SvgLengthList;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedNumber.rs b/vendor/web-sys/src/features/gen_SvgAnimatedNumber.rs
new file mode 100644
index 000000000..c38e204b8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimatedNumber.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedNumber , typescript_type = "SVGAnimatedNumber")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimatedNumber` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`*"]
+ pub type SvgAnimatedNumber;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedNumber" , js_name = baseVal)]
+ #[doc = "Getter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`*"]
+ pub fn base_val(this: &SvgAnimatedNumber) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAnimatedNumber" , js_name = baseVal)]
+ #[doc = "Setter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`*"]
+ pub fn set_base_val(this: &SvgAnimatedNumber, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedNumber" , js_name = animVal)]
+ #[doc = "Getter for the `animVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/animVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`*"]
+ pub fn anim_val(this: &SvgAnimatedNumber) -> f32;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedNumberList.rs b/vendor/web-sys/src/features/gen_SvgAnimatedNumberList.rs
new file mode 100644
index 000000000..ec5ab3718
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimatedNumberList.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedNumberList , typescript_type = "SVGAnimatedNumberList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimatedNumberList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumberList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`*"]
+ pub type SvgAnimatedNumberList;
+ #[cfg(feature = "SvgNumberList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedNumberList" , js_name = baseVal)]
+ #[doc = "Getter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumberList/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgNumberList`*"]
+ pub fn base_val(this: &SvgAnimatedNumberList) -> SvgNumberList;
+ #[cfg(feature = "SvgNumberList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedNumberList" , js_name = animVal)]
+ #[doc = "Getter for the `animVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumberList/animVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgNumberList`*"]
+ pub fn anim_val(this: &SvgAnimatedNumberList) -> SvgNumberList;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedPreserveAspectRatio.rs b/vendor/web-sys/src/features/gen_SvgAnimatedPreserveAspectRatio.rs
new file mode 100644
index 000000000..4dee971d7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimatedPreserveAspectRatio.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedPreserveAspectRatio , typescript_type = "SVGAnimatedPreserveAspectRatio")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimatedPreserveAspectRatio` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedPreserveAspectRatio)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`*"]
+ pub type SvgAnimatedPreserveAspectRatio;
+ #[cfg(feature = "SvgPreserveAspectRatio")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedPreserveAspectRatio" , js_name = baseVal)]
+ #[doc = "Getter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedPreserveAspectRatio/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgPreserveAspectRatio`*"]
+ pub fn base_val(this: &SvgAnimatedPreserveAspectRatio) -> SvgPreserveAspectRatio;
+ #[cfg(feature = "SvgPreserveAspectRatio")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedPreserveAspectRatio" , js_name = animVal)]
+ #[doc = "Getter for the `animVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedPreserveAspectRatio/animVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgPreserveAspectRatio`*"]
+ pub fn anim_val(this: &SvgAnimatedPreserveAspectRatio) -> SvgPreserveAspectRatio;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedRect.rs b/vendor/web-sys/src/features/gen_SvgAnimatedRect.rs
new file mode 100644
index 000000000..45daf5d4f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimatedRect.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedRect , typescript_type = "SVGAnimatedRect")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimatedRect` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`*"]
+ pub type SvgAnimatedRect;
+ #[cfg(feature = "SvgRect")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedRect" , js_name = baseVal)]
+ #[doc = "Getter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedRect/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgRect`*"]
+ pub fn base_val(this: &SvgAnimatedRect) -> Option<SvgRect>;
+ #[cfg(feature = "SvgRect")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedRect" , js_name = animVal)]
+ #[doc = "Getter for the `animVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedRect/animVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgRect`*"]
+ pub fn anim_val(this: &SvgAnimatedRect) -> Option<SvgRect>;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedString.rs b/vendor/web-sys/src/features/gen_SvgAnimatedString.rs
new file mode 100644
index 000000000..b02669aaa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimatedString.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedString , typescript_type = "SVGAnimatedString")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimatedString` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`*"]
+ pub type SvgAnimatedString;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedString" , js_name = baseVal)]
+ #[doc = "Getter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedString/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`*"]
+ pub fn base_val(this: &SvgAnimatedString) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAnimatedString" , js_name = baseVal)]
+ #[doc = "Setter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedString/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`*"]
+ pub fn set_base_val(this: &SvgAnimatedString, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedString" , js_name = animVal)]
+ #[doc = "Getter for the `animVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedString/animVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`*"]
+ pub fn anim_val(this: &SvgAnimatedString) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedTransformList.rs b/vendor/web-sys/src/features/gen_SvgAnimatedTransformList.rs
new file mode 100644
index 000000000..08e923b00
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimatedTransformList.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedTransformList , typescript_type = "SVGAnimatedTransformList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimatedTransformList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedTransformList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedTransformList`*"]
+ pub type SvgAnimatedTransformList;
+ #[cfg(feature = "SvgTransformList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedTransformList" , js_name = baseVal)]
+ #[doc = "Getter for the `baseVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedTransformList/baseVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgTransformList`*"]
+ pub fn base_val(this: &SvgAnimatedTransformList) -> SvgTransformList;
+ #[cfg(feature = "SvgTransformList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedTransformList" , js_name = animVal)]
+ #[doc = "Getter for the `animVal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedTransformList/animVal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgTransformList`*"]
+ pub fn anim_val(this: &SvgAnimatedTransformList) -> SvgTransformList;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgAnimationElement.rs b/vendor/web-sys/src/features/gen_SvgAnimationElement.rs
new file mode 100644
index 000000000..613590828
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgAnimationElement.rs
@@ -0,0 +1,101 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGAnimationElement , typescript_type = "SVGAnimationElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgAnimationElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"]
+ pub type SvgAnimationElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimationElement" , js_name = targetElement)]
+ #[doc = "Getter for the `targetElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/targetElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"]
+ pub fn target_element(this: &SvgAnimationElement) -> Option<SvgElement>;
+ #[cfg(feature = "SvgStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimationElement" , js_name = requiredFeatures)]
+ #[doc = "Getter for the `requiredFeatures` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/requiredFeatures)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*"]
+ pub fn required_features(this: &SvgAnimationElement) -> SvgStringList;
+ #[cfg(feature = "SvgStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimationElement" , js_name = requiredExtensions)]
+ #[doc = "Getter for the `requiredExtensions` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/requiredExtensions)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*"]
+ pub fn required_extensions(this: &SvgAnimationElement) -> SvgStringList;
+ #[cfg(feature = "SvgStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimationElement" , js_name = systemLanguage)]
+ #[doc = "Getter for the `systemLanguage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/systemLanguage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*"]
+ pub fn system_language(this: &SvgAnimationElement) -> SvgStringList;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = beginElement)]
+ #[doc = "The `beginElement()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/beginElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"]
+ pub fn begin_element(this: &SvgAnimationElement) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = beginElementAt)]
+ #[doc = "The `beginElementAt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/beginElementAt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"]
+ pub fn begin_element_at(this: &SvgAnimationElement, offset: f32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = endElement)]
+ #[doc = "The `endElement()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/endElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"]
+ pub fn end_element(this: &SvgAnimationElement) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = endElementAt)]
+ #[doc = "The `endElementAt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/endElementAt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"]
+ pub fn end_element_at(this: &SvgAnimationElement, offset: f32) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "SVGAnimationElement" , js_name = getCurrentTime)]
+ #[doc = "The `getCurrentTime()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getCurrentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"]
+ pub fn get_current_time(this: &SvgAnimationElement) -> f32;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = getSimpleDuration)]
+ #[doc = "The `getSimpleDuration()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getSimpleDuration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"]
+ pub fn get_simple_duration(this: &SvgAnimationElement) -> Result<f32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = getStartTime)]
+ #[doc = "The `getStartTime()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getStartTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"]
+ pub fn get_start_time(this: &SvgAnimationElement) -> Result<f32, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "SVGAnimationElement" , js_name = hasExtension)]
+ #[doc = "The `hasExtension()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/hasExtension)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"]
+ pub fn has_extension(this: &SvgAnimationElement, extension: &str) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgBoundingBoxOptions.rs b/vendor/web-sys/src/features/gen_SvgBoundingBoxOptions.rs
new file mode 100644
index 000000000..81a1e4365
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgBoundingBoxOptions.rs
@@ -0,0 +1,88 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGBoundingBoxOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgBoundingBoxOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgBoundingBoxOptions`*"]
+ pub type SvgBoundingBoxOptions;
+}
+impl SvgBoundingBoxOptions {
+ #[doc = "Construct a new `SvgBoundingBoxOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgBoundingBoxOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `clipped` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgBoundingBoxOptions`*"]
+ pub fn clipped(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clipped"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `fill` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgBoundingBoxOptions`*"]
+ pub fn fill(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("fill"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `markers` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgBoundingBoxOptions`*"]
+ pub fn markers(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("markers"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `stroke` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgBoundingBoxOptions`*"]
+ pub fn stroke(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("stroke"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for SvgBoundingBoxOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_SvgCircleElement.rs b/vendor/web-sys/src/features/gen_SvgCircleElement.rs
new file mode 100644
index 000000000..c3a6e9297
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgCircleElement.rs
@@ -0,0 +1,38 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGCircleElement , typescript_type = "SVGCircleElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgCircleElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgCircleElement`*"]
+ pub type SvgCircleElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGCircleElement" , js_name = cx)]
+ #[doc = "Getter for the `cx` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement/cx)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgCircleElement`*"]
+ pub fn cx(this: &SvgCircleElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGCircleElement" , js_name = cy)]
+ #[doc = "Getter for the `cy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement/cy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgCircleElement`*"]
+ pub fn cy(this: &SvgCircleElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGCircleElement" , js_name = r)]
+ #[doc = "Getter for the `r` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement/r)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgCircleElement`*"]
+ pub fn r(this: &SvgCircleElement) -> SvgAnimatedLength;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgClipPathElement.rs b/vendor/web-sys/src/features/gen_SvgClipPathElement.rs
new file mode 100644
index 000000000..3d11d3422
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgClipPathElement.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGClipPathElement , typescript_type = "SVGClipPathElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgClipPathElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgClipPathElement`*"]
+ pub type SvgClipPathElement;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGClipPathElement" , js_name = clipPathUnits)]
+ #[doc = "Getter for the `clipPathUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement/clipPathUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgClipPathElement`*"]
+ pub fn clip_path_units(this: &SvgClipPathElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedTransformList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGClipPathElement" , js_name = transform)]
+ #[doc = "Getter for the `transform` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement/transform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgClipPathElement`*"]
+ pub fn transform(this: &SvgClipPathElement) -> SvgAnimatedTransformList;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs b/vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs
new file mode 100644
index 000000000..9703e6f9c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs
@@ -0,0 +1,96 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGComponentTransferFunctionElement , typescript_type = "SVGComponentTransferFunctionElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgComponentTransferFunctionElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
+ pub type SvgComponentTransferFunctionElement;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgComponentTransferFunctionElement`*"]
+ pub fn type_(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedNumberList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = tableValues)]
+ #[doc = "Getter for the `tableValues` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/tableValues)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgComponentTransferFunctionElement`*"]
+ pub fn table_values(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumberList;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = slope)]
+ #[doc = "Getter for the `slope` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/slope)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"]
+ pub fn slope(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = intercept)]
+ #[doc = "Getter for the `intercept` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/intercept)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"]
+ pub fn intercept(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = amplitude)]
+ #[doc = "Getter for the `amplitude` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/amplitude)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"]
+ pub fn amplitude(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = exponent)]
+ #[doc = "Getter for the `exponent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/exponent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"]
+ pub fn exponent(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = offset)]
+ #[doc = "Getter for the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/offset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"]
+ pub fn offset(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber;
+}
+impl SvgComponentTransferFunctionElement {
+ #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
+ pub const SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
+ pub const SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: u16 = 1u64 as u16;
+ #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_TABLE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
+ pub const SVG_FECOMPONENTTRANSFER_TYPE_TABLE: u16 = 2u64 as u16;
+ #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
+ pub const SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: u16 = 3u64 as u16;
+ #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_LINEAR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
+ pub const SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: u16 = 4u64 as u16;
+ #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_GAMMA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
+ pub const SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: u16 = 5u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgDefsElement.rs b/vendor/web-sys/src/features/gen_SvgDefsElement.rs
new file mode 100644
index 000000000..49a1359f5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgDefsElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGDefsElement , typescript_type = "SVGDefsElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgDefsElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGDefsElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgDefsElement`*"]
+ pub type SvgDefsElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgDescElement.rs b/vendor/web-sys/src/features/gen_SvgDescElement.rs
new file mode 100644
index 000000000..5327c0043
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgDescElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGDescElement , typescript_type = "SVGDescElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgDescElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGDescElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgDescElement`*"]
+ pub type SvgDescElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgElement.rs b/vendor/web-sys/src/features/gen_SvgElement.rs
new file mode 100644
index 000000000..2f1e1ab42
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgElement.rs
@@ -0,0 +1,1355 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGElement , typescript_type = "SVGElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub type SvgElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn id(this: &SvgElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = id)]
+ #[doc = "Setter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_id(this: &SvgElement, value: &str);
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = className)]
+ #[doc = "Getter for the `className` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/className)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgElement`*"]
+ pub fn class_name(this: &SvgElement) -> SvgAnimatedString;
+ #[cfg(feature = "DomStringMap")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = dataset)]
+ #[doc = "Getter for the `dataset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/dataset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomStringMap`, `SvgElement`*"]
+ pub fn dataset(this: &SvgElement) -> DomStringMap;
+ #[cfg(feature = "CssStyleDeclaration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = style)]
+ #[doc = "Getter for the `style` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/style)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`, `SvgElement`*"]
+ pub fn style(this: &SvgElement) -> CssStyleDeclaration;
+ #[cfg(feature = "SvgsvgElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ownerSVGElement)]
+ #[doc = "Getter for the `ownerSVGElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ownerSVGElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`, `SvgsvgElement`*"]
+ pub fn owner_svg_element(this: &SvgElement) -> Option<SvgsvgElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = viewportElement)]
+ #[doc = "Getter for the `viewportElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/viewportElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn viewport_element(this: &SvgElement) -> Option<SvgElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = tabIndex)]
+ #[doc = "Getter for the `tabIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/tabIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn tab_index(this: &SvgElement) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = tabIndex)]
+ #[doc = "Setter for the `tabIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/tabIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_tab_index(this: &SvgElement, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = oncopy)]
+ #[doc = "Getter for the `oncopy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncopy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn oncopy(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = oncopy)]
+ #[doc = "Setter for the `oncopy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncopy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_oncopy(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = oncut)]
+ #[doc = "Getter for the `oncut` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn oncut(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = oncut)]
+ #[doc = "Setter for the `oncut` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_oncut(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onpaste)]
+ #[doc = "Getter for the `onpaste` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpaste)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onpaste(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onpaste)]
+ #[doc = "Setter for the `onpaste` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpaste)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onpaste(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onabort)]
+ #[doc = "Getter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onabort(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onabort)]
+ #[doc = "Setter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onabort(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onblur)]
+ #[doc = "Getter for the `onblur` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onblur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onblur(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onblur)]
+ #[doc = "Setter for the `onblur` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onblur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onblur(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onfocus)]
+ #[doc = "Getter for the `onfocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onfocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onfocus(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onfocus)]
+ #[doc = "Setter for the `onfocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onfocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onfocus(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onauxclick)]
+ #[doc = "Getter for the `onauxclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onauxclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onauxclick(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onauxclick)]
+ #[doc = "Setter for the `onauxclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onauxclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onauxclick(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = oncanplay)]
+ #[doc = "Getter for the `oncanplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncanplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn oncanplay(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = oncanplay)]
+ #[doc = "Setter for the `oncanplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncanplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_oncanplay(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = oncanplaythrough)]
+ #[doc = "Getter for the `oncanplaythrough` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncanplaythrough)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn oncanplaythrough(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = oncanplaythrough)]
+ #[doc = "Setter for the `oncanplaythrough` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncanplaythrough)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_oncanplaythrough(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onchange(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onchange(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onclick)]
+ #[doc = "Getter for the `onclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onclick(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onclick)]
+ #[doc = "Setter for the `onclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onclick(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onclose)]
+ #[doc = "Getter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onclose(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onclose)]
+ #[doc = "Setter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onclose(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = oncontextmenu)]
+ #[doc = "Getter for the `oncontextmenu` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncontextmenu)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn oncontextmenu(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = oncontextmenu)]
+ #[doc = "Setter for the `oncontextmenu` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncontextmenu)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_oncontextmenu(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ondblclick)]
+ #[doc = "Getter for the `ondblclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondblclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ondblclick(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ondblclick)]
+ #[doc = "Setter for the `ondblclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondblclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ondblclick(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ondrag)]
+ #[doc = "Getter for the `ondrag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondrag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ondrag(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ondrag)]
+ #[doc = "Setter for the `ondrag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondrag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ondrag(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ondragend)]
+ #[doc = "Getter for the `ondragend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ondragend(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ondragend)]
+ #[doc = "Setter for the `ondragend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ondragend(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ondragenter)]
+ #[doc = "Getter for the `ondragenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ondragenter(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ondragenter)]
+ #[doc = "Setter for the `ondragenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ondragenter(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ondragexit)]
+ #[doc = "Getter for the `ondragexit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragexit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ondragexit(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ondragexit)]
+ #[doc = "Setter for the `ondragexit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragexit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ondragexit(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ondragleave)]
+ #[doc = "Getter for the `ondragleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ondragleave(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ondragleave)]
+ #[doc = "Setter for the `ondragleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ondragleave(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ondragover)]
+ #[doc = "Getter for the `ondragover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ondragover(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ondragover)]
+ #[doc = "Setter for the `ondragover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ondragover(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ondragstart)]
+ #[doc = "Getter for the `ondragstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ondragstart(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ondragstart)]
+ #[doc = "Setter for the `ondragstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ondragstart(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ondrop)]
+ #[doc = "Getter for the `ondrop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondrop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ondrop(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ondrop)]
+ #[doc = "Setter for the `ondrop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondrop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ondrop(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ondurationchange)]
+ #[doc = "Getter for the `ondurationchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondurationchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ondurationchange(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ondurationchange)]
+ #[doc = "Setter for the `ondurationchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondurationchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ondurationchange(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onemptied)]
+ #[doc = "Getter for the `onemptied` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onemptied)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onemptied(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onemptied)]
+ #[doc = "Setter for the `onemptied` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onemptied)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onemptied(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onended)]
+ #[doc = "Getter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onended(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onended)]
+ #[doc = "Setter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onended(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = oninput)]
+ #[doc = "Getter for the `oninput` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oninput)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn oninput(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = oninput)]
+ #[doc = "Setter for the `oninput` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oninput)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_oninput(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = oninvalid)]
+ #[doc = "Getter for the `oninvalid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oninvalid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn oninvalid(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = oninvalid)]
+ #[doc = "Setter for the `oninvalid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oninvalid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_oninvalid(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onkeydown)]
+ #[doc = "Getter for the `onkeydown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeydown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onkeydown(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onkeydown)]
+ #[doc = "Setter for the `onkeydown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeydown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onkeydown(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onkeypress)]
+ #[doc = "Getter for the `onkeypress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeypress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onkeypress(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onkeypress)]
+ #[doc = "Setter for the `onkeypress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeypress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onkeypress(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onkeyup)]
+ #[doc = "Getter for the `onkeyup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeyup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onkeyup(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onkeyup)]
+ #[doc = "Setter for the `onkeyup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeyup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onkeyup(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onload)]
+ #[doc = "Getter for the `onload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onload(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onload)]
+ #[doc = "Setter for the `onload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onload(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onloadeddata)]
+ #[doc = "Getter for the `onloadeddata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadeddata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onloadeddata(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onloadeddata)]
+ #[doc = "Setter for the `onloadeddata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadeddata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onloadeddata(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onloadedmetadata)]
+ #[doc = "Getter for the `onloadedmetadata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadedmetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onloadedmetadata(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onloadedmetadata)]
+ #[doc = "Setter for the `onloadedmetadata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadedmetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onloadedmetadata(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onloadend)]
+ #[doc = "Getter for the `onloadend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onloadend(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onloadend)]
+ #[doc = "Setter for the `onloadend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onloadend(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onloadstart)]
+ #[doc = "Getter for the `onloadstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onloadstart(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onloadstart)]
+ #[doc = "Setter for the `onloadstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onloadstart(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onmousedown)]
+ #[doc = "Getter for the `onmousedown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmousedown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onmousedown(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onmousedown)]
+ #[doc = "Setter for the `onmousedown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmousedown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onmousedown(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onmouseenter)]
+ #[doc = "Getter for the `onmouseenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onmouseenter(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onmouseenter)]
+ #[doc = "Setter for the `onmouseenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onmouseenter(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onmouseleave)]
+ #[doc = "Getter for the `onmouseleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onmouseleave(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onmouseleave)]
+ #[doc = "Setter for the `onmouseleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onmouseleave(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onmousemove)]
+ #[doc = "Getter for the `onmousemove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmousemove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onmousemove(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onmousemove)]
+ #[doc = "Setter for the `onmousemove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmousemove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onmousemove(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onmouseout)]
+ #[doc = "Getter for the `onmouseout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onmouseout(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onmouseout)]
+ #[doc = "Setter for the `onmouseout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onmouseout(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onmouseover)]
+ #[doc = "Getter for the `onmouseover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onmouseover(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onmouseover)]
+ #[doc = "Setter for the `onmouseover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onmouseover(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onmouseup)]
+ #[doc = "Getter for the `onmouseup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onmouseup(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onmouseup)]
+ #[doc = "Setter for the `onmouseup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onmouseup(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onwheel)]
+ #[doc = "Getter for the `onwheel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwheel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onwheel(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onwheel)]
+ #[doc = "Setter for the `onwheel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwheel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onwheel(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onpause)]
+ #[doc = "Getter for the `onpause` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onpause(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onpause)]
+ #[doc = "Setter for the `onpause` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onpause(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onplay)]
+ #[doc = "Getter for the `onplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onplay(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onplay)]
+ #[doc = "Setter for the `onplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onplay(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onplaying)]
+ #[doc = "Getter for the `onplaying` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onplaying)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onplaying(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onplaying)]
+ #[doc = "Setter for the `onplaying` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onplaying)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onplaying(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onprogress)]
+ #[doc = "Getter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onprogress(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onprogress)]
+ #[doc = "Setter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onprogress(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onratechange)]
+ #[doc = "Getter for the `onratechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onratechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onratechange(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onratechange)]
+ #[doc = "Setter for the `onratechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onratechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onratechange(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onreset)]
+ #[doc = "Getter for the `onreset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onreset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onreset(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onreset)]
+ #[doc = "Setter for the `onreset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onreset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onreset(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onresize)]
+ #[doc = "Getter for the `onresize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onresize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onresize(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onresize)]
+ #[doc = "Setter for the `onresize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onresize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onresize(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onscroll)]
+ #[doc = "Getter for the `onscroll` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onscroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onscroll(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onscroll)]
+ #[doc = "Setter for the `onscroll` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onscroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onscroll(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onseeked)]
+ #[doc = "Getter for the `onseeked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onseeked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onseeked(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onseeked)]
+ #[doc = "Setter for the `onseeked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onseeked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onseeked(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onseeking)]
+ #[doc = "Getter for the `onseeking` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onseeking)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onseeking(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onseeking)]
+ #[doc = "Setter for the `onseeking` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onseeking)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onseeking(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onselect)]
+ #[doc = "Getter for the `onselect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onselect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onselect(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onselect)]
+ #[doc = "Setter for the `onselect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onselect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onselect(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onshow)]
+ #[doc = "Getter for the `onshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onshow(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onshow)]
+ #[doc = "Setter for the `onshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onshow(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onstalled)]
+ #[doc = "Getter for the `onstalled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onstalled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onstalled(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onstalled)]
+ #[doc = "Setter for the `onstalled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onstalled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onstalled(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onsubmit)]
+ #[doc = "Getter for the `onsubmit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onsubmit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onsubmit(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onsubmit)]
+ #[doc = "Setter for the `onsubmit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onsubmit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onsubmit(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onsuspend)]
+ #[doc = "Getter for the `onsuspend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onsuspend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onsuspend(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onsuspend)]
+ #[doc = "Setter for the `onsuspend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onsuspend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onsuspend(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ontimeupdate)]
+ #[doc = "Getter for the `ontimeupdate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontimeupdate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ontimeupdate(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ontimeupdate)]
+ #[doc = "Setter for the `ontimeupdate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontimeupdate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ontimeupdate(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onvolumechange)]
+ #[doc = "Getter for the `onvolumechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onvolumechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onvolumechange(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onvolumechange)]
+ #[doc = "Setter for the `onvolumechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onvolumechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onvolumechange(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onwaiting)]
+ #[doc = "Getter for the `onwaiting` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwaiting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onwaiting(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onwaiting)]
+ #[doc = "Setter for the `onwaiting` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwaiting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onwaiting(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onselectstart)]
+ #[doc = "Getter for the `onselectstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onselectstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onselectstart(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onselectstart)]
+ #[doc = "Setter for the `onselectstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onselectstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onselectstart(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ontoggle)]
+ #[doc = "Getter for the `ontoggle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontoggle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ontoggle(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ontoggle)]
+ #[doc = "Setter for the `ontoggle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontoggle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ontoggle(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onpointercancel)]
+ #[doc = "Getter for the `onpointercancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointercancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onpointercancel(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onpointercancel)]
+ #[doc = "Setter for the `onpointercancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointercancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onpointercancel(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onpointerdown)]
+ #[doc = "Getter for the `onpointerdown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerdown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onpointerdown(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onpointerdown)]
+ #[doc = "Setter for the `onpointerdown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerdown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onpointerdown(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onpointerup)]
+ #[doc = "Getter for the `onpointerup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onpointerup(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onpointerup)]
+ #[doc = "Setter for the `onpointerup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onpointerup(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onpointermove)]
+ #[doc = "Getter for the `onpointermove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointermove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onpointermove(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onpointermove)]
+ #[doc = "Setter for the `onpointermove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointermove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onpointermove(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onpointerout)]
+ #[doc = "Getter for the `onpointerout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onpointerout(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onpointerout)]
+ #[doc = "Setter for the `onpointerout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onpointerout(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onpointerover)]
+ #[doc = "Getter for the `onpointerover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onpointerover(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onpointerover)]
+ #[doc = "Setter for the `onpointerover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onpointerover(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onpointerenter)]
+ #[doc = "Getter for the `onpointerenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onpointerenter(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onpointerenter)]
+ #[doc = "Setter for the `onpointerenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onpointerenter(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onpointerleave)]
+ #[doc = "Getter for the `onpointerleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onpointerleave(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onpointerleave)]
+ #[doc = "Setter for the `onpointerleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onpointerleave(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ongotpointercapture)]
+ #[doc = "Getter for the `ongotpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ongotpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ongotpointercapture(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ongotpointercapture)]
+ #[doc = "Setter for the `ongotpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ongotpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ongotpointercapture(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onlostpointercapture)]
+ #[doc = "Getter for the `onlostpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onlostpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onlostpointercapture(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onlostpointercapture)]
+ #[doc = "Setter for the `onlostpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onlostpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onlostpointercapture(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onanimationcancel)]
+ #[doc = "Getter for the `onanimationcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onanimationcancel(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onanimationcancel)]
+ #[doc = "Setter for the `onanimationcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onanimationcancel(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onanimationend)]
+ #[doc = "Getter for the `onanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onanimationend(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onanimationend)]
+ #[doc = "Setter for the `onanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onanimationend(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onanimationiteration)]
+ #[doc = "Getter for the `onanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onanimationiteration(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onanimationiteration)]
+ #[doc = "Setter for the `onanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onanimationiteration(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onanimationstart)]
+ #[doc = "Getter for the `onanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onanimationstart(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onanimationstart)]
+ #[doc = "Setter for the `onanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onanimationstart(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ontransitioncancel)]
+ #[doc = "Getter for the `ontransitioncancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitioncancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ontransitioncancel(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ontransitioncancel)]
+ #[doc = "Setter for the `ontransitioncancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitioncancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ontransitioncancel(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ontransitionend)]
+ #[doc = "Getter for the `ontransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ontransitionend(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ontransitionend)]
+ #[doc = "Setter for the `ontransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ontransitionend(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ontransitionrun)]
+ #[doc = "Getter for the `ontransitionrun` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionrun)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ontransitionrun(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ontransitionrun)]
+ #[doc = "Setter for the `ontransitionrun` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionrun)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ontransitionrun(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ontransitionstart)]
+ #[doc = "Getter for the `ontransitionstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ontransitionstart(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ontransitionstart)]
+ #[doc = "Setter for the `ontransitionstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ontransitionstart(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onwebkitanimationend)]
+ #[doc = "Getter for the `onwebkitanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onwebkitanimationend(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onwebkitanimationend)]
+ #[doc = "Setter for the `onwebkitanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onwebkitanimationend(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onwebkitanimationiteration)]
+ #[doc = "Getter for the `onwebkitanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onwebkitanimationiteration(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onwebkitanimationiteration)]
+ #[doc = "Setter for the `onwebkitanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onwebkitanimationiteration(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onwebkitanimationstart)]
+ #[doc = "Getter for the `onwebkitanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onwebkitanimationstart(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onwebkitanimationstart)]
+ #[doc = "Setter for the `onwebkitanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onwebkitanimationstart(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onwebkittransitionend)]
+ #[doc = "Getter for the `onwebkittransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkittransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onwebkittransitionend(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onwebkittransitionend)]
+ #[doc = "Setter for the `onwebkittransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkittransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onwebkittransitionend(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn onerror(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_onerror(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ontouchstart)]
+ #[doc = "Getter for the `ontouchstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ontouchstart(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ontouchstart)]
+ #[doc = "Setter for the `ontouchstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ontouchstart(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ontouchend)]
+ #[doc = "Getter for the `ontouchend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ontouchend(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ontouchend)]
+ #[doc = "Setter for the `ontouchend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ontouchend(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ontouchmove)]
+ #[doc = "Getter for the `ontouchmove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchmove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ontouchmove(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ontouchmove)]
+ #[doc = "Setter for the `ontouchmove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchmove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ontouchmove(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGElement" , js_name = ontouchcancel)]
+ #[doc = "Getter for the `ontouchcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn ontouchcancel(this: &SvgElement) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGElement" , js_name = ontouchcancel)]
+ #[doc = "Setter for the `ontouchcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn set_ontouchcancel(this: &SvgElement, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGElement" , js_name = blur)]
+ #[doc = "The `blur()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/blur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn blur(this: &SvgElement) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGElement" , js_name = focus)]
+ #[doc = "The `focus()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/focus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgElement`*"]
+ pub fn focus(this: &SvgElement) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgEllipseElement.rs b/vendor/web-sys/src/features/gen_SvgEllipseElement.rs
new file mode 100644
index 000000000..9b0538156
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgEllipseElement.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGEllipseElement , typescript_type = "SVGEllipseElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgEllipseElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgEllipseElement`*"]
+ pub type SvgEllipseElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGEllipseElement" , js_name = cx)]
+ #[doc = "Getter for the `cx` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/cx)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*"]
+ pub fn cx(this: &SvgEllipseElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGEllipseElement" , js_name = cy)]
+ #[doc = "Getter for the `cy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/cy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*"]
+ pub fn cy(this: &SvgEllipseElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGEllipseElement" , js_name = rx)]
+ #[doc = "Getter for the `rx` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/rx)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*"]
+ pub fn rx(this: &SvgEllipseElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGEllipseElement" , js_name = ry)]
+ #[doc = "Getter for the `ry` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/ry)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*"]
+ pub fn ry(this: &SvgEllipseElement) -> SvgAnimatedLength;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgFilterElement.rs b/vendor/web-sys/src/features/gen_SvgFilterElement.rs
new file mode 100644
index 000000000..1f178eafb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgFilterElement.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFilterElement , typescript_type = "SVGFilterElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgFilterElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgFilterElement`*"]
+ pub type SvgFilterElement;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = filterUnits)]
+ #[doc = "Getter for the `filterUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/filterUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgFilterElement`*"]
+ pub fn filter_units(this: &SvgFilterElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = primitiveUnits)]
+ #[doc = "Getter for the `primitiveUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/primitiveUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgFilterElement`*"]
+ pub fn primitive_units(this: &SvgFilterElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*"]
+ pub fn x(this: &SvgFilterElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*"]
+ pub fn y(this: &SvgFilterElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*"]
+ pub fn width(this: &SvgFilterElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*"]
+ pub fn height(this: &SvgFilterElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgFilterElement`*"]
+ pub fn href(this: &SvgFilterElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgForeignObjectElement.rs b/vendor/web-sys/src/features/gen_SvgForeignObjectElement.rs
new file mode 100644
index 000000000..be0ba8829
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgForeignObjectElement.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGForeignObjectElement , typescript_type = "SVGForeignObjectElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgForeignObjectElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgForeignObjectElement`*"]
+ pub type SvgForeignObjectElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGForeignObjectElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgForeignObjectElement`*"]
+ pub fn x(this: &SvgForeignObjectElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGForeignObjectElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgForeignObjectElement`*"]
+ pub fn y(this: &SvgForeignObjectElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGForeignObjectElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgForeignObjectElement`*"]
+ pub fn width(this: &SvgForeignObjectElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGForeignObjectElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgForeignObjectElement`*"]
+ pub fn height(this: &SvgForeignObjectElement) -> SvgAnimatedLength;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgGeometryElement.rs b/vendor/web-sys/src/features/gen_SvgGeometryElement.rs
new file mode 100644
index 000000000..fe6116b88
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgGeometryElement.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGGeometryElement , typescript_type = "SVGGeometryElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgGeometryElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGeometryElement`*"]
+ pub type SvgGeometryElement;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGGeometryElement" , js_name = pathLength)]
+ #[doc = "Getter for the `pathLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/pathLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgGeometryElement`*"]
+ pub fn path_length(this: &SvgGeometryElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgPoint")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGGeometryElement" , js_name = getPointAtLength)]
+ #[doc = "The `getPointAtLength()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/getPointAtLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGeometryElement`, `SvgPoint`*"]
+ pub fn get_point_at_length(
+ this: &SvgGeometryElement,
+ distance: f32,
+ ) -> Result<SvgPoint, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "SVGGeometryElement" , js_name = getTotalLength)]
+ #[doc = "The `getTotalLength()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/getTotalLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGeometryElement`*"]
+ pub fn get_total_length(this: &SvgGeometryElement) -> f32;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgGradientElement.rs b/vendor/web-sys/src/features/gen_SvgGradientElement.rs
new file mode 100644
index 000000000..7a46835d0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgGradientElement.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGGradientElement , typescript_type = "SVGGradientElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgGradientElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGradientElement`*"]
+ pub type SvgGradientElement;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGGradientElement" , js_name = gradientUnits)]
+ #[doc = "Getter for the `gradientUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/gradientUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgGradientElement`*"]
+ pub fn gradient_units(this: &SvgGradientElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedTransformList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGGradientElement" , js_name = gradientTransform)]
+ #[doc = "Getter for the `gradientTransform` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/gradientTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgGradientElement`*"]
+ pub fn gradient_transform(this: &SvgGradientElement) -> SvgAnimatedTransformList;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGGradientElement" , js_name = spreadMethod)]
+ #[doc = "Getter for the `spreadMethod` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/spreadMethod)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgGradientElement`*"]
+ pub fn spread_method(this: &SvgGradientElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGGradientElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgGradientElement`*"]
+ pub fn href(this: &SvgGradientElement) -> SvgAnimatedString;
+}
+impl SvgGradientElement {
+ #[doc = "The `SVGGradientElement.SVG_SPREADMETHOD_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGradientElement`*"]
+ pub const SVG_SPREADMETHOD_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGGradientElement.SVG_SPREADMETHOD_PAD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGradientElement`*"]
+ pub const SVG_SPREADMETHOD_PAD: u16 = 1u64 as u16;
+ #[doc = "The `SVGGradientElement.SVG_SPREADMETHOD_REFLECT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGradientElement`*"]
+ pub const SVG_SPREADMETHOD_REFLECT: u16 = 2u64 as u16;
+ #[doc = "The `SVGGradientElement.SVG_SPREADMETHOD_REPEAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGradientElement`*"]
+ pub const SVG_SPREADMETHOD_REPEAT: u16 = 3u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgGraphicsElement.rs b/vendor/web-sys/src/features/gen_SvgGraphicsElement.rs
new file mode 100644
index 000000000..96de914f3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgGraphicsElement.rs
@@ -0,0 +1,113 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGGraphicsElement , typescript_type = "SVGGraphicsElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgGraphicsElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`*"]
+ pub type SvgGraphicsElement;
+ #[cfg(feature = "SvgAnimatedTransformList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGGraphicsElement" , js_name = transform)]
+ #[doc = "Getter for the `transform` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/transform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgGraphicsElement`*"]
+ pub fn transform(this: &SvgGraphicsElement) -> SvgAnimatedTransformList;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGGraphicsElement" , js_name = nearestViewportElement)]
+ #[doc = "Getter for the `nearestViewportElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/nearestViewportElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`*"]
+ pub fn nearest_viewport_element(this: &SvgGraphicsElement) -> Option<SvgElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGGraphicsElement" , js_name = farthestViewportElement)]
+ #[doc = "Getter for the `farthestViewportElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/farthestViewportElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`*"]
+ pub fn farthest_viewport_element(this: &SvgGraphicsElement) -> Option<SvgElement>;
+ #[cfg(feature = "SvgStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGGraphicsElement" , js_name = requiredFeatures)]
+ #[doc = "Getter for the `requiredFeatures` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/requiredFeatures)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgStringList`*"]
+ pub fn required_features(this: &SvgGraphicsElement) -> SvgStringList;
+ #[cfg(feature = "SvgStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGGraphicsElement" , js_name = requiredExtensions)]
+ #[doc = "Getter for the `requiredExtensions` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/requiredExtensions)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgStringList`*"]
+ pub fn required_extensions(this: &SvgGraphicsElement) -> SvgStringList;
+ #[cfg(feature = "SvgStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGGraphicsElement" , js_name = systemLanguage)]
+ #[doc = "Getter for the `systemLanguage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/systemLanguage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgStringList`*"]
+ pub fn system_language(this: &SvgGraphicsElement) -> SvgStringList;
+ #[cfg(feature = "SvgRect")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGGraphicsElement" , js_name = getBBox)]
+ #[doc = "The `getBBox()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getBBox)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgRect`*"]
+ pub fn get_b_box(this: &SvgGraphicsElement) -> Result<SvgRect, JsValue>;
+ #[cfg(all(feature = "SvgBoundingBoxOptions", feature = "SvgRect",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGGraphicsElement" , js_name = getBBox)]
+ #[doc = "The `getBBox()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getBBox)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgBoundingBoxOptions`, `SvgGraphicsElement`, `SvgRect`*"]
+ pub fn get_b_box_with_a_options(
+ this: &SvgGraphicsElement,
+ a_options: &SvgBoundingBoxOptions,
+ ) -> Result<SvgRect, JsValue>;
+ #[cfg(feature = "SvgMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "SVGGraphicsElement" , js_name = getCTM)]
+ #[doc = "The `getCTM()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getCTM)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*"]
+ pub fn get_ctm(this: &SvgGraphicsElement) -> Option<SvgMatrix>;
+ #[cfg(feature = "SvgMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "SVGGraphicsElement" , js_name = getScreenCTM)]
+ #[doc = "The `getScreenCTM()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getScreenCTM)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*"]
+ pub fn get_screen_ctm(this: &SvgGraphicsElement) -> Option<SvgMatrix>;
+ #[cfg(feature = "SvgMatrix")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGGraphicsElement" , js_name = getTransformToElement)]
+ #[doc = "The `getTransformToElement()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getTransformToElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*"]
+ pub fn get_transform_to_element(
+ this: &SvgGraphicsElement,
+ element: &SvgGraphicsElement,
+ ) -> Result<SvgMatrix, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "SVGGraphicsElement" , js_name = hasExtension)]
+ #[doc = "The `hasExtension()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/hasExtension)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`*"]
+ pub fn has_extension(this: &SvgGraphicsElement, extension: &str) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgImageElement.rs b/vendor/web-sys/src/features/gen_SvgImageElement.rs
new file mode 100644
index 000000000..99134788b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgImageElement.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGImageElement , typescript_type = "SVGImageElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgImageElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`*"]
+ pub type SvgImageElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGImageElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgImageElement`*"]
+ pub fn x(this: &SvgImageElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGImageElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgImageElement`*"]
+ pub fn y(this: &SvgImageElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGImageElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgImageElement`*"]
+ pub fn width(this: &SvgImageElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGImageElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgImageElement`*"]
+ pub fn height(this: &SvgImageElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedPreserveAspectRatio")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGImageElement" , js_name = preserveAspectRatio)]
+ #[doc = "Getter for the `preserveAspectRatio` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/preserveAspectRatio)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgImageElement`*"]
+ pub fn preserve_aspect_ratio(this: &SvgImageElement) -> SvgAnimatedPreserveAspectRatio;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGImageElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgImageElement`*"]
+ pub fn href(this: &SvgImageElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgLength.rs b/vendor/web-sys/src/features/gen_SvgLength.rs
new file mode 100644
index 000000000..63a3d3607
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgLength.rs
@@ -0,0 +1,127 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGLength , typescript_type = "SVGLength")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgLength` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub type SvgLength;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGLength" , js_name = unitType)]
+ #[doc = "Getter for the `unitType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/unitType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub fn unit_type(this: &SvgLength) -> u16;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "SVGLength" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub fn value(this: &SvgLength) -> Result<f32, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "SVGLength" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub fn set_value(this: &SvgLength, value: f32) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGLength" , js_name = valueInSpecifiedUnits)]
+ #[doc = "Getter for the `valueInSpecifiedUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/valueInSpecifiedUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub fn value_in_specified_units(this: &SvgLength) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGLength" , js_name = valueInSpecifiedUnits)]
+ #[doc = "Setter for the `valueInSpecifiedUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/valueInSpecifiedUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub fn set_value_in_specified_units(this: &SvgLength, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGLength" , js_name = valueAsString)]
+ #[doc = "Getter for the `valueAsString` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/valueAsString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub fn value_as_string(this: &SvgLength) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGLength" , js_name = valueAsString)]
+ #[doc = "Setter for the `valueAsString` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/valueAsString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub fn set_value_as_string(this: &SvgLength, value: &str);
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGLength" , js_name = convertToSpecifiedUnits)]
+ #[doc = "The `convertToSpecifiedUnits()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/convertToSpecifiedUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub fn convert_to_specified_units(this: &SvgLength, unit_type: u16) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGLength" , js_name = newValueSpecifiedUnits)]
+ #[doc = "The `newValueSpecifiedUnits()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/newValueSpecifiedUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub fn new_value_specified_units(
+ this: &SvgLength,
+ unit_type: u16,
+ value_in_specified_units: f32,
+ ) -> Result<(), JsValue>;
+}
+impl SvgLength {
+ #[doc = "The `SVGLength.SVG_LENGTHTYPE_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub const SVG_LENGTHTYPE_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGLength.SVG_LENGTHTYPE_NUMBER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub const SVG_LENGTHTYPE_NUMBER: u16 = 1u64 as u16;
+ #[doc = "The `SVGLength.SVG_LENGTHTYPE_PERCENTAGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub const SVG_LENGTHTYPE_PERCENTAGE: u16 = 2u64 as u16;
+ #[doc = "The `SVGLength.SVG_LENGTHTYPE_EMS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub const SVG_LENGTHTYPE_EMS: u16 = 3u64 as u16;
+ #[doc = "The `SVGLength.SVG_LENGTHTYPE_EXS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub const SVG_LENGTHTYPE_EXS: u16 = 4u64 as u16;
+ #[doc = "The `SVGLength.SVG_LENGTHTYPE_PX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub const SVG_LENGTHTYPE_PX: u16 = 5u64 as u16;
+ #[doc = "The `SVGLength.SVG_LENGTHTYPE_CM` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub const SVG_LENGTHTYPE_CM: u16 = 6u64 as u16;
+ #[doc = "The `SVGLength.SVG_LENGTHTYPE_MM` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub const SVG_LENGTHTYPE_MM: u16 = 7u64 as u16;
+ #[doc = "The `SVGLength.SVG_LENGTHTYPE_IN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub const SVG_LENGTHTYPE_IN: u16 = 8u64 as u16;
+ #[doc = "The `SVGLength.SVG_LENGTHTYPE_PT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub const SVG_LENGTHTYPE_PT: u16 = 9u64 as u16;
+ #[doc = "The `SVGLength.SVG_LENGTHTYPE_PC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`*"]
+ pub const SVG_LENGTHTYPE_PC: u16 = 10u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgLengthList.rs b/vendor/web-sys/src/features/gen_SvgLengthList.rs
new file mode 100644
index 000000000..2672c007f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgLengthList.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGLengthList , typescript_type = "SVGLengthList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgLengthList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLengthList`*"]
+ pub type SvgLengthList;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGLengthList" , js_name = numberOfItems)]
+ #[doc = "Getter for the `numberOfItems` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/numberOfItems)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLengthList`*"]
+ pub fn number_of_items(this: &SvgLengthList) -> u32;
+ #[cfg(feature = "SvgLength")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGLengthList" , js_name = appendItem)]
+ #[doc = "The `appendItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/appendItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*"]
+ pub fn append_item(this: &SvgLengthList, new_item: &SvgLength) -> Result<SvgLength, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGLengthList" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLengthList`*"]
+ pub fn clear(this: &SvgLengthList) -> Result<(), JsValue>;
+ #[cfg(feature = "SvgLength")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGLengthList" , js_name = getItem)]
+ #[doc = "The `getItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/getItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*"]
+ pub fn get_item(this: &SvgLengthList, index: u32) -> Result<SvgLength, JsValue>;
+ #[cfg(feature = "SvgLength")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGLengthList" , js_name = initialize)]
+ #[doc = "The `initialize()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/initialize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*"]
+ pub fn initialize(this: &SvgLengthList, new_item: &SvgLength) -> Result<SvgLength, JsValue>;
+ #[cfg(feature = "SvgLength")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGLengthList" , js_name = insertItemBefore)]
+ #[doc = "The `insertItemBefore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/insertItemBefore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*"]
+ pub fn insert_item_before(
+ this: &SvgLengthList,
+ new_item: &SvgLength,
+ index: u32,
+ ) -> Result<SvgLength, JsValue>;
+ #[cfg(feature = "SvgLength")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGLengthList" , js_name = removeItem)]
+ #[doc = "The `removeItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/removeItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*"]
+ pub fn remove_item(this: &SvgLengthList, index: u32) -> Result<SvgLength, JsValue>;
+ #[cfg(feature = "SvgLength")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGLengthList" , js_name = replaceItem)]
+ #[doc = "The `replaceItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/replaceItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*"]
+ pub fn replace_item(
+ this: &SvgLengthList,
+ new_item: &SvgLength,
+ index: u32,
+ ) -> Result<SvgLength, JsValue>;
+ #[cfg(feature = "SvgLength")]
+ #[wasm_bindgen(catch, method, structural, js_class = "SVGLengthList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*"]
+ pub fn get(this: &SvgLengthList, index: u32) -> Result<SvgLength, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgLineElement.rs b/vendor/web-sys/src/features/gen_SvgLineElement.rs
new file mode 100644
index 000000000..ab2ce69e4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgLineElement.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGLineElement , typescript_type = "SVGLineElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgLineElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLineElement`*"]
+ pub type SvgLineElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGLineElement" , js_name = x1)]
+ #[doc = "Getter for the `x1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/x1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*"]
+ pub fn x1(this: &SvgLineElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGLineElement" , js_name = y1)]
+ #[doc = "Getter for the `y1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/y1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*"]
+ pub fn y1(this: &SvgLineElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGLineElement" , js_name = x2)]
+ #[doc = "Getter for the `x2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/x2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*"]
+ pub fn x2(this: &SvgLineElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGLineElement" , js_name = y2)]
+ #[doc = "Getter for the `y2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/y2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*"]
+ pub fn y2(this: &SvgLineElement) -> SvgAnimatedLength;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgLinearGradientElement.rs b/vendor/web-sys/src/features/gen_SvgLinearGradientElement.rs
new file mode 100644
index 000000000..e589daa0a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgLinearGradientElement.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGradientElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGLinearGradientElement , typescript_type = "SVGLinearGradientElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgLinearGradientElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLinearGradientElement`*"]
+ pub type SvgLinearGradientElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGLinearGradientElement" , js_name = x1)]
+ #[doc = "Getter for the `x1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/x1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*"]
+ pub fn x1(this: &SvgLinearGradientElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGLinearGradientElement" , js_name = y1)]
+ #[doc = "Getter for the `y1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/y1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*"]
+ pub fn y1(this: &SvgLinearGradientElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGLinearGradientElement" , js_name = x2)]
+ #[doc = "Getter for the `x2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/x2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*"]
+ pub fn x2(this: &SvgLinearGradientElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGLinearGradientElement" , js_name = y2)]
+ #[doc = "Getter for the `y2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/y2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*"]
+ pub fn y2(this: &SvgLinearGradientElement) -> SvgAnimatedLength;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgMarkerElement.rs b/vendor/web-sys/src/features/gen_SvgMarkerElement.rs
new file mode 100644
index 000000000..0921bcaf7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgMarkerElement.rs
@@ -0,0 +1,127 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGMarkerElement , typescript_type = "SVGMarkerElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgMarkerElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMarkerElement`*"]
+ pub type SvgMarkerElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMarkerElement" , js_name = refX)]
+ #[doc = "Getter for the `refX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/refX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMarkerElement`*"]
+ pub fn ref_x(this: &SvgMarkerElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMarkerElement" , js_name = refY)]
+ #[doc = "Getter for the `refY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/refY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMarkerElement`*"]
+ pub fn ref_y(this: &SvgMarkerElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMarkerElement" , js_name = markerUnits)]
+ #[doc = "Getter for the `markerUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/markerUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgMarkerElement`*"]
+ pub fn marker_units(this: &SvgMarkerElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMarkerElement" , js_name = markerWidth)]
+ #[doc = "Getter for the `markerWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/markerWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMarkerElement`*"]
+ pub fn marker_width(this: &SvgMarkerElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMarkerElement" , js_name = markerHeight)]
+ #[doc = "Getter for the `markerHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/markerHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMarkerElement`*"]
+ pub fn marker_height(this: &SvgMarkerElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMarkerElement" , js_name = orientType)]
+ #[doc = "Getter for the `orientType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/orientType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgMarkerElement`*"]
+ pub fn orient_type(this: &SvgMarkerElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedAngle")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMarkerElement" , js_name = orientAngle)]
+ #[doc = "Getter for the `orientAngle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/orientAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedAngle`, `SvgMarkerElement`*"]
+ pub fn orient_angle(this: &SvgMarkerElement) -> SvgAnimatedAngle;
+ #[cfg(feature = "SvgAnimatedRect")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMarkerElement" , js_name = viewBox)]
+ #[doc = "Getter for the `viewBox` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/viewBox)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgMarkerElement`*"]
+ pub fn view_box(this: &SvgMarkerElement) -> SvgAnimatedRect;
+ #[cfg(feature = "SvgAnimatedPreserveAspectRatio")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMarkerElement" , js_name = preserveAspectRatio)]
+ #[doc = "Getter for the `preserveAspectRatio` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/preserveAspectRatio)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgMarkerElement`*"]
+ pub fn preserve_aspect_ratio(this: &SvgMarkerElement) -> SvgAnimatedPreserveAspectRatio;
+ #[cfg(feature = "SvgAngle")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGMarkerElement" , js_name = setOrientToAngle)]
+ #[doc = "The `setOrientToAngle()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/setOrientToAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`, `SvgMarkerElement`*"]
+ pub fn set_orient_to_angle(this: &SvgMarkerElement, angle: &SvgAngle) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "SVGMarkerElement" , js_name = setOrientToAuto)]
+ #[doc = "The `setOrientToAuto()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/setOrientToAuto)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMarkerElement`*"]
+ pub fn set_orient_to_auto(this: &SvgMarkerElement);
+}
+impl SvgMarkerElement {
+ #[doc = "The `SVGMarkerElement.SVG_MARKERUNITS_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMarkerElement`*"]
+ pub const SVG_MARKERUNITS_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGMarkerElement.SVG_MARKERUNITS_USERSPACEONUSE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMarkerElement`*"]
+ pub const SVG_MARKERUNITS_USERSPACEONUSE: u16 = 1u64 as u16;
+ #[doc = "The `SVGMarkerElement.SVG_MARKERUNITS_STROKEWIDTH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMarkerElement`*"]
+ pub const SVG_MARKERUNITS_STROKEWIDTH: u16 = 2u64 as u16;
+ #[doc = "The `SVGMarkerElement.SVG_MARKER_ORIENT_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMarkerElement`*"]
+ pub const SVG_MARKER_ORIENT_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGMarkerElement.SVG_MARKER_ORIENT_AUTO` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMarkerElement`*"]
+ pub const SVG_MARKER_ORIENT_AUTO: u16 = 1u64 as u16;
+ #[doc = "The `SVGMarkerElement.SVG_MARKER_ORIENT_ANGLE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMarkerElement`*"]
+ pub const SVG_MARKER_ORIENT_ANGLE: u16 = 2u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgMaskElement.rs b/vendor/web-sys/src/features/gen_SvgMaskElement.rs
new file mode 100644
index 000000000..9c507c5af
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgMaskElement.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGMaskElement , typescript_type = "SVGMaskElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgMaskElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMaskElement`*"]
+ pub type SvgMaskElement;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMaskElement" , js_name = maskUnits)]
+ #[doc = "Getter for the `maskUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/maskUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgMaskElement`*"]
+ pub fn mask_units(this: &SvgMaskElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMaskElement" , js_name = maskContentUnits)]
+ #[doc = "Getter for the `maskContentUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/maskContentUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgMaskElement`*"]
+ pub fn mask_content_units(this: &SvgMaskElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMaskElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMaskElement`*"]
+ pub fn x(this: &SvgMaskElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMaskElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMaskElement`*"]
+ pub fn y(this: &SvgMaskElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMaskElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMaskElement`*"]
+ pub fn width(this: &SvgMaskElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMaskElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMaskElement`*"]
+ pub fn height(this: &SvgMaskElement) -> SvgAnimatedLength;
+}
+impl SvgMaskElement {
+ #[doc = "The `SVGMaskElement.SVG_MASKTYPE_LUMINANCE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMaskElement`*"]
+ pub const SVG_MASKTYPE_LUMINANCE: u16 = 0i64 as u16;
+ #[doc = "The `SVGMaskElement.SVG_MASKTYPE_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMaskElement`*"]
+ pub const SVG_MASKTYPE_ALPHA: u16 = 1u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgMatrix.rs b/vendor/web-sys/src/features/gen_SvgMatrix.rs
new file mode 100644
index 000000000..ca82392b2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgMatrix.rs
@@ -0,0 +1,179 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGMatrix , typescript_type = "SVGMatrix")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgMatrix` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub type SvgMatrix;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMatrix" , js_name = a)]
+ #[doc = "Getter for the `a` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/a)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn a(this: &SvgMatrix) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGMatrix" , js_name = a)]
+ #[doc = "Setter for the `a` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/a)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn set_a(this: &SvgMatrix, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMatrix" , js_name = b)]
+ #[doc = "Getter for the `b` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/b)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn b(this: &SvgMatrix) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGMatrix" , js_name = b)]
+ #[doc = "Setter for the `b` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/b)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn set_b(this: &SvgMatrix, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMatrix" , js_name = c)]
+ #[doc = "Getter for the `c` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/c)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn c(this: &SvgMatrix) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGMatrix" , js_name = c)]
+ #[doc = "Setter for the `c` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/c)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn set_c(this: &SvgMatrix, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMatrix" , js_name = d)]
+ #[doc = "Getter for the `d` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/d)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn d(this: &SvgMatrix) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGMatrix" , js_name = d)]
+ #[doc = "Setter for the `d` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/d)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn set_d(this: &SvgMatrix, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMatrix" , js_name = e)]
+ #[doc = "Getter for the `e` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/e)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn e(this: &SvgMatrix) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGMatrix" , js_name = e)]
+ #[doc = "Setter for the `e` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/e)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn set_e(this: &SvgMatrix, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMatrix" , js_name = f)]
+ #[doc = "Getter for the `f` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn f(this: &SvgMatrix) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGMatrix" , js_name = f)]
+ #[doc = "Setter for the `f` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn set_f(this: &SvgMatrix, value: f32);
+ # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = flipX)]
+ #[doc = "The `flipX()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/flipX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn flip_x(this: &SvgMatrix) -> SvgMatrix;
+ # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = flipY)]
+ #[doc = "The `flipY()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/flipY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn flip_y(this: &SvgMatrix) -> SvgMatrix;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGMatrix" , js_name = inverse)]
+ #[doc = "The `inverse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/inverse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn inverse(this: &SvgMatrix) -> Result<SvgMatrix, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = multiply)]
+ #[doc = "The `multiply()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/multiply)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn multiply(this: &SvgMatrix, second_matrix: &SvgMatrix) -> SvgMatrix;
+ # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = rotate)]
+ #[doc = "The `rotate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/rotate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn rotate(this: &SvgMatrix, angle: f32) -> SvgMatrix;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGMatrix" , js_name = rotateFromVector)]
+ #[doc = "The `rotateFromVector()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/rotateFromVector)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn rotate_from_vector(this: &SvgMatrix, x: f32, y: f32) -> Result<SvgMatrix, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = scale)]
+ #[doc = "The `scale()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/scale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn scale(this: &SvgMatrix, scale_factor: f32) -> SvgMatrix;
+ # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = scaleNonUniform)]
+ #[doc = "The `scaleNonUniform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/scaleNonUniform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn scale_non_uniform(
+ this: &SvgMatrix,
+ scale_factor_x: f32,
+ scale_factor_y: f32,
+ ) -> SvgMatrix;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGMatrix" , js_name = skewX)]
+ #[doc = "The `skewX()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/skewX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn skew_x(this: &SvgMatrix, angle: f32) -> Result<SvgMatrix, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGMatrix" , js_name = skewY)]
+ #[doc = "The `skewY()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/skewY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn skew_y(this: &SvgMatrix, angle: f32) -> Result<SvgMatrix, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = translate)]
+ #[doc = "The `translate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/translate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
+ pub fn translate(this: &SvgMatrix, x: f32, y: f32) -> SvgMatrix;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgMetadataElement.rs b/vendor/web-sys/src/features/gen_SvgMetadataElement.rs
new file mode 100644
index 000000000..d5f4c5c8d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgMetadataElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGMetadataElement , typescript_type = "SVGMetadataElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgMetadataElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMetadataElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMetadataElement`*"]
+ pub type SvgMetadataElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgNumber.rs b/vendor/web-sys/src/features/gen_SvgNumber.rs
new file mode 100644
index 000000000..2cb9ffa51
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgNumber.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGNumber , typescript_type = "SVGNumber")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgNumber` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumber`*"]
+ pub type SvgNumber;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGNumber" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumber/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumber`*"]
+ pub fn value(this: &SvgNumber) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGNumber" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumber/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumber`*"]
+ pub fn set_value(this: &SvgNumber, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgNumberList.rs b/vendor/web-sys/src/features/gen_SvgNumberList.rs
new file mode 100644
index 000000000..cda161a35
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgNumberList.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGNumberList , typescript_type = "SVGNumberList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgNumberList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumberList`*"]
+ pub type SvgNumberList;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGNumberList" , js_name = numberOfItems)]
+ #[doc = "Getter for the `numberOfItems` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/numberOfItems)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumberList`*"]
+ pub fn number_of_items(this: &SvgNumberList) -> u32;
+ #[cfg(feature = "SvgNumber")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGNumberList" , js_name = appendItem)]
+ #[doc = "The `appendItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/appendItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*"]
+ pub fn append_item(this: &SvgNumberList, new_item: &SvgNumber) -> Result<SvgNumber, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGNumberList" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumberList`*"]
+ pub fn clear(this: &SvgNumberList) -> Result<(), JsValue>;
+ #[cfg(feature = "SvgNumber")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGNumberList" , js_name = getItem)]
+ #[doc = "The `getItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/getItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*"]
+ pub fn get_item(this: &SvgNumberList, index: u32) -> Result<SvgNumber, JsValue>;
+ #[cfg(feature = "SvgNumber")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGNumberList" , js_name = initialize)]
+ #[doc = "The `initialize()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/initialize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*"]
+ pub fn initialize(this: &SvgNumberList, new_item: &SvgNumber) -> Result<SvgNumber, JsValue>;
+ #[cfg(feature = "SvgNumber")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGNumberList" , js_name = insertItemBefore)]
+ #[doc = "The `insertItemBefore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/insertItemBefore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*"]
+ pub fn insert_item_before(
+ this: &SvgNumberList,
+ new_item: &SvgNumber,
+ index: u32,
+ ) -> Result<SvgNumber, JsValue>;
+ #[cfg(feature = "SvgNumber")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGNumberList" , js_name = removeItem)]
+ #[doc = "The `removeItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/removeItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*"]
+ pub fn remove_item(this: &SvgNumberList, index: u32) -> Result<SvgNumber, JsValue>;
+ #[cfg(feature = "SvgNumber")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGNumberList" , js_name = replaceItem)]
+ #[doc = "The `replaceItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/replaceItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*"]
+ pub fn replace_item(
+ this: &SvgNumberList,
+ new_item: &SvgNumber,
+ index: u32,
+ ) -> Result<SvgNumber, JsValue>;
+ #[cfg(feature = "SvgNumber")]
+ #[wasm_bindgen(catch, method, structural, js_class = "SVGNumberList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*"]
+ pub fn get(this: &SvgNumberList, index: u32) -> Result<SvgNumber, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathElement.rs b/vendor/web-sys/src/features/gen_SvgPathElement.rs
new file mode 100644
index 000000000..7cd150fce
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathElement.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGPathElement , typescript_type = "SVGPathElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`*"]
+ pub type SvgPathElement;
+ #[cfg(feature = "SvgPathSegList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathElement" , js_name = pathSegList)]
+ #[doc = "Getter for the `pathSegList` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/pathSegList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`, `SvgPathSegList`*"]
+ pub fn path_seg_list(this: &SvgPathElement) -> SvgPathSegList;
+ #[cfg(feature = "SvgPathSegList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathElement" , js_name = animatedPathSegList)]
+ #[doc = "Getter for the `animatedPathSegList` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/animatedPathSegList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`, `SvgPathSegList`*"]
+ pub fn animated_path_seg_list(this: &SvgPathElement) -> SvgPathSegList;
+ # [wasm_bindgen (method , structural , js_class = "SVGPathElement" , js_name = getPathSegAtLength)]
+ #[doc = "The `getPathSegAtLength()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/getPathSegAtLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`*"]
+ pub fn get_path_seg_at_length(this: &SvgPathElement, distance: f32) -> u32;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSeg.rs b/vendor/web-sys/src/features/gen_SvgPathSeg.rs
new file mode 100644
index 000000000..2c9dc633e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSeg.rs
@@ -0,0 +1,110 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = SVGPathSeg , typescript_type = "SVGPathSeg")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSeg` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSeg)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub type SvgPathSeg;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSeg" , js_name = pathSegType)]
+ #[doc = "Getter for the `pathSegType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSeg/pathSegType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub fn path_seg_type(this: &SvgPathSeg) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSeg" , js_name = pathSegTypeAsLetter)]
+ #[doc = "Getter for the `pathSegTypeAsLetter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSeg/pathSegTypeAsLetter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub fn path_seg_type_as_letter(this: &SvgPathSeg) -> String;
+}
+impl SvgPathSeg {
+ #[doc = "The `SVGPathSeg.PATHSEG_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_CLOSEPATH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_CLOSEPATH: u16 = 1u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_MOVETO_ABS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_MOVETO_ABS: u16 = 2u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_MOVETO_REL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_MOVETO_REL: u16 = 3u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_LINETO_ABS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_LINETO_ABS: u16 = 4u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_LINETO_REL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_LINETO_REL: u16 = 5u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_CURVETO_CUBIC_ABS: u16 = 6u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_CURVETO_CUBIC_REL: u16 = 7u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_CURVETO_QUADRATIC_ABS: u16 = 8u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_CURVETO_QUADRATIC_REL: u16 = 9u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_ARC_ABS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_ARC_ABS: u16 = 10u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_ARC_REL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_ARC_REL: u16 = 11u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_LINETO_HORIZONTAL_ABS: u16 = 12u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_LINETO_HORIZONTAL_REL: u16 = 13u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_LINETO_VERTICAL_ABS: u16 = 14u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_LINETO_VERTICAL_REL: u16 = 15u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: u16 = 16u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_CURVETO_CUBIC_SMOOTH_REL: u16 = 17u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: u16 = 18u64 as u16;
+ #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
+ pub const PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: u16 = 19u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegArcAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegArcAbs.rs
new file mode 100644
index 000000000..36b440f5e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegArcAbs.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegArcAbs , typescript_type = "SVGPathSegArcAbs")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegArcAbs` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub type SvgPathSegArcAbs;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcAbs" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn x(this: &SvgPathSegArcAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcAbs" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn set_x(this: &SvgPathSegArcAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcAbs" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn y(this: &SvgPathSegArcAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcAbs" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn set_y(this: &SvgPathSegArcAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcAbs" , js_name = r1)]
+ #[doc = "Getter for the `r1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/r1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn r1(this: &SvgPathSegArcAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcAbs" , js_name = r1)]
+ #[doc = "Setter for the `r1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/r1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn set_r1(this: &SvgPathSegArcAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcAbs" , js_name = r2)]
+ #[doc = "Getter for the `r2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/r2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn r2(this: &SvgPathSegArcAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcAbs" , js_name = r2)]
+ #[doc = "Setter for the `r2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/r2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn set_r2(this: &SvgPathSegArcAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcAbs" , js_name = angle)]
+ #[doc = "Getter for the `angle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/angle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn angle(this: &SvgPathSegArcAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcAbs" , js_name = angle)]
+ #[doc = "Setter for the `angle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/angle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn set_angle(this: &SvgPathSegArcAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcAbs" , js_name = largeArcFlag)]
+ #[doc = "Getter for the `largeArcFlag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/largeArcFlag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn large_arc_flag(this: &SvgPathSegArcAbs) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcAbs" , js_name = largeArcFlag)]
+ #[doc = "Setter for the `largeArcFlag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/largeArcFlag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn set_large_arc_flag(this: &SvgPathSegArcAbs, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcAbs" , js_name = sweepFlag)]
+ #[doc = "Getter for the `sweepFlag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/sweepFlag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn sweep_flag(this: &SvgPathSegArcAbs) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcAbs" , js_name = sweepFlag)]
+ #[doc = "Setter for the `sweepFlag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/sweepFlag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
+ pub fn set_sweep_flag(this: &SvgPathSegArcAbs, value: bool);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegArcRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegArcRel.rs
new file mode 100644
index 000000000..a93b871af
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegArcRel.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegArcRel , typescript_type = "SVGPathSegArcRel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegArcRel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub type SvgPathSegArcRel;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcRel" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn x(this: &SvgPathSegArcRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcRel" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn set_x(this: &SvgPathSegArcRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcRel" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn y(this: &SvgPathSegArcRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcRel" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn set_y(this: &SvgPathSegArcRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcRel" , js_name = r1)]
+ #[doc = "Getter for the `r1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/r1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn r1(this: &SvgPathSegArcRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcRel" , js_name = r1)]
+ #[doc = "Setter for the `r1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/r1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn set_r1(this: &SvgPathSegArcRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcRel" , js_name = r2)]
+ #[doc = "Getter for the `r2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/r2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn r2(this: &SvgPathSegArcRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcRel" , js_name = r2)]
+ #[doc = "Setter for the `r2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/r2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn set_r2(this: &SvgPathSegArcRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcRel" , js_name = angle)]
+ #[doc = "Getter for the `angle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/angle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn angle(this: &SvgPathSegArcRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcRel" , js_name = angle)]
+ #[doc = "Setter for the `angle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/angle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn set_angle(this: &SvgPathSegArcRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcRel" , js_name = largeArcFlag)]
+ #[doc = "Getter for the `largeArcFlag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/largeArcFlag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn large_arc_flag(this: &SvgPathSegArcRel) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcRel" , js_name = largeArcFlag)]
+ #[doc = "Setter for the `largeArcFlag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/largeArcFlag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn set_large_arc_flag(this: &SvgPathSegArcRel, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegArcRel" , js_name = sweepFlag)]
+ #[doc = "Getter for the `sweepFlag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/sweepFlag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn sweep_flag(this: &SvgPathSegArcRel) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegArcRel" , js_name = sweepFlag)]
+ #[doc = "Setter for the `sweepFlag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel/sweepFlag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
+ pub fn set_sweep_flag(this: &SvgPathSegArcRel, value: bool);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegClosePath.rs b/vendor/web-sys/src/features/gen_SvgPathSegClosePath.rs
new file mode 100644
index 000000000..b9892c327
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegClosePath.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegClosePath , typescript_type = "SVGPathSegClosePath")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegClosePath` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegClosePath)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegClosePath`*"]
+ pub type SvgPathSegClosePath;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicAbs.rs
new file mode 100644
index 000000000..fbeb6886d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicAbs.rs
@@ -0,0 +1,98 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegCurvetoCubicAbs , typescript_type = "SVGPathSegCurvetoCubicAbs")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegCurvetoCubicAbs` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub type SvgPathSegCurvetoCubicAbs;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicAbs" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub fn x(this: &SvgPathSegCurvetoCubicAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicAbs" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub fn set_x(this: &SvgPathSegCurvetoCubicAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicAbs" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub fn y(this: &SvgPathSegCurvetoCubicAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicAbs" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub fn set_y(this: &SvgPathSegCurvetoCubicAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicAbs" , js_name = x1)]
+ #[doc = "Getter for the `x1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs/x1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub fn x1(this: &SvgPathSegCurvetoCubicAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicAbs" , js_name = x1)]
+ #[doc = "Setter for the `x1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs/x1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub fn set_x1(this: &SvgPathSegCurvetoCubicAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicAbs" , js_name = y1)]
+ #[doc = "Getter for the `y1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs/y1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub fn y1(this: &SvgPathSegCurvetoCubicAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicAbs" , js_name = y1)]
+ #[doc = "Setter for the `y1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs/y1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub fn set_y1(this: &SvgPathSegCurvetoCubicAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicAbs" , js_name = x2)]
+ #[doc = "Getter for the `x2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs/x2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub fn x2(this: &SvgPathSegCurvetoCubicAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicAbs" , js_name = x2)]
+ #[doc = "Setter for the `x2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs/x2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub fn set_x2(this: &SvgPathSegCurvetoCubicAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicAbs" , js_name = y2)]
+ #[doc = "Getter for the `y2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs/y2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub fn y2(this: &SvgPathSegCurvetoCubicAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicAbs" , js_name = y2)]
+ #[doc = "Setter for the `y2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicAbs/y2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicAbs`*"]
+ pub fn set_y2(this: &SvgPathSegCurvetoCubicAbs, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicRel.rs
new file mode 100644
index 000000000..f3ee149fa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicRel.rs
@@ -0,0 +1,98 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegCurvetoCubicRel , typescript_type = "SVGPathSegCurvetoCubicRel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegCurvetoCubicRel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub type SvgPathSegCurvetoCubicRel;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicRel" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub fn x(this: &SvgPathSegCurvetoCubicRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicRel" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub fn set_x(this: &SvgPathSegCurvetoCubicRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicRel" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub fn y(this: &SvgPathSegCurvetoCubicRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicRel" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub fn set_y(this: &SvgPathSegCurvetoCubicRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicRel" , js_name = x1)]
+ #[doc = "Getter for the `x1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel/x1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub fn x1(this: &SvgPathSegCurvetoCubicRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicRel" , js_name = x1)]
+ #[doc = "Setter for the `x1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel/x1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub fn set_x1(this: &SvgPathSegCurvetoCubicRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicRel" , js_name = y1)]
+ #[doc = "Getter for the `y1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel/y1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub fn y1(this: &SvgPathSegCurvetoCubicRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicRel" , js_name = y1)]
+ #[doc = "Setter for the `y1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel/y1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub fn set_y1(this: &SvgPathSegCurvetoCubicRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicRel" , js_name = x2)]
+ #[doc = "Getter for the `x2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel/x2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub fn x2(this: &SvgPathSegCurvetoCubicRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicRel" , js_name = x2)]
+ #[doc = "Setter for the `x2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel/x2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub fn set_x2(this: &SvgPathSegCurvetoCubicRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicRel" , js_name = y2)]
+ #[doc = "Getter for the `y2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel/y2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub fn y2(this: &SvgPathSegCurvetoCubicRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicRel" , js_name = y2)]
+ #[doc = "Setter for the `y2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicRel/y2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicRel`*"]
+ pub fn set_y2(this: &SvgPathSegCurvetoCubicRel, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothAbs.rs
new file mode 100644
index 000000000..07896918b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothAbs.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegCurvetoCubicSmoothAbs , typescript_type = "SVGPathSegCurvetoCubicSmoothAbs")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegCurvetoCubicSmoothAbs` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothAbs`*"]
+ pub type SvgPathSegCurvetoCubicSmoothAbs;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicSmoothAbs" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothAbs`*"]
+ pub fn x(this: &SvgPathSegCurvetoCubicSmoothAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicSmoothAbs" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothAbs`*"]
+ pub fn set_x(this: &SvgPathSegCurvetoCubicSmoothAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicSmoothAbs" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothAbs`*"]
+ pub fn y(this: &SvgPathSegCurvetoCubicSmoothAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicSmoothAbs" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothAbs`*"]
+ pub fn set_y(this: &SvgPathSegCurvetoCubicSmoothAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicSmoothAbs" , js_name = x2)]
+ #[doc = "Getter for the `x2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs/x2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothAbs`*"]
+ pub fn x2(this: &SvgPathSegCurvetoCubicSmoothAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicSmoothAbs" , js_name = x2)]
+ #[doc = "Setter for the `x2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs/x2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothAbs`*"]
+ pub fn set_x2(this: &SvgPathSegCurvetoCubicSmoothAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicSmoothAbs" , js_name = y2)]
+ #[doc = "Getter for the `y2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs/y2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothAbs`*"]
+ pub fn y2(this: &SvgPathSegCurvetoCubicSmoothAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicSmoothAbs" , js_name = y2)]
+ #[doc = "Setter for the `y2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs/y2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothAbs`*"]
+ pub fn set_y2(this: &SvgPathSegCurvetoCubicSmoothAbs, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothRel.rs
new file mode 100644
index 000000000..d2b03a265
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothRel.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegCurvetoCubicSmoothRel , typescript_type = "SVGPathSegCurvetoCubicSmoothRel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegCurvetoCubicSmoothRel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
+ pub type SvgPathSegCurvetoCubicSmoothRel;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicSmoothRel" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
+ pub fn x(this: &SvgPathSegCurvetoCubicSmoothRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicSmoothRel" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
+ pub fn set_x(this: &SvgPathSegCurvetoCubicSmoothRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicSmoothRel" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
+ pub fn y(this: &SvgPathSegCurvetoCubicSmoothRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicSmoothRel" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
+ pub fn set_y(this: &SvgPathSegCurvetoCubicSmoothRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicSmoothRel" , js_name = x2)]
+ #[doc = "Getter for the `x2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/x2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
+ pub fn x2(this: &SvgPathSegCurvetoCubicSmoothRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicSmoothRel" , js_name = x2)]
+ #[doc = "Setter for the `x2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/x2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
+ pub fn set_x2(this: &SvgPathSegCurvetoCubicSmoothRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoCubicSmoothRel" , js_name = y2)]
+ #[doc = "Getter for the `y2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/y2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
+ pub fn y2(this: &SvgPathSegCurvetoCubicSmoothRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoCubicSmoothRel" , js_name = y2)]
+ #[doc = "Setter for the `y2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/y2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
+ pub fn set_y2(this: &SvgPathSegCurvetoCubicSmoothRel, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticAbs.rs
new file mode 100644
index 000000000..4770f97c8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticAbs.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegCurvetoQuadraticAbs , typescript_type = "SVGPathSegCurvetoQuadraticAbs")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegCurvetoQuadraticAbs` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticAbs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticAbs`*"]
+ pub type SvgPathSegCurvetoQuadraticAbs;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoQuadraticAbs" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticAbs`*"]
+ pub fn x(this: &SvgPathSegCurvetoQuadraticAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoQuadraticAbs" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticAbs`*"]
+ pub fn set_x(this: &SvgPathSegCurvetoQuadraticAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoQuadraticAbs" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticAbs`*"]
+ pub fn y(this: &SvgPathSegCurvetoQuadraticAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoQuadraticAbs" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticAbs`*"]
+ pub fn set_y(this: &SvgPathSegCurvetoQuadraticAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoQuadraticAbs" , js_name = x1)]
+ #[doc = "Getter for the `x1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticAbs/x1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticAbs`*"]
+ pub fn x1(this: &SvgPathSegCurvetoQuadraticAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoQuadraticAbs" , js_name = x1)]
+ #[doc = "Setter for the `x1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticAbs/x1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticAbs`*"]
+ pub fn set_x1(this: &SvgPathSegCurvetoQuadraticAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoQuadraticAbs" , js_name = y1)]
+ #[doc = "Getter for the `y1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticAbs/y1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticAbs`*"]
+ pub fn y1(this: &SvgPathSegCurvetoQuadraticAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoQuadraticAbs" , js_name = y1)]
+ #[doc = "Setter for the `y1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticAbs/y1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticAbs`*"]
+ pub fn set_y1(this: &SvgPathSegCurvetoQuadraticAbs, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticRel.rs
new file mode 100644
index 000000000..6a3457d74
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticRel.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegCurvetoQuadraticRel , typescript_type = "SVGPathSegCurvetoQuadraticRel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegCurvetoQuadraticRel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticRel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticRel`*"]
+ pub type SvgPathSegCurvetoQuadraticRel;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoQuadraticRel" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticRel`*"]
+ pub fn x(this: &SvgPathSegCurvetoQuadraticRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoQuadraticRel" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticRel`*"]
+ pub fn set_x(this: &SvgPathSegCurvetoQuadraticRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoQuadraticRel" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticRel`*"]
+ pub fn y(this: &SvgPathSegCurvetoQuadraticRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoQuadraticRel" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticRel`*"]
+ pub fn set_y(this: &SvgPathSegCurvetoQuadraticRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoQuadraticRel" , js_name = x1)]
+ #[doc = "Getter for the `x1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticRel/x1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticRel`*"]
+ pub fn x1(this: &SvgPathSegCurvetoQuadraticRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoQuadraticRel" , js_name = x1)]
+ #[doc = "Setter for the `x1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticRel/x1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticRel`*"]
+ pub fn set_x1(this: &SvgPathSegCurvetoQuadraticRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoQuadraticRel" , js_name = y1)]
+ #[doc = "Getter for the `y1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticRel/y1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticRel`*"]
+ pub fn y1(this: &SvgPathSegCurvetoQuadraticRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoQuadraticRel" , js_name = y1)]
+ #[doc = "Setter for the `y1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticRel/y1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticRel`*"]
+ pub fn set_y1(this: &SvgPathSegCurvetoQuadraticRel, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs
new file mode 100644
index 000000000..9f19b4f53
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegCurvetoQuadraticSmoothAbs , typescript_type = "SVGPathSegCurvetoQuadraticSmoothAbs")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegCurvetoQuadraticSmoothAbs` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticSmoothAbs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothAbs`*"]
+ pub type SvgPathSegCurvetoQuadraticSmoothAbs;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoQuadraticSmoothAbs" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticSmoothAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothAbs`*"]
+ pub fn x(this: &SvgPathSegCurvetoQuadraticSmoothAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoQuadraticSmoothAbs" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticSmoothAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothAbs`*"]
+ pub fn set_x(this: &SvgPathSegCurvetoQuadraticSmoothAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoQuadraticSmoothAbs" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticSmoothAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothAbs`*"]
+ pub fn y(this: &SvgPathSegCurvetoQuadraticSmoothAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoQuadraticSmoothAbs" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticSmoothAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothAbs`*"]
+ pub fn set_y(this: &SvgPathSegCurvetoQuadraticSmoothAbs, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothRel.rs
new file mode 100644
index 000000000..eadff9849
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothRel.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegCurvetoQuadraticSmoothRel , typescript_type = "SVGPathSegCurvetoQuadraticSmoothRel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegCurvetoQuadraticSmoothRel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticSmoothRel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothRel`*"]
+ pub type SvgPathSegCurvetoQuadraticSmoothRel;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoQuadraticSmoothRel" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticSmoothRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothRel`*"]
+ pub fn x(this: &SvgPathSegCurvetoQuadraticSmoothRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoQuadraticSmoothRel" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticSmoothRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothRel`*"]
+ pub fn set_x(this: &SvgPathSegCurvetoQuadraticSmoothRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegCurvetoQuadraticSmoothRel" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticSmoothRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothRel`*"]
+ pub fn y(this: &SvgPathSegCurvetoQuadraticSmoothRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegCurvetoQuadraticSmoothRel" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticSmoothRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothRel`*"]
+ pub fn set_y(this: &SvgPathSegCurvetoQuadraticSmoothRel, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegLinetoAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegLinetoAbs.rs
new file mode 100644
index 000000000..6f6b930f8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegLinetoAbs.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegLinetoAbs , typescript_type = "SVGPathSegLinetoAbs")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegLinetoAbs` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoAbs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoAbs`*"]
+ pub type SvgPathSegLinetoAbs;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegLinetoAbs" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoAbs`*"]
+ pub fn x(this: &SvgPathSegLinetoAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegLinetoAbs" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoAbs`*"]
+ pub fn set_x(this: &SvgPathSegLinetoAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegLinetoAbs" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoAbs`*"]
+ pub fn y(this: &SvgPathSegLinetoAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegLinetoAbs" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoAbs`*"]
+ pub fn set_y(this: &SvgPathSegLinetoAbs, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalAbs.rs
new file mode 100644
index 000000000..fb6bba694
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalAbs.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegLinetoHorizontalAbs , typescript_type = "SVGPathSegLinetoHorizontalAbs")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegLinetoHorizontalAbs` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoHorizontalAbs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoHorizontalAbs`*"]
+ pub type SvgPathSegLinetoHorizontalAbs;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegLinetoHorizontalAbs" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoHorizontalAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoHorizontalAbs`*"]
+ pub fn x(this: &SvgPathSegLinetoHorizontalAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegLinetoHorizontalAbs" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoHorizontalAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoHorizontalAbs`*"]
+ pub fn set_x(this: &SvgPathSegLinetoHorizontalAbs, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalRel.rs
new file mode 100644
index 000000000..461458dba
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalRel.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegLinetoHorizontalRel , typescript_type = "SVGPathSegLinetoHorizontalRel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegLinetoHorizontalRel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoHorizontalRel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoHorizontalRel`*"]
+ pub type SvgPathSegLinetoHorizontalRel;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegLinetoHorizontalRel" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoHorizontalRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoHorizontalRel`*"]
+ pub fn x(this: &SvgPathSegLinetoHorizontalRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegLinetoHorizontalRel" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoHorizontalRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoHorizontalRel`*"]
+ pub fn set_x(this: &SvgPathSegLinetoHorizontalRel, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegLinetoRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegLinetoRel.rs
new file mode 100644
index 000000000..64daaf4fa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegLinetoRel.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegLinetoRel , typescript_type = "SVGPathSegLinetoRel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegLinetoRel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoRel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoRel`*"]
+ pub type SvgPathSegLinetoRel;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegLinetoRel" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoRel`*"]
+ pub fn x(this: &SvgPathSegLinetoRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegLinetoRel" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoRel`*"]
+ pub fn set_x(this: &SvgPathSegLinetoRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegLinetoRel" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoRel`*"]
+ pub fn y(this: &SvgPathSegLinetoRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegLinetoRel" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoRel`*"]
+ pub fn set_y(this: &SvgPathSegLinetoRel, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalAbs.rs
new file mode 100644
index 000000000..39a50d6ac
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalAbs.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegLinetoVerticalAbs , typescript_type = "SVGPathSegLinetoVerticalAbs")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegLinetoVerticalAbs` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoVerticalAbs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoVerticalAbs`*"]
+ pub type SvgPathSegLinetoVerticalAbs;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegLinetoVerticalAbs" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoVerticalAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoVerticalAbs`*"]
+ pub fn y(this: &SvgPathSegLinetoVerticalAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegLinetoVerticalAbs" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoVerticalAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoVerticalAbs`*"]
+ pub fn set_y(this: &SvgPathSegLinetoVerticalAbs, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalRel.rs
new file mode 100644
index 000000000..98c9d076b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalRel.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegLinetoVerticalRel , typescript_type = "SVGPathSegLinetoVerticalRel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegLinetoVerticalRel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoVerticalRel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoVerticalRel`*"]
+ pub type SvgPathSegLinetoVerticalRel;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegLinetoVerticalRel" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoVerticalRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoVerticalRel`*"]
+ pub fn y(this: &SvgPathSegLinetoVerticalRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegLinetoVerticalRel" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegLinetoVerticalRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegLinetoVerticalRel`*"]
+ pub fn set_y(this: &SvgPathSegLinetoVerticalRel, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegList.rs b/vendor/web-sys/src/features/gen_SvgPathSegList.rs
new file mode 100644
index 000000000..76ae0db67
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegList.rs
@@ -0,0 +1,43 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGPathSegList , typescript_type = "SVGPathSegList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegList`*"]
+ pub type SvgPathSegList;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegList" , js_name = numberOfItems)]
+ #[doc = "Getter for the `numberOfItems` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegList/numberOfItems)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegList`*"]
+ pub fn number_of_items(this: &SvgPathSegList) -> u32;
+ #[cfg(feature = "SvgPathSeg")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGPathSegList" , js_name = getItem)]
+ #[doc = "The `getItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegList/getItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`, `SvgPathSegList`*"]
+ pub fn get_item(this: &SvgPathSegList, index: u32) -> Result<SvgPathSeg, JsValue>;
+ #[cfg(feature = "SvgPathSeg")]
+ #[wasm_bindgen(
+ catch,
+ method,
+ structural,
+ js_class = "SVGPathSegList",
+ indexing_getter
+ )]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`, `SvgPathSegList`*"]
+ pub fn get(this: &SvgPathSegList, index: u32) -> Result<SvgPathSeg, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegMovetoAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegMovetoAbs.rs
new file mode 100644
index 000000000..ae2f75afb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegMovetoAbs.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegMovetoAbs , typescript_type = "SVGPathSegMovetoAbs")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegMovetoAbs` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoAbs)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoAbs`*"]
+ pub type SvgPathSegMovetoAbs;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegMovetoAbs" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoAbs`*"]
+ pub fn x(this: &SvgPathSegMovetoAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegMovetoAbs" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoAbs/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoAbs`*"]
+ pub fn set_x(this: &SvgPathSegMovetoAbs, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegMovetoAbs" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoAbs`*"]
+ pub fn y(this: &SvgPathSegMovetoAbs) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegMovetoAbs" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoAbs/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoAbs`*"]
+ pub fn set_y(this: &SvgPathSegMovetoAbs, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPathSegMovetoRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegMovetoRel.rs
new file mode 100644
index 000000000..d65c052f9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPathSegMovetoRel.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegMovetoRel , typescript_type = "SVGPathSegMovetoRel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPathSegMovetoRel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoRel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoRel`*"]
+ pub type SvgPathSegMovetoRel;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegMovetoRel" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoRel`*"]
+ pub fn x(this: &SvgPathSegMovetoRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegMovetoRel" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoRel/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoRel`*"]
+ pub fn set_x(this: &SvgPathSegMovetoRel, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegMovetoRel" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoRel`*"]
+ pub fn y(this: &SvgPathSegMovetoRel) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegMovetoRel" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoRel/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoRel`*"]
+ pub fn set_y(this: &SvgPathSegMovetoRel, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPatternElement.rs b/vendor/web-sys/src/features/gen_SvgPatternElement.rs
new file mode 100644
index 000000000..2e8575bee
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPatternElement.rs
@@ -0,0 +1,94 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGPatternElement , typescript_type = "SVGPatternElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPatternElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPatternElement`*"]
+ pub type SvgPatternElement;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = patternUnits)]
+ #[doc = "Getter for the `patternUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/patternUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgPatternElement`*"]
+ pub fn pattern_units(this: &SvgPatternElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = patternContentUnits)]
+ #[doc = "Getter for the `patternContentUnits` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/patternContentUnits)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgPatternElement`*"]
+ pub fn pattern_content_units(this: &SvgPatternElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedTransformList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = patternTransform)]
+ #[doc = "Getter for the `patternTransform` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/patternTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgPatternElement`*"]
+ pub fn pattern_transform(this: &SvgPatternElement) -> SvgAnimatedTransformList;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*"]
+ pub fn x(this: &SvgPatternElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*"]
+ pub fn y(this: &SvgPatternElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*"]
+ pub fn width(this: &SvgPatternElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*"]
+ pub fn height(this: &SvgPatternElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedRect")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = viewBox)]
+ #[doc = "Getter for the `viewBox` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/viewBox)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgPatternElement`*"]
+ pub fn view_box(this: &SvgPatternElement) -> SvgAnimatedRect;
+ #[cfg(feature = "SvgAnimatedPreserveAspectRatio")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = preserveAspectRatio)]
+ #[doc = "Getter for the `preserveAspectRatio` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/preserveAspectRatio)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgPatternElement`*"]
+ pub fn preserve_aspect_ratio(this: &SvgPatternElement) -> SvgAnimatedPreserveAspectRatio;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgPatternElement`*"]
+ pub fn href(this: &SvgPatternElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPoint.rs b/vendor/web-sys/src/features/gen_SvgPoint.rs
new file mode 100644
index 000000000..8a328ff23
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPoint.rs
@@ -0,0 +1,50 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGPoint , typescript_type = "SVGPoint")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPoint` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
+ pub type SvgPoint;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPoint" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
+ pub fn x(this: &SvgPoint) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPoint" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
+ pub fn set_x(this: &SvgPoint, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPoint" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
+ pub fn y(this: &SvgPoint) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPoint" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
+ pub fn set_y(this: &SvgPoint, value: f32);
+ #[cfg(feature = "SvgMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "SVGPoint" , js_name = matrixTransform)]
+ #[doc = "The `matrixTransform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/matrixTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`, `SvgPoint`*"]
+ pub fn matrix_transform(this: &SvgPoint, matrix: &SvgMatrix) -> SvgPoint;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPointList.rs b/vendor/web-sys/src/features/gen_SvgPointList.rs
new file mode 100644
index 000000000..fde144f5e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPointList.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGPointList , typescript_type = "SVGPointList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPointList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPointList`*"]
+ pub type SvgPointList;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPointList" , js_name = numberOfItems)]
+ #[doc = "Getter for the `numberOfItems` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/numberOfItems)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPointList`*"]
+ pub fn number_of_items(this: &SvgPointList) -> u32;
+ #[cfg(feature = "SvgPoint")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGPointList" , js_name = appendItem)]
+ #[doc = "The `appendItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/appendItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*"]
+ pub fn append_item(this: &SvgPointList, new_item: &SvgPoint) -> Result<SvgPoint, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGPointList" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPointList`*"]
+ pub fn clear(this: &SvgPointList) -> Result<(), JsValue>;
+ #[cfg(feature = "SvgPoint")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGPointList" , js_name = getItem)]
+ #[doc = "The `getItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/getItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*"]
+ pub fn get_item(this: &SvgPointList, index: u32) -> Result<SvgPoint, JsValue>;
+ #[cfg(feature = "SvgPoint")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGPointList" , js_name = initialize)]
+ #[doc = "The `initialize()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/initialize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*"]
+ pub fn initialize(this: &SvgPointList, new_item: &SvgPoint) -> Result<SvgPoint, JsValue>;
+ #[cfg(feature = "SvgPoint")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGPointList" , js_name = insertItemBefore)]
+ #[doc = "The `insertItemBefore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/insertItemBefore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*"]
+ pub fn insert_item_before(
+ this: &SvgPointList,
+ new_item: &SvgPoint,
+ index: u32,
+ ) -> Result<SvgPoint, JsValue>;
+ #[cfg(feature = "SvgPoint")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGPointList" , js_name = removeItem)]
+ #[doc = "The `removeItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/removeItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*"]
+ pub fn remove_item(this: &SvgPointList, index: u32) -> Result<SvgPoint, JsValue>;
+ #[cfg(feature = "SvgPoint")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGPointList" , js_name = replaceItem)]
+ #[doc = "The `replaceItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/replaceItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*"]
+ pub fn replace_item(
+ this: &SvgPointList,
+ new_item: &SvgPoint,
+ index: u32,
+ ) -> Result<SvgPoint, JsValue>;
+ #[cfg(feature = "SvgPoint")]
+ #[wasm_bindgen(catch, method, structural, js_class = "SVGPointList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*"]
+ pub fn get(this: &SvgPointList, index: u32) -> Result<SvgPoint, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPolygonElement.rs b/vendor/web-sys/src/features/gen_SvgPolygonElement.rs
new file mode 100644
index 000000000..1a1140cee
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPolygonElement.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGPolygonElement , typescript_type = "SVGPolygonElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPolygonElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPolygonElement`*"]
+ pub type SvgPolygonElement;
+ #[cfg(feature = "SvgPointList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPolygonElement" , js_name = points)]
+ #[doc = "Getter for the `points` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement/points)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolygonElement`*"]
+ pub fn points(this: &SvgPolygonElement) -> SvgPointList;
+ #[cfg(feature = "SvgPointList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPolygonElement" , js_name = animatedPoints)]
+ #[doc = "Getter for the `animatedPoints` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement/animatedPoints)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolygonElement`*"]
+ pub fn animated_points(this: &SvgPolygonElement) -> SvgPointList;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPolylineElement.rs b/vendor/web-sys/src/features/gen_SvgPolylineElement.rs
new file mode 100644
index 000000000..ff3abdc50
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPolylineElement.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGPolylineElement , typescript_type = "SVGPolylineElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPolylineElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPolylineElement`*"]
+ pub type SvgPolylineElement;
+ #[cfg(feature = "SvgPointList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPolylineElement" , js_name = points)]
+ #[doc = "Getter for the `points` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement/points)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolylineElement`*"]
+ pub fn points(this: &SvgPolylineElement) -> SvgPointList;
+ #[cfg(feature = "SvgPointList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPolylineElement" , js_name = animatedPoints)]
+ #[doc = "Getter for the `animatedPoints` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement/animatedPoints)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolylineElement`*"]
+ pub fn animated_points(this: &SvgPolylineElement) -> SvgPointList;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgPreserveAspectRatio.rs b/vendor/web-sys/src/features/gen_SvgPreserveAspectRatio.rs
new file mode 100644
index 000000000..57fef2ba2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPreserveAspectRatio.rs
@@ -0,0 +1,100 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGPreserveAspectRatio , typescript_type = "SVGPreserveAspectRatio")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPreserveAspectRatio` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub type SvgPreserveAspectRatio;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPreserveAspectRatio" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub fn align(this: &SvgPreserveAspectRatio) -> u16;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPreserveAspectRatio" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub fn set_align(this: &SvgPreserveAspectRatio, value: u16);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPreserveAspectRatio" , js_name = meetOrSlice)]
+ #[doc = "Getter for the `meetOrSlice` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio/meetOrSlice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub fn meet_or_slice(this: &SvgPreserveAspectRatio) -> u16;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPreserveAspectRatio" , js_name = meetOrSlice)]
+ #[doc = "Setter for the `meetOrSlice` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio/meetOrSlice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub fn set_meet_or_slice(this: &SvgPreserveAspectRatio, value: u16);
+}
+impl SvgPreserveAspectRatio {
+ #[doc = "The `SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_PRESERVEASPECTRATIO_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_NONE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_PRESERVEASPECTRATIO_NONE: u16 = 1u64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_PRESERVEASPECTRATIO_XMINYMIN: u16 = 2u64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_PRESERVEASPECTRATIO_XMIDYMIN: u16 = 3u64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_PRESERVEASPECTRATIO_XMAXYMIN: u16 = 4u64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMID` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_PRESERVEASPECTRATIO_XMINYMID: u16 = 5u64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_PRESERVEASPECTRATIO_XMIDYMID: u16 = 6u64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMID` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_PRESERVEASPECTRATIO_XMAXYMID: u16 = 7u64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMAX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_PRESERVEASPECTRATIO_XMINYMAX: u16 = 8u64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMAX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_PRESERVEASPECTRATIO_XMIDYMAX: u16 = 9u64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMAX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_PRESERVEASPECTRATIO_XMAXYMAX: u16 = 10u64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_MEETORSLICE_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_MEETORSLICE_MEET: u16 = 1u64 as u16;
+ #[doc = "The `SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*"]
+ pub const SVG_MEETORSLICE_SLICE: u16 = 2u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgRadialGradientElement.rs b/vendor/web-sys/src/features/gen_SvgRadialGradientElement.rs
new file mode 100644
index 000000000..79627e022
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgRadialGradientElement.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGradientElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGRadialGradientElement , typescript_type = "SVGRadialGradientElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgRadialGradientElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRadialGradientElement`*"]
+ pub type SvgRadialGradientElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRadialGradientElement" , js_name = cx)]
+ #[doc = "Getter for the `cx` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/cx)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*"]
+ pub fn cx(this: &SvgRadialGradientElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRadialGradientElement" , js_name = cy)]
+ #[doc = "Getter for the `cy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/cy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*"]
+ pub fn cy(this: &SvgRadialGradientElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRadialGradientElement" , js_name = r)]
+ #[doc = "Getter for the `r` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/r)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*"]
+ pub fn r(this: &SvgRadialGradientElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRadialGradientElement" , js_name = fx)]
+ #[doc = "Getter for the `fx` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/fx)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*"]
+ pub fn fx(this: &SvgRadialGradientElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRadialGradientElement" , js_name = fy)]
+ #[doc = "Getter for the `fy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/fy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*"]
+ pub fn fy(this: &SvgRadialGradientElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRadialGradientElement" , js_name = fr)]
+ #[doc = "Getter for the `fr` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/fr)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*"]
+ pub fn fr(this: &SvgRadialGradientElement) -> SvgAnimatedLength;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgRect.rs b/vendor/web-sys/src/features/gen_SvgRect.rs
new file mode 100644
index 000000000..3ee979817
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgRect.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGRect , typescript_type = "SVGRect")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgRect` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"]
+ pub type SvgRect;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRect" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"]
+ pub fn x(this: &SvgRect) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGRect" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"]
+ pub fn set_x(this: &SvgRect, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRect" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"]
+ pub fn y(this: &SvgRect) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGRect" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"]
+ pub fn set_y(this: &SvgRect, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRect" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"]
+ pub fn width(this: &SvgRect) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGRect" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"]
+ pub fn set_width(this: &SvgRect, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRect" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"]
+ pub fn height(this: &SvgRect) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGRect" , js_name = height)]
+ #[doc = "Setter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"]
+ pub fn set_height(this: &SvgRect, value: f32);
+}
diff --git a/vendor/web-sys/src/features/gen_SvgRectElement.rs b/vendor/web-sys/src/features/gen_SvgRectElement.rs
new file mode 100644
index 000000000..c019621fc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgRectElement.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGRectElement , typescript_type = "SVGRectElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgRectElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRectElement`*"]
+ pub type SvgRectElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRectElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*"]
+ pub fn x(this: &SvgRectElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRectElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*"]
+ pub fn y(this: &SvgRectElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRectElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*"]
+ pub fn width(this: &SvgRectElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRectElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*"]
+ pub fn height(this: &SvgRectElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRectElement" , js_name = rx)]
+ #[doc = "Getter for the `rx` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/rx)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*"]
+ pub fn rx(this: &SvgRectElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGRectElement" , js_name = ry)]
+ #[doc = "Getter for the `ry` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/ry)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*"]
+ pub fn ry(this: &SvgRectElement) -> SvgAnimatedLength;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgScriptElement.rs b/vendor/web-sys/src/features/gen_SvgScriptElement.rs
new file mode 100644
index 000000000..0892cbc60
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgScriptElement.rs
@@ -0,0 +1,50 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGScriptElement , typescript_type = "SVGScriptElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgScriptElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgScriptElement`*"]
+ pub type SvgScriptElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGScriptElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgScriptElement`*"]
+ pub fn type_(this: &SvgScriptElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGScriptElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgScriptElement`*"]
+ pub fn set_type(this: &SvgScriptElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGScriptElement" , js_name = crossOrigin)]
+ #[doc = "Getter for the `crossOrigin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/crossOrigin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgScriptElement`*"]
+ pub fn cross_origin(this: &SvgScriptElement) -> Option<String>;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGScriptElement" , js_name = crossOrigin)]
+ #[doc = "Setter for the `crossOrigin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/crossOrigin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgScriptElement`*"]
+ pub fn set_cross_origin(this: &SvgScriptElement, value: Option<&str>);
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGScriptElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgScriptElement`*"]
+ pub fn href(this: &SvgScriptElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgSetElement.rs b/vendor/web-sys/src/features/gen_SvgSetElement.rs
new file mode 100644
index 000000000..3fe789ecf
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgSetElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgAnimationElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGSetElement , typescript_type = "SVGSetElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgSetElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSetElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgSetElement`*"]
+ pub type SvgSetElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgStopElement.rs b/vendor/web-sys/src/features/gen_SvgStopElement.rs
new file mode 100644
index 000000000..3bbd4523b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgStopElement.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGStopElement , typescript_type = "SVGStopElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgStopElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStopElement`*"]
+ pub type SvgStopElement;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGStopElement" , js_name = offset)]
+ #[doc = "Getter for the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement/offset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgStopElement`*"]
+ pub fn offset(this: &SvgStopElement) -> SvgAnimatedNumber;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgStringList.rs b/vendor/web-sys/src/features/gen_SvgStringList.rs
new file mode 100644
index 000000000..57362b9b2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgStringList.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGStringList , typescript_type = "SVGStringList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgStringList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`*"]
+ pub type SvgStringList;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGStringList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`*"]
+ pub fn length(this: &SvgStringList) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGStringList" , js_name = numberOfItems)]
+ #[doc = "Getter for the `numberOfItems` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/numberOfItems)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`*"]
+ pub fn number_of_items(this: &SvgStringList) -> u32;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGStringList" , js_name = appendItem)]
+ #[doc = "The `appendItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/appendItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`*"]
+ pub fn append_item(this: &SvgStringList, new_item: &str) -> Result<String, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "SVGStringList" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`*"]
+ pub fn clear(this: &SvgStringList);
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGStringList" , js_name = getItem)]
+ #[doc = "The `getItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/getItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`*"]
+ pub fn get_item(this: &SvgStringList, index: u32) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGStringList" , js_name = initialize)]
+ #[doc = "The `initialize()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/initialize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`*"]
+ pub fn initialize(this: &SvgStringList, new_item: &str) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGStringList" , js_name = insertItemBefore)]
+ #[doc = "The `insertItemBefore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/insertItemBefore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`*"]
+ pub fn insert_item_before(
+ this: &SvgStringList,
+ new_item: &str,
+ index: u32,
+ ) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGStringList" , js_name = removeItem)]
+ #[doc = "The `removeItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/removeItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`*"]
+ pub fn remove_item(this: &SvgStringList, index: u32) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGStringList" , js_name = replaceItem)]
+ #[doc = "The `replaceItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/replaceItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`*"]
+ pub fn replace_item(
+ this: &SvgStringList,
+ new_item: &str,
+ index: u32,
+ ) -> Result<String, JsValue>;
+ #[wasm_bindgen(method, structural, js_class = "SVGStringList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`*"]
+ pub fn get(this: &SvgStringList, index: u32) -> Option<String>;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgStyleElement.rs b/vendor/web-sys/src/features/gen_SvgStyleElement.rs
new file mode 100644
index 000000000..2c36d5969
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgStyleElement.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGStyleElement , typescript_type = "SVGStyleElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgStyleElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
+ pub type SvgStyleElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGStyleElement" , js_name = xmlspace)]
+ #[doc = "Getter for the `xmlspace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/xmlspace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
+ pub fn xmlspace(this: &SvgStyleElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGStyleElement" , js_name = xmlspace)]
+ #[doc = "Setter for the `xmlspace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/xmlspace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
+ pub fn set_xmlspace(this: &SvgStyleElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGStyleElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
+ pub fn type_(this: &SvgStyleElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGStyleElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
+ pub fn set_type(this: &SvgStyleElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGStyleElement" , js_name = media)]
+ #[doc = "Getter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
+ pub fn media(this: &SvgStyleElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGStyleElement" , js_name = media)]
+ #[doc = "Setter for the `media` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/media)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
+ pub fn set_media(this: &SvgStyleElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGStyleElement" , js_name = title)]
+ #[doc = "Getter for the `title` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/title)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
+ pub fn title(this: &SvgStyleElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGStyleElement" , js_name = title)]
+ #[doc = "Setter for the `title` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/title)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
+ pub fn set_title(this: &SvgStyleElement, value: &str);
+ #[cfg(feature = "StyleSheet")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGStyleElement" , js_name = sheet)]
+ #[doc = "Getter for the `sheet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/sheet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StyleSheet`, `SvgStyleElement`*"]
+ pub fn sheet(this: &SvgStyleElement) -> Option<StyleSheet>;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgSwitchElement.rs b/vendor/web-sys/src/features/gen_SvgSwitchElement.rs
new file mode 100644
index 000000000..62ba99363
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgSwitchElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGSwitchElement , typescript_type = "SVGSwitchElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgSwitchElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSwitchElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgSwitchElement`*"]
+ pub type SvgSwitchElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgSymbolElement.rs b/vendor/web-sys/src/features/gen_SvgSymbolElement.rs
new file mode 100644
index 000000000..2fd29f060
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgSymbolElement.rs
@@ -0,0 +1,61 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGSymbolElement , typescript_type = "SVGSymbolElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgSymbolElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgSymbolElement`*"]
+ pub type SvgSymbolElement;
+ #[cfg(feature = "SvgAnimatedRect")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSymbolElement" , js_name = viewBox)]
+ #[doc = "Getter for the `viewBox` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/viewBox)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgSymbolElement`*"]
+ pub fn view_box(this: &SvgSymbolElement) -> SvgAnimatedRect;
+ #[cfg(feature = "SvgAnimatedPreserveAspectRatio")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSymbolElement" , js_name = preserveAspectRatio)]
+ #[doc = "Getter for the `preserveAspectRatio` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/preserveAspectRatio)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgSymbolElement`*"]
+ pub fn preserve_aspect_ratio(this: &SvgSymbolElement) -> SvgAnimatedPreserveAspectRatio;
+ #[cfg(feature = "SvgStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSymbolElement" , js_name = requiredFeatures)]
+ #[doc = "Getter for the `requiredFeatures` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/requiredFeatures)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`, `SvgSymbolElement`*"]
+ pub fn required_features(this: &SvgSymbolElement) -> SvgStringList;
+ #[cfg(feature = "SvgStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSymbolElement" , js_name = requiredExtensions)]
+ #[doc = "Getter for the `requiredExtensions` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/requiredExtensions)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`, `SvgSymbolElement`*"]
+ pub fn required_extensions(this: &SvgSymbolElement) -> SvgStringList;
+ #[cfg(feature = "SvgStringList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSymbolElement" , js_name = systemLanguage)]
+ #[doc = "Getter for the `systemLanguage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/systemLanguage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgStringList`, `SvgSymbolElement`*"]
+ pub fn system_language(this: &SvgSymbolElement) -> SvgStringList;
+ # [wasm_bindgen (method , structural , js_class = "SVGSymbolElement" , js_name = hasExtension)]
+ #[doc = "The `hasExtension()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/hasExtension)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgSymbolElement`*"]
+ pub fn has_extension(this: &SvgSymbolElement, extension: &str) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgTextContentElement.rs b/vendor/web-sys/src/features/gen_SvgTextContentElement.rs
new file mode 100644
index 000000000..ac2abf5dc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgTextContentElement.rs
@@ -0,0 +1,129 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGTextContentElement , typescript_type = "SVGTextContentElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgTextContentElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextContentElement`*"]
+ pub type SvgTextContentElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTextContentElement" , js_name = textLength)]
+ #[doc = "Getter for the `textLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/textLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgTextContentElement`*"]
+ pub fn text_length(this: &SvgTextContentElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTextContentElement" , js_name = lengthAdjust)]
+ #[doc = "Getter for the `lengthAdjust` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/lengthAdjust)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgTextContentElement`*"]
+ pub fn length_adjust(this: &SvgTextContentElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgPoint")]
+ # [wasm_bindgen (method , structural , js_class = "SVGTextContentElement" , js_name = getCharNumAtPosition)]
+ #[doc = "The `getCharNumAtPosition()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getCharNumAtPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgTextContentElement`*"]
+ pub fn get_char_num_at_position(this: &SvgTextContentElement, point: &SvgPoint) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "SVGTextContentElement" , js_name = getComputedTextLength)]
+ #[doc = "The `getComputedTextLength()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getComputedTextLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextContentElement`*"]
+ pub fn get_computed_text_length(this: &SvgTextContentElement) -> f32;
+ #[cfg(feature = "SvgPoint")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTextContentElement" , js_name = getEndPositionOfChar)]
+ #[doc = "The `getEndPositionOfChar()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getEndPositionOfChar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgTextContentElement`*"]
+ pub fn get_end_position_of_char(
+ this: &SvgTextContentElement,
+ charnum: u32,
+ ) -> Result<SvgPoint, JsValue>;
+ #[cfg(feature = "SvgRect")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTextContentElement" , js_name = getExtentOfChar)]
+ #[doc = "The `getExtentOfChar()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getExtentOfChar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRect`, `SvgTextContentElement`*"]
+ pub fn get_extent_of_char(
+ this: &SvgTextContentElement,
+ charnum: u32,
+ ) -> Result<SvgRect, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "SVGTextContentElement" , js_name = getNumberOfChars)]
+ #[doc = "The `getNumberOfChars()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getNumberOfChars)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextContentElement`*"]
+ pub fn get_number_of_chars(this: &SvgTextContentElement) -> i32;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTextContentElement" , js_name = getRotationOfChar)]
+ #[doc = "The `getRotationOfChar()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getRotationOfChar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextContentElement`*"]
+ pub fn get_rotation_of_char(this: &SvgTextContentElement, charnum: u32)
+ -> Result<f32, JsValue>;
+ #[cfg(feature = "SvgPoint")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTextContentElement" , js_name = getStartPositionOfChar)]
+ #[doc = "The `getStartPositionOfChar()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getStartPositionOfChar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgTextContentElement`*"]
+ pub fn get_start_position_of_char(
+ this: &SvgTextContentElement,
+ charnum: u32,
+ ) -> Result<SvgPoint, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTextContentElement" , js_name = getSubStringLength)]
+ #[doc = "The `getSubStringLength()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getSubStringLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextContentElement`*"]
+ pub fn get_sub_string_length(
+ this: &SvgTextContentElement,
+ charnum: u32,
+ nchars: u32,
+ ) -> Result<f32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTextContentElement" , js_name = selectSubString)]
+ #[doc = "The `selectSubString()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/selectSubString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextContentElement`*"]
+ pub fn select_sub_string(
+ this: &SvgTextContentElement,
+ charnum: u32,
+ nchars: u32,
+ ) -> Result<(), JsValue>;
+}
+impl SvgTextContentElement {
+ #[doc = "The `SVGTextContentElement.LENGTHADJUST_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextContentElement`*"]
+ pub const LENGTHADJUST_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGTextContentElement.LENGTHADJUST_SPACING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextContentElement`*"]
+ pub const LENGTHADJUST_SPACING: u16 = 1u64 as u16;
+ #[doc = "The `SVGTextContentElement.LENGTHADJUST_SPACINGANDGLYPHS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextContentElement`*"]
+ pub const LENGTHADJUST_SPACINGANDGLYPHS: u16 = 2u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgTextElement.rs b/vendor/web-sys/src/features/gen_SvgTextElement.rs
new file mode 100644
index 000000000..5b046b017
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgTextElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgTextPositioningElement , extends = SvgTextContentElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGTextElement , typescript_type = "SVGTextElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgTextElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextElement`*"]
+ pub type SvgTextElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgTextPathElement.rs b/vendor/web-sys/src/features/gen_SvgTextPathElement.rs
new file mode 100644
index 000000000..9e274b3c3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgTextPathElement.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgTextContentElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGTextPathElement , typescript_type = "SVGTextPathElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgTextPathElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextPathElement`*"]
+ pub type SvgTextPathElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPathElement" , js_name = startOffset)]
+ #[doc = "Getter for the `startOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/startOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgTextPathElement`*"]
+ pub fn start_offset(this: &SvgTextPathElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPathElement" , js_name = method)]
+ #[doc = "Getter for the `method` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/method)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgTextPathElement`*"]
+ pub fn method(this: &SvgTextPathElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPathElement" , js_name = spacing)]
+ #[doc = "Getter for the `spacing` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/spacing)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgTextPathElement`*"]
+ pub fn spacing(this: &SvgTextPathElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPathElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgTextPathElement`*"]
+ pub fn href(this: &SvgTextPathElement) -> SvgAnimatedString;
+}
+impl SvgTextPathElement {
+ #[doc = "The `SVGTextPathElement.TEXTPATH_METHODTYPE_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextPathElement`*"]
+ pub const TEXTPATH_METHODTYPE_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGTextPathElement.TEXTPATH_METHODTYPE_ALIGN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextPathElement`*"]
+ pub const TEXTPATH_METHODTYPE_ALIGN: u16 = 1u64 as u16;
+ #[doc = "The `SVGTextPathElement.TEXTPATH_METHODTYPE_STRETCH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextPathElement`*"]
+ pub const TEXTPATH_METHODTYPE_STRETCH: u16 = 2u64 as u16;
+ #[doc = "The `SVGTextPathElement.TEXTPATH_SPACINGTYPE_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextPathElement`*"]
+ pub const TEXTPATH_SPACINGTYPE_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGTextPathElement.TEXTPATH_SPACINGTYPE_AUTO` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextPathElement`*"]
+ pub const TEXTPATH_SPACINGTYPE_AUTO: u16 = 1u64 as u16;
+ #[doc = "The `SVGTextPathElement.TEXTPATH_SPACINGTYPE_EXACT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextPathElement`*"]
+ pub const TEXTPATH_SPACINGTYPE_EXACT: u16 = 2u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgTextPositioningElement.rs b/vendor/web-sys/src/features/gen_SvgTextPositioningElement.rs
new file mode 100644
index 000000000..ee5d40db8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgTextPositioningElement.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgTextContentElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGTextPositioningElement , typescript_type = "SVGTextPositioningElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgTextPositioningElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTextPositioningElement`*"]
+ pub type SvgTextPositioningElement;
+ #[cfg(feature = "SvgAnimatedLengthList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPositioningElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*"]
+ pub fn x(this: &SvgTextPositioningElement) -> SvgAnimatedLengthList;
+ #[cfg(feature = "SvgAnimatedLengthList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPositioningElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*"]
+ pub fn y(this: &SvgTextPositioningElement) -> SvgAnimatedLengthList;
+ #[cfg(feature = "SvgAnimatedLengthList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPositioningElement" , js_name = dx)]
+ #[doc = "Getter for the `dx` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/dx)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*"]
+ pub fn dx(this: &SvgTextPositioningElement) -> SvgAnimatedLengthList;
+ #[cfg(feature = "SvgAnimatedLengthList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPositioningElement" , js_name = dy)]
+ #[doc = "Getter for the `dy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/dy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*"]
+ pub fn dy(this: &SvgTextPositioningElement) -> SvgAnimatedLengthList;
+ #[cfg(feature = "SvgAnimatedNumberList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPositioningElement" , js_name = rotate)]
+ #[doc = "Getter for the `rotate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/rotate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgTextPositioningElement`*"]
+ pub fn rotate(this: &SvgTextPositioningElement) -> SvgAnimatedNumberList;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgTitleElement.rs b/vendor/web-sys/src/features/gen_SvgTitleElement.rs
new file mode 100644
index 000000000..4f15b6ee4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgTitleElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGTitleElement , typescript_type = "SVGTitleElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgTitleElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTitleElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTitleElement`*"]
+ pub type SvgTitleElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgTransform.rs b/vendor/web-sys/src/features/gen_SvgTransform.rs
new file mode 100644
index 000000000..00615597b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgTransform.rs
@@ -0,0 +1,109 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGTransform , typescript_type = "SVGTransform")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgTransform` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub type SvgTransform;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTransform" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub fn type_(this: &SvgTransform) -> u16;
+ #[cfg(feature = "SvgMatrix")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTransform" , js_name = matrix)]
+ #[doc = "Getter for the `matrix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/matrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`, `SvgTransform`*"]
+ pub fn matrix(this: &SvgTransform) -> SvgMatrix;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTransform" , js_name = angle)]
+ #[doc = "Getter for the `angle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/angle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub fn angle(this: &SvgTransform) -> f32;
+ #[cfg(feature = "SvgMatrix")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransform" , js_name = setMatrix)]
+ #[doc = "The `setMatrix()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`, `SvgTransform`*"]
+ pub fn set_matrix(this: &SvgTransform, matrix: &SvgMatrix) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransform" , js_name = setRotate)]
+ #[doc = "The `setRotate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setRotate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub fn set_rotate(this: &SvgTransform, angle: f32, cx: f32, cy: f32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransform" , js_name = setScale)]
+ #[doc = "The `setScale()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setScale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub fn set_scale(this: &SvgTransform, sx: f32, sy: f32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransform" , js_name = setSkewX)]
+ #[doc = "The `setSkewX()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setSkewX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub fn set_skew_x(this: &SvgTransform, angle: f32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransform" , js_name = setSkewY)]
+ #[doc = "The `setSkewY()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setSkewY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub fn set_skew_y(this: &SvgTransform, angle: f32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransform" , js_name = setTranslate)]
+ #[doc = "The `setTranslate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setTranslate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub fn set_translate(this: &SvgTransform, tx: f32, ty: f32) -> Result<(), JsValue>;
+}
+impl SvgTransform {
+ #[doc = "The `SVGTransform.SVG_TRANSFORM_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub const SVG_TRANSFORM_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGTransform.SVG_TRANSFORM_MATRIX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub const SVG_TRANSFORM_MATRIX: u16 = 1u64 as u16;
+ #[doc = "The `SVGTransform.SVG_TRANSFORM_TRANSLATE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub const SVG_TRANSFORM_TRANSLATE: u16 = 2u64 as u16;
+ #[doc = "The `SVGTransform.SVG_TRANSFORM_SCALE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub const SVG_TRANSFORM_SCALE: u16 = 3u64 as u16;
+ #[doc = "The `SVGTransform.SVG_TRANSFORM_ROTATE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub const SVG_TRANSFORM_ROTATE: u16 = 4u64 as u16;
+ #[doc = "The `SVGTransform.SVG_TRANSFORM_SKEWX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub const SVG_TRANSFORM_SKEWX: u16 = 5u64 as u16;
+ #[doc = "The `SVGTransform.SVG_TRANSFORM_SKEWY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`*"]
+ pub const SVG_TRANSFORM_SKEWY: u16 = 6u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgTransformList.rs b/vendor/web-sys/src/features/gen_SvgTransformList.rs
new file mode 100644
index 000000000..66cfac09a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgTransformList.rs
@@ -0,0 +1,123 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGTransformList , typescript_type = "SVGTransformList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgTransformList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransformList`*"]
+ pub type SvgTransformList;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGTransformList" , js_name = numberOfItems)]
+ #[doc = "Getter for the `numberOfItems` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/numberOfItems)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransformList`*"]
+ pub fn number_of_items(this: &SvgTransformList) -> u32;
+ #[cfg(feature = "SvgTransform")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransformList" , js_name = appendItem)]
+ #[doc = "The `appendItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/appendItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*"]
+ pub fn append_item(
+ this: &SvgTransformList,
+ new_item: &SvgTransform,
+ ) -> Result<SvgTransform, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransformList" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransformList`*"]
+ pub fn clear(this: &SvgTransformList) -> Result<(), JsValue>;
+ #[cfg(feature = "SvgTransform")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransformList" , js_name = consolidate)]
+ #[doc = "The `consolidate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/consolidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*"]
+ pub fn consolidate(this: &SvgTransformList) -> Result<Option<SvgTransform>, JsValue>;
+ #[cfg(all(feature = "SvgMatrix", feature = "SvgTransform",))]
+ # [wasm_bindgen (method , structural , js_class = "SVGTransformList" , js_name = createSVGTransformFromMatrix)]
+ #[doc = "The `createSVGTransformFromMatrix()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/createSVGTransformFromMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`, `SvgTransform`, `SvgTransformList`*"]
+ pub fn create_svg_transform_from_matrix(
+ this: &SvgTransformList,
+ matrix: &SvgMatrix,
+ ) -> SvgTransform;
+ #[cfg(feature = "SvgTransform")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransformList" , js_name = getItem)]
+ #[doc = "The `getItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/getItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*"]
+ pub fn get_item(this: &SvgTransformList, index: u32) -> Result<SvgTransform, JsValue>;
+ #[cfg(feature = "SvgTransform")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransformList" , js_name = initialize)]
+ #[doc = "The `initialize()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/initialize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*"]
+ pub fn initialize(
+ this: &SvgTransformList,
+ new_item: &SvgTransform,
+ ) -> Result<SvgTransform, JsValue>;
+ #[cfg(feature = "SvgTransform")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransformList" , js_name = insertItemBefore)]
+ #[doc = "The `insertItemBefore()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/insertItemBefore)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*"]
+ pub fn insert_item_before(
+ this: &SvgTransformList,
+ new_item: &SvgTransform,
+ index: u32,
+ ) -> Result<SvgTransform, JsValue>;
+ #[cfg(feature = "SvgTransform")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransformList" , js_name = removeItem)]
+ #[doc = "The `removeItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/removeItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*"]
+ pub fn remove_item(this: &SvgTransformList, index: u32) -> Result<SvgTransform, JsValue>;
+ #[cfg(feature = "SvgTransform")]
+ # [wasm_bindgen (catch , method , structural , js_class = "SVGTransformList" , js_name = replaceItem)]
+ #[doc = "The `replaceItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/replaceItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*"]
+ pub fn replace_item(
+ this: &SvgTransformList,
+ new_item: &SvgTransform,
+ index: u32,
+ ) -> Result<SvgTransform, JsValue>;
+ #[cfg(feature = "SvgTransform")]
+ #[wasm_bindgen(
+ catch,
+ method,
+ structural,
+ js_class = "SVGTransformList",
+ indexing_getter
+ )]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*"]
+ pub fn get(this: &SvgTransformList, index: u32) -> Result<SvgTransform, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgUnitTypes.rs b/vendor/web-sys/src/features/gen_SvgUnitTypes.rs
new file mode 100644
index 000000000..d5d1bf3c0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgUnitTypes.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGUnitTypes , typescript_type = "SVGUnitTypes")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgUnitTypes` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUnitTypes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgUnitTypes`*"]
+ pub type SvgUnitTypes;
+}
+impl SvgUnitTypes {
+ #[doc = "The `SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgUnitTypes`*"]
+ pub const SVG_UNIT_TYPE_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgUnitTypes`*"]
+ pub const SVG_UNIT_TYPE_USERSPACEONUSE: u16 = 1u64 as u16;
+ #[doc = "The `SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgUnitTypes`*"]
+ pub const SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: u16 = 2u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgUseElement.rs b/vendor/web-sys/src/features/gen_SvgUseElement.rs
new file mode 100644
index 000000000..4410c45b9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgUseElement.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGUseElement , typescript_type = "SVGUseElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgUseElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgUseElement`*"]
+ pub type SvgUseElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGUseElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*"]
+ pub fn x(this: &SvgUseElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGUseElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*"]
+ pub fn y(this: &SvgUseElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGUseElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*"]
+ pub fn width(this: &SvgUseElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGUseElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*"]
+ pub fn height(this: &SvgUseElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGUseElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgUseElement`*"]
+ pub fn href(this: &SvgUseElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgViewElement.rs b/vendor/web-sys/src/features/gen_SvgViewElement.rs
new file mode 100644
index 000000000..64baf02da
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgViewElement.rs
@@ -0,0 +1,58 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGViewElement , typescript_type = "SVGViewElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgViewElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgViewElement`*"]
+ pub type SvgViewElement;
+ #[cfg(feature = "SvgAnimatedRect")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGViewElement" , js_name = viewBox)]
+ #[doc = "Getter for the `viewBox` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement/viewBox)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgViewElement`*"]
+ pub fn view_box(this: &SvgViewElement) -> SvgAnimatedRect;
+ #[cfg(feature = "SvgAnimatedPreserveAspectRatio")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGViewElement" , js_name = preserveAspectRatio)]
+ #[doc = "Getter for the `preserveAspectRatio` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement/preserveAspectRatio)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgViewElement`*"]
+ pub fn preserve_aspect_ratio(this: &SvgViewElement) -> SvgAnimatedPreserveAspectRatio;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGViewElement" , js_name = zoomAndPan)]
+ #[doc = "Getter for the `zoomAndPan` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement/zoomAndPan)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgViewElement`*"]
+ pub fn zoom_and_pan(this: &SvgViewElement) -> u16;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGViewElement" , js_name = zoomAndPan)]
+ #[doc = "Setter for the `zoomAndPan` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement/zoomAndPan)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgViewElement`*"]
+ pub fn set_zoom_and_pan(this: &SvgViewElement, value: u16);
+}
+impl SvgViewElement {
+ #[doc = "The `SVGViewElement.SVG_ZOOMANDPAN_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgViewElement`*"]
+ pub const SVG_ZOOMANDPAN_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGViewElement.SVG_ZOOMANDPAN_DISABLE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgViewElement`*"]
+ pub const SVG_ZOOMANDPAN_DISABLE: u16 = 1u64 as u16;
+ #[doc = "The `SVGViewElement.SVG_ZOOMANDPAN_MAGNIFY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgViewElement`*"]
+ pub const SVG_ZOOMANDPAN_MAGNIFY: u16 = 2u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgZoomAndPan.rs b/vendor/web-sys/src/features/gen_SvgZoomAndPan.rs
new file mode 100644
index 000000000..187d2f00a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgZoomAndPan.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGZoomAndPan , typescript_type = "SVGZoomAndPan")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgZoomAndPan` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGZoomAndPan)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgZoomAndPan`*"]
+ pub type SvgZoomAndPan;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGZoomAndPan" , js_name = zoomAndPan)]
+ #[doc = "Getter for the `zoomAndPan` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGZoomAndPan/zoomAndPan)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgZoomAndPan`*"]
+ pub fn zoom_and_pan(this: &SvgZoomAndPan) -> u16;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGZoomAndPan" , js_name = zoomAndPan)]
+ #[doc = "Setter for the `zoomAndPan` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGZoomAndPan/zoomAndPan)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgZoomAndPan`*"]
+ pub fn set_zoom_and_pan(this: &SvgZoomAndPan, value: u16);
+}
+impl SvgZoomAndPan {
+ #[doc = "The `SVGZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgZoomAndPan`*"]
+ pub const SVG_ZOOMANDPAN_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgZoomAndPan`*"]
+ pub const SVG_ZOOMANDPAN_DISABLE: u16 = 1u64 as u16;
+ #[doc = "The `SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgZoomAndPan`*"]
+ pub const SVG_ZOOMANDPAN_MAGNIFY: u16 = 2u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgaElement.rs b/vendor/web-sys/src/features/gen_SvgaElement.rs
new file mode 100644
index 000000000..e866e2ff2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgaElement.rs
@@ -0,0 +1,136 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGAElement , typescript_type = "SVGAElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgaElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub type SvgaElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgaElement`*"]
+ pub fn target(this: &SvgaElement) -> SvgAnimatedString;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = download)]
+ #[doc = "Getter for the `download` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/download)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn download(this: &SvgaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAElement" , js_name = download)]
+ #[doc = "Setter for the `download` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/download)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn set_download(this: &SvgaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = ping)]
+ #[doc = "Getter for the `ping` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/ping)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn ping(this: &SvgaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAElement" , js_name = ping)]
+ #[doc = "Setter for the `ping` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/ping)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn set_ping(this: &SvgaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = rel)]
+ #[doc = "Getter for the `rel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/rel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn rel(this: &SvgaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAElement" , js_name = rel)]
+ #[doc = "Setter for the `rel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/rel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn set_rel(this: &SvgaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = referrerPolicy)]
+ #[doc = "Getter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn referrer_policy(this: &SvgaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAElement" , js_name = referrerPolicy)]
+ #[doc = "Setter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn set_referrer_policy(this: &SvgaElement, value: &str);
+ #[cfg(feature = "DomTokenList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = relList)]
+ #[doc = "Getter for the `relList` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/relList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `SvgaElement`*"]
+ pub fn rel_list(this: &SvgaElement) -> DomTokenList;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = hreflang)]
+ #[doc = "Getter for the `hreflang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/hreflang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn hreflang(this: &SvgaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAElement" , js_name = hreflang)]
+ #[doc = "Setter for the `hreflang` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/hreflang)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn set_hreflang(this: &SvgaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn type_(this: &SvgaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGAElement" , js_name = type)]
+ #[doc = "Setter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn set_type(this: &SvgaElement, value: &str);
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "SVGAElement" , js_name = text)]
+ #[doc = "Getter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn text(this: &SvgaElement) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "SVGAElement" , js_name = text)]
+ #[doc = "Setter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
+ pub fn set_text(this: &SvgaElement, value: &str) -> Result<(), JsValue>;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgaElement`*"]
+ pub fn href(this: &SvgaElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeBlendElement.rs b/vendor/web-sys/src/features/gen_SvgfeBlendElement.rs
new file mode 100644
index 000000000..97ce3978d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeBlendElement.rs
@@ -0,0 +1,148 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEBlendElement , typescript_type = "SVGFEBlendElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeBlendElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub type SvgfeBlendElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*"]
+ pub fn in1(this: &SvgfeBlendElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = in2)]
+ #[doc = "Getter for the `in2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/in2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*"]
+ pub fn in2(this: &SvgfeBlendElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = mode)]
+ #[doc = "Getter for the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/mode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeBlendElement`*"]
+ pub fn mode(this: &SvgfeBlendElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*"]
+ pub fn x(this: &SvgfeBlendElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*"]
+ pub fn y(this: &SvgfeBlendElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*"]
+ pub fn width(this: &SvgfeBlendElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*"]
+ pub fn height(this: &SvgfeBlendElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEBlendElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*"]
+ pub fn result(this: &SvgfeBlendElement) -> SvgAnimatedString;
+}
+impl SvgfeBlendElement {
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_NORMAL: u16 = 1u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_MULTIPLY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_MULTIPLY: u16 = 2u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_SCREEN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_SCREEN: u16 = 3u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_DARKEN: u16 = 4u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_LIGHTEN: u16 = 5u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_OVERLAY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_OVERLAY: u16 = 6u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_COLOR_DODGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_COLOR_DODGE: u16 = 7u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_COLOR_BURN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_COLOR_BURN: u16 = 8u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_HARD_LIGHT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_HARD_LIGHT: u16 = 9u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_SOFT_LIGHT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_SOFT_LIGHT: u16 = 10u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_DIFFERENCE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_DIFFERENCE: u16 = 11u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_EXCLUSION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_EXCLUSION: u16 = 12u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_HUE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_HUE: u16 = 13u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_SATURATION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_SATURATION: u16 = 14u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_COLOR: u16 = 15u64 as u16;
+ #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_LUMINOSITY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
+ pub const SVG_FEBLEND_MODE_LUMINOSITY: u16 = 16u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeColorMatrixElement.rs b/vendor/web-sys/src/features/gen_SvgfeColorMatrixElement.rs
new file mode 100644
index 000000000..c951981f8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeColorMatrixElement.rs
@@ -0,0 +1,100 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEColorMatrixElement , typescript_type = "SVGFEColorMatrixElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeColorMatrixElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
+ pub type SvgfeColorMatrixElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeColorMatrixElement`*"]
+ pub fn in1(this: &SvgfeColorMatrixElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeColorMatrixElement`*"]
+ pub fn type_(this: &SvgfeColorMatrixElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedNumberList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , js_name = values)]
+ #[doc = "Getter for the `values` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/values)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgfeColorMatrixElement`*"]
+ pub fn values(this: &SvgfeColorMatrixElement) -> SvgAnimatedNumberList;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*"]
+ pub fn x(this: &SvgfeColorMatrixElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*"]
+ pub fn y(this: &SvgfeColorMatrixElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*"]
+ pub fn width(this: &SvgfeColorMatrixElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*"]
+ pub fn height(this: &SvgfeColorMatrixElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeColorMatrixElement`*"]
+ pub fn result(this: &SvgfeColorMatrixElement) -> SvgAnimatedString;
+}
+impl SvgfeColorMatrixElement {
+ #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
+ pub const SVG_FECOLORMATRIX_TYPE_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
+ pub const SVG_FECOLORMATRIX_TYPE_MATRIX: u16 = 1u64 as u16;
+ #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
+ pub const SVG_FECOLORMATRIX_TYPE_SATURATE: u16 = 2u64 as u16;
+ #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
+ pub const SVG_FECOLORMATRIX_TYPE_HUEROTATE: u16 = 3u64 as u16;
+ #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
+ pub const SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: u16 = 4u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeComponentTransferElement.rs b/vendor/web-sys/src/features/gen_SvgfeComponentTransferElement.rs
new file mode 100644
index 000000000..dda9bff7a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeComponentTransferElement.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEComponentTransferElement , typescript_type = "SVGFEComponentTransferElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeComponentTransferElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeComponentTransferElement`*"]
+ pub type SvgfeComponentTransferElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEComponentTransferElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeComponentTransferElement`*"]
+ pub fn in1(this: &SvgfeComponentTransferElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEComponentTransferElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeComponentTransferElement`*"]
+ pub fn x(this: &SvgfeComponentTransferElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEComponentTransferElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeComponentTransferElement`*"]
+ pub fn y(this: &SvgfeComponentTransferElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEComponentTransferElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeComponentTransferElement`*"]
+ pub fn width(this: &SvgfeComponentTransferElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEComponentTransferElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeComponentTransferElement`*"]
+ pub fn height(this: &SvgfeComponentTransferElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEComponentTransferElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeComponentTransferElement`*"]
+ pub fn result(this: &SvgfeComponentTransferElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeCompositeElement.rs b/vendor/web-sys/src/features/gen_SvgfeCompositeElement.rs
new file mode 100644
index 000000000..23f4db088
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeCompositeElement.rs
@@ -0,0 +1,140 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFECompositeElement , typescript_type = "SVGFECompositeElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeCompositeElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
+ pub type SvgfeCompositeElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*"]
+ pub fn in1(this: &SvgfeCompositeElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = in2)]
+ #[doc = "Getter for the `in2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/in2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*"]
+ pub fn in2(this: &SvgfeCompositeElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = operator)]
+ #[doc = "Getter for the `operator` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/operator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeCompositeElement`*"]
+ pub fn operator(this: &SvgfeCompositeElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = k1)]
+ #[doc = "Getter for the `k1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*"]
+ pub fn k1(this: &SvgfeCompositeElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = k2)]
+ #[doc = "Getter for the `k2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*"]
+ pub fn k2(this: &SvgfeCompositeElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = k3)]
+ #[doc = "Getter for the `k3` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k3)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*"]
+ pub fn k3(this: &SvgfeCompositeElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = k4)]
+ #[doc = "Getter for the `k4` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k4)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*"]
+ pub fn k4(this: &SvgfeCompositeElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*"]
+ pub fn x(this: &SvgfeCompositeElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*"]
+ pub fn y(this: &SvgfeCompositeElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*"]
+ pub fn width(this: &SvgfeCompositeElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*"]
+ pub fn height(this: &SvgfeCompositeElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*"]
+ pub fn result(this: &SvgfeCompositeElement) -> SvgAnimatedString;
+}
+impl SvgfeCompositeElement {
+ #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
+ pub const SVG_FECOMPOSITE_OPERATOR_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
+ pub const SVG_FECOMPOSITE_OPERATOR_OVER: u16 = 1u64 as u16;
+ #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
+ pub const SVG_FECOMPOSITE_OPERATOR_IN: u16 = 2u64 as u16;
+ #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OUT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
+ pub const SVG_FECOMPOSITE_OPERATOR_OUT: u16 = 3u64 as u16;
+ #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
+ pub const SVG_FECOMPOSITE_OPERATOR_ATOP: u16 = 4u64 as u16;
+ #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
+ pub const SVG_FECOMPOSITE_OPERATOR_XOR: u16 = 5u64 as u16;
+ #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
+ pub const SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: u16 = 6u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeConvolveMatrixElement.rs b/vendor/web-sys/src/features/gen_SvgfeConvolveMatrixElement.rs
new file mode 100644
index 000000000..605a9ac66
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeConvolveMatrixElement.rs
@@ -0,0 +1,168 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEConvolveMatrixElement , typescript_type = "SVGFEConvolveMatrixElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeConvolveMatrixElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
+ pub type SvgfeConvolveMatrixElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeConvolveMatrixElement`*"]
+ pub fn in1(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedInteger")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = orderX)]
+ #[doc = "Getter for the `orderX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/orderX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*"]
+ pub fn order_x(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedInteger;
+ #[cfg(feature = "SvgAnimatedInteger")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = orderY)]
+ #[doc = "Getter for the `orderY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/orderY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*"]
+ pub fn order_y(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedInteger;
+ #[cfg(feature = "SvgAnimatedNumberList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = kernelMatrix)]
+ #[doc = "Getter for the `kernelMatrix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgfeConvolveMatrixElement`*"]
+ pub fn kernel_matrix(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumberList;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = divisor)]
+ #[doc = "Getter for the `divisor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/divisor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*"]
+ pub fn divisor(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = bias)]
+ #[doc = "Getter for the `bias` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/bias)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*"]
+ pub fn bias(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedInteger")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = targetX)]
+ #[doc = "Getter for the `targetX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/targetX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*"]
+ pub fn target_x(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedInteger;
+ #[cfg(feature = "SvgAnimatedInteger")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = targetY)]
+ #[doc = "Getter for the `targetY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/targetY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*"]
+ pub fn target_y(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedInteger;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = edgeMode)]
+ #[doc = "Getter for the `edgeMode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/edgeMode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeConvolveMatrixElement`*"]
+ pub fn edge_mode(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = kernelUnitLengthX)]
+ #[doc = "Getter for the `kernelUnitLengthX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelUnitLengthX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*"]
+ pub fn kernel_unit_length_x(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = kernelUnitLengthY)]
+ #[doc = "Getter for the `kernelUnitLengthY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelUnitLengthY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*"]
+ pub fn kernel_unit_length_y(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedBoolean")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = preserveAlpha)]
+ #[doc = "Getter for the `preserveAlpha` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/preserveAlpha)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedBoolean`, `SvgfeConvolveMatrixElement`*"]
+ pub fn preserve_alpha(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedBoolean;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*"]
+ pub fn x(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*"]
+ pub fn y(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*"]
+ pub fn width(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*"]
+ pub fn height(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeConvolveMatrixElement`*"]
+ pub fn result(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedString;
+}
+impl SvgfeConvolveMatrixElement {
+ #[doc = "The `SVGFEConvolveMatrixElement.SVG_EDGEMODE_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
+ pub const SVG_EDGEMODE_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
+ pub const SVG_EDGEMODE_DUPLICATE: u16 = 1u64 as u16;
+ #[doc = "The `SVGFEConvolveMatrixElement.SVG_EDGEMODE_WRAP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
+ pub const SVG_EDGEMODE_WRAP: u16 = 2u64 as u16;
+ #[doc = "The `SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
+ pub const SVG_EDGEMODE_NONE: u16 = 3u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeDiffuseLightingElement.rs b/vendor/web-sys/src/features/gen_SvgfeDiffuseLightingElement.rs
new file mode 100644
index 000000000..6ac26b3fa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeDiffuseLightingElement.rs
@@ -0,0 +1,94 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEDiffuseLightingElement , typescript_type = "SVGFEDiffuseLightingElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeDiffuseLightingElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeDiffuseLightingElement`*"]
+ pub type SvgfeDiffuseLightingElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDiffuseLightingElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDiffuseLightingElement`*"]
+ pub fn in1(this: &SvgfeDiffuseLightingElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDiffuseLightingElement" , js_name = surfaceScale)]
+ #[doc = "Getter for the `surfaceScale` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/surfaceScale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDiffuseLightingElement`*"]
+ pub fn surface_scale(this: &SvgfeDiffuseLightingElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDiffuseLightingElement" , js_name = diffuseConstant)]
+ #[doc = "Getter for the `diffuseConstant` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/diffuseConstant)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDiffuseLightingElement`*"]
+ pub fn diffuse_constant(this: &SvgfeDiffuseLightingElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDiffuseLightingElement" , js_name = kernelUnitLengthX)]
+ #[doc = "Getter for the `kernelUnitLengthX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDiffuseLightingElement`*"]
+ pub fn kernel_unit_length_x(this: &SvgfeDiffuseLightingElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDiffuseLightingElement" , js_name = kernelUnitLengthY)]
+ #[doc = "Getter for the `kernelUnitLengthY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDiffuseLightingElement`*"]
+ pub fn kernel_unit_length_y(this: &SvgfeDiffuseLightingElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDiffuseLightingElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDiffuseLightingElement`*"]
+ pub fn x(this: &SvgfeDiffuseLightingElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDiffuseLightingElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDiffuseLightingElement`*"]
+ pub fn y(this: &SvgfeDiffuseLightingElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDiffuseLightingElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDiffuseLightingElement`*"]
+ pub fn width(this: &SvgfeDiffuseLightingElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDiffuseLightingElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDiffuseLightingElement`*"]
+ pub fn height(this: &SvgfeDiffuseLightingElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDiffuseLightingElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDiffuseLightingElement`*"]
+ pub fn result(this: &SvgfeDiffuseLightingElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeDisplacementMapElement.rs b/vendor/web-sys/src/features/gen_SvgfeDisplacementMapElement.rs
new file mode 100644
index 000000000..f533134b6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeDisplacementMapElement.rs
@@ -0,0 +1,116 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEDisplacementMapElement , typescript_type = "SVGFEDisplacementMapElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeDisplacementMapElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
+ pub type SvgfeDisplacementMapElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*"]
+ pub fn in1(this: &SvgfeDisplacementMapElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = in2)]
+ #[doc = "Getter for the `in2` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/in2)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*"]
+ pub fn in2(this: &SvgfeDisplacementMapElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = scale)]
+ #[doc = "Getter for the `scale` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/scale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDisplacementMapElement`*"]
+ pub fn scale(this: &SvgfeDisplacementMapElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = xChannelSelector)]
+ #[doc = "Getter for the `xChannelSelector` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/xChannelSelector)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeDisplacementMapElement`*"]
+ pub fn x_channel_selector(this: &SvgfeDisplacementMapElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = yChannelSelector)]
+ #[doc = "Getter for the `yChannelSelector` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/yChannelSelector)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeDisplacementMapElement`*"]
+ pub fn y_channel_selector(this: &SvgfeDisplacementMapElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*"]
+ pub fn x(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*"]
+ pub fn y(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*"]
+ pub fn width(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*"]
+ pub fn height(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*"]
+ pub fn result(this: &SvgfeDisplacementMapElement) -> SvgAnimatedString;
+}
+impl SvgfeDisplacementMapElement {
+ #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
+ pub const SVG_CHANNEL_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_R` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
+ pub const SVG_CHANNEL_R: u16 = 1u64 as u16;
+ #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_G` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
+ pub const SVG_CHANNEL_G: u16 = 2u64 as u16;
+ #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_B` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
+ pub const SVG_CHANNEL_B: u16 = 3u64 as u16;
+ #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_A` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
+ pub const SVG_CHANNEL_A: u16 = 4u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeDistantLightElement.rs b/vendor/web-sys/src/features/gen_SvgfeDistantLightElement.rs
new file mode 100644
index 000000000..424df95f6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeDistantLightElement.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEDistantLightElement , typescript_type = "SVGFEDistantLightElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeDistantLightElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeDistantLightElement`*"]
+ pub type SvgfeDistantLightElement;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDistantLightElement" , js_name = azimuth)]
+ #[doc = "Getter for the `azimuth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement/azimuth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDistantLightElement`*"]
+ pub fn azimuth(this: &SvgfeDistantLightElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDistantLightElement" , js_name = elevation)]
+ #[doc = "Getter for the `elevation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement/elevation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDistantLightElement`*"]
+ pub fn elevation(this: &SvgfeDistantLightElement) -> SvgAnimatedNumber;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeDropShadowElement.rs b/vendor/web-sys/src/features/gen_SvgfeDropShadowElement.rs
new file mode 100644
index 000000000..d48d5d6b2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeDropShadowElement.rs
@@ -0,0 +1,105 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEDropShadowElement , typescript_type = "SVGFEDropShadowElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeDropShadowElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeDropShadowElement`*"]
+ pub type SvgfeDropShadowElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDropShadowElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDropShadowElement`*"]
+ pub fn in1(this: &SvgfeDropShadowElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDropShadowElement" , js_name = dx)]
+ #[doc = "Getter for the `dx` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/dx)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*"]
+ pub fn dx(this: &SvgfeDropShadowElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDropShadowElement" , js_name = dy)]
+ #[doc = "Getter for the `dy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/dy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*"]
+ pub fn dy(this: &SvgfeDropShadowElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDropShadowElement" , js_name = stdDeviationX)]
+ #[doc = "Getter for the `stdDeviationX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/stdDeviationX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*"]
+ pub fn std_deviation_x(this: &SvgfeDropShadowElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDropShadowElement" , js_name = stdDeviationY)]
+ #[doc = "Getter for the `stdDeviationY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/stdDeviationY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*"]
+ pub fn std_deviation_y(this: &SvgfeDropShadowElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDropShadowElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*"]
+ pub fn x(this: &SvgfeDropShadowElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDropShadowElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*"]
+ pub fn y(this: &SvgfeDropShadowElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDropShadowElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*"]
+ pub fn width(this: &SvgfeDropShadowElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDropShadowElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*"]
+ pub fn height(this: &SvgfeDropShadowElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDropShadowElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDropShadowElement`*"]
+ pub fn result(this: &SvgfeDropShadowElement) -> SvgAnimatedString;
+ # [wasm_bindgen (method , structural , js_class = "SVGFEDropShadowElement" , js_name = setStdDeviation)]
+ #[doc = "The `setStdDeviation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/setStdDeviation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeDropShadowElement`*"]
+ pub fn set_std_deviation(
+ this: &SvgfeDropShadowElement,
+ std_deviation_x: f32,
+ std_deviation_y: f32,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeFloodElement.rs b/vendor/web-sys/src/features/gen_SvgfeFloodElement.rs
new file mode 100644
index 000000000..392ebacf3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeFloodElement.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEFloodElement , typescript_type = "SVGFEFloodElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeFloodElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeFloodElement`*"]
+ pub type SvgfeFloodElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEFloodElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeFloodElement`*"]
+ pub fn x(this: &SvgfeFloodElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEFloodElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeFloodElement`*"]
+ pub fn y(this: &SvgfeFloodElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEFloodElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeFloodElement`*"]
+ pub fn width(this: &SvgfeFloodElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEFloodElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeFloodElement`*"]
+ pub fn height(this: &SvgfeFloodElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEFloodElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeFloodElement`*"]
+ pub fn result(this: &SvgfeFloodElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeFuncAElement.rs b/vendor/web-sys/src/features/gen_SvgfeFuncAElement.rs
new file mode 100644
index 000000000..688c97d0a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeFuncAElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgComponentTransferFunctionElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEFuncAElement , typescript_type = "SVGFEFuncAElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeFuncAElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncAElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeFuncAElement`*"]
+ pub type SvgfeFuncAElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeFuncBElement.rs b/vendor/web-sys/src/features/gen_SvgfeFuncBElement.rs
new file mode 100644
index 000000000..d0ebf8474
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeFuncBElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgComponentTransferFunctionElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEFuncBElement , typescript_type = "SVGFEFuncBElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeFuncBElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncBElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeFuncBElement`*"]
+ pub type SvgfeFuncBElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeFuncGElement.rs b/vendor/web-sys/src/features/gen_SvgfeFuncGElement.rs
new file mode 100644
index 000000000..dc61bf560
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeFuncGElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgComponentTransferFunctionElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEFuncGElement , typescript_type = "SVGFEFuncGElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeFuncGElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncGElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeFuncGElement`*"]
+ pub type SvgfeFuncGElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeFuncRElement.rs b/vendor/web-sys/src/features/gen_SvgfeFuncRElement.rs
new file mode 100644
index 000000000..de260ac38
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeFuncRElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgComponentTransferFunctionElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEFuncRElement , typescript_type = "SVGFEFuncRElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeFuncRElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncRElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeFuncRElement`*"]
+ pub type SvgfeFuncRElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeGaussianBlurElement.rs b/vendor/web-sys/src/features/gen_SvgfeGaussianBlurElement.rs
new file mode 100644
index 000000000..88cb074d1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeGaussianBlurElement.rs
@@ -0,0 +1,89 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEGaussianBlurElement , typescript_type = "SVGFEGaussianBlurElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeGaussianBlurElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeGaussianBlurElement`*"]
+ pub type SvgfeGaussianBlurElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEGaussianBlurElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeGaussianBlurElement`*"]
+ pub fn in1(this: &SvgfeGaussianBlurElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEGaussianBlurElement" , js_name = stdDeviationX)]
+ #[doc = "Getter for the `stdDeviationX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeGaussianBlurElement`*"]
+ pub fn std_deviation_x(this: &SvgfeGaussianBlurElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEGaussianBlurElement" , js_name = stdDeviationY)]
+ #[doc = "Getter for the `stdDeviationY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeGaussianBlurElement`*"]
+ pub fn std_deviation_y(this: &SvgfeGaussianBlurElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEGaussianBlurElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*"]
+ pub fn x(this: &SvgfeGaussianBlurElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEGaussianBlurElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*"]
+ pub fn y(this: &SvgfeGaussianBlurElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEGaussianBlurElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*"]
+ pub fn width(this: &SvgfeGaussianBlurElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEGaussianBlurElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*"]
+ pub fn height(this: &SvgfeGaussianBlurElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEGaussianBlurElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeGaussianBlurElement`*"]
+ pub fn result(this: &SvgfeGaussianBlurElement) -> SvgAnimatedString;
+ # [wasm_bindgen (method , structural , js_class = "SVGFEGaussianBlurElement" , js_name = setStdDeviation)]
+ #[doc = "The `setStdDeviation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/setStdDeviation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeGaussianBlurElement`*"]
+ pub fn set_std_deviation(
+ this: &SvgfeGaussianBlurElement,
+ std_deviation_x: f32,
+ std_deviation_y: f32,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeImageElement.rs b/vendor/web-sys/src/features/gen_SvgfeImageElement.rs
new file mode 100644
index 000000000..efb101bbc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeImageElement.rs
@@ -0,0 +1,70 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEImageElement , typescript_type = "SVGFEImageElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeImageElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeImageElement`*"]
+ pub type SvgfeImageElement;
+ #[cfg(feature = "SvgAnimatedPreserveAspectRatio")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEImageElement" , js_name = preserveAspectRatio)]
+ #[doc = "Getter for the `preserveAspectRatio` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/preserveAspectRatio)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgfeImageElement`*"]
+ pub fn preserve_aspect_ratio(this: &SvgfeImageElement) -> SvgAnimatedPreserveAspectRatio;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEImageElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*"]
+ pub fn x(this: &SvgfeImageElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEImageElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*"]
+ pub fn y(this: &SvgfeImageElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEImageElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*"]
+ pub fn width(this: &SvgfeImageElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEImageElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*"]
+ pub fn height(this: &SvgfeImageElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEImageElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeImageElement`*"]
+ pub fn result(this: &SvgfeImageElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEImageElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeImageElement`*"]
+ pub fn href(this: &SvgfeImageElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeMergeElement.rs b/vendor/web-sys/src/features/gen_SvgfeMergeElement.rs
new file mode 100644
index 000000000..7ff05f3df
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeMergeElement.rs
@@ -0,0 +1,54 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEMergeElement , typescript_type = "SVGFEMergeElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeMergeElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeMergeElement`*"]
+ pub type SvgfeMergeElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMergeElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMergeElement`*"]
+ pub fn x(this: &SvgfeMergeElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMergeElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMergeElement`*"]
+ pub fn y(this: &SvgfeMergeElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMergeElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMergeElement`*"]
+ pub fn width(this: &SvgfeMergeElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMergeElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMergeElement`*"]
+ pub fn height(this: &SvgfeMergeElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMergeElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMergeElement`*"]
+ pub fn result(this: &SvgfeMergeElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeMergeNodeElement.rs b/vendor/web-sys/src/features/gen_SvgfeMergeNodeElement.rs
new file mode 100644
index 000000000..ed556e18f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeMergeNodeElement.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEMergeNodeElement , typescript_type = "SVGFEMergeNodeElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeMergeNodeElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeNodeElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeMergeNodeElement`*"]
+ pub type SvgfeMergeNodeElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMergeNodeElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeNodeElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMergeNodeElement`*"]
+ pub fn in1(this: &SvgfeMergeNodeElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeMorphologyElement.rs b/vendor/web-sys/src/features/gen_SvgfeMorphologyElement.rs
new file mode 100644
index 000000000..5170c0471
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeMorphologyElement.rs
@@ -0,0 +1,100 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEMorphologyElement , typescript_type = "SVGFEMorphologyElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeMorphologyElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeMorphologyElement`*"]
+ pub type SvgfeMorphologyElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMorphologyElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMorphologyElement`*"]
+ pub fn in1(this: &SvgfeMorphologyElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMorphologyElement" , js_name = operator)]
+ #[doc = "Getter for the `operator` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/operator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeMorphologyElement`*"]
+ pub fn operator(this: &SvgfeMorphologyElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMorphologyElement" , js_name = radiusX)]
+ #[doc = "Getter for the `radiusX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/radiusX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeMorphologyElement`*"]
+ pub fn radius_x(this: &SvgfeMorphologyElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMorphologyElement" , js_name = radiusY)]
+ #[doc = "Getter for the `radiusY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/radiusY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeMorphologyElement`*"]
+ pub fn radius_y(this: &SvgfeMorphologyElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMorphologyElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*"]
+ pub fn x(this: &SvgfeMorphologyElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMorphologyElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*"]
+ pub fn y(this: &SvgfeMorphologyElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMorphologyElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*"]
+ pub fn width(this: &SvgfeMorphologyElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMorphologyElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*"]
+ pub fn height(this: &SvgfeMorphologyElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEMorphologyElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMorphologyElement`*"]
+ pub fn result(this: &SvgfeMorphologyElement) -> SvgAnimatedString;
+}
+impl SvgfeMorphologyElement {
+ #[doc = "The `SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeMorphologyElement`*"]
+ pub const SVG_MORPHOLOGY_OPERATOR_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeMorphologyElement`*"]
+ pub const SVG_MORPHOLOGY_OPERATOR_ERODE: u16 = 1u64 as u16;
+ #[doc = "The `SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeMorphologyElement`*"]
+ pub const SVG_MORPHOLOGY_OPERATOR_DILATE: u16 = 2u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeOffsetElement.rs b/vendor/web-sys/src/features/gen_SvgfeOffsetElement.rs
new file mode 100644
index 000000000..3baf90015
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeOffsetElement.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEOffsetElement , typescript_type = "SVGFEOffsetElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeOffsetElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeOffsetElement`*"]
+ pub type SvgfeOffsetElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEOffsetElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeOffsetElement`*"]
+ pub fn in1(this: &SvgfeOffsetElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEOffsetElement" , js_name = dx)]
+ #[doc = "Getter for the `dx` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/dx)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeOffsetElement`*"]
+ pub fn dx(this: &SvgfeOffsetElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEOffsetElement" , js_name = dy)]
+ #[doc = "Getter for the `dy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/dy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeOffsetElement`*"]
+ pub fn dy(this: &SvgfeOffsetElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEOffsetElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*"]
+ pub fn x(this: &SvgfeOffsetElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEOffsetElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*"]
+ pub fn y(this: &SvgfeOffsetElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEOffsetElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*"]
+ pub fn width(this: &SvgfeOffsetElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEOffsetElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*"]
+ pub fn height(this: &SvgfeOffsetElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEOffsetElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeOffsetElement`*"]
+ pub fn result(this: &SvgfeOffsetElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfePointLightElement.rs b/vendor/web-sys/src/features/gen_SvgfePointLightElement.rs
new file mode 100644
index 000000000..2c417c93e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfePointLightElement.rs
@@ -0,0 +1,38 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEPointLightElement , typescript_type = "SVGFEPointLightElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfePointLightElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfePointLightElement`*"]
+ pub type SvgfePointLightElement;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEPointLightElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfePointLightElement`*"]
+ pub fn x(this: &SvgfePointLightElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEPointLightElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfePointLightElement`*"]
+ pub fn y(this: &SvgfePointLightElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFEPointLightElement" , js_name = z)]
+ #[doc = "Getter for the `z` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement/z)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfePointLightElement`*"]
+ pub fn z(this: &SvgfePointLightElement) -> SvgAnimatedNumber;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeSpecularLightingElement.rs b/vendor/web-sys/src/features/gen_SvgfeSpecularLightingElement.rs
new file mode 100644
index 000000000..56bc66036
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeSpecularLightingElement.rs
@@ -0,0 +1,102 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFESpecularLightingElement , typescript_type = "SVGFESpecularLightingElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeSpecularLightingElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeSpecularLightingElement`*"]
+ pub type SvgfeSpecularLightingElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpecularLightingElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeSpecularLightingElement`*"]
+ pub fn in1(this: &SvgfeSpecularLightingElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpecularLightingElement" , js_name = surfaceScale)]
+ #[doc = "Getter for the `surfaceScale` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/surfaceScale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*"]
+ pub fn surface_scale(this: &SvgfeSpecularLightingElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpecularLightingElement" , js_name = specularConstant)]
+ #[doc = "Getter for the `specularConstant` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/specularConstant)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*"]
+ pub fn specular_constant(this: &SvgfeSpecularLightingElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpecularLightingElement" , js_name = specularExponent)]
+ #[doc = "Getter for the `specularExponent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/specularExponent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*"]
+ pub fn specular_exponent(this: &SvgfeSpecularLightingElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpecularLightingElement" , js_name = kernelUnitLengthX)]
+ #[doc = "Getter for the `kernelUnitLengthX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*"]
+ pub fn kernel_unit_length_x(this: &SvgfeSpecularLightingElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpecularLightingElement" , js_name = kernelUnitLengthY)]
+ #[doc = "Getter for the `kernelUnitLengthY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*"]
+ pub fn kernel_unit_length_y(this: &SvgfeSpecularLightingElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpecularLightingElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*"]
+ pub fn x(this: &SvgfeSpecularLightingElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpecularLightingElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*"]
+ pub fn y(this: &SvgfeSpecularLightingElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpecularLightingElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*"]
+ pub fn width(this: &SvgfeSpecularLightingElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpecularLightingElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*"]
+ pub fn height(this: &SvgfeSpecularLightingElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpecularLightingElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeSpecularLightingElement`*"]
+ pub fn result(this: &SvgfeSpecularLightingElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeSpotLightElement.rs b/vendor/web-sys/src/features/gen_SvgfeSpotLightElement.rs
new file mode 100644
index 000000000..28da38767
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeSpotLightElement.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFESpotLightElement , typescript_type = "SVGFESpotLightElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeSpotLightElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeSpotLightElement`*"]
+ pub type SvgfeSpotLightElement;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
+ pub fn x(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
+ pub fn y(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = z)]
+ #[doc = "Getter for the `z` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/z)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
+ pub fn z(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = pointsAtX)]
+ #[doc = "Getter for the `pointsAtX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
+ pub fn points_at_x(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = pointsAtY)]
+ #[doc = "Getter for the `pointsAtY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
+ pub fn points_at_y(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = pointsAtZ)]
+ #[doc = "Getter for the `pointsAtZ` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtZ)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
+ pub fn points_at_z(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = specularExponent)]
+ #[doc = "Getter for the `specularExponent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/specularExponent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
+ pub fn specular_exponent(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = limitingConeAngle)]
+ #[doc = "Getter for the `limitingConeAngle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/limitingConeAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
+ pub fn limiting_cone_angle(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeTileElement.rs b/vendor/web-sys/src/features/gen_SvgfeTileElement.rs
new file mode 100644
index 000000000..cad40bd16
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeTileElement.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFETileElement , typescript_type = "SVGFETileElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeTileElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeTileElement`*"]
+ pub type SvgfeTileElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETileElement" , js_name = in1)]
+ #[doc = "Getter for the `in1` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/in1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeTileElement`*"]
+ pub fn in1(this: &SvgfeTileElement) -> SvgAnimatedString;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETileElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTileElement`*"]
+ pub fn x(this: &SvgfeTileElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETileElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTileElement`*"]
+ pub fn y(this: &SvgfeTileElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETileElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTileElement`*"]
+ pub fn width(this: &SvgfeTileElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETileElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTileElement`*"]
+ pub fn height(this: &SvgfeTileElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETileElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeTileElement`*"]
+ pub fn result(this: &SvgfeTileElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgfeTurbulenceElement.rs b/vendor/web-sys/src/features/gen_SvgfeTurbulenceElement.rs
new file mode 100644
index 000000000..6e91ac5a6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgfeTurbulenceElement.rs
@@ -0,0 +1,128 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFETurbulenceElement , typescript_type = "SVGFETurbulenceElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgfeTurbulenceElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
+ pub type SvgfeTurbulenceElement;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETurbulenceElement" , js_name = baseFrequencyX)]
+ #[doc = "Getter for the `baseFrequencyX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/baseFrequencyX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeTurbulenceElement`*"]
+ pub fn base_frequency_x(this: &SvgfeTurbulenceElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETurbulenceElement" , js_name = baseFrequencyY)]
+ #[doc = "Getter for the `baseFrequencyY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/baseFrequencyY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeTurbulenceElement`*"]
+ pub fn base_frequency_y(this: &SvgfeTurbulenceElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedInteger")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETurbulenceElement" , js_name = numOctaves)]
+ #[doc = "Getter for the `numOctaves` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/numOctaves)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeTurbulenceElement`*"]
+ pub fn num_octaves(this: &SvgfeTurbulenceElement) -> SvgAnimatedInteger;
+ #[cfg(feature = "SvgAnimatedNumber")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETurbulenceElement" , js_name = seed)]
+ #[doc = "Getter for the `seed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/seed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeTurbulenceElement`*"]
+ pub fn seed(this: &SvgfeTurbulenceElement) -> SvgAnimatedNumber;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETurbulenceElement" , js_name = stitchTiles)]
+ #[doc = "Getter for the `stitchTiles` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/stitchTiles)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeTurbulenceElement`*"]
+ pub fn stitch_tiles(this: &SvgfeTurbulenceElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedEnumeration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETurbulenceElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeTurbulenceElement`*"]
+ pub fn type_(this: &SvgfeTurbulenceElement) -> SvgAnimatedEnumeration;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETurbulenceElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*"]
+ pub fn x(this: &SvgfeTurbulenceElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETurbulenceElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*"]
+ pub fn y(this: &SvgfeTurbulenceElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETurbulenceElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*"]
+ pub fn width(this: &SvgfeTurbulenceElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETurbulenceElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*"]
+ pub fn height(this: &SvgfeTurbulenceElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGFETurbulenceElement" , js_name = result)]
+ #[doc = "Getter for the `result` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/result)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeTurbulenceElement`*"]
+ pub fn result(this: &SvgfeTurbulenceElement) -> SvgAnimatedString;
+}
+impl SvgfeTurbulenceElement {
+ #[doc = "The `SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
+ pub const SVG_TURBULENCE_TYPE_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
+ pub const SVG_TURBULENCE_TYPE_FRACTALNOISE: u16 = 1u64 as u16;
+ #[doc = "The `SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
+ pub const SVG_TURBULENCE_TYPE_TURBULENCE: u16 = 2u64 as u16;
+ #[doc = "The `SVGFETurbulenceElement.SVG_STITCHTYPE_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
+ pub const SVG_STITCHTYPE_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGFETurbulenceElement.SVG_STITCHTYPE_STITCH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
+ pub const SVG_STITCHTYPE_STITCH: u16 = 1u64 as u16;
+ #[doc = "The `SVGFETurbulenceElement.SVG_STITCHTYPE_NOSTITCH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*"]
+ pub const SVG_STITCHTYPE_NOSTITCH: u16 = 2u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvggElement.rs b/vendor/web-sys/src/features/gen_SvggElement.rs
new file mode 100644
index 000000000..d7d35dca9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvggElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGGElement , typescript_type = "SVGGElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvggElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvggElement`*"]
+ pub type SvggElement;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgmPathElement.rs b/vendor/web-sys/src/features/gen_SvgmPathElement.rs
new file mode 100644
index 000000000..adacfbabe
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgmPathElement.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGMPathElement , typescript_type = "SVGMPathElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgmPathElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgmPathElement`*"]
+ pub type SvgmPathElement;
+ #[cfg(feature = "SvgAnimatedString")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGMPathElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgmPathElement`*"]
+ pub fn href(this: &SvgmPathElement) -> SvgAnimatedString;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgsvgElement.rs b/vendor/web-sys/src/features/gen_SvgsvgElement.rs
new file mode 100644
index 000000000..b7978354d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgsvgElement.rs
@@ -0,0 +1,263 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGSVGElement , typescript_type = "SVGSVGElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgsvgElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub type SvgsvgElement;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSVGElement" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgsvgElement`*"]
+ pub fn x(this: &SvgsvgElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSVGElement" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgsvgElement`*"]
+ pub fn y(this: &SvgsvgElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSVGElement" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgsvgElement`*"]
+ pub fn width(this: &SvgsvgElement) -> SvgAnimatedLength;
+ #[cfg(feature = "SvgAnimatedLength")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSVGElement" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgsvgElement`*"]
+ pub fn height(this: &SvgsvgElement) -> SvgAnimatedLength;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSVGElement" , js_name = useCurrentView)]
+ #[doc = "Getter for the `useCurrentView` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/useCurrentView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn use_current_view(this: &SvgsvgElement) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSVGElement" , js_name = currentScale)]
+ #[doc = "Getter for the `currentScale` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/currentScale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn current_scale(this: &SvgsvgElement) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGSVGElement" , js_name = currentScale)]
+ #[doc = "Setter for the `currentScale` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/currentScale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn set_current_scale(this: &SvgsvgElement, value: f32);
+ #[cfg(feature = "SvgPoint")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSVGElement" , js_name = currentTranslate)]
+ #[doc = "Getter for the `currentTranslate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/currentTranslate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgsvgElement`*"]
+ pub fn current_translate(this: &SvgsvgElement) -> SvgPoint;
+ #[cfg(feature = "SvgAnimatedRect")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSVGElement" , js_name = viewBox)]
+ #[doc = "Getter for the `viewBox` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/viewBox)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgsvgElement`*"]
+ pub fn view_box(this: &SvgsvgElement) -> SvgAnimatedRect;
+ #[cfg(feature = "SvgAnimatedPreserveAspectRatio")]
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSVGElement" , js_name = preserveAspectRatio)]
+ #[doc = "Getter for the `preserveAspectRatio` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/preserveAspectRatio)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgsvgElement`*"]
+ pub fn preserve_aspect_ratio(this: &SvgsvgElement) -> SvgAnimatedPreserveAspectRatio;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGSVGElement" , js_name = zoomAndPan)]
+ #[doc = "Getter for the `zoomAndPan` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/zoomAndPan)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn zoom_and_pan(this: &SvgsvgElement) -> u16;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGSVGElement" , js_name = zoomAndPan)]
+ #[doc = "Setter for the `zoomAndPan` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/zoomAndPan)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn set_zoom_and_pan(this: &SvgsvgElement, value: u16);
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = animationsPaused)]
+ #[doc = "The `animationsPaused()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/animationsPaused)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn animations_paused(this: &SvgsvgElement) -> bool;
+ #[cfg(feature = "SvgAngle")]
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = createSVGAngle)]
+ #[doc = "The `createSVGAngle()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgAngle`, `SvgsvgElement`*"]
+ pub fn create_svg_angle(this: &SvgsvgElement) -> SvgAngle;
+ #[cfg(feature = "SvgLength")]
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = createSVGLength)]
+ #[doc = "The `createSVGLength()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgLength`, `SvgsvgElement`*"]
+ pub fn create_svg_length(this: &SvgsvgElement) -> SvgLength;
+ #[cfg(feature = "SvgMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = createSVGMatrix)]
+ #[doc = "The `createSVGMatrix()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`, `SvgsvgElement`*"]
+ pub fn create_svg_matrix(this: &SvgsvgElement) -> SvgMatrix;
+ #[cfg(feature = "SvgNumber")]
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = createSVGNumber)]
+ #[doc = "The `createSVGNumber()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgNumber`, `SvgsvgElement`*"]
+ pub fn create_svg_number(this: &SvgsvgElement) -> SvgNumber;
+ #[cfg(feature = "SvgPoint")]
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = createSVGPoint)]
+ #[doc = "The `createSVGPoint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgsvgElement`*"]
+ pub fn create_svg_point(this: &SvgsvgElement) -> SvgPoint;
+ #[cfg(feature = "SvgRect")]
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = createSVGRect)]
+ #[doc = "The `createSVGRect()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgRect`, `SvgsvgElement`*"]
+ pub fn create_svg_rect(this: &SvgsvgElement) -> SvgRect;
+ #[cfg(feature = "SvgTransform")]
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = createSVGTransform)]
+ #[doc = "The `createSVGTransform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgTransform`, `SvgsvgElement`*"]
+ pub fn create_svg_transform(this: &SvgsvgElement) -> SvgTransform;
+ #[cfg(all(feature = "SvgMatrix", feature = "SvgTransform",))]
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = createSVGTransformFromMatrix)]
+ #[doc = "The `createSVGTransformFromMatrix()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGTransformFromMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`, `SvgTransform`, `SvgsvgElement`*"]
+ pub fn create_svg_transform_from_matrix(
+ this: &SvgsvgElement,
+ matrix: &SvgMatrix,
+ ) -> SvgTransform;
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = deselectAll)]
+ #[doc = "The `deselectAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/deselectAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn deselect_all(this: &SvgsvgElement);
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = forceRedraw)]
+ #[doc = "The `forceRedraw()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/forceRedraw)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn force_redraw(this: &SvgsvgElement);
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = getCurrentTime)]
+ #[doc = "The `getCurrentTime()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/getCurrentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn get_current_time(this: &SvgsvgElement) -> f32;
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = getElementById)]
+ #[doc = "The `getElementById()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/getElementById)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn get_element_by_id(this: &SvgsvgElement, element_id: &str) -> Option<Element>;
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = pauseAnimations)]
+ #[doc = "The `pauseAnimations()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/pauseAnimations)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn pause_animations(this: &SvgsvgElement);
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = setCurrentTime)]
+ #[doc = "The `setCurrentTime()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/setCurrentTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn set_current_time(this: &SvgsvgElement, seconds: f32);
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = suspendRedraw)]
+ #[doc = "The `suspendRedraw()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/suspendRedraw)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn suspend_redraw(this: &SvgsvgElement, max_wait_milliseconds: u32) -> u32;
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = unpauseAnimations)]
+ #[doc = "The `unpauseAnimations()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/unpauseAnimations)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn unpause_animations(this: &SvgsvgElement);
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = unsuspendRedraw)]
+ #[doc = "The `unsuspendRedraw()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/unsuspendRedraw)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn unsuspend_redraw(this: &SvgsvgElement, suspend_handle_id: u32);
+ # [wasm_bindgen (method , structural , js_class = "SVGSVGElement" , js_name = unsuspendRedrawAll)]
+ #[doc = "The `unsuspendRedrawAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/unsuspendRedrawAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub fn unsuspend_redraw_all(this: &SvgsvgElement);
+}
+impl SvgsvgElement {
+ #[doc = "The `SVGSVGElement.SVG_ZOOMANDPAN_UNKNOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub const SVG_ZOOMANDPAN_UNKNOWN: u16 = 0i64 as u16;
+ #[doc = "The `SVGSVGElement.SVG_ZOOMANDPAN_DISABLE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub const SVG_ZOOMANDPAN_DISABLE: u16 = 1u64 as u16;
+ #[doc = "The `SVGSVGElement.SVG_ZOOMANDPAN_MAGNIFY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgsvgElement`*"]
+ pub const SVG_ZOOMANDPAN_MAGNIFY: u16 = 2u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_SvgtSpanElement.rs b/vendor/web-sys/src/features/gen_SvgtSpanElement.rs
new file mode 100644
index 000000000..fc943015d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgtSpanElement.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = SvgTextPositioningElement , extends = SvgTextContentElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGTSpanElement , typescript_type = "SVGTSpanElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgtSpanElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTSpanElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgtSpanElement`*"]
+ pub type SvgtSpanElement;
+}
diff --git a/vendor/web-sys/src/features/gen_TcpReadyState.rs b/vendor/web-sys/src/features/gen_TcpReadyState.rs
new file mode 100644
index 000000000..7dff83bab
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TcpReadyState.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `TcpReadyState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `TcpReadyState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum TcpReadyState {
+ Connecting = "connecting",
+ Open = "open",
+ Closing = "closing",
+ Closed = "closed",
+}
diff --git a/vendor/web-sys/src/features/gen_TcpServerSocket.rs b/vendor/web-sys/src/features/gen_TcpServerSocket.rs
new file mode 100644
index 000000000..0904f2ddf
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TcpServerSocket.rs
@@ -0,0 +1,86 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = TCPServerSocket , typescript_type = "TCPServerSocket")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TcpServerSocket` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocket`*"]
+ pub type TcpServerSocket;
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPServerSocket" , js_name = localPort)]
+ #[doc = "Getter for the `localPort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/localPort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocket`*"]
+ pub fn local_port(this: &TcpServerSocket) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPServerSocket" , js_name = onconnect)]
+ #[doc = "Getter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocket`*"]
+ pub fn onconnect(this: &TcpServerSocket) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TCPServerSocket" , js_name = onconnect)]
+ #[doc = "Setter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocket`*"]
+ pub fn set_onconnect(this: &TcpServerSocket, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPServerSocket" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocket`*"]
+ pub fn onerror(this: &TcpServerSocket) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TCPServerSocket" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocket`*"]
+ pub fn set_onerror(this: &TcpServerSocket, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "TCPServerSocket")]
+ #[doc = "The `new TcpServerSocket(..)` constructor, creating a new instance of `TcpServerSocket`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/TCPServerSocket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocket`*"]
+ pub fn new(port: u16) -> Result<TcpServerSocket, JsValue>;
+ #[cfg(feature = "ServerSocketOptions")]
+ #[wasm_bindgen(catch, constructor, js_class = "TCPServerSocket")]
+ #[doc = "The `new TcpServerSocket(..)` constructor, creating a new instance of `TcpServerSocket`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/TCPServerSocket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServerSocketOptions`, `TcpServerSocket`*"]
+ pub fn new_with_options(
+ port: u16,
+ options: &ServerSocketOptions,
+ ) -> Result<TcpServerSocket, JsValue>;
+ #[cfg(feature = "ServerSocketOptions")]
+ #[wasm_bindgen(catch, constructor, js_class = "TCPServerSocket")]
+ #[doc = "The `new TcpServerSocket(..)` constructor, creating a new instance of `TcpServerSocket`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/TCPServerSocket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ServerSocketOptions`, `TcpServerSocket`*"]
+ pub fn new_with_options_and_backlog(
+ port: u16,
+ options: &ServerSocketOptions,
+ backlog: u16,
+ ) -> Result<TcpServerSocket, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "TCPServerSocket" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocket`*"]
+ pub fn close(this: &TcpServerSocket);
+}
diff --git a/vendor/web-sys/src/features/gen_TcpServerSocketEvent.rs b/vendor/web-sys/src/features/gen_TcpServerSocketEvent.rs
new file mode 100644
index 000000000..4faa0de74
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TcpServerSocketEvent.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TCPServerSocketEvent , typescript_type = "TCPServerSocketEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TcpServerSocketEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocketEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocketEvent`*"]
+ pub type TcpServerSocketEvent;
+ #[cfg(feature = "TcpSocket")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPServerSocketEvent" , js_name = socket)]
+ #[doc = "Getter for the `socket` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocketEvent/socket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocketEvent`, `TcpSocket`*"]
+ pub fn socket(this: &TcpServerSocketEvent) -> TcpSocket;
+ #[wasm_bindgen(catch, constructor, js_class = "TCPServerSocketEvent")]
+ #[doc = "The `new TcpServerSocketEvent(..)` constructor, creating a new instance of `TcpServerSocketEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocketEvent/TCPServerSocketEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocketEvent`*"]
+ pub fn new(type_: &str) -> Result<TcpServerSocketEvent, JsValue>;
+ #[cfg(feature = "TcpServerSocketEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "TCPServerSocketEvent")]
+ #[doc = "The `new TcpServerSocketEvent(..)` constructor, creating a new instance of `TcpServerSocketEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocketEvent/TCPServerSocketEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocketEvent`, `TcpServerSocketEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &TcpServerSocketEventInit,
+ ) -> Result<TcpServerSocketEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_TcpServerSocketEventInit.rs b/vendor/web-sys/src/features/gen_TcpServerSocketEventInit.rs
new file mode 100644
index 000000000..f0c7dcdfb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TcpServerSocketEventInit.rs
@@ -0,0 +1,93 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TCPServerSocketEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TcpServerSocketEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocketEventInit`*"]
+ pub type TcpServerSocketEventInit;
+}
+impl TcpServerSocketEventInit {
+ #[doc = "Construct a new `TcpServerSocketEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocketEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocketEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocketEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocketEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "TcpSocket")]
+ #[doc = "Change the `socket` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpServerSocketEventInit`, `TcpSocket`*"]
+ pub fn socket(&mut self, val: Option<&TcpSocket>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("socket"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for TcpServerSocketEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_TcpSocket.rs b/vendor/web-sys/src/features/gen_TcpSocket.rs
new file mode 100644
index 000000000..3631e805b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TcpSocket.rs
@@ -0,0 +1,215 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = TCPSocket , typescript_type = "TCPSocket")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TcpSocket` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub type TcpSocket;
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocket" , js_name = host)]
+ #[doc = "Getter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn host(this: &TcpSocket) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocket" , js_name = port)]
+ #[doc = "Getter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn port(this: &TcpSocket) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocket" , js_name = ssl)]
+ #[doc = "Getter for the `ssl` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ssl)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn ssl(this: &TcpSocket) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocket" , js_name = bufferedAmount)]
+ #[doc = "Getter for the `bufferedAmount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/bufferedAmount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn buffered_amount(this: &TcpSocket) -> f64;
+ #[cfg(feature = "TcpReadyState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocket" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpReadyState`, `TcpSocket`*"]
+ pub fn ready_state(this: &TcpSocket) -> TcpReadyState;
+ #[cfg(feature = "TcpSocketBinaryType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocket" , js_name = binaryType)]
+ #[doc = "Getter for the `binaryType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/binaryType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`, `TcpSocketBinaryType`*"]
+ pub fn binary_type(this: &TcpSocket) -> TcpSocketBinaryType;
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocket" , js_name = onopen)]
+ #[doc = "Getter for the `onopen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onopen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn onopen(this: &TcpSocket) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TCPSocket" , js_name = onopen)]
+ #[doc = "Setter for the `onopen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onopen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn set_onopen(this: &TcpSocket, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocket" , js_name = ondrain)]
+ #[doc = "Getter for the `ondrain` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ondrain)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn ondrain(this: &TcpSocket) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TCPSocket" , js_name = ondrain)]
+ #[doc = "Setter for the `ondrain` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ondrain)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn set_ondrain(this: &TcpSocket, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocket" , js_name = ondata)]
+ #[doc = "Getter for the `ondata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ondata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn ondata(this: &TcpSocket) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TCPSocket" , js_name = ondata)]
+ #[doc = "Setter for the `ondata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ondata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn set_ondata(this: &TcpSocket, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocket" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn onerror(this: &TcpSocket) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TCPSocket" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn set_onerror(this: &TcpSocket, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocket" , js_name = onclose)]
+ #[doc = "Getter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn onclose(this: &TcpSocket) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TCPSocket" , js_name = onclose)]
+ #[doc = "Setter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn set_onclose(this: &TcpSocket, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "TCPSocket")]
+ #[doc = "The `new TcpSocket(..)` constructor, creating a new instance of `TcpSocket`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/TCPSocket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn new(host: &str, port: u16) -> Result<TcpSocket, JsValue>;
+ #[cfg(feature = "SocketOptions")]
+ #[wasm_bindgen(catch, constructor, js_class = "TCPSocket")]
+ #[doc = "The `new TcpSocket(..)` constructor, creating a new instance of `TcpSocket`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/TCPSocket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SocketOptions`, `TcpSocket`*"]
+ pub fn new_with_options(
+ host: &str,
+ port: u16,
+ options: &SocketOptions,
+ ) -> Result<TcpSocket, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "TCPSocket" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn close(this: &TcpSocket);
+ # [wasm_bindgen (catch , method , structural , js_class = "TCPSocket" , js_name = resume)]
+ #[doc = "The `resume()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/resume)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn resume(this: &TcpSocket) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TCPSocket" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn send_with_str(this: &TcpSocket, data: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TCPSocket" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn send_with_array_buffer(
+ this: &TcpSocket,
+ data: &::js_sys::ArrayBuffer,
+ ) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TCPSocket" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn send_with_array_buffer_and_byte_offset(
+ this: &TcpSocket,
+ data: &::js_sys::ArrayBuffer,
+ byte_offset: u32,
+ ) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TCPSocket" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn send_with_array_buffer_and_byte_offset_and_byte_length(
+ this: &TcpSocket,
+ data: &::js_sys::ArrayBuffer,
+ byte_offset: u32,
+ byte_length: u32,
+ ) -> Result<bool, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "TCPSocket" , js_name = suspend)]
+ #[doc = "The `suspend()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/suspend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn suspend(this: &TcpSocket);
+ # [wasm_bindgen (catch , method , structural , js_class = "TCPSocket" , js_name = upgradeToSecure)]
+ #[doc = "The `upgradeToSecure()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/upgradeToSecure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocket`*"]
+ pub fn upgrade_to_secure(this: &TcpSocket) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_TcpSocketBinaryType.rs b/vendor/web-sys/src/features/gen_TcpSocketBinaryType.rs
new file mode 100644
index 000000000..762dd9a71
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TcpSocketBinaryType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `TcpSocketBinaryType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `TcpSocketBinaryType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum TcpSocketBinaryType {
+ Arraybuffer = "arraybuffer",
+ String = "string",
+}
diff --git a/vendor/web-sys/src/features/gen_TcpSocketErrorEvent.rs b/vendor/web-sys/src/features/gen_TcpSocketErrorEvent.rs
new file mode 100644
index 000000000..a2d1daf93
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TcpSocketErrorEvent.rs
@@ -0,0 +1,46 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TCPSocketErrorEvent , typescript_type = "TCPSocketErrorEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TcpSocketErrorEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketErrorEvent`*"]
+ pub type TcpSocketErrorEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocketErrorEvent" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketErrorEvent`*"]
+ pub fn name(this: &TcpSocketErrorEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocketErrorEvent" , js_name = message)]
+ #[doc = "Getter for the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent/message)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketErrorEvent`*"]
+ pub fn message(this: &TcpSocketErrorEvent) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "TCPSocketErrorEvent")]
+ #[doc = "The `new TcpSocketErrorEvent(..)` constructor, creating a new instance of `TcpSocketErrorEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent/TCPSocketErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketErrorEvent`*"]
+ pub fn new(type_: &str) -> Result<TcpSocketErrorEvent, JsValue>;
+ #[cfg(feature = "TcpSocketErrorEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "TCPSocketErrorEvent")]
+ #[doc = "The `new TcpSocketErrorEvent(..)` constructor, creating a new instance of `TcpSocketErrorEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent/TCPSocketErrorEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketErrorEvent`, `TcpSocketErrorEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &TcpSocketErrorEventInit,
+ ) -> Result<TcpSocketErrorEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_TcpSocketErrorEventInit.rs b/vendor/web-sys/src/features/gen_TcpSocketErrorEventInit.rs
new file mode 100644
index 000000000..cfe92df2e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TcpSocketErrorEventInit.rs
@@ -0,0 +1,108 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TCPSocketErrorEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TcpSocketErrorEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketErrorEventInit`*"]
+ pub type TcpSocketErrorEventInit;
+}
+impl TcpSocketErrorEventInit {
+ #[doc = "Construct a new `TcpSocketErrorEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketErrorEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketErrorEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketErrorEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketErrorEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `message` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketErrorEventInit`*"]
+ pub fn message(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("message"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketErrorEventInit`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for TcpSocketErrorEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_TcpSocketEvent.rs b/vendor/web-sys/src/features/gen_TcpSocketEvent.rs
new file mode 100644
index 000000000..37623fb3b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TcpSocketEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TCPSocketEvent , typescript_type = "TCPSocketEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TcpSocketEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketEvent`*"]
+ pub type TcpSocketEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "TCPSocketEvent" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketEvent/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketEvent`*"]
+ pub fn data(this: &TcpSocketEvent) -> ::wasm_bindgen::JsValue;
+ #[wasm_bindgen(catch, constructor, js_class = "TCPSocketEvent")]
+ #[doc = "The `new TcpSocketEvent(..)` constructor, creating a new instance of `TcpSocketEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketEvent/TCPSocketEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketEvent`*"]
+ pub fn new(type_: &str) -> Result<TcpSocketEvent, JsValue>;
+ #[cfg(feature = "TcpSocketEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "TCPSocketEvent")]
+ #[doc = "The `new TcpSocketEvent(..)` constructor, creating a new instance of `TcpSocketEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketEvent/TCPSocketEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketEvent`, `TcpSocketEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &TcpSocketEventInit,
+ ) -> Result<TcpSocketEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_TcpSocketEventInit.rs b/vendor/web-sys/src/features/gen_TcpSocketEventInit.rs
new file mode 100644
index 000000000..e62fe981b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TcpSocketEventInit.rs
@@ -0,0 +1,91 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TCPSocketEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TcpSocketEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketEventInit`*"]
+ pub type TcpSocketEventInit;
+}
+impl TcpSocketEventInit {
+ #[doc = "Construct a new `TcpSocketEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TcpSocketEventInit`*"]
+ pub fn data(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for TcpSocketEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Text.rs b/vendor/web-sys/src/features/gen_Text.rs
new file mode 100644
index 000000000..12d84e1fd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Text.rs
@@ -0,0 +1,329 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = CharacterData , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = Text , typescript_type = "Text")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Text` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Text`*"]
+ pub type Text;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Text" , js_name = wholeText)]
+ #[doc = "Getter for the `wholeText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/wholeText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Text`*"]
+ pub fn whole_text(this: &Text) -> Result<String, JsValue>;
+ #[cfg(feature = "HtmlSlotElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Text" , js_name = assignedSlot)]
+ #[doc = "Getter for the `assignedSlot` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/assignedSlot)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlSlotElement`, `Text`*"]
+ pub fn assigned_slot(this: &Text) -> Option<HtmlSlotElement>;
+ #[wasm_bindgen(catch, constructor, js_class = "Text")]
+ #[doc = "The `new Text(..)` constructor, creating a new instance of `Text`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/Text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Text`*"]
+ pub fn new() -> Result<Text, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "Text")]
+ #[doc = "The `new Text(..)` constructor, creating a new instance of `Text`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/Text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Text`*"]
+ pub fn new_with_data(data: &str) -> Result<Text, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = splitText)]
+ #[doc = "The `splitText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/splitText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Text`*"]
+ pub fn split_text(this: &Text, offset: u32) -> Result<Text, JsValue>;
+ #[cfg(all(feature = "DomPoint", feature = "DomPointInit",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Text`*"]
+ pub fn convert_point_from_node_with_text(
+ this: &Text,
+ point: &DomPointInit,
+ from: &Text,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(feature = "DomPoint", feature = "DomPointInit", feature = "Element",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`, `Text`*"]
+ pub fn convert_point_from_node_with_element(
+ this: &Text,
+ point: &DomPointInit,
+ from: &Element,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(feature = "Document", feature = "DomPoint", feature = "DomPointInit",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Text`*"]
+ pub fn convert_point_from_node_with_document(
+ this: &Text,
+ point: &DomPointInit,
+ from: &Document,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomPoint",
+ feature = "DomPointInit",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Text`*"]
+ pub fn convert_point_from_node_with_text_and_options(
+ this: &Text,
+ point: &DomPointInit,
+ from: &Text,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomPoint",
+ feature = "DomPointInit",
+ feature = "Element",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`, `Text`*"]
+ pub fn convert_point_from_node_with_element_and_options(
+ this: &Text,
+ point: &DomPointInit,
+ from: &Element,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "Document",
+ feature = "DomPoint",
+ feature = "DomPointInit",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertPointFromNode)]
+ #[doc = "The `convertPointFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Text`*"]
+ pub fn convert_point_from_node_with_document_and_options(
+ this: &Text,
+ point: &DomPointInit,
+ from: &Document,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomPoint, JsValue>;
+ #[cfg(feature = "DomQuad")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `Text`*"]
+ pub fn convert_quad_from_node_with_text(
+ this: &Text,
+ quad: &DomQuad,
+ from: &Text,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "DomQuad", feature = "Element",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `Element`, `Text`*"]
+ pub fn convert_quad_from_node_with_element(
+ this: &Text,
+ quad: &DomQuad,
+ from: &Element,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "Document", feature = "DomQuad",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Text`*"]
+ pub fn convert_quad_from_node_with_document(
+ this: &Text,
+ quad: &DomQuad,
+ from: &Document,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "ConvertCoordinateOptions", feature = "DomQuad",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Text`*"]
+ pub fn convert_quad_from_node_with_text_and_options(
+ this: &Text,
+ quad: &DomQuad,
+ from: &Text,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomQuad",
+ feature = "Element",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`, `Text`*"]
+ pub fn convert_quad_from_node_with_element_and_options(
+ this: &Text,
+ quad: &DomQuad,
+ from: &Element,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "Document",
+ feature = "DomQuad",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertQuadFromNode)]
+ #[doc = "The `convertQuadFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Text`*"]
+ pub fn convert_quad_from_node_with_document_and_options(
+ this: &Text,
+ quad: &DomQuad,
+ from: &Document,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Text`*"]
+ pub fn convert_rect_from_node_with_text(
+ this: &Text,
+ rect: &DomRectReadOnly,
+ from: &Text,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Element",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*"]
+ pub fn convert_rect_from_node_with_element(
+ this: &Text,
+ rect: &DomRectReadOnly,
+ from: &Element,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(feature = "Document", feature = "DomQuad", feature = "DomRectReadOnly",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*"]
+ pub fn convert_rect_from_node_with_document(
+ this: &Text,
+ rect: &DomRectReadOnly,
+ from: &Document,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomQuad",
+ feature = "DomRectReadOnly",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Text`*"]
+ pub fn convert_rect_from_node_with_text_and_options(
+ this: &Text,
+ rect: &DomRectReadOnly,
+ from: &Text,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "DomQuad",
+ feature = "DomRectReadOnly",
+ feature = "Element",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*"]
+ pub fn convert_rect_from_node_with_element_and_options(
+ this: &Text,
+ rect: &DomRectReadOnly,
+ from: &Element,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ #[cfg(all(
+ feature = "ConvertCoordinateOptions",
+ feature = "Document",
+ feature = "DomQuad",
+ feature = "DomRectReadOnly",
+ ))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = convertRectFromNode)]
+ #[doc = "The `convertRectFromNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*"]
+ pub fn convert_rect_from_node_with_document_and_options(
+ this: &Text,
+ rect: &DomRectReadOnly,
+ from: &Document,
+ options: &ConvertCoordinateOptions,
+ ) -> Result<DomQuad, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = getBoxQuads)]
+ #[doc = "The `getBoxQuads()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/getBoxQuads)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Text`*"]
+ pub fn get_box_quads(this: &Text) -> Result<::js_sys::Array, JsValue>;
+ #[cfg(feature = "BoxQuadOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Text" , js_name = getBoxQuads)]
+ #[doc = "The `getBoxQuads()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/getBoxQuads)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BoxQuadOptions`, `Text`*"]
+ pub fn get_box_quads_with_options(
+ this: &Text,
+ options: &BoxQuadOptions,
+ ) -> Result<::js_sys::Array, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_TextDecodeOptions.rs b/vendor/web-sys/src/features/gen_TextDecodeOptions.rs
new file mode 100644
index 000000000..65277eeba
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TextDecodeOptions.rs
@@ -0,0 +1,41 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TextDecodeOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TextDecodeOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecodeOptions`*"]
+ pub type TextDecodeOptions;
+}
+impl TextDecodeOptions {
+ #[doc = "Construct a new `TextDecodeOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecodeOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `stream` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecodeOptions`*"]
+ pub fn stream(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("stream"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for TextDecodeOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_TextDecoder.rs b/vendor/web-sys/src/features/gen_TextDecoder.rs
new file mode 100644
index 000000000..7eb50d277
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TextDecoder.rs
@@ -0,0 +1,101 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TextDecoder , typescript_type = "TextDecoder")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TextDecoder` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecoder`*"]
+ pub type TextDecoder;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextDecoder" , js_name = encoding)]
+ #[doc = "Getter for the `encoding` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/encoding)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecoder`*"]
+ pub fn encoding(this: &TextDecoder) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextDecoder" , js_name = fatal)]
+ #[doc = "Getter for the `fatal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/fatal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecoder`*"]
+ pub fn fatal(this: &TextDecoder) -> bool;
+ #[wasm_bindgen(catch, constructor, js_class = "TextDecoder")]
+ #[doc = "The `new TextDecoder(..)` constructor, creating a new instance of `TextDecoder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/TextDecoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecoder`*"]
+ pub fn new() -> Result<TextDecoder, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "TextDecoder")]
+ #[doc = "The `new TextDecoder(..)` constructor, creating a new instance of `TextDecoder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/TextDecoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecoder`*"]
+ pub fn new_with_label(label: &str) -> Result<TextDecoder, JsValue>;
+ #[cfg(feature = "TextDecoderOptions")]
+ #[wasm_bindgen(catch, constructor, js_class = "TextDecoder")]
+ #[doc = "The `new TextDecoder(..)` constructor, creating a new instance of `TextDecoder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/TextDecoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecoder`, `TextDecoderOptions`*"]
+ pub fn new_with_label_and_options(
+ label: &str,
+ options: &TextDecoderOptions,
+ ) -> Result<TextDecoder, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TextDecoder" , js_name = decode)]
+ #[doc = "The `decode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecoder`*"]
+ pub fn decode(this: &TextDecoder) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TextDecoder" , js_name = decode)]
+ #[doc = "The `decode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecoder`*"]
+ pub fn decode_with_buffer_source(
+ this: &TextDecoder,
+ input: &::js_sys::Object,
+ ) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TextDecoder" , js_name = decode)]
+ #[doc = "The `decode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecoder`*"]
+ pub fn decode_with_u8_array(this: &TextDecoder, input: &mut [u8]) -> Result<String, JsValue>;
+ #[cfg(feature = "TextDecodeOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TextDecoder" , js_name = decode)]
+ #[doc = "The `decode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecodeOptions`, `TextDecoder`*"]
+ pub fn decode_with_buffer_source_and_options(
+ this: &TextDecoder,
+ input: &::js_sys::Object,
+ options: &TextDecodeOptions,
+ ) -> Result<String, JsValue>;
+ #[cfg(feature = "TextDecodeOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TextDecoder" , js_name = decode)]
+ #[doc = "The `decode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecodeOptions`, `TextDecoder`*"]
+ pub fn decode_with_u8_array_and_options(
+ this: &TextDecoder,
+ input: &mut [u8],
+ options: &TextDecodeOptions,
+ ) -> Result<String, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_TextDecoderOptions.rs b/vendor/web-sys/src/features/gen_TextDecoderOptions.rs
new file mode 100644
index 000000000..7a89d6b04
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TextDecoderOptions.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TextDecoderOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TextDecoderOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecoderOptions`*"]
+ pub type TextDecoderOptions;
+}
+impl TextDecoderOptions {
+ #[doc = "Construct a new `TextDecoderOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecoderOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `fatal` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextDecoderOptions`*"]
+ pub fn fatal(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("fatal"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for TextDecoderOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_TextEncoder.rs b/vendor/web-sys/src/features/gen_TextEncoder.rs
new file mode 100644
index 000000000..efaea87bd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TextEncoder.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TextEncoder , typescript_type = "TextEncoder")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TextEncoder` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextEncoder`*"]
+ pub type TextEncoder;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextEncoder" , js_name = encoding)]
+ #[doc = "Getter for the `encoding` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encoding)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextEncoder`*"]
+ pub fn encoding(this: &TextEncoder) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "TextEncoder")]
+ #[doc = "The `new TextEncoder(..)` constructor, creating a new instance of `TextEncoder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/TextEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextEncoder`*"]
+ pub fn new() -> Result<TextEncoder, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "TextEncoder" , js_name = encode)]
+ #[doc = "The `encode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextEncoder`*"]
+ pub fn encode(this: &TextEncoder) -> Vec<u8>;
+ # [wasm_bindgen (method , structural , js_class = "TextEncoder" , js_name = encode)]
+ #[doc = "The `encode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextEncoder`*"]
+ pub fn encode_with_input(this: &TextEncoder, input: &str) -> Vec<u8>;
+}
diff --git a/vendor/web-sys/src/features/gen_TextMetrics.rs b/vendor/web-sys/src/features/gen_TextMetrics.rs
new file mode 100644
index 000000000..fe71817e6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TextMetrics.rs
@@ -0,0 +1,63 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TextMetrics , typescript_type = "TextMetrics")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TextMetrics` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextMetrics`*"]
+ pub type TextMetrics;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextMetrics" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextMetrics`*"]
+ pub fn width(this: &TextMetrics) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextMetrics" , js_name = actualBoundingBoxLeft)]
+ #[doc = "Getter for the `actualBoundingBoxLeft` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/actualBoundingBoxLeft)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextMetrics`*"]
+ pub fn actual_bounding_box_left(this: &TextMetrics) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextMetrics" , js_name = actualBoundingBoxRight)]
+ #[doc = "Getter for the `actualBoundingBoxRight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/actualBoundingBoxRight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextMetrics`*"]
+ pub fn actual_bounding_box_right(this: &TextMetrics) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextMetrics" , js_name = fontBoundingBoxAscent)]
+ #[doc = "Getter for the `fontBoundingBoxAscent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/fontBoundingBoxAscent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextMetrics`*"]
+ pub fn font_bounding_box_ascent(this: &TextMetrics) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextMetrics" , js_name = fontBoundingBoxDescent)]
+ #[doc = "Getter for the `fontBoundingBoxDescent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/fontBoundingBoxDescent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextMetrics`*"]
+ pub fn font_bounding_box_descent(this: &TextMetrics) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextMetrics" , js_name = actualBoundingBoxAscent)]
+ #[doc = "Getter for the `actualBoundingBoxAscent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/actualBoundingBoxAscent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextMetrics`*"]
+ pub fn actual_bounding_box_ascent(this: &TextMetrics) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextMetrics" , js_name = actualBoundingBoxDescent)]
+ #[doc = "Getter for the `actualBoundingBoxDescent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/actualBoundingBoxDescent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextMetrics`*"]
+ pub fn actual_bounding_box_descent(this: &TextMetrics) -> f64;
+}
diff --git a/vendor/web-sys/src/features/gen_TextTrack.rs b/vendor/web-sys/src/features/gen_TextTrack.rs
new file mode 100644
index 000000000..9e3f5be74
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TextTrack.rs
@@ -0,0 +1,120 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = TextTrack , typescript_type = "TextTrack")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TextTrack` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`*"]
+ pub type TextTrack;
+ #[cfg(feature = "TextTrackKind")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrack" , js_name = kind)]
+ #[doc = "Getter for the `kind` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/kind)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`, `TextTrackKind`*"]
+ pub fn kind(this: &TextTrack) -> TextTrackKind;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrack" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`*"]
+ pub fn label(this: &TextTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrack" , js_name = language)]
+ #[doc = "Getter for the `language` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/language)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`*"]
+ pub fn language(this: &TextTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrack" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`*"]
+ pub fn id(this: &TextTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrack" , js_name = inBandMetadataTrackDispatchType)]
+ #[doc = "Getter for the `inBandMetadataTrackDispatchType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/inBandMetadataTrackDispatchType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`*"]
+ pub fn in_band_metadata_track_dispatch_type(this: &TextTrack) -> String;
+ #[cfg(feature = "TextTrackMode")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrack" , js_name = mode)]
+ #[doc = "Getter for the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/mode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`, `TextTrackMode`*"]
+ pub fn mode(this: &TextTrack) -> TextTrackMode;
+ #[cfg(feature = "TextTrackMode")]
+ # [wasm_bindgen (structural , method , setter , js_class = "TextTrack" , js_name = mode)]
+ #[doc = "Setter for the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/mode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`, `TextTrackMode`*"]
+ pub fn set_mode(this: &TextTrack, value: TextTrackMode);
+ #[cfg(feature = "TextTrackCueList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrack" , js_name = cues)]
+ #[doc = "Getter for the `cues` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/cues)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`, `TextTrackCueList`*"]
+ pub fn cues(this: &TextTrack) -> Option<TextTrackCueList>;
+ #[cfg(feature = "TextTrackCueList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrack" , js_name = activeCues)]
+ #[doc = "Getter for the `activeCues` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/activeCues)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`, `TextTrackCueList`*"]
+ pub fn active_cues(this: &TextTrack) -> Option<TextTrackCueList>;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrack" , js_name = oncuechange)]
+ #[doc = "Getter for the `oncuechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/oncuechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`*"]
+ pub fn oncuechange(this: &TextTrack) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TextTrack" , js_name = oncuechange)]
+ #[doc = "Setter for the `oncuechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/oncuechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`*"]
+ pub fn set_oncuechange(this: &TextTrack, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "SourceBuffer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrack" , js_name = sourceBuffer)]
+ #[doc = "Getter for the `sourceBuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/sourceBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`, `TextTrack`*"]
+ pub fn source_buffer(this: &TextTrack) -> Option<SourceBuffer>;
+ #[cfg(feature = "VttCue")]
+ # [wasm_bindgen (method , structural , js_class = "TextTrack" , js_name = addCue)]
+ #[doc = "The `addCue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/addCue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`, `VttCue`*"]
+ pub fn add_cue(this: &TextTrack, cue: &VttCue);
+ #[cfg(feature = "VttCue")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TextTrack" , js_name = removeCue)]
+ #[doc = "The `removeCue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/removeCue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`, `VttCue`*"]
+ pub fn remove_cue(this: &TextTrack, cue: &VttCue) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_TextTrackCue.rs b/vendor/web-sys/src/features/gen_TextTrackCue.rs
new file mode 100644
index 000000000..c73dfaaf1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TextTrackCue.rs
@@ -0,0 +1,106 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = TextTrackCue , typescript_type = "TextTrackCue")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TextTrackCue` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub type TextTrackCue;
+ #[cfg(feature = "TextTrack")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrackCue" , js_name = track)]
+ #[doc = "Getter for the `track` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/track)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`, `TextTrackCue`*"]
+ pub fn track(this: &TextTrackCue) -> Option<TextTrack>;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrackCue" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub fn id(this: &TextTrackCue) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "TextTrackCue" , js_name = id)]
+ #[doc = "Setter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub fn set_id(this: &TextTrackCue, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrackCue" , js_name = startTime)]
+ #[doc = "Getter for the `startTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/startTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub fn start_time(this: &TextTrackCue) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "TextTrackCue" , js_name = startTime)]
+ #[doc = "Setter for the `startTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/startTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub fn set_start_time(this: &TextTrackCue, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrackCue" , js_name = endTime)]
+ #[doc = "Getter for the `endTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/endTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub fn end_time(this: &TextTrackCue) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "TextTrackCue" , js_name = endTime)]
+ #[doc = "Setter for the `endTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/endTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub fn set_end_time(this: &TextTrackCue, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrackCue" , js_name = pauseOnExit)]
+ #[doc = "Getter for the `pauseOnExit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/pauseOnExit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub fn pause_on_exit(this: &TextTrackCue) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "TextTrackCue" , js_name = pauseOnExit)]
+ #[doc = "Setter for the `pauseOnExit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/pauseOnExit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub fn set_pause_on_exit(this: &TextTrackCue, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrackCue" , js_name = onenter)]
+ #[doc = "Getter for the `onenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/onenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub fn onenter(this: &TextTrackCue) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TextTrackCue" , js_name = onenter)]
+ #[doc = "Setter for the `onenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/onenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub fn set_onenter(this: &TextTrackCue, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrackCue" , js_name = onexit)]
+ #[doc = "Getter for the `onexit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/onexit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub fn onexit(this: &TextTrackCue) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TextTrackCue" , js_name = onexit)]
+ #[doc = "Setter for the `onexit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/onexit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCue`*"]
+ pub fn set_onexit(this: &TextTrackCue, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_TextTrackCueList.rs b/vendor/web-sys/src/features/gen_TextTrackCueList.rs
new file mode 100644
index 000000000..82e46863a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TextTrackCueList.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TextTrackCueList , typescript_type = "TextTrackCueList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TextTrackCueList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCueList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCueList`*"]
+ pub type TextTrackCueList;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrackCueList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCueList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCueList`*"]
+ pub fn length(this: &TextTrackCueList) -> u32;
+ #[cfg(feature = "VttCue")]
+ # [wasm_bindgen (method , structural , js_class = "TextTrackCueList" , js_name = getCueById)]
+ #[doc = "The `getCueById()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCueList/getCueById)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCueList`, `VttCue`*"]
+ pub fn get_cue_by_id(this: &TextTrackCueList, id: &str) -> Option<VttCue>;
+ #[cfg(feature = "VttCue")]
+ #[wasm_bindgen(method, structural, js_class = "TextTrackCueList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackCueList`, `VttCue`*"]
+ pub fn get(this: &TextTrackCueList, index: u32) -> Option<VttCue>;
+}
diff --git a/vendor/web-sys/src/features/gen_TextTrackKind.rs b/vendor/web-sys/src/features/gen_TextTrackKind.rs
new file mode 100644
index 000000000..ce933e65c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TextTrackKind.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `TextTrackKind` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `TextTrackKind`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum TextTrackKind {
+ Subtitles = "subtitles",
+ Captions = "captions",
+ Descriptions = "descriptions",
+ Chapters = "chapters",
+ Metadata = "metadata",
+}
diff --git a/vendor/web-sys/src/features/gen_TextTrackList.rs b/vendor/web-sys/src/features/gen_TextTrackList.rs
new file mode 100644
index 000000000..d3f55a1ed
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TextTrackList.rs
@@ -0,0 +1,79 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = TextTrackList , typescript_type = "TextTrackList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TextTrackList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackList`*"]
+ pub type TextTrackList;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrackList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackList`*"]
+ pub fn length(this: &TextTrackList) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrackList" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackList`*"]
+ pub fn onchange(this: &TextTrackList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TextTrackList" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackList`*"]
+ pub fn set_onchange(this: &TextTrackList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrackList" , js_name = onaddtrack)]
+ #[doc = "Getter for the `onaddtrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onaddtrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackList`*"]
+ pub fn onaddtrack(this: &TextTrackList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TextTrackList" , js_name = onaddtrack)]
+ #[doc = "Setter for the `onaddtrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onaddtrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackList`*"]
+ pub fn set_onaddtrack(this: &TextTrackList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "TextTrackList" , js_name = onremovetrack)]
+ #[doc = "Getter for the `onremovetrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onremovetrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackList`*"]
+ pub fn onremovetrack(this: &TextTrackList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "TextTrackList" , js_name = onremovetrack)]
+ #[doc = "Setter for the `onremovetrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onremovetrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrackList`*"]
+ pub fn set_onremovetrack(this: &TextTrackList, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "TextTrack")]
+ # [wasm_bindgen (method , structural , js_class = "TextTrackList" , js_name = getTrackById)]
+ #[doc = "The `getTrackById()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/getTrackById)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`, `TextTrackList`*"]
+ pub fn get_track_by_id(this: &TextTrackList, id: &str) -> Option<TextTrack>;
+ #[cfg(feature = "TextTrack")]
+ #[wasm_bindgen(method, structural, js_class = "TextTrackList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TextTrack`, `TextTrackList`*"]
+ pub fn get(this: &TextTrackList, index: u32) -> Option<TextTrack>;
+}
diff --git a/vendor/web-sys/src/features/gen_TextTrackMode.rs b/vendor/web-sys/src/features/gen_TextTrackMode.rs
new file mode 100644
index 000000000..f71fc0812
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TextTrackMode.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `TextTrackMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `TextTrackMode`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum TextTrackMode {
+ Disabled = "disabled",
+ Hidden = "hidden",
+ Showing = "showing",
+}
diff --git a/vendor/web-sys/src/features/gen_TimeEvent.rs b/vendor/web-sys/src/features/gen_TimeEvent.rs
new file mode 100644
index 000000000..bf89b71aa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TimeEvent.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TimeEvent , typescript_type = "TimeEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TimeEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TimeEvent`*"]
+ pub type TimeEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "TimeEvent" , js_name = detail)]
+ #[doc = "Getter for the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/detail)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TimeEvent`*"]
+ pub fn detail(this: &TimeEvent) -> i32;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TimeEvent" , js_name = view)]
+ #[doc = "Getter for the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/view)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TimeEvent`, `Window`*"]
+ pub fn view(this: &TimeEvent) -> Option<Window>;
+ # [wasm_bindgen (method , structural , js_class = "TimeEvent" , js_name = initTimeEvent)]
+ #[doc = "The `initTimeEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/initTimeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TimeEvent`*"]
+ pub fn init_time_event(this: &TimeEvent, a_type: &str);
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "TimeEvent" , js_name = initTimeEvent)]
+ #[doc = "The `initTimeEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/initTimeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TimeEvent`, `Window`*"]
+ pub fn init_time_event_with_a_view(this: &TimeEvent, a_type: &str, a_view: Option<&Window>);
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "TimeEvent" , js_name = initTimeEvent)]
+ #[doc = "The `initTimeEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/initTimeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TimeEvent`, `Window`*"]
+ pub fn init_time_event_with_a_view_and_a_detail(
+ this: &TimeEvent,
+ a_type: &str,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_TimeRanges.rs b/vendor/web-sys/src/features/gen_TimeRanges.rs
new file mode 100644
index 000000000..96e3077e9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TimeRanges.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TimeRanges , typescript_type = "TimeRanges")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TimeRanges` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TimeRanges`*"]
+ pub type TimeRanges;
+ # [wasm_bindgen (structural , method , getter , js_class = "TimeRanges" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TimeRanges`*"]
+ pub fn length(this: &TimeRanges) -> u32;
+ # [wasm_bindgen (catch , method , structural , js_class = "TimeRanges" , js_name = end)]
+ #[doc = "The `end()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges/end)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TimeRanges`*"]
+ pub fn end(this: &TimeRanges, index: u32) -> Result<f64, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TimeRanges" , js_name = start)]
+ #[doc = "The `start()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges/start)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TimeRanges`*"]
+ pub fn start(this: &TimeRanges, index: u32) -> Result<f64, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_Touch.rs b/vendor/web-sys/src/features/gen_Touch.rs
new file mode 100644
index 000000000..2f364edc0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Touch.rs
@@ -0,0 +1,107 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Touch , typescript_type = "Touch")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Touch` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`*"]
+ pub type Touch;
+ # [wasm_bindgen (structural , method , getter , js_class = "Touch" , js_name = identifier)]
+ #[doc = "Getter for the `identifier` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/identifier)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`*"]
+ pub fn identifier(this: &Touch) -> i32;
+ #[cfg(feature = "EventTarget")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Touch" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`, `Touch`*"]
+ pub fn target(this: &Touch) -> Option<EventTarget>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Touch" , js_name = screenX)]
+ #[doc = "Getter for the `screenX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`*"]
+ pub fn screen_x(this: &Touch) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Touch" , js_name = screenY)]
+ #[doc = "Getter for the `screenY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`*"]
+ pub fn screen_y(this: &Touch) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Touch" , js_name = clientX)]
+ #[doc = "Getter for the `clientX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/clientX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`*"]
+ pub fn client_x(this: &Touch) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Touch" , js_name = clientY)]
+ #[doc = "Getter for the `clientY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/clientY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`*"]
+ pub fn client_y(this: &Touch) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Touch" , js_name = pageX)]
+ #[doc = "Getter for the `pageX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/pageX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`*"]
+ pub fn page_x(this: &Touch) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Touch" , js_name = pageY)]
+ #[doc = "Getter for the `pageY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/pageY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`*"]
+ pub fn page_y(this: &Touch) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Touch" , js_name = radiusX)]
+ #[doc = "Getter for the `radiusX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`*"]
+ pub fn radius_x(this: &Touch) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Touch" , js_name = radiusY)]
+ #[doc = "Getter for the `radiusY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`*"]
+ pub fn radius_y(this: &Touch) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Touch" , js_name = rotationAngle)]
+ #[doc = "Getter for the `rotationAngle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/rotationAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`*"]
+ pub fn rotation_angle(this: &Touch) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "Touch" , js_name = force)]
+ #[doc = "Getter for the `force` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/force)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`*"]
+ pub fn force(this: &Touch) -> f32;
+ #[cfg(feature = "TouchInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "Touch")]
+ #[doc = "The `new Touch(..)` constructor, creating a new instance of `Touch`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/Touch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`, `TouchInit`*"]
+ pub fn new(touch_init_dict: &TouchInit) -> Result<Touch, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_TouchEvent.rs b/vendor/web-sys/src/features/gen_TouchEvent.rs
new file mode 100644
index 000000000..55f2174aa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TouchEvent.rs
@@ -0,0 +1,272 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = UiEvent , extends = Event , extends = :: js_sys :: Object , js_name = TouchEvent , typescript_type = "TouchEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TouchEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`*"]
+ pub type TouchEvent;
+ #[cfg(feature = "TouchList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TouchEvent" , js_name = touches)]
+ #[doc = "Getter for the `touches` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/touches)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`*"]
+ pub fn touches(this: &TouchEvent) -> TouchList;
+ #[cfg(feature = "TouchList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TouchEvent" , js_name = targetTouches)]
+ #[doc = "Getter for the `targetTouches` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/targetTouches)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`*"]
+ pub fn target_touches(this: &TouchEvent) -> TouchList;
+ #[cfg(feature = "TouchList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TouchEvent" , js_name = changedTouches)]
+ #[doc = "Getter for the `changedTouches` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/changedTouches)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`*"]
+ pub fn changed_touches(this: &TouchEvent) -> TouchList;
+ # [wasm_bindgen (structural , method , getter , js_class = "TouchEvent" , js_name = altKey)]
+ #[doc = "Getter for the `altKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/altKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`*"]
+ pub fn alt_key(this: &TouchEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "TouchEvent" , js_name = metaKey)]
+ #[doc = "Getter for the `metaKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/metaKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`*"]
+ pub fn meta_key(this: &TouchEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "TouchEvent" , js_name = ctrlKey)]
+ #[doc = "Getter for the `ctrlKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/ctrlKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`*"]
+ pub fn ctrl_key(this: &TouchEvent) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "TouchEvent" , js_name = shiftKey)]
+ #[doc = "Getter for the `shiftKey` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/shiftKey)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`*"]
+ pub fn shift_key(this: &TouchEvent) -> bool;
+ #[wasm_bindgen(catch, constructor, js_class = "TouchEvent")]
+ #[doc = "The `new TouchEvent(..)` constructor, creating a new instance of `TouchEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`*"]
+ pub fn new(type_: &str) -> Result<TouchEvent, JsValue>;
+ #[cfg(feature = "TouchEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "TouchEvent")]
+ #[doc = "The `new TouchEvent(..)` constructor, creating a new instance of `TouchEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `TouchEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &TouchEventInit,
+ ) -> Result<TouchEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "TouchEvent" , js_name = initTouchEvent)]
+ #[doc = "The `initTouchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`*"]
+ pub fn init_touch_event(this: &TouchEvent, type_: &str);
+ # [wasm_bindgen (method , structural , js_class = "TouchEvent" , js_name = initTouchEvent)]
+ #[doc = "The `initTouchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`*"]
+ pub fn init_touch_event_with_can_bubble(this: &TouchEvent, type_: &str, can_bubble: bool);
+ # [wasm_bindgen (method , structural , js_class = "TouchEvent" , js_name = initTouchEvent)]
+ #[doc = "The `initTouchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`*"]
+ pub fn init_touch_event_with_can_bubble_and_cancelable(
+ this: &TouchEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "TouchEvent" , js_name = initTouchEvent)]
+ #[doc = "The `initTouchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `Window`*"]
+ pub fn init_touch_event_with_can_bubble_and_cancelable_and_view(
+ this: &TouchEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "TouchEvent" , js_name = initTouchEvent)]
+ #[doc = "The `initTouchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `Window`*"]
+ pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail(
+ this: &TouchEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "TouchEvent" , js_name = initTouchEvent)]
+ #[doc = "The `initTouchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `Window`*"]
+ pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key(
+ this: &TouchEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ ctrl_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "TouchEvent" , js_name = initTouchEvent)]
+ #[doc = "The `initTouchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `Window`*"]
+ pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key(
+ this: &TouchEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ ctrl_key: bool,
+ alt_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "TouchEvent" , js_name = initTouchEvent)]
+ #[doc = "The `initTouchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `Window`*"]
+ pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key(
+ this: &TouchEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "TouchEvent" , js_name = initTouchEvent)]
+ #[doc = "The `initTouchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `Window`*"]
+ pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key(
+ this: &TouchEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ meta_key: bool,
+ );
+ #[cfg(all(feature = "TouchList", feature = "Window",))]
+ # [wasm_bindgen (method , structural , js_class = "TouchEvent" , js_name = initTouchEvent)]
+ #[doc = "The `initTouchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`, `Window`*"]
+ pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches(
+ this: &TouchEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ meta_key: bool,
+ touches: Option<&TouchList>,
+ );
+ #[cfg(all(feature = "TouchList", feature = "Window",))]
+ # [wasm_bindgen (method , structural , js_class = "TouchEvent" , js_name = initTouchEvent)]
+ #[doc = "The `initTouchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`, `Window`*"]
+ pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches(
+ this: &TouchEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ meta_key: bool,
+ touches: Option<&TouchList>,
+ target_touches: Option<&TouchList>,
+ );
+ #[cfg(all(feature = "TouchList", feature = "Window",))]
+ # [wasm_bindgen (method , structural , js_class = "TouchEvent" , js_name = initTouchEvent)]
+ #[doc = "The `initTouchEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`, `Window`*"]
+ pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches_and_changed_touches(
+ this: &TouchEvent,
+ type_: &str,
+ can_bubble: bool,
+ cancelable: bool,
+ view: Option<&Window>,
+ detail: i32,
+ ctrl_key: bool,
+ alt_key: bool,
+ shift_key: bool,
+ meta_key: bool,
+ touches: Option<&TouchList>,
+ target_touches: Option<&TouchList>,
+ changed_touches: Option<&TouchList>,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_TouchEventInit.rs b/vendor/web-sys/src/features/gen_TouchEventInit.rs
new file mode 100644
index 000000000..4923124ec
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TouchEventInit.rs
@@ -0,0 +1,375 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TouchEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TouchEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub type TouchEventInit;
+}
+impl TouchEventInit {
+ #[doc = "Construct a new `TouchEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn detail(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detail"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Window")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`, `Window`*"]
+ pub fn view(&mut self, val: Option<&Window>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `altKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn alt_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("altKey"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ctrlKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn ctrl_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ctrlKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `metaKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn meta_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("metaKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierAltGraph` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn modifier_alt_graph(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierAltGraph"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierCapsLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn modifier_caps_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierCapsLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFn` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn modifier_fn(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFn"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFnLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn modifier_fn_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFnLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierNumLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn modifier_num_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierNumLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierOS` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn modifier_os(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierOS"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierScrollLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn modifier_scroll_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierScrollLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbol` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn modifier_symbol(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbol"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbolLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn modifier_symbol_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbolLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `shiftKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn shift_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("shiftKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `changedTouches` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn changed_touches(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("changedTouches"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `targetTouches` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn target_touches(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("targetTouches"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `touches` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchEventInit`*"]
+ pub fn touches(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("touches"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for TouchEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_TouchInit.rs b/vendor/web-sys/src/features/gen_TouchInit.rs
new file mode 100644
index 000000000..b64ce7a77
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TouchInit.rs
@@ -0,0 +1,215 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TouchInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TouchInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchInit`*"]
+ pub type TouchInit;
+}
+impl TouchInit {
+ #[cfg(feature = "EventTarget")]
+ #[doc = "Construct a new `TouchInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`, `TouchInit`*"]
+ pub fn new(identifier: i32, target: &EventTarget) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.identifier(identifier);
+ ret.target(target);
+ ret
+ }
+ #[doc = "Change the `clientX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchInit`*"]
+ pub fn client_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `clientY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchInit`*"]
+ pub fn client_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `force` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchInit`*"]
+ pub fn force(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("force"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `identifier` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchInit`*"]
+ pub fn identifier(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("identifier"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pageX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchInit`*"]
+ pub fn page_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("pageX"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pageY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchInit`*"]
+ pub fn page_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("pageY"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `radiusX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchInit`*"]
+ pub fn radius_x(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("radiusX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `radiusY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchInit`*"]
+ pub fn radius_y(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("radiusY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rotationAngle` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchInit`*"]
+ pub fn rotation_angle(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rotationAngle"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `screenX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchInit`*"]
+ pub fn screen_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("screenX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `screenY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchInit`*"]
+ pub fn screen_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("screenY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "EventTarget")]
+ #[doc = "Change the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`, `TouchInit`*"]
+ pub fn target(&mut self, val: &EventTarget) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("target"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_TouchList.rs b/vendor/web-sys/src/features/gen_TouchList.rs
new file mode 100644
index 000000000..a4415d9eb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TouchList.rs
@@ -0,0 +1,37 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TouchList , typescript_type = "TouchList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TouchList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchList`*"]
+ pub type TouchList;
+ # [wasm_bindgen (structural , method , getter , js_class = "TouchList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TouchList`*"]
+ pub fn length(this: &TouchList) -> u32;
+ #[cfg(feature = "Touch")]
+ # [wasm_bindgen (method , structural , js_class = "TouchList" , js_name = item)]
+ #[doc = "The `item()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchList/item)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`, `TouchList`*"]
+ pub fn item(this: &TouchList, index: u32) -> Option<Touch>;
+ #[cfg(feature = "Touch")]
+ #[wasm_bindgen(method, structural, js_class = "TouchList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Touch`, `TouchList`*"]
+ pub fn get(this: &TouchList, index: u32) -> Option<Touch>;
+}
diff --git a/vendor/web-sys/src/features/gen_TrackEvent.rs b/vendor/web-sys/src/features/gen_TrackEvent.rs
new file mode 100644
index 000000000..2325cb3df
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TrackEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TrackEvent , typescript_type = "TrackEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TrackEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TrackEvent`*"]
+ pub type TrackEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "TrackEvent" , js_name = track)]
+ #[doc = "Getter for the `track` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent/track)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TrackEvent`*"]
+ pub fn track(this: &TrackEvent) -> Option<::js_sys::Object>;
+ #[wasm_bindgen(catch, constructor, js_class = "TrackEvent")]
+ #[doc = "The `new TrackEvent(..)` constructor, creating a new instance of `TrackEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent/TrackEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TrackEvent`*"]
+ pub fn new(type_: &str) -> Result<TrackEvent, JsValue>;
+ #[cfg(feature = "TrackEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "TrackEvent")]
+ #[doc = "The `new TrackEvent(..)` constructor, creating a new instance of `TrackEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent/TrackEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TrackEvent`, `TrackEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &TrackEventInit,
+ ) -> Result<TrackEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_TrackEventInit.rs b/vendor/web-sys/src/features/gen_TrackEventInit.rs
new file mode 100644
index 000000000..48a91359b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TrackEventInit.rs
@@ -0,0 +1,91 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TrackEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TrackEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TrackEventInit`*"]
+ pub type TrackEventInit;
+}
+impl TrackEventInit {
+ #[doc = "Construct a new `TrackEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TrackEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TrackEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TrackEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TrackEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `track` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TrackEventInit`*"]
+ pub fn track(&mut self, val: Option<&::js_sys::Object>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("track"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for TrackEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_TransformStream.rs b/vendor/web-sys/src/features/gen_TransformStream.rs
new file mode 100644
index 000000000..9dd64d45d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TransformStream.rs
@@ -0,0 +1,84 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TransformStream , typescript_type = "TransformStream")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TransformStream` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransformStream`*"]
+ pub type TransformStream;
+ #[cfg(feature = "ReadableStream")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TransformStream" , js_name = readable)]
+ #[doc = "Getter for the `readable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/readable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `TransformStream`*"]
+ pub fn readable(this: &TransformStream) -> ReadableStream;
+ #[cfg(feature = "WritableStream")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TransformStream" , js_name = writable)]
+ #[doc = "Getter for the `writable` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/writable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransformStream`, `WritableStream`*"]
+ pub fn writable(this: &TransformStream) -> WritableStream;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "TransformStream")]
+ #[doc = "The `new TransformStream(..)` constructor, creating a new instance of `TransformStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransformStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Result<TransformStream, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "TransformStream")]
+ #[doc = "The `new TransformStream(..)` constructor, creating a new instance of `TransformStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransformStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_transformer(transformer: &::js_sys::Object)
+ -> Result<TransformStream, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "QueuingStrategy")]
+ #[wasm_bindgen(catch, constructor, js_class = "TransformStream")]
+ #[doc = "The `new TransformStream(..)` constructor, creating a new instance of `TransformStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `QueuingStrategy`, `TransformStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_transformer_and_writable_strategy(
+ transformer: &::js_sys::Object,
+ writable_strategy: &QueuingStrategy,
+ ) -> Result<TransformStream, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "QueuingStrategy")]
+ #[wasm_bindgen(catch, constructor, js_class = "TransformStream")]
+ #[doc = "The `new TransformStream(..)` constructor, creating a new instance of `TransformStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `QueuingStrategy`, `TransformStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_transformer_and_writable_strategy_and_readable_strategy(
+ transformer: &::js_sys::Object,
+ writable_strategy: &QueuingStrategy,
+ readable_strategy: &QueuingStrategy,
+ ) -> Result<TransformStream, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_TransformStreamDefaultController.rs b/vendor/web-sys/src/features/gen_TransformStreamDefaultController.rs
new file mode 100644
index 000000000..6e4722973
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TransformStreamDefaultController.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TransformStreamDefaultController , typescript_type = "TransformStreamDefaultController")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TransformStreamDefaultController` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStreamDefaultController)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransformStreamDefaultController`*"]
+ pub type TransformStreamDefaultController;
+ # [wasm_bindgen (structural , method , getter , js_class = "TransformStreamDefaultController" , js_name = desiredSize)]
+ #[doc = "Getter for the `desiredSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStreamDefaultController/desiredSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransformStreamDefaultController`*"]
+ pub fn desired_size(this: &TransformStreamDefaultController) -> Option<f64>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TransformStreamDefaultController" , js_name = enqueue)]
+ #[doc = "The `enqueue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStreamDefaultController/enqueue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransformStreamDefaultController`*"]
+ pub fn enqueue(this: &TransformStreamDefaultController) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TransformStreamDefaultController" , js_name = enqueue)]
+ #[doc = "The `enqueue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStreamDefaultController/enqueue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransformStreamDefaultController`*"]
+ pub fn enqueue_with_chunk(
+ this: &TransformStreamDefaultController,
+ chunk: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "TransformStreamDefaultController" , js_name = error)]
+ #[doc = "The `error()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStreamDefaultController/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransformStreamDefaultController`*"]
+ pub fn error(this: &TransformStreamDefaultController);
+ # [wasm_bindgen (method , structural , js_class = "TransformStreamDefaultController" , js_name = error)]
+ #[doc = "The `error()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStreamDefaultController/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransformStreamDefaultController`*"]
+ pub fn error_with_reason(
+ this: &TransformStreamDefaultController,
+ reason: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "TransformStreamDefaultController" , js_name = terminate)]
+ #[doc = "The `terminate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransformStreamDefaultController/terminate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransformStreamDefaultController`*"]
+ pub fn terminate(this: &TransformStreamDefaultController);
+}
diff --git a/vendor/web-sys/src/features/gen_Transformer.rs b/vendor/web-sys/src/features/gen_Transformer.rs
new file mode 100644
index 000000000..c0dddae07
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Transformer.rs
@@ -0,0 +1,104 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Transformer)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Transformer` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
+ pub type Transformer;
+}
+impl Transformer {
+ #[doc = "Construct a new `Transformer`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `flush` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
+ pub fn flush(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("flush"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `readableType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
+ pub fn readable_type(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("readableType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `start` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
+ pub fn start(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("start"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `transform` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
+ pub fn transform(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transform"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `writableType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Transformer`*"]
+ pub fn writable_type(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("writableType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for Transformer {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_TransitionEvent.rs b/vendor/web-sys/src/features/gen_TransitionEvent.rs
new file mode 100644
index 000000000..c6c98bb93
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TransitionEvent.rs
@@ -0,0 +1,53 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TransitionEvent , typescript_type = "TransitionEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TransitionEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEvent`*"]
+ pub type TransitionEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "TransitionEvent" , js_name = propertyName)]
+ #[doc = "Getter for the `propertyName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/propertyName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEvent`*"]
+ pub fn property_name(this: &TransitionEvent) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "TransitionEvent" , js_name = elapsedTime)]
+ #[doc = "Getter for the `elapsedTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/elapsedTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEvent`*"]
+ pub fn elapsed_time(this: &TransitionEvent) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "TransitionEvent" , js_name = pseudoElement)]
+ #[doc = "Getter for the `pseudoElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/pseudoElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEvent`*"]
+ pub fn pseudo_element(this: &TransitionEvent) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "TransitionEvent")]
+ #[doc = "The `new TransitionEvent(..)` constructor, creating a new instance of `TransitionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/TransitionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEvent`*"]
+ pub fn new(type_: &str) -> Result<TransitionEvent, JsValue>;
+ #[cfg(feature = "TransitionEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "TransitionEvent")]
+ #[doc = "The `new TransitionEvent(..)` constructor, creating a new instance of `TransitionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/TransitionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEvent`, `TransitionEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &TransitionEventInit,
+ ) -> Result<TransitionEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_TransitionEventInit.rs b/vendor/web-sys/src/features/gen_TransitionEventInit.rs
new file mode 100644
index 000000000..1681b9c1b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TransitionEventInit.rs
@@ -0,0 +1,129 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TransitionEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TransitionEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEventInit`*"]
+ pub type TransitionEventInit;
+}
+impl TransitionEventInit {
+ #[doc = "Construct a new `TransitionEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `elapsedTime` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEventInit`*"]
+ pub fn elapsed_time(&mut self, val: f32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("elapsedTime"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `propertyName` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEventInit`*"]
+ pub fn property_name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("propertyName"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pseudoElement` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TransitionEventInit`*"]
+ pub fn pseudo_element(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("pseudoElement"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for TransitionEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Transport.rs b/vendor/web-sys/src/features/gen_Transport.rs
new file mode 100644
index 000000000..9b9389c25
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Transport.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `Transport` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `Transport`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum Transport {
+ Bt = "bt",
+ Ble = "ble",
+ Nfc = "nfc",
+ Usb = "usb",
+}
diff --git a/vendor/web-sys/src/features/gen_TreeBoxObject.rs b/vendor/web-sys/src/features/gen_TreeBoxObject.rs
new file mode 100644
index 000000000..74e6b3e6f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TreeBoxObject.rs
@@ -0,0 +1,184 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = TreeBoxObject , typescript_type = "TreeBoxObject")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TreeBoxObject` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub type TreeBoxObject;
+ # [wasm_bindgen (structural , method , getter , js_class = "TreeBoxObject" , js_name = focused)]
+ #[doc = "Getter for the `focused` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/focused)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn focused(this: &TreeBoxObject) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "TreeBoxObject" , js_name = focused)]
+ #[doc = "Setter for the `focused` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/focused)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn set_focused(this: &TreeBoxObject, value: bool);
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TreeBoxObject" , js_name = treeBody)]
+ #[doc = "Getter for the `treeBody` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/treeBody)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `TreeBoxObject`*"]
+ pub fn tree_body(this: &TreeBoxObject) -> Option<Element>;
+ # [wasm_bindgen (structural , method , getter , js_class = "TreeBoxObject" , js_name = rowHeight)]
+ #[doc = "Getter for the `rowHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/rowHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn row_height(this: &TreeBoxObject) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "TreeBoxObject" , js_name = rowWidth)]
+ #[doc = "Getter for the `rowWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/rowWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn row_width(this: &TreeBoxObject) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "TreeBoxObject" , js_name = horizontalPosition)]
+ #[doc = "Getter for the `horizontalPosition` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/horizontalPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn horizontal_position(this: &TreeBoxObject) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = beginUpdateBatch)]
+ #[doc = "The `beginUpdateBatch()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/beginUpdateBatch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn begin_update_batch(this: &TreeBoxObject);
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = clearStyleAndImageCaches)]
+ #[doc = "The `clearStyleAndImageCaches()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/clearStyleAndImageCaches)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn clear_style_and_image_caches(this: &TreeBoxObject);
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = endUpdateBatch)]
+ #[doc = "The `endUpdateBatch()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/endUpdateBatch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn end_update_batch(this: &TreeBoxObject);
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = ensureRowIsVisible)]
+ #[doc = "The `ensureRowIsVisible()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/ensureRowIsVisible)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn ensure_row_is_visible(this: &TreeBoxObject, index: i32);
+ #[cfg(feature = "TreeCellInfo")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeBoxObject" , js_name = getCellAt)]
+ #[doc = "The `getCellAt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/getCellAt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`, `TreeCellInfo`*"]
+ pub fn get_cell_at(this: &TreeBoxObject, x: i32, y: i32) -> Result<TreeCellInfo, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeBoxObject" , js_name = getCellAt)]
+ #[doc = "The `getCellAt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/getCellAt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn get_cell_at_with_row_and_column_and_child_elt(
+ this: &TreeBoxObject,
+ x: i32,
+ y: i32,
+ row: &::js_sys::Object,
+ column: &::js_sys::Object,
+ child_elt: &::js_sys::Object,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = getFirstVisibleRow)]
+ #[doc = "The `getFirstVisibleRow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/getFirstVisibleRow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn get_first_visible_row(this: &TreeBoxObject) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = getLastVisibleRow)]
+ #[doc = "The `getLastVisibleRow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/getLastVisibleRow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn get_last_visible_row(this: &TreeBoxObject) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = getPageLength)]
+ #[doc = "The `getPageLength()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/getPageLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn get_page_length(this: &TreeBoxObject) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = getRowAt)]
+ #[doc = "The `getRowAt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/getRowAt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn get_row_at(this: &TreeBoxObject, x: i32, y: i32) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = invalidate)]
+ #[doc = "The `invalidate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/invalidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn invalidate(this: &TreeBoxObject);
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = invalidateRange)]
+ #[doc = "The `invalidateRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/invalidateRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn invalidate_range(this: &TreeBoxObject, start_index: i32, end_index: i32);
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = invalidateRow)]
+ #[doc = "The `invalidateRow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/invalidateRow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn invalidate_row(this: &TreeBoxObject, index: i32);
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = rowCountChanged)]
+ #[doc = "The `rowCountChanged()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/rowCountChanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn row_count_changed(this: &TreeBoxObject, index: i32, count: i32);
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = scrollByLines)]
+ #[doc = "The `scrollByLines()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/scrollByLines)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn scroll_by_lines(this: &TreeBoxObject, num_lines: i32);
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = scrollByPages)]
+ #[doc = "The `scrollByPages()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/scrollByPages)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn scroll_by_pages(this: &TreeBoxObject, num_pages: i32);
+ # [wasm_bindgen (method , structural , js_class = "TreeBoxObject" , js_name = scrollToRow)]
+ #[doc = "The `scrollToRow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeBoxObject/scrollToRow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`*"]
+ pub fn scroll_to_row(this: &TreeBoxObject, index: i32);
+}
diff --git a/vendor/web-sys/src/features/gen_TreeCellInfo.rs b/vendor/web-sys/src/features/gen_TreeCellInfo.rs
new file mode 100644
index 000000000..9d0794449
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TreeCellInfo.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TreeCellInfo)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TreeCellInfo` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeCellInfo`*"]
+ pub type TreeCellInfo;
+}
+impl TreeCellInfo {
+ #[doc = "Construct a new `TreeCellInfo`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeCellInfo`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `childElt` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeCellInfo`*"]
+ pub fn child_elt(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("childElt"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `row` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeCellInfo`*"]
+ pub fn row(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("row"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for TreeCellInfo {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_TreeView.rs b/vendor/web-sys/src/features/gen_TreeView.rs
new file mode 100644
index 000000000..50b334a6b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TreeView.rs
@@ -0,0 +1,160 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = TreeView , typescript_type = "TreeView")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TreeView` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub type TreeView;
+ # [wasm_bindgen (structural , method , getter , js_class = "TreeView" , js_name = rowCount)]
+ #[doc = "Getter for the `rowCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/rowCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn row_count(this: &TreeView) -> i32;
+ #[cfg(feature = "DataTransfer")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeView" , js_name = canDrop)]
+ #[doc = "The `canDrop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/canDrop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`, `TreeView`*"]
+ pub fn can_drop(
+ this: &TreeView,
+ row: i32,
+ orientation: i32,
+ data_transfer: Option<&DataTransfer>,
+ ) -> Result<bool, JsValue>;
+ #[cfg(feature = "DataTransfer")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeView" , js_name = drop)]
+ #[doc = "The `drop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/drop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DataTransfer`, `TreeView`*"]
+ pub fn drop(
+ this: &TreeView,
+ row: i32,
+ orientation: i32,
+ data_transfer: Option<&DataTransfer>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeView" , js_name = getLevel)]
+ #[doc = "The `getLevel()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/getLevel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn get_level(this: &TreeView, row: i32) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeView" , js_name = getParentIndex)]
+ #[doc = "The `getParentIndex()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/getParentIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn get_parent_index(this: &TreeView, row: i32) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeView" , js_name = getRowProperties)]
+ #[doc = "The `getRowProperties()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/getRowProperties)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn get_row_properties(this: &TreeView, row: i32) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeView" , js_name = hasNextSibling)]
+ #[doc = "The `hasNextSibling()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/hasNextSibling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn has_next_sibling(this: &TreeView, row: i32, after_index: i32) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeView" , js_name = isContainer)]
+ #[doc = "The `isContainer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/isContainer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn is_container(this: &TreeView, row: i32) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeView" , js_name = isContainerEmpty)]
+ #[doc = "The `isContainerEmpty()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/isContainerEmpty)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn is_container_empty(this: &TreeView, row: i32) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeView" , js_name = isContainerOpen)]
+ #[doc = "The `isContainerOpen()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/isContainerOpen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn is_container_open(this: &TreeView, row: i32) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeView" , js_name = isSeparator)]
+ #[doc = "The `isSeparator()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/isSeparator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn is_separator(this: &TreeView, row: i32) -> Result<bool, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "TreeView" , js_name = isSorted)]
+ #[doc = "The `isSorted()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/isSorted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn is_sorted(this: &TreeView) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "TreeView" , js_name = performAction)]
+ #[doc = "The `performAction()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/performAction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn perform_action(this: &TreeView, action: &str);
+ # [wasm_bindgen (method , structural , js_class = "TreeView" , js_name = performActionOnRow)]
+ #[doc = "The `performActionOnRow()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/performActionOnRow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn perform_action_on_row(this: &TreeView, action: &str, row: i32);
+ # [wasm_bindgen (method , structural , js_class = "TreeView" , js_name = selectionChanged)]
+ #[doc = "The `selectionChanged()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/selectionChanged)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn selection_changed(this: &TreeView);
+ #[cfg(feature = "TreeBoxObject")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeView" , js_name = setTree)]
+ #[doc = "The `setTree()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/setTree)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeBoxObject`, `TreeView`*"]
+ pub fn set_tree(this: &TreeView, tree: Option<&TreeBoxObject>) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeView" , js_name = toggleOpenState)]
+ #[doc = "The `toggleOpenState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeView/toggleOpenState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub fn toggle_open_state(this: &TreeView, row: i32) -> Result<(), JsValue>;
+}
+impl TreeView {
+ #[doc = "The `TreeView.DROP_BEFORE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub const DROP_BEFORE: i16 = -1i64 as i16;
+ #[doc = "The `TreeView.DROP_ON` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub const DROP_ON: i16 = 0i64 as i16;
+ #[doc = "The `TreeView.DROP_AFTER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeView`*"]
+ pub const DROP_AFTER: i16 = 1u64 as i16;
+}
diff --git a/vendor/web-sys/src/features/gen_TreeWalker.rs b/vendor/web-sys/src/features/gen_TreeWalker.rs
new file mode 100644
index 000000000..3838270c6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_TreeWalker.rs
@@ -0,0 +1,109 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TreeWalker , typescript_type = "TreeWalker")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `TreeWalker` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeWalker`*"]
+ pub type TreeWalker;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TreeWalker" , js_name = root)]
+ #[doc = "Getter for the `root` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/root)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"]
+ pub fn root(this: &TreeWalker) -> Node;
+ # [wasm_bindgen (structural , method , getter , js_class = "TreeWalker" , js_name = whatToShow)]
+ #[doc = "Getter for the `whatToShow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/whatToShow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `TreeWalker`*"]
+ pub fn what_to_show(this: &TreeWalker) -> u32;
+ #[cfg(feature = "NodeFilter")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TreeWalker" , js_name = filter)]
+ #[doc = "Getter for the `filter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/filter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NodeFilter`, `TreeWalker`*"]
+ pub fn filter(this: &TreeWalker) -> Option<NodeFilter>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "TreeWalker" , js_name = currentNode)]
+ #[doc = "Getter for the `currentNode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/currentNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"]
+ pub fn current_node(this: &TreeWalker) -> Node;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , setter , js_class = "TreeWalker" , js_name = currentNode)]
+ #[doc = "Setter for the `currentNode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/currentNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"]
+ pub fn set_current_node(this: &TreeWalker, value: &Node);
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeWalker" , js_name = firstChild)]
+ #[doc = "The `firstChild()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/firstChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"]
+ pub fn first_child(this: &TreeWalker) -> Result<Option<Node>, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeWalker" , js_name = lastChild)]
+ #[doc = "The `lastChild()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/lastChild)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"]
+ pub fn last_child(this: &TreeWalker) -> Result<Option<Node>, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeWalker" , js_name = nextNode)]
+ #[doc = "The `nextNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/nextNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"]
+ pub fn next_node(this: &TreeWalker) -> Result<Option<Node>, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeWalker" , js_name = nextSibling)]
+ #[doc = "The `nextSibling()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/nextSibling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"]
+ pub fn next_sibling(this: &TreeWalker) -> Result<Option<Node>, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeWalker" , js_name = parentNode)]
+ #[doc = "The `parentNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/parentNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"]
+ pub fn parent_node(this: &TreeWalker) -> Result<Option<Node>, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeWalker" , js_name = previousNode)]
+ #[doc = "The `previousNode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/previousNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"]
+ pub fn previous_node(this: &TreeWalker) -> Result<Option<Node>, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "TreeWalker" , js_name = previousSibling)]
+ #[doc = "The `previousSibling()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/previousSibling)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"]
+ pub fn previous_sibling(this: &TreeWalker) -> Result<Option<Node>, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_U2f.rs b/vendor/web-sys/src/features/gen_U2f.rs
new file mode 100644
index 000000000..775377d12
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_U2f.rs
@@ -0,0 +1,94 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = U2F , typescript_type = "U2F")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `U2f` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/U2F)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2f`*"]
+ pub type U2f;
+ # [wasm_bindgen (catch , method , structural , js_class = "U2F" , js_name = register)]
+ #[doc = "The `register()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/U2F/register)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2f`*"]
+ pub fn register(
+ this: &U2f,
+ app_id: &str,
+ register_requests: &::wasm_bindgen::JsValue,
+ registered_keys: &::wasm_bindgen::JsValue,
+ callback: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "U2F" , js_name = register)]
+ #[doc = "The `register()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/U2F/register)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2f`*"]
+ pub fn register_with_opt_timeout_seconds(
+ this: &U2f,
+ app_id: &str,
+ register_requests: &::wasm_bindgen::JsValue,
+ registered_keys: &::wasm_bindgen::JsValue,
+ callback: &::js_sys::Function,
+ opt_timeout_seconds: Option<i32>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "U2F" , js_name = sign)]
+ #[doc = "The `sign()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/U2F/sign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2f`*"]
+ pub fn sign(
+ this: &U2f,
+ app_id: &str,
+ challenge: &str,
+ registered_keys: &::wasm_bindgen::JsValue,
+ callback: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "U2F" , js_name = sign)]
+ #[doc = "The `sign()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/U2F/sign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2f`*"]
+ pub fn sign_with_opt_timeout_seconds(
+ this: &U2f,
+ app_id: &str,
+ challenge: &str,
+ registered_keys: &::wasm_bindgen::JsValue,
+ callback: &::js_sys::Function,
+ opt_timeout_seconds: Option<i32>,
+ ) -> Result<(), JsValue>;
+}
+impl U2f {
+ #[doc = "The `U2F.OK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2f`*"]
+ pub const OK: u16 = 0i64 as u16;
+ #[doc = "The `U2F.OTHER_ERROR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2f`*"]
+ pub const OTHER_ERROR: u16 = 1u64 as u16;
+ #[doc = "The `U2F.BAD_REQUEST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2f`*"]
+ pub const BAD_REQUEST: u16 = 2u64 as u16;
+ #[doc = "The `U2F.CONFIGURATION_UNSUPPORTED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2f`*"]
+ pub const CONFIGURATION_UNSUPPORTED: u16 = 3u64 as u16;
+ #[doc = "The `U2F.DEVICE_INELIGIBLE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2f`*"]
+ pub const DEVICE_INELIGIBLE: u16 = 4u64 as u16;
+ #[doc = "The `U2F.TIMEOUT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2f`*"]
+ pub const TIMEOUT: u16 = 5u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_U2fClientData.rs b/vendor/web-sys/src/features/gen_U2fClientData.rs
new file mode 100644
index 000000000..2a4de1877
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_U2fClientData.rs
@@ -0,0 +1,71 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = U2FClientData)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `U2fClientData` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2fClientData`*"]
+ pub type U2fClientData;
+}
+impl U2fClientData {
+ #[doc = "Construct a new `U2fClientData`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2fClientData`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `challenge` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2fClientData`*"]
+ pub fn challenge(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("challenge"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2fClientData`*"]
+ pub fn origin(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("origin"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `typ` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2fClientData`*"]
+ pub fn typ(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("typ"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for U2fClientData {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_UdpMessageEventInit.rs b/vendor/web-sys/src/features/gen_UdpMessageEventInit.rs
new file mode 100644
index 000000000..7ba192b34
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UdpMessageEventInit.rs
@@ -0,0 +1,125 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = UDPMessageEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UdpMessageEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpMessageEventInit`*"]
+ pub type UdpMessageEventInit;
+}
+impl UdpMessageEventInit {
+ #[doc = "Construct a new `UdpMessageEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpMessageEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpMessageEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpMessageEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpMessageEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpMessageEventInit`*"]
+ pub fn data(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `remoteAddress` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpMessageEventInit`*"]
+ pub fn remote_address(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("remoteAddress"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `remotePort` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpMessageEventInit`*"]
+ pub fn remote_port(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("remotePort"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for UdpMessageEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_UdpOptions.rs b/vendor/web-sys/src/features/gen_UdpOptions.rs
new file mode 100644
index 000000000..4ba727c4a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UdpOptions.rs
@@ -0,0 +1,129 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = UDPOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UdpOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpOptions`*"]
+ pub type UdpOptions;
+}
+impl UdpOptions {
+ #[doc = "Construct a new `UdpOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `addressReuse` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpOptions`*"]
+ pub fn address_reuse(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("addressReuse"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `localAddress` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpOptions`*"]
+ pub fn local_address(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("localAddress"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `localPort` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpOptions`*"]
+ pub fn local_port(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("localPort"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `loopback` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpOptions`*"]
+ pub fn loopback(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("loopback"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `remoteAddress` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpOptions`*"]
+ pub fn remote_address(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("remoteAddress"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `remotePort` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UdpOptions`*"]
+ pub fn remote_port(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("remotePort"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for UdpOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_UiEvent.rs b/vendor/web-sys/src/features/gen_UiEvent.rs
new file mode 100644
index 000000000..5c2120b6c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UiEvent.rs
@@ -0,0 +1,162 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = UIEvent , typescript_type = "UIEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UiEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub type UiEvent;
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (structural , method , getter , js_class = "UIEvent" , js_name = view)]
+ #[doc = "Getter for the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/view)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`, `Window`*"]
+ pub fn view(this: &UiEvent) -> Option<Window>;
+ # [wasm_bindgen (structural , method , getter , js_class = "UIEvent" , js_name = detail)]
+ #[doc = "Getter for the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/detail)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub fn detail(this: &UiEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "UIEvent" , js_name = layerX)]
+ #[doc = "Getter for the `layerX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/layerX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub fn layer_x(this: &UiEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "UIEvent" , js_name = layerY)]
+ #[doc = "Getter for the `layerY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/layerY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub fn layer_y(this: &UiEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "UIEvent" , js_name = pageX)]
+ #[doc = "Getter for the `pageX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/pageX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub fn page_x(this: &UiEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "UIEvent" , js_name = pageY)]
+ #[doc = "Getter for the `pageY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/pageY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub fn page_y(this: &UiEvent) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "UIEvent" , js_name = which)]
+ #[doc = "Getter for the `which` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub fn which(this: &UiEvent) -> u32;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , method , getter , js_class = "UIEvent" , js_name = rangeParent)]
+ #[doc = "Getter for the `rangeParent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/rangeParent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `UiEvent`*"]
+ pub fn range_parent(this: &UiEvent) -> Option<Node>;
+ # [wasm_bindgen (structural , method , getter , js_class = "UIEvent" , js_name = rangeOffset)]
+ #[doc = "Getter for the `rangeOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/rangeOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub fn range_offset(this: &UiEvent) -> i32;
+ #[wasm_bindgen(catch, constructor, js_class = "UIEvent")]
+ #[doc = "The `new UiEvent(..)` constructor, creating a new instance of `UiEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/UIEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub fn new(type_: &str) -> Result<UiEvent, JsValue>;
+ #[cfg(feature = "UiEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "UIEvent")]
+ #[doc = "The `new UiEvent(..)` constructor, creating a new instance of `UiEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/UIEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`, `UiEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &UiEventInit,
+ ) -> Result<UiEvent, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "UIEvent" , js_name = initUIEvent)]
+ #[doc = "The `initUIEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub fn init_ui_event(this: &UiEvent, a_type: &str);
+ # [wasm_bindgen (method , structural , js_class = "UIEvent" , js_name = initUIEvent)]
+ #[doc = "The `initUIEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub fn init_ui_event_with_a_can_bubble(this: &UiEvent, a_type: &str, a_can_bubble: bool);
+ # [wasm_bindgen (method , structural , js_class = "UIEvent" , js_name = initUIEvent)]
+ #[doc = "The `initUIEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub fn init_ui_event_with_a_can_bubble_and_a_cancelable(
+ this: &UiEvent,
+ a_type: &str,
+ a_can_bubble: bool,
+ a_cancelable: bool,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "UIEvent" , js_name = initUIEvent)]
+ #[doc = "The `initUIEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`, `Window`*"]
+ pub fn init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view(
+ this: &UiEvent,
+ a_type: &str,
+ a_can_bubble: bool,
+ a_cancelable: bool,
+ a_view: Option<&Window>,
+ );
+ #[cfg(feature = "Window")]
+ # [wasm_bindgen (method , structural , js_class = "UIEvent" , js_name = initUIEvent)]
+ #[doc = "The `initUIEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`, `Window`*"]
+ pub fn init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view_and_a_detail(
+ this: &UiEvent,
+ a_type: &str,
+ a_can_bubble: bool,
+ a_cancelable: bool,
+ a_view: Option<&Window>,
+ a_detail: i32,
+ );
+}
+impl UiEvent {
+ #[doc = "The `UIEvent.SCROLL_PAGE_UP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub const SCROLL_PAGE_UP: i32 = -32768i64 as i32;
+ #[doc = "The `UIEvent.SCROLL_PAGE_DOWN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEvent`*"]
+ pub const SCROLL_PAGE_DOWN: i32 = 32768u64 as i32;
+}
diff --git a/vendor/web-sys/src/features/gen_UiEventInit.rs b/vendor/web-sys/src/features/gen_UiEventInit.rs
new file mode 100644
index 000000000..d1449c34e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UiEventInit.rs
@@ -0,0 +1,106 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = UIEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UiEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEventInit`*"]
+ pub type UiEventInit;
+}
+impl UiEventInit {
+ #[doc = "Construct a new `UiEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEventInit`*"]
+ pub fn detail(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detail"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Window")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UiEventInit`, `Window`*"]
+ pub fn view(&mut self, val: Option<&Window>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for UiEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_UnderlyingSink.rs b/vendor/web-sys/src/features/gen_UnderlyingSink.rs
new file mode 100644
index 000000000..dd6948867
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UnderlyingSink.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = UnderlyingSink)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UnderlyingSink` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSink`*"]
+ pub type UnderlyingSink;
+}
+impl UnderlyingSink {
+ #[doc = "Construct a new `UnderlyingSink`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSink`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `abort` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSink`*"]
+ pub fn abort(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("abort"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `close` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSink`*"]
+ pub fn close(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("close"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `start` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSink`*"]
+ pub fn start(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("start"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSink`*"]
+ pub fn type_(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `write` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSink`*"]
+ pub fn write(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("write"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for UnderlyingSink {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_UnderlyingSource.rs b/vendor/web-sys/src/features/gen_UnderlyingSource.rs
new file mode 100644
index 000000000..a6a909431
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UnderlyingSource.rs
@@ -0,0 +1,98 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = UnderlyingSource)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UnderlyingSource` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSource`*"]
+ pub type UnderlyingSource;
+}
+impl UnderlyingSource {
+ #[doc = "Construct a new `UnderlyingSource`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSource`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `autoAllocateChunkSize` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSource`*"]
+ pub fn auto_allocate_chunk_size(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("autoAllocateChunkSize"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancel` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSource`*"]
+ pub fn cancel(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("cancel"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `pull` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSource`*"]
+ pub fn pull(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("pull"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `start` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UnderlyingSource`*"]
+ pub fn start(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("start"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ReadableStreamType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStreamType`, `UnderlyingSource`*"]
+ pub fn type_(&mut self, val: ReadableStreamType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for UnderlyingSource {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Url.rs b/vendor/web-sys/src/features/gen_Url.rs
new file mode 100644
index 000000000..b4ad91dbc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Url.rs
@@ -0,0 +1,213 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = URL , typescript_type = "URL")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Url` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub type Url;
+ # [wasm_bindgen (structural , method , getter , js_class = "URL" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn href(this: &Url) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "URL" , js_name = href)]
+ #[doc = "Setter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn set_href(this: &Url, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "URL" , js_name = origin)]
+ #[doc = "Getter for the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/origin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn origin(this: &Url) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "URL" , js_name = protocol)]
+ #[doc = "Getter for the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/protocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn protocol(this: &Url) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "URL" , js_name = protocol)]
+ #[doc = "Setter for the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/protocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn set_protocol(this: &Url, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "URL" , js_name = username)]
+ #[doc = "Getter for the `username` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/username)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn username(this: &Url) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "URL" , js_name = username)]
+ #[doc = "Setter for the `username` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/username)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn set_username(this: &Url, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "URL" , js_name = password)]
+ #[doc = "Getter for the `password` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/password)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn password(this: &Url) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "URL" , js_name = password)]
+ #[doc = "Setter for the `password` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/password)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn set_password(this: &Url, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "URL" , js_name = host)]
+ #[doc = "Getter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn host(this: &Url) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "URL" , js_name = host)]
+ #[doc = "Setter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn set_host(this: &Url, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "URL" , js_name = hostname)]
+ #[doc = "Getter for the `hostname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/hostname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn hostname(this: &Url) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "URL" , js_name = hostname)]
+ #[doc = "Setter for the `hostname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/hostname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn set_hostname(this: &Url, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "URL" , js_name = port)]
+ #[doc = "Getter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn port(this: &Url) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "URL" , js_name = port)]
+ #[doc = "Setter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn set_port(this: &Url, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "URL" , js_name = pathname)]
+ #[doc = "Getter for the `pathname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/pathname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn pathname(this: &Url) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "URL" , js_name = pathname)]
+ #[doc = "Setter for the `pathname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/pathname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn set_pathname(this: &Url, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "URL" , js_name = search)]
+ #[doc = "Getter for the `search` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/search)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn search(this: &Url) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "URL" , js_name = search)]
+ #[doc = "Setter for the `search` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/search)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn set_search(this: &Url, value: &str);
+ #[cfg(feature = "UrlSearchParams")]
+ # [wasm_bindgen (structural , method , getter , js_class = "URL" , js_name = searchParams)]
+ #[doc = "Getter for the `searchParams` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/searchParams)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`, `UrlSearchParams`*"]
+ pub fn search_params(this: &Url) -> UrlSearchParams;
+ # [wasm_bindgen (structural , method , getter , js_class = "URL" , js_name = hash)]
+ #[doc = "Getter for the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/hash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn hash(this: &Url) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "URL" , js_name = hash)]
+ #[doc = "Setter for the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/hash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn set_hash(this: &Url, value: &str);
+ #[wasm_bindgen(catch, constructor, js_class = "URL")]
+ #[doc = "The `new Url(..)` constructor, creating a new instance of `Url`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn new(url: &str) -> Result<Url, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "URL")]
+ #[doc = "The `new Url(..)` constructor, creating a new instance of `Url`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn new_with_base(url: &str, base: &str) -> Result<Url, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , static_method_of = Url , js_class = "URL" , js_name = createObjectURL)]
+ #[doc = "The `createObjectURL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `Url`*"]
+ pub fn create_object_url_with_blob(blob: &Blob) -> Result<String, JsValue>;
+ #[cfg(feature = "MediaSource")]
+ # [wasm_bindgen (catch , static_method_of = Url , js_class = "URL" , js_name = createObjectURL)]
+ #[doc = "The `createObjectURL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaSource`, `Url`*"]
+ pub fn create_object_url_with_source(source: &MediaSource) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , static_method_of = Url , js_class = "URL" , js_name = revokeObjectURL)]
+ #[doc = "The `revokeObjectURL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn revoke_object_url(url: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "URL" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Url`*"]
+ pub fn to_json(this: &Url) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_UrlSearchParams.rs b/vendor/web-sys/src/features/gen_UrlSearchParams.rs
new file mode 100644
index 000000000..4c4f1e351
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UrlSearchParams.rs
@@ -0,0 +1,86 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = URLSearchParams , typescript_type = "URLSearchParams")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UrlSearchParams` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`*"]
+ pub type UrlSearchParams;
+ #[wasm_bindgen(catch, constructor, js_class = "URLSearchParams")]
+ #[doc = "The `new UrlSearchParams(..)` constructor, creating a new instance of `UrlSearchParams`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`*"]
+ pub fn new() -> Result<UrlSearchParams, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "URLSearchParams")]
+ #[doc = "The `new UrlSearchParams(..)` constructor, creating a new instance of `UrlSearchParams`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`*"]
+ pub fn new_with_str_sequence_sequence(
+ init: &::wasm_bindgen::JsValue,
+ ) -> Result<UrlSearchParams, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "URLSearchParams")]
+ #[doc = "The `new UrlSearchParams(..)` constructor, creating a new instance of `UrlSearchParams`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`*"]
+ pub fn new_with_str(init: &str) -> Result<UrlSearchParams, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "URLSearchParams" , js_name = append)]
+ #[doc = "The `append()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/append)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`*"]
+ pub fn append(this: &UrlSearchParams, name: &str, value: &str);
+ # [wasm_bindgen (method , structural , js_class = "URLSearchParams" , js_name = delete)]
+ #[doc = "The `delete()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/delete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`*"]
+ pub fn delete(this: &UrlSearchParams, name: &str);
+ # [wasm_bindgen (method , structural , js_class = "URLSearchParams" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`*"]
+ pub fn get(this: &UrlSearchParams, name: &str) -> Option<String>;
+ # [wasm_bindgen (method , structural , js_class = "URLSearchParams" , js_name = getAll)]
+ #[doc = "The `getAll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/getAll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`*"]
+ pub fn get_all(this: &UrlSearchParams, name: &str) -> ::js_sys::Array;
+ # [wasm_bindgen (method , structural , js_class = "URLSearchParams" , js_name = has)]
+ #[doc = "The `has()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/has)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`*"]
+ pub fn has(this: &UrlSearchParams, name: &str) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "URLSearchParams" , js_name = set)]
+ #[doc = "The `set()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/set)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`*"]
+ pub fn set(this: &UrlSearchParams, name: &str, value: &str);
+ # [wasm_bindgen (catch , method , structural , js_class = "URLSearchParams" , js_name = sort)]
+ #[doc = "The `sort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/sort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`*"]
+ pub fn sort(this: &UrlSearchParams) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_Usb.rs b/vendor/web-sys/src/features/gen_Usb.rs
new file mode 100644
index 000000000..3b10babdc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Usb.rs
@@ -0,0 +1,85 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = USB , typescript_type = "USB")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Usb` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USB)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Usb`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type Usb;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USB" , js_name = onconnect)]
+ #[doc = "Getter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USB/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Usb`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onconnect(this: &Usb) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "USB" , js_name = onconnect)]
+ #[doc = "Setter for the `onconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USB/onconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Usb`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onconnect(this: &Usb, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USB" , js_name = ondisconnect)]
+ #[doc = "Getter for the `ondisconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USB/ondisconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Usb`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn ondisconnect(this: &Usb) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "USB" , js_name = ondisconnect)]
+ #[doc = "Setter for the `ondisconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USB/ondisconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Usb`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_ondisconnect(this: &Usb, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USB" , js_name = getDevices)]
+ #[doc = "The `getDevices()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USB/getDevices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Usb`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_devices(this: &Usb) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbDeviceRequestOptions")]
+ # [wasm_bindgen (method , structural , js_class = "USB" , js_name = requestDevice)]
+ #[doc = "The `requestDevice()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USB/requestDevice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Usb`, `UsbDeviceRequestOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_device(this: &Usb, options: &UsbDeviceRequestOptions) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbAlternateInterface.rs b/vendor/web-sys/src/features/gen_UsbAlternateInterface.rs
new file mode 100644
index 000000000..97d7704f1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbAlternateInterface.rs
@@ -0,0 +1,99 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBAlternateInterface , typescript_type = "USBAlternateInterface")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbAlternateInterface` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBAlternateInterface)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbAlternateInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbAlternateInterface;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBAlternateInterface" , js_name = alternateSetting)]
+ #[doc = "Getter for the `alternateSetting` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBAlternateInterface/alternateSetting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbAlternateInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn alternate_setting(this: &UsbAlternateInterface) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBAlternateInterface" , js_name = interfaceClass)]
+ #[doc = "Getter for the `interfaceClass` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBAlternateInterface/interfaceClass)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbAlternateInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn interface_class(this: &UsbAlternateInterface) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBAlternateInterface" , js_name = interfaceSubclass)]
+ #[doc = "Getter for the `interfaceSubclass` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBAlternateInterface/interfaceSubclass)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbAlternateInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn interface_subclass(this: &UsbAlternateInterface) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBAlternateInterface" , js_name = interfaceProtocol)]
+ #[doc = "Getter for the `interfaceProtocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBAlternateInterface/interfaceProtocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbAlternateInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn interface_protocol(this: &UsbAlternateInterface) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBAlternateInterface" , js_name = interfaceName)]
+ #[doc = "Getter for the `interfaceName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBAlternateInterface/interfaceName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbAlternateInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn interface_name(this: &UsbAlternateInterface) -> Option<String>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBAlternateInterface" , js_name = endpoints)]
+ #[doc = "Getter for the `endpoints` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBAlternateInterface/endpoints)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbAlternateInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn endpoints(this: &UsbAlternateInterface) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbInterface")]
+ #[wasm_bindgen(catch, constructor, js_class = "USBAlternateInterface")]
+ #[doc = "The `new UsbAlternateInterface(..)` constructor, creating a new instance of `UsbAlternateInterface`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBAlternateInterface/USBAlternateInterface)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbAlternateInterface`, `UsbInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ device_interface: &UsbInterface,
+ alternate_setting: u8,
+ ) -> Result<UsbAlternateInterface, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbConfiguration.rs b/vendor/web-sys/src/features/gen_UsbConfiguration.rs
new file mode 100644
index 000000000..4f2da9e0b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbConfiguration.rs
@@ -0,0 +1,63 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBConfiguration , typescript_type = "USBConfiguration")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbConfiguration` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBConfiguration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConfiguration`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbConfiguration;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBConfiguration" , js_name = configurationValue)]
+ #[doc = "Getter for the `configurationValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBConfiguration/configurationValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConfiguration`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn configuration_value(this: &UsbConfiguration) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBConfiguration" , js_name = configurationName)]
+ #[doc = "Getter for the `configurationName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBConfiguration/configurationName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConfiguration`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn configuration_name(this: &UsbConfiguration) -> Option<String>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBConfiguration" , js_name = interfaces)]
+ #[doc = "Getter for the `interfaces` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBConfiguration/interfaces)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConfiguration`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn interfaces(this: &UsbConfiguration) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbDevice")]
+ #[wasm_bindgen(catch, constructor, js_class = "USBConfiguration")]
+ #[doc = "The `new UsbConfiguration(..)` constructor, creating a new instance of `UsbConfiguration`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBConfiguration/USBConfiguration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConfiguration`, `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(device: &UsbDevice, configuration_value: u8) -> Result<UsbConfiguration, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbConnectionEvent.rs b/vendor/web-sys/src/features/gen_UsbConnectionEvent.rs
new file mode 100644
index 000000000..0881347ce
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbConnectionEvent.rs
@@ -0,0 +1,45 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = USBConnectionEvent , typescript_type = "USBConnectionEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbConnectionEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBConnectionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConnectionEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbConnectionEvent;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbDevice")]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBConnectionEvent" , js_name = device)]
+ #[doc = "Getter for the `device` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBConnectionEvent/device)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConnectionEvent`, `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device(this: &UsbConnectionEvent) -> UsbDevice;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbConnectionEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "USBConnectionEvent")]
+ #[doc = "The `new UsbConnectionEvent(..)` constructor, creating a new instance of `UsbConnectionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBConnectionEvent/USBConnectionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConnectionEvent`, `UsbConnectionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &UsbConnectionEventInit,
+ ) -> Result<UsbConnectionEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbConnectionEventInit.rs b/vendor/web-sys/src/features/gen_UsbConnectionEventInit.rs
new file mode 100644
index 000000000..d0ed6bf52
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbConnectionEventInit.rs
@@ -0,0 +1,114 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBConnectionEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbConnectionEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConnectionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbConnectionEventInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl UsbConnectionEventInit {
+ #[cfg(feature = "UsbDevice")]
+ #[doc = "Construct a new `UsbConnectionEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConnectionEventInit`, `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(device: &UsbDevice) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.device(device);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConnectionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConnectionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConnectionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbDevice")]
+ #[doc = "Change the `device` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConnectionEventInit`, `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device(&mut self, val: &UsbDevice) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("device"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_UsbControlTransferParameters.rs b/vendor/web-sys/src/features/gen_UsbControlTransferParameters.rs
new file mode 100644
index 000000000..51c820634
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbControlTransferParameters.rs
@@ -0,0 +1,141 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBControlTransferParameters)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbControlTransferParameters` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbControlTransferParameters`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbControlTransferParameters;
+}
+#[cfg(web_sys_unstable_apis)]
+impl UsbControlTransferParameters {
+ #[cfg(all(feature = "UsbRecipient", feature = "UsbRequestType",))]
+ #[doc = "Construct a new `UsbControlTransferParameters`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbControlTransferParameters`, `UsbRecipient`, `UsbRequestType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ index: u16,
+ recipient: UsbRecipient,
+ request: u8,
+ request_type: UsbRequestType,
+ value: u16,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.index(index);
+ ret.recipient(recipient);
+ ret.request(request);
+ ret.request_type(request_type);
+ ret.value(value);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `index` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbControlTransferParameters`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn index(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("index"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbRecipient")]
+ #[doc = "Change the `recipient` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbControlTransferParameters`, `UsbRecipient`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn recipient(&mut self, val: UsbRecipient) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("recipient"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `request` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbControlTransferParameters`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("request"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbRequestType")]
+ #[doc = "Change the `requestType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbControlTransferParameters`, `UsbRequestType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_type(&mut self, val: UsbRequestType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("requestType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbControlTransferParameters`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn value(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_UsbDevice.rs b/vendor/web-sys/src/features/gen_UsbDevice.rs
new file mode 100644
index 000000000..67806114d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbDevice.rs
@@ -0,0 +1,454 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBDevice , typescript_type = "USBDevice")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbDevice` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbDevice;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = usbVersionMajor)]
+ #[doc = "Getter for the `usbVersionMajor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionMajor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usb_version_major(this: &UsbDevice) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = usbVersionMinor)]
+ #[doc = "Getter for the `usbVersionMinor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionMinor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usb_version_minor(this: &UsbDevice) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = usbVersionSubminor)]
+ #[doc = "Getter for the `usbVersionSubminor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionSubminor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usb_version_subminor(this: &UsbDevice) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = deviceClass)]
+ #[doc = "Getter for the `deviceClass` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceClass)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device_class(this: &UsbDevice) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = deviceSubclass)]
+ #[doc = "Getter for the `deviceSubclass` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceSubclass)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device_subclass(this: &UsbDevice) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = deviceProtocol)]
+ #[doc = "Getter for the `deviceProtocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceProtocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device_protocol(this: &UsbDevice) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = vendorId)]
+ #[doc = "Getter for the `vendorId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/vendorId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn vendor_id(this: &UsbDevice) -> u16;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = productId)]
+ #[doc = "Getter for the `productId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/productId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn product_id(this: &UsbDevice) -> u16;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = deviceVersionMajor)]
+ #[doc = "Getter for the `deviceVersionMajor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionMajor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device_version_major(this: &UsbDevice) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = deviceVersionMinor)]
+ #[doc = "Getter for the `deviceVersionMinor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionMinor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device_version_minor(this: &UsbDevice) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = deviceVersionSubminor)]
+ #[doc = "Getter for the `deviceVersionSubminor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionSubminor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn device_version_subminor(this: &UsbDevice) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = manufacturerName)]
+ #[doc = "Getter for the `manufacturerName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/manufacturerName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn manufacturer_name(this: &UsbDevice) -> Option<String>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = productName)]
+ #[doc = "Getter for the `productName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/productName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn product_name(this: &UsbDevice) -> Option<String>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = serialNumber)]
+ #[doc = "Getter for the `serialNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/serialNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn serial_number(this: &UsbDevice) -> Option<String>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbConfiguration")]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = configuration)]
+ #[doc = "Getter for the `configuration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configuration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConfiguration`, `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn configuration(this: &UsbDevice) -> Option<UsbConfiguration>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = configurations)]
+ #[doc = "Getter for the `configurations` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configurations)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn configurations(this: &UsbDevice) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBDevice" , js_name = opened)]
+ #[doc = "Getter for the `opened` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/opened)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn opened(this: &UsbDevice) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = claimInterface)]
+ #[doc = "The `claimInterface()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/claimInterface)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn claim_interface(this: &UsbDevice, interface_number: u8) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbDirection")]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = clearHalt)]
+ #[doc = "The `clearHalt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/clearHalt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`, `UsbDirection`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clear_halt(
+ this: &UsbDevice,
+ direction: UsbDirection,
+ endpoint_number: u8,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn close(this: &UsbDevice) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbControlTransferParameters")]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = controlTransferIn)]
+ #[doc = "The `controlTransferIn()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/controlTransferIn)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbControlTransferParameters`, `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn control_transfer_in(
+ this: &UsbDevice,
+ setup: &UsbControlTransferParameters,
+ length: u16,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbControlTransferParameters")]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = controlTransferOut)]
+ #[doc = "The `controlTransferOut()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/controlTransferOut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbControlTransferParameters`, `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn control_transfer_out(
+ this: &UsbDevice,
+ setup: &UsbControlTransferParameters,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbControlTransferParameters")]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = controlTransferOut)]
+ #[doc = "The `controlTransferOut()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/controlTransferOut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbControlTransferParameters`, `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn control_transfer_out_with_buffer_source(
+ this: &UsbDevice,
+ setup: &UsbControlTransferParameters,
+ data: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbControlTransferParameters")]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = controlTransferOut)]
+ #[doc = "The `controlTransferOut()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/controlTransferOut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbControlTransferParameters`, `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn control_transfer_out_with_u8_array(
+ this: &UsbDevice,
+ setup: &UsbControlTransferParameters,
+ data: &mut [u8],
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = isochronousTransferIn)]
+ #[doc = "The `isochronousTransferIn()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/isochronousTransferIn)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn isochronous_transfer_in(
+ this: &UsbDevice,
+ endpoint_number: u8,
+ packet_lengths: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = isochronousTransferOut)]
+ #[doc = "The `isochronousTransferOut()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/isochronousTransferOut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn isochronous_transfer_out_with_buffer_source(
+ this: &UsbDevice,
+ endpoint_number: u8,
+ data: &::js_sys::Object,
+ packet_lengths: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = isochronousTransferOut)]
+ #[doc = "The `isochronousTransferOut()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/isochronousTransferOut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn isochronous_transfer_out_with_u8_array(
+ this: &UsbDevice,
+ endpoint_number: u8,
+ data: &mut [u8],
+ packet_lengths: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn open(this: &UsbDevice) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = releaseInterface)]
+ #[doc = "The `releaseInterface()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/releaseInterface)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn release_interface(this: &UsbDevice, interface_number: u8) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = reset)]
+ #[doc = "The `reset()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/reset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn reset(this: &UsbDevice) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = selectAlternateInterface)]
+ #[doc = "The `selectAlternateInterface()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/selectAlternateInterface)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn select_alternate_interface(
+ this: &UsbDevice,
+ interface_number: u8,
+ alternate_setting: u8,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = selectConfiguration)]
+ #[doc = "The `selectConfiguration()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/selectConfiguration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn select_configuration(this: &UsbDevice, configuration_value: u8) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = transferIn)]
+ #[doc = "The `transferIn()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/transferIn)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn transfer_in(this: &UsbDevice, endpoint_number: u8, length: u32) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = transferOut)]
+ #[doc = "The `transferOut()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/transferOut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn transfer_out_with_buffer_source(
+ this: &UsbDevice,
+ endpoint_number: u8,
+ data: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "USBDevice" , js_name = transferOut)]
+ #[doc = "The `transferOut()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/transferOut)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDevice`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn transfer_out_with_u8_array(
+ this: &UsbDevice,
+ endpoint_number: u8,
+ data: &mut [u8],
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbDeviceFilter.rs b/vendor/web-sys/src/features/gen_UsbDeviceFilter.rs
new file mode 100644
index 000000000..132b25637
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbDeviceFilter.rs
@@ -0,0 +1,162 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBDeviceFilter)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbDeviceFilter` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbDeviceFilter;
+}
+#[cfg(web_sys_unstable_apis)]
+impl UsbDeviceFilter {
+ #[doc = "Construct a new `UsbDeviceFilter`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `classCode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn class_code(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("classCode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `productId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn product_id(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("productId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `protocolCode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn protocol_code(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("protocolCode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `serialNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn serial_number(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("serialNumber"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `subclassCode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn subclass_code(&mut self, val: u8) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("subclassCode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `vendorId` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDeviceFilter`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn vendor_id(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("vendorId"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for UsbDeviceFilter {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_UsbDeviceRequestOptions.rs b/vendor/web-sys/src/features/gen_UsbDeviceRequestOptions.rs
new file mode 100644
index 000000000..10f3f70e4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbDeviceRequestOptions.rs
@@ -0,0 +1,52 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBDeviceRequestOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbDeviceRequestOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDeviceRequestOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbDeviceRequestOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl UsbDeviceRequestOptions {
+ #[doc = "Construct a new `UsbDeviceRequestOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDeviceRequestOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(filters: &::wasm_bindgen::JsValue) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.filters(filters);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `filters` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDeviceRequestOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn filters(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("filters"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_UsbDirection.rs b/vendor/web-sys/src/features/gen_UsbDirection.rs
new file mode 100644
index 000000000..93583f258
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbDirection.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `UsbDirection` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `UsbDirection`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum UsbDirection {
+ In = "in",
+ Out = "out",
+}
diff --git a/vendor/web-sys/src/features/gen_UsbEndpoint.rs b/vendor/web-sys/src/features/gen_UsbEndpoint.rs
new file mode 100644
index 000000000..6a829de5d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbEndpoint.rs
@@ -0,0 +1,80 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBEndpoint , typescript_type = "USBEndpoint")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbEndpoint` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBEndpoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbEndpoint`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbEndpoint;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBEndpoint" , js_name = endpointNumber)]
+ #[doc = "Getter for the `endpointNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBEndpoint/endpointNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbEndpoint`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn endpoint_number(this: &UsbEndpoint) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbDirection")]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBEndpoint" , js_name = direction)]
+ #[doc = "Getter for the `direction` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBEndpoint/direction)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbDirection`, `UsbEndpoint`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn direction(this: &UsbEndpoint) -> UsbDirection;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbEndpointType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBEndpoint" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBEndpoint/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbEndpoint`, `UsbEndpointType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(this: &UsbEndpoint) -> UsbEndpointType;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBEndpoint" , js_name = packetSize)]
+ #[doc = "Getter for the `packetSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBEndpoint/packetSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbEndpoint`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn packet_size(this: &UsbEndpoint) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "UsbAlternateInterface", feature = "UsbDirection",))]
+ #[wasm_bindgen(catch, constructor, js_class = "USBEndpoint")]
+ #[doc = "The `new UsbEndpoint(..)` constructor, creating a new instance of `UsbEndpoint`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBEndpoint/USBEndpoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbAlternateInterface`, `UsbDirection`, `UsbEndpoint`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ alternate: &UsbAlternateInterface,
+ endpoint_number: u8,
+ direction: UsbDirection,
+ ) -> Result<UsbEndpoint, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbEndpointType.rs b/vendor/web-sys/src/features/gen_UsbEndpointType.rs
new file mode 100644
index 000000000..26c5fa8bc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbEndpointType.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `UsbEndpointType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `UsbEndpointType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum UsbEndpointType {
+ Bulk = "bulk",
+ Interrupt = "interrupt",
+ Isochronous = "isochronous",
+}
diff --git a/vendor/web-sys/src/features/gen_UsbInTransferResult.rs b/vendor/web-sys/src/features/gen_UsbInTransferResult.rs
new file mode 100644
index 000000000..4640a25da
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbInTransferResult.rs
@@ -0,0 +1,68 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBInTransferResult , typescript_type = "USBInTransferResult")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbInTransferResult` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBInTransferResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbInTransferResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbInTransferResult;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBInTransferResult" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBInTransferResult/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbInTransferResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data(this: &UsbInTransferResult) -> Option<::js_sys::DataView>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbTransferStatus")]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBInTransferResult" , js_name = status)]
+ #[doc = "Getter for the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBInTransferResult/status)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbInTransferResult`, `UsbTransferStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn status(this: &UsbInTransferResult) -> UsbTransferStatus;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbTransferStatus")]
+ #[wasm_bindgen(catch, constructor, js_class = "USBInTransferResult")]
+ #[doc = "The `new UsbInTransferResult(..)` constructor, creating a new instance of `UsbInTransferResult`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBInTransferResult/USBInTransferResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbInTransferResult`, `UsbTransferStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(status: UsbTransferStatus) -> Result<UsbInTransferResult, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbTransferStatus")]
+ #[wasm_bindgen(catch, constructor, js_class = "USBInTransferResult")]
+ #[doc = "The `new UsbInTransferResult(..)` constructor, creating a new instance of `UsbInTransferResult`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBInTransferResult/USBInTransferResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbInTransferResult`, `UsbTransferStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_data(
+ status: UsbTransferStatus,
+ data: Option<&::js_sys::DataView>,
+ ) -> Result<UsbInTransferResult, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbInterface.rs b/vendor/web-sys/src/features/gen_UsbInterface.rs
new file mode 100644
index 000000000..3eab4137b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbInterface.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBInterface , typescript_type = "USBInterface")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbInterface` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBInterface)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbInterface;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBInterface" , js_name = interfaceNumber)]
+ #[doc = "Getter for the `interfaceNumber` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBInterface/interfaceNumber)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn interface_number(this: &UsbInterface) -> u8;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbAlternateInterface")]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBInterface" , js_name = alternate)]
+ #[doc = "Getter for the `alternate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBInterface/alternate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbAlternateInterface`, `UsbInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn alternate(this: &UsbInterface) -> UsbAlternateInterface;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBInterface" , js_name = alternates)]
+ #[doc = "Getter for the `alternates` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBInterface/alternates)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn alternates(this: &UsbInterface) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBInterface" , js_name = claimed)]
+ #[doc = "Getter for the `claimed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBInterface/claimed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn claimed(this: &UsbInterface) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbConfiguration")]
+ #[wasm_bindgen(catch, constructor, js_class = "USBInterface")]
+ #[doc = "The `new UsbInterface(..)` constructor, creating a new instance of `UsbInterface`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBInterface/USBInterface)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbConfiguration`, `UsbInterface`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ configuration: &UsbConfiguration,
+ interface_number: u8,
+ ) -> Result<UsbInterface, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbIsochronousInTransferPacket.rs b/vendor/web-sys/src/features/gen_UsbIsochronousInTransferPacket.rs
new file mode 100644
index 000000000..c169ad7ec
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbIsochronousInTransferPacket.rs
@@ -0,0 +1,68 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBIsochronousInTransferPacket , typescript_type = "USBIsochronousInTransferPacket")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbIsochronousInTransferPacket` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousInTransferPacket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousInTransferPacket`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbIsochronousInTransferPacket;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBIsochronousInTransferPacket" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousInTransferPacket/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousInTransferPacket`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data(this: &UsbIsochronousInTransferPacket) -> Option<::js_sys::DataView>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbTransferStatus")]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBIsochronousInTransferPacket" , js_name = status)]
+ #[doc = "Getter for the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousInTransferPacket/status)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousInTransferPacket`, `UsbTransferStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn status(this: &UsbIsochronousInTransferPacket) -> UsbTransferStatus;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbTransferStatus")]
+ #[wasm_bindgen(catch, constructor, js_class = "USBIsochronousInTransferPacket")]
+ #[doc = "The `new UsbIsochronousInTransferPacket(..)` constructor, creating a new instance of `UsbIsochronousInTransferPacket`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousInTransferPacket/USBIsochronousInTransferPacket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousInTransferPacket`, `UsbTransferStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(status: UsbTransferStatus) -> Result<UsbIsochronousInTransferPacket, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbTransferStatus")]
+ #[wasm_bindgen(catch, constructor, js_class = "USBIsochronousInTransferPacket")]
+ #[doc = "The `new UsbIsochronousInTransferPacket(..)` constructor, creating a new instance of `UsbIsochronousInTransferPacket`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousInTransferPacket/USBIsochronousInTransferPacket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousInTransferPacket`, `UsbTransferStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_data(
+ status: UsbTransferStatus,
+ data: Option<&::js_sys::DataView>,
+ ) -> Result<UsbIsochronousInTransferPacket, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbIsochronousInTransferResult.rs b/vendor/web-sys/src/features/gen_UsbIsochronousInTransferResult.rs
new file mode 100644
index 000000000..6330d44ac
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbIsochronousInTransferResult.rs
@@ -0,0 +1,67 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBIsochronousInTransferResult , typescript_type = "USBIsochronousInTransferResult")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbIsochronousInTransferResult` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousInTransferResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousInTransferResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbIsochronousInTransferResult;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBIsochronousInTransferResult" , js_name = data)]
+ #[doc = "Getter for the `data` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousInTransferResult/data)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousInTransferResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn data(this: &UsbIsochronousInTransferResult) -> Option<::js_sys::DataView>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBIsochronousInTransferResult" , js_name = packets)]
+ #[doc = "Getter for the `packets` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousInTransferResult/packets)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousInTransferResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn packets(this: &UsbIsochronousInTransferResult) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "USBIsochronousInTransferResult")]
+ #[doc = "The `new UsbIsochronousInTransferResult(..)` constructor, creating a new instance of `UsbIsochronousInTransferResult`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousInTransferResult/USBIsochronousInTransferResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousInTransferResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ packets: &::wasm_bindgen::JsValue,
+ ) -> Result<UsbIsochronousInTransferResult, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "USBIsochronousInTransferResult")]
+ #[doc = "The `new UsbIsochronousInTransferResult(..)` constructor, creating a new instance of `UsbIsochronousInTransferResult`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousInTransferResult/USBIsochronousInTransferResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousInTransferResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_data(
+ packets: &::wasm_bindgen::JsValue,
+ data: Option<&::js_sys::DataView>,
+ ) -> Result<UsbIsochronousInTransferResult, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferPacket.rs b/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferPacket.rs
new file mode 100644
index 000000000..74a87c54b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferPacket.rs
@@ -0,0 +1,68 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBIsochronousOutTransferPacket , typescript_type = "USBIsochronousOutTransferPacket")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbIsochronousOutTransferPacket` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousOutTransferPacket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousOutTransferPacket`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbIsochronousOutTransferPacket;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBIsochronousOutTransferPacket" , js_name = bytesWritten)]
+ #[doc = "Getter for the `bytesWritten` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousOutTransferPacket/bytesWritten)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousOutTransferPacket`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bytes_written(this: &UsbIsochronousOutTransferPacket) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbTransferStatus")]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBIsochronousOutTransferPacket" , js_name = status)]
+ #[doc = "Getter for the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousOutTransferPacket/status)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousOutTransferPacket`, `UsbTransferStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn status(this: &UsbIsochronousOutTransferPacket) -> UsbTransferStatus;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbTransferStatus")]
+ #[wasm_bindgen(catch, constructor, js_class = "USBIsochronousOutTransferPacket")]
+ #[doc = "The `new UsbIsochronousOutTransferPacket(..)` constructor, creating a new instance of `UsbIsochronousOutTransferPacket`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousOutTransferPacket/USBIsochronousOutTransferPacket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousOutTransferPacket`, `UsbTransferStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(status: UsbTransferStatus) -> Result<UsbIsochronousOutTransferPacket, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbTransferStatus")]
+ #[wasm_bindgen(catch, constructor, js_class = "USBIsochronousOutTransferPacket")]
+ #[doc = "The `new UsbIsochronousOutTransferPacket(..)` constructor, creating a new instance of `UsbIsochronousOutTransferPacket`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousOutTransferPacket/USBIsochronousOutTransferPacket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousOutTransferPacket`, `UsbTransferStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_bytes_written(
+ status: UsbTransferStatus,
+ bytes_written: u32,
+ ) -> Result<UsbIsochronousOutTransferPacket, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferResult.rs b/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferResult.rs
new file mode 100644
index 000000000..5d1c7abf7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferResult.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBIsochronousOutTransferResult , typescript_type = "USBIsochronousOutTransferResult")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbIsochronousOutTransferResult` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousOutTransferResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousOutTransferResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbIsochronousOutTransferResult;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBIsochronousOutTransferResult" , js_name = packets)]
+ #[doc = "Getter for the `packets` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousOutTransferResult/packets)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousOutTransferResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn packets(this: &UsbIsochronousOutTransferResult) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "USBIsochronousOutTransferResult")]
+ #[doc = "The `new UsbIsochronousOutTransferResult(..)` constructor, creating a new instance of `UsbIsochronousOutTransferResult`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBIsochronousOutTransferResult/USBIsochronousOutTransferResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbIsochronousOutTransferResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ packets: &::wasm_bindgen::JsValue,
+ ) -> Result<UsbIsochronousOutTransferResult, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbOutTransferResult.rs b/vendor/web-sys/src/features/gen_UsbOutTransferResult.rs
new file mode 100644
index 000000000..3f9fbc68a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbOutTransferResult.rs
@@ -0,0 +1,68 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBOutTransferResult , typescript_type = "USBOutTransferResult")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbOutTransferResult` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBOutTransferResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbOutTransferResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbOutTransferResult;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBOutTransferResult" , js_name = bytesWritten)]
+ #[doc = "Getter for the `bytesWritten` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBOutTransferResult/bytesWritten)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbOutTransferResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bytes_written(this: &UsbOutTransferResult) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbTransferStatus")]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBOutTransferResult" , js_name = status)]
+ #[doc = "Getter for the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBOutTransferResult/status)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbOutTransferResult`, `UsbTransferStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn status(this: &UsbOutTransferResult) -> UsbTransferStatus;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbTransferStatus")]
+ #[wasm_bindgen(catch, constructor, js_class = "USBOutTransferResult")]
+ #[doc = "The `new UsbOutTransferResult(..)` constructor, creating a new instance of `UsbOutTransferResult`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBOutTransferResult/USBOutTransferResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbOutTransferResult`, `UsbTransferStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(status: UsbTransferStatus) -> Result<UsbOutTransferResult, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "UsbTransferStatus")]
+ #[wasm_bindgen(catch, constructor, js_class = "USBOutTransferResult")]
+ #[doc = "The `new UsbOutTransferResult(..)` constructor, creating a new instance of `UsbOutTransferResult`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBOutTransferResult/USBOutTransferResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbOutTransferResult`, `UsbTransferStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_bytes_written(
+ status: UsbTransferStatus,
+ bytes_written: u32,
+ ) -> Result<UsbOutTransferResult, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_UsbPermissionDescriptor.rs b/vendor/web-sys/src/features/gen_UsbPermissionDescriptor.rs
new file mode 100644
index 000000000..1d2341838
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbPermissionDescriptor.rs
@@ -0,0 +1,71 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBPermissionDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbPermissionDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbPermissionDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl UsbPermissionDescriptor {
+ #[cfg(feature = "PermissionName")]
+ #[doc = "Construct a new `UsbPermissionDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionName`, `UsbPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(name: PermissionName) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "PermissionName")]
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionName`, `UsbPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn name(&mut self, val: PermissionName) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `filters` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn filters(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("filters"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_UsbPermissionResult.rs b/vendor/web-sys/src/features/gen_UsbPermissionResult.rs
new file mode 100644
index 000000000..2dc7d854b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbPermissionResult.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = PermissionStatus , extends = EventTarget , extends = :: js_sys :: Object , js_name = USBPermissionResult , typescript_type = "USBPermissionResult")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbPermissionResult` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBPermissionResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbPermissionResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbPermissionResult;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "USBPermissionResult" , js_name = devices)]
+ #[doc = "Getter for the `devices` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBPermissionResult/devices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbPermissionResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn devices(this: &UsbPermissionResult) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "USBPermissionResult" , js_name = devices)]
+ #[doc = "Setter for the `devices` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/USBPermissionResult/devices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbPermissionResult`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_devices(this: &UsbPermissionResult, value: &::wasm_bindgen::JsValue);
+}
diff --git a/vendor/web-sys/src/features/gen_UsbPermissionStorage.rs b/vendor/web-sys/src/features/gen_UsbPermissionStorage.rs
new file mode 100644
index 000000000..75b8350e7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbPermissionStorage.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = USBPermissionStorage)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UsbPermissionStorage` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbPermissionStorage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type UsbPermissionStorage;
+}
+#[cfg(web_sys_unstable_apis)]
+impl UsbPermissionStorage {
+ #[doc = "Construct a new `UsbPermissionStorage`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbPermissionStorage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `allowedDevices` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UsbPermissionStorage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn allowed_devices(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("allowedDevices"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for UsbPermissionStorage {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_UsbRecipient.rs b/vendor/web-sys/src/features/gen_UsbRecipient.rs
new file mode 100644
index 000000000..413c2f04d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbRecipient.rs
@@ -0,0 +1,17 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `UsbRecipient` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `UsbRecipient`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum UsbRecipient {
+ Device = "device",
+ Interface = "interface",
+ Endpoint = "endpoint",
+ Other = "other",
+}
diff --git a/vendor/web-sys/src/features/gen_UsbRequestType.rs b/vendor/web-sys/src/features/gen_UsbRequestType.rs
new file mode 100644
index 000000000..a3984a599
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbRequestType.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `UsbRequestType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `UsbRequestType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum UsbRequestType {
+ Standard = "standard",
+ Class = "class",
+ Vendor = "vendor",
+}
diff --git a/vendor/web-sys/src/features/gen_UsbTransferStatus.rs b/vendor/web-sys/src/features/gen_UsbTransferStatus.rs
new file mode 100644
index 000000000..2f80dee84
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UsbTransferStatus.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `UsbTransferStatus` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `UsbTransferStatus`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum UsbTransferStatus {
+ Ok = "ok",
+ Stall = "stall",
+ Babble = "babble",
+}
diff --git a/vendor/web-sys/src/features/gen_UserProximityEvent.rs b/vendor/web-sys/src/features/gen_UserProximityEvent.rs
new file mode 100644
index 000000000..5b9492476
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UserProximityEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = UserProximityEvent , typescript_type = "UserProximityEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UserProximityEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UserProximityEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UserProximityEvent`*"]
+ pub type UserProximityEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "UserProximityEvent" , js_name = near)]
+ #[doc = "Getter for the `near` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UserProximityEvent/near)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UserProximityEvent`*"]
+ pub fn near(this: &UserProximityEvent) -> bool;
+ #[wasm_bindgen(catch, constructor, js_class = "UserProximityEvent")]
+ #[doc = "The `new UserProximityEvent(..)` constructor, creating a new instance of `UserProximityEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UserProximityEvent/UserProximityEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UserProximityEvent`*"]
+ pub fn new(type_: &str) -> Result<UserProximityEvent, JsValue>;
+ #[cfg(feature = "UserProximityEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "UserProximityEvent")]
+ #[doc = "The `new UserProximityEvent(..)` constructor, creating a new instance of `UserProximityEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UserProximityEvent/UserProximityEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UserProximityEvent`, `UserProximityEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &UserProximityEventInit,
+ ) -> Result<UserProximityEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_UserProximityEventInit.rs b/vendor/web-sys/src/features/gen_UserProximityEventInit.rs
new file mode 100644
index 000000000..63c45c228
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UserProximityEventInit.rs
@@ -0,0 +1,91 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = UserProximityEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `UserProximityEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UserProximityEventInit`*"]
+ pub type UserProximityEventInit;
+}
+impl UserProximityEventInit {
+ #[doc = "Construct a new `UserProximityEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UserProximityEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UserProximityEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UserProximityEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UserProximityEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `near` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UserProximityEventInit`*"]
+ pub fn near(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("near"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for UserProximityEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_UserVerificationRequirement.rs b/vendor/web-sys/src/features/gen_UserVerificationRequirement.rs
new file mode 100644
index 000000000..f683e9554
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_UserVerificationRequirement.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `UserVerificationRequirement` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `UserVerificationRequirement`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum UserVerificationRequirement {
+ Required = "required",
+ Preferred = "preferred",
+ Discouraged = "discouraged",
+}
diff --git a/vendor/web-sys/src/features/gen_ValidityState.rs b/vendor/web-sys/src/features/gen_ValidityState.rs
new file mode 100644
index 000000000..4550a3de4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ValidityState.rs
@@ -0,0 +1,91 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ValidityState , typescript_type = "ValidityState")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ValidityState` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
+ pub type ValidityState;
+ # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = valueMissing)]
+ #[doc = "Getter for the `valueMissing` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/valueMissing)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
+ pub fn value_missing(this: &ValidityState) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = typeMismatch)]
+ #[doc = "Getter for the `typeMismatch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/typeMismatch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
+ pub fn type_mismatch(this: &ValidityState) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = patternMismatch)]
+ #[doc = "Getter for the `patternMismatch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/patternMismatch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
+ pub fn pattern_mismatch(this: &ValidityState) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = tooLong)]
+ #[doc = "Getter for the `tooLong` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooLong)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
+ pub fn too_long(this: &ValidityState) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = tooShort)]
+ #[doc = "Getter for the `tooShort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooShort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
+ pub fn too_short(this: &ValidityState) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = rangeUnderflow)]
+ #[doc = "Getter for the `rangeUnderflow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/rangeUnderflow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
+ pub fn range_underflow(this: &ValidityState) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = rangeOverflow)]
+ #[doc = "Getter for the `rangeOverflow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/rangeOverflow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
+ pub fn range_overflow(this: &ValidityState) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = stepMismatch)]
+ #[doc = "Getter for the `stepMismatch` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/stepMismatch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
+ pub fn step_mismatch(this: &ValidityState) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = badInput)]
+ #[doc = "Getter for the `badInput` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/badInput)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
+ pub fn bad_input(this: &ValidityState) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = customError)]
+ #[doc = "Getter for the `customError` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/customError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
+ pub fn custom_error(this: &ValidityState) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = valid)]
+ #[doc = "Getter for the `valid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/valid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
+ pub fn valid(this: &ValidityState) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_ValueEvent.rs b/vendor/web-sys/src/features/gen_ValueEvent.rs
new file mode 100644
index 000000000..dad166121
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ValueEvent.rs
@@ -0,0 +1,55 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = ValueEvent , typescript_type = "ValueEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ValueEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValueEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValueEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ValueEvent;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "ValueEvent" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValueEvent/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValueEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn value(this: &ValueEvent) -> ::wasm_bindgen::JsValue;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "ValueEvent")]
+ #[doc = "The `new ValueEvent(..)` constructor, creating a new instance of `ValueEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValueEvent/ValueEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValueEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(type_: &str) -> Result<ValueEvent, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ValueEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "ValueEvent")]
+ #[doc = "The `new ValueEvent(..)` constructor, creating a new instance of `ValueEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValueEvent/ValueEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValueEvent`, `ValueEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_init_dict(
+ type_: &str,
+ init_dict: &ValueEventInit,
+ ) -> Result<ValueEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_ValueEventInit.rs b/vendor/web-sys/src/features/gen_ValueEventInit.rs
new file mode 100644
index 000000000..7e6980e59
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ValueEventInit.rs
@@ -0,0 +1,116 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ValueEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ValueEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValueEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type ValueEventInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl ValueEventInit {
+ #[doc = "Construct a new `ValueEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValueEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValueEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValueEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValueEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ValueEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn value(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for ValueEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoColorPrimaries.rs b/vendor/web-sys/src/features/gen_VideoColorPrimaries.rs
new file mode 100644
index 000000000..944e60128
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoColorPrimaries.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `VideoColorPrimaries` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `VideoColorPrimaries`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum VideoColorPrimaries {
+ Bt709 = "bt709",
+ Bt470bg = "bt470bg",
+ Smpte170m = "smpte170m",
+}
diff --git a/vendor/web-sys/src/features/gen_VideoColorSpace.rs b/vendor/web-sys/src/features/gen_VideoColorSpace.rs
new file mode 100644
index 000000000..11287ec9b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoColorSpace.rs
@@ -0,0 +1,100 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoColorSpace , typescript_type = "VideoColorSpace")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoColorSpace` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoColorSpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoColorSpace;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoColorPrimaries")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoColorSpace" , js_name = primaries)]
+ #[doc = "Getter for the `primaries` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoColorSpace/primaries)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorPrimaries`, `VideoColorSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn primaries(this: &VideoColorSpace) -> Option<VideoColorPrimaries>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoTransferCharacteristics")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoColorSpace" , js_name = transfer)]
+ #[doc = "Getter for the `transfer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoColorSpace/transfer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpace`, `VideoTransferCharacteristics`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn transfer(this: &VideoColorSpace) -> Option<VideoTransferCharacteristics>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoMatrixCoefficients")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoColorSpace" , js_name = matrix)]
+ #[doc = "Getter for the `matrix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoColorSpace/matrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpace`, `VideoMatrixCoefficients`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn matrix(this: &VideoColorSpace) -> Option<VideoMatrixCoefficients>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoColorSpace" , js_name = fullRange)]
+ #[doc = "Getter for the `fullRange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoColorSpace/fullRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn full_range(this: &VideoColorSpace) -> Option<bool>;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoColorSpace")]
+ #[doc = "The `new VideoColorSpace(..)` constructor, creating a new instance of `VideoColorSpace`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoColorSpace/VideoColorSpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Result<VideoColorSpace, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoColorSpaceInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoColorSpace")]
+ #[doc = "The `new VideoColorSpace(..)` constructor, creating a new instance of `VideoColorSpace`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoColorSpace/VideoColorSpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpace`, `VideoColorSpaceInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_init(init: &VideoColorSpaceInit) -> Result<VideoColorSpace, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoColorSpaceInit")]
+ # [wasm_bindgen (method , structural , js_class = "VideoColorSpace" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoColorSpace/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpace`, `VideoColorSpaceInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn to_json(this: &VideoColorSpace) -> VideoColorSpaceInit;
+}
diff --git a/vendor/web-sys/src/features/gen_VideoColorSpaceInit.rs b/vendor/web-sys/src/features/gen_VideoColorSpaceInit.rs
new file mode 100644
index 000000000..2343649f9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoColorSpaceInit.rs
@@ -0,0 +1,120 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoColorSpaceInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoColorSpaceInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpaceInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoColorSpaceInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl VideoColorSpaceInit {
+ #[doc = "Construct a new `VideoColorSpaceInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpaceInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `fullRange` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpaceInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn full_range(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("fullRange"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoMatrixCoefficients")]
+ #[doc = "Change the `matrix` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpaceInit`, `VideoMatrixCoefficients`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn matrix(&mut self, val: VideoMatrixCoefficients) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("matrix"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoColorPrimaries")]
+ #[doc = "Change the `primaries` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorPrimaries`, `VideoColorSpaceInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn primaries(&mut self, val: VideoColorPrimaries) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("primaries"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoTransferCharacteristics")]
+ #[doc = "Change the `transfer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpaceInit`, `VideoTransferCharacteristics`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn transfer(&mut self, val: VideoTransferCharacteristics) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transfer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for VideoColorSpaceInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoConfiguration.rs b/vendor/web-sys/src/features/gen_VideoConfiguration.rs
new file mode 100644
index 000000000..a69d0039a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoConfiguration.rs
@@ -0,0 +1,105 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoConfiguration)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoConfiguration` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoConfiguration`*"]
+ pub type VideoConfiguration;
+}
+impl VideoConfiguration {
+ #[doc = "Construct a new `VideoConfiguration`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoConfiguration`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bitrate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoConfiguration`*"]
+ pub fn bitrate(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bitrate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `contentType` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoConfiguration`*"]
+ pub fn content_type(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("contentType"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `framerate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoConfiguration`*"]
+ pub fn framerate(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framerate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoConfiguration`*"]
+ pub fn height(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("height"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoConfiguration`*"]
+ pub fn width(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("width"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for VideoConfiguration {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoDecoder.rs b/vendor/web-sys/src/features/gen_VideoDecoder.rs
new file mode 100644
index 000000000..591aad1b9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoDecoder.rs
@@ -0,0 +1,122 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoDecoder , typescript_type = "VideoDecoder")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoDecoder` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoDecoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoDecoder;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "CodecState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoDecoder" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoDecoder/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CodecState`, `VideoDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn state(this: &VideoDecoder) -> CodecState;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoDecoder" , js_name = decodeQueueSize)]
+ #[doc = "Getter for the `decodeQueueSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoDecoder/decodeQueueSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn decode_queue_size(this: &VideoDecoder) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoDecoderInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoDecoder")]
+ #[doc = "The `new VideoDecoder(..)` constructor, creating a new instance of `VideoDecoder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoDecoder/VideoDecoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoder`, `VideoDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(init: &VideoDecoderInit) -> Result<VideoDecoder, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "VideoDecoder" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoDecoder/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn close(this: &VideoDecoder);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoDecoderConfig")]
+ # [wasm_bindgen (method , structural , js_class = "VideoDecoder" , js_name = configure)]
+ #[doc = "The `configure()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoDecoder/configure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoder`, `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn configure(this: &VideoDecoder, config: &VideoDecoderConfig);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "EncodedVideoChunk")]
+ # [wasm_bindgen (method , structural , js_class = "VideoDecoder" , js_name = decode)]
+ #[doc = "The `decode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoDecoder/decode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EncodedVideoChunk`, `VideoDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn decode(this: &VideoDecoder, chunk: &EncodedVideoChunk);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "VideoDecoder" , js_name = flush)]
+ #[doc = "The `flush()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoDecoder/flush)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn flush(this: &VideoDecoder) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoDecoderConfig")]
+ # [wasm_bindgen (static_method_of = VideoDecoder , js_class = "VideoDecoder" , js_name = isConfigSupported)]
+ #[doc = "The `isConfigSupported()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoDecoder/isConfigSupported)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoder`, `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_config_supported(config: &VideoDecoderConfig) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "VideoDecoder" , js_name = reset)]
+ #[doc = "The `reset()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoDecoder/reset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn reset(this: &VideoDecoder);
+}
diff --git a/vendor/web-sys/src/features/gen_VideoDecoderConfig.rs b/vendor/web-sys/src/features/gen_VideoDecoderConfig.rs
new file mode 100644
index 000000000..073b8b4a6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoDecoderConfig.rs
@@ -0,0 +1,218 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoDecoderConfig)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoDecoderConfig` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoDecoderConfig;
+}
+#[cfg(web_sys_unstable_apis)]
+impl VideoDecoderConfig {
+ #[doc = "Construct a new `VideoDecoderConfig`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(codec: &str) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.codec(codec);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `codec` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn codec(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("codec"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `codedHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn coded_height(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("codedHeight"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `codedWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn coded_width(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("codedWidth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoColorSpaceInit")]
+ #[doc = "Change the `colorSpace` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpaceInit`, `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn color_space(&mut self, val: &VideoColorSpaceInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("colorSpace"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `description` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn description(&mut self, val: &::js_sys::Object) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("description"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `displayAspectHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn display_aspect_height(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("displayAspectHeight"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `displayAspectWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn display_aspect_width(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("displayAspectWidth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HardwareAcceleration")]
+ #[doc = "Change the `hardwareAcceleration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HardwareAcceleration`, `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn hardware_acceleration(&mut self, val: HardwareAcceleration) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("hardwareAcceleration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `optimizeForLatency` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn optimize_for_latency(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("optimizeForLatency"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoDecoderInit.rs b/vendor/web-sys/src/features/gen_VideoDecoderInit.rs
new file mode 100644
index 000000000..b1dd38bcc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoDecoderInit.rs
@@ -0,0 +1,67 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoDecoderInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoDecoderInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoDecoderInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl VideoDecoderInit {
+ #[doc = "Construct a new `VideoDecoderInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(error: &::js_sys::Function, output: &::js_sys::Function) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.error(error);
+ ret.output(output);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn error(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `output` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn output(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("output"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoDecoderSupport.rs b/vendor/web-sys/src/features/gen_VideoDecoderSupport.rs
new file mode 100644
index 000000000..44efe4037
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoDecoderSupport.rs
@@ -0,0 +1,76 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoDecoderSupport)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoDecoderSupport` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoDecoderSupport;
+}
+#[cfg(web_sys_unstable_apis)]
+impl VideoDecoderSupport {
+ #[doc = "Construct a new `VideoDecoderSupport`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoDecoderConfig")]
+ #[doc = "Change the `config` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderConfig`, `VideoDecoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn config(&mut self, val: &VideoDecoderConfig) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("config"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `supported` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoDecoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn supported(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("supported"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for VideoDecoderSupport {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoEncoder.rs b/vendor/web-sys/src/features/gen_VideoEncoder.rs
new file mode 100644
index 000000000..28a670772
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoEncoder.rs
@@ -0,0 +1,138 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoEncoder , typescript_type = "VideoEncoder")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoEncoder` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoEncoder;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "CodecState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoEncoder" , js_name = state)]
+ #[doc = "Getter for the `state` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoEncoder/state)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CodecState`, `VideoEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn state(this: &VideoEncoder) -> CodecState;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoEncoder" , js_name = encodeQueueSize)]
+ #[doc = "Getter for the `encodeQueueSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoEncoder/encodeQueueSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn encode_queue_size(this: &VideoEncoder) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoEncoderInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoEncoder")]
+ #[doc = "The `new VideoEncoder(..)` constructor, creating a new instance of `VideoEncoder`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoEncoder/VideoEncoder)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoder`, `VideoEncoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(init: &VideoEncoderInit) -> Result<VideoEncoder, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "VideoEncoder" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoEncoder/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn close(this: &VideoEncoder);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoEncoderConfig")]
+ # [wasm_bindgen (method , structural , js_class = "VideoEncoder" , js_name = configure)]
+ #[doc = "The `configure()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoEncoder/configure)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoder`, `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn configure(this: &VideoEncoder, config: &VideoEncoderConfig);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (method , structural , js_class = "VideoEncoder" , js_name = encode)]
+ #[doc = "The `encode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoEncoder/encode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoder`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn encode(this: &VideoEncoder, frame: &VideoFrame);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "VideoEncoderEncodeOptions", feature = "VideoFrame",))]
+ # [wasm_bindgen (method , structural , js_class = "VideoEncoder" , js_name = encode)]
+ #[doc = "The `encode()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoEncoder/encode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoder`, `VideoEncoderEncodeOptions`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn encode_with_options(
+ this: &VideoEncoder,
+ frame: &VideoFrame,
+ options: &VideoEncoderEncodeOptions,
+ );
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "VideoEncoder" , js_name = flush)]
+ #[doc = "The `flush()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoEncoder/flush)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn flush(this: &VideoEncoder) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoEncoderConfig")]
+ # [wasm_bindgen (static_method_of = VideoEncoder , js_class = "VideoEncoder" , js_name = isConfigSupported)]
+ #[doc = "The `isConfigSupported()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoEncoder/isConfigSupported)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoder`, `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_config_supported(config: &VideoEncoderConfig) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "VideoEncoder" , js_name = reset)]
+ #[doc = "The `reset()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoEncoder/reset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoder`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn reset(this: &VideoEncoder);
+}
diff --git a/vendor/web-sys/src/features/gen_VideoEncoderConfig.rs b/vendor/web-sys/src/features/gen_VideoEncoderConfig.rs
new file mode 100644
index 000000000..4d61f21a7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoEncoderConfig.rs
@@ -0,0 +1,252 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoEncoderConfig)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoEncoderConfig` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoEncoderConfig;
+}
+#[cfg(web_sys_unstable_apis)]
+impl VideoEncoderConfig {
+ #[doc = "Construct a new `VideoEncoderConfig`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(codec: &str, height: u32, width: u32) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.codec(codec);
+ ret.height(height);
+ ret.width(width);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AlphaOption")]
+ #[doc = "Change the `alpha` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AlphaOption`, `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn alpha(&mut self, val: AlphaOption) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("alpha"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bitrate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bitrate(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bitrate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `codec` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn codec(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("codec"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `displayHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn display_height(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("displayHeight"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `displayWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn display_width(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("displayWidth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `framerate` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn framerate(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framerate"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HardwareAcceleration")]
+ #[doc = "Change the `hardwareAcceleration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HardwareAcceleration`, `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn hardware_acceleration(&mut self, val: HardwareAcceleration) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("hardwareAcceleration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn height(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("height"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "LatencyMode")]
+ #[doc = "Change the `latencyMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LatencyMode`, `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn latency_mode(&mut self, val: LatencyMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("latencyMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `scalabilityMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn scalability_mode(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("scalabilityMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderConfig`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn width(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("width"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoEncoderEncodeOptions.rs b/vendor/web-sys/src/features/gen_VideoEncoderEncodeOptions.rs
new file mode 100644
index 000000000..345363afa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoEncoderEncodeOptions.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoEncoderEncodeOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoEncoderEncodeOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderEncodeOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoEncoderEncodeOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl VideoEncoderEncodeOptions {
+ #[doc = "Construct a new `VideoEncoderEncodeOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderEncodeOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `keyFrame` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderEncodeOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn key_frame(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("keyFrame"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for VideoEncoderEncodeOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoEncoderInit.rs b/vendor/web-sys/src/features/gen_VideoEncoderInit.rs
new file mode 100644
index 000000000..e2c73e0b4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoEncoderInit.rs
@@ -0,0 +1,67 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoEncoderInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoEncoderInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoEncoderInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl VideoEncoderInit {
+ #[doc = "Construct a new `VideoEncoderInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(error: &::js_sys::Function, output: &::js_sys::Function) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.error(error);
+ ret.output(output);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `error` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn error(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("error"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `output` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn output(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("output"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoEncoderSupport.rs b/vendor/web-sys/src/features/gen_VideoEncoderSupport.rs
new file mode 100644
index 000000000..94dab1e0f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoEncoderSupport.rs
@@ -0,0 +1,76 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoEncoderSupport)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoEncoderSupport` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoEncoderSupport;
+}
+#[cfg(web_sys_unstable_apis)]
+impl VideoEncoderSupport {
+ #[doc = "Construct a new `VideoEncoderSupport`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoEncoderConfig")]
+ #[doc = "Change the `config` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderConfig`, `VideoEncoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn config(&mut self, val: &VideoEncoderConfig) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("config"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `supported` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoEncoderSupport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn supported(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("supported"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for VideoEncoderSupport {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoFacingModeEnum.rs b/vendor/web-sys/src/features/gen_VideoFacingModeEnum.rs
new file mode 100644
index 000000000..cabca2883
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoFacingModeEnum.rs
@@ -0,0 +1,13 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `VideoFacingModeEnum` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `VideoFacingModeEnum`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum VideoFacingModeEnum {
+ User = "user",
+ Environment = "environment",
+ Left = "left",
+ Right = "right",
+}
diff --git a/vendor/web-sys/src/features/gen_VideoFrame.rs b/vendor/web-sys/src/features/gen_VideoFrame.rs
new file mode 100644
index 000000000..bed84f2ed
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoFrame.rs
@@ -0,0 +1,455 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoFrame , typescript_type = "VideoFrame")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoFrame` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoFrame;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoPixelFormat")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoFrame" , js_name = format)]
+ #[doc = "Getter for the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/format)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `VideoPixelFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(this: &VideoFrame) -> Option<VideoPixelFormat>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoFrame" , js_name = codedWidth)]
+ #[doc = "Getter for the `codedWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/codedWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn coded_width(this: &VideoFrame) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoFrame" , js_name = codedHeight)]
+ #[doc = "Getter for the `codedHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/codedHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn coded_height(this: &VideoFrame) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DomRectReadOnly")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoFrame" , js_name = codedRect)]
+ #[doc = "Getter for the `codedRect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/codedRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn coded_rect(this: &VideoFrame) -> Option<DomRectReadOnly>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DomRectReadOnly")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoFrame" , js_name = visibleRect)]
+ #[doc = "Getter for the `visibleRect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/visibleRect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn visible_rect(this: &VideoFrame) -> Option<DomRectReadOnly>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoFrame" , js_name = displayWidth)]
+ #[doc = "Getter for the `displayWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/displayWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn display_width(this: &VideoFrame) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoFrame" , js_name = displayHeight)]
+ #[doc = "Getter for the `displayHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/displayHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn display_height(this: &VideoFrame) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoFrame" , js_name = duration)]
+ #[doc = "Getter for the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/duration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn duration(this: &VideoFrame) -> Option<f64>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoFrame" , js_name = timestamp)]
+ #[doc = "Getter for the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/timestamp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn timestamp(this: &VideoFrame) -> Option<f64>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoColorSpace")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoFrame" , js_name = colorSpace)]
+ #[doc = "Getter for the `colorSpace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/colorSpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpace`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn color_space(this: &VideoFrame) -> VideoColorSpace;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HtmlImageElement")]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_html_image_element(image: &HtmlImageElement) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "SvgImageElement")]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_svg_image_element(image: &SvgImageElement) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HtmlCanvasElement")]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_html_canvas_element(image: &HtmlCanvasElement) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "HtmlVideoElement")]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_html_video_element(image: &HtmlVideoElement) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "ImageBitmap")]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_image_bitmap(image: &ImageBitmap) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "OffscreenCanvas")]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_offscreen_canvas(image: &OffscreenCanvas) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_video_frame(image: &VideoFrame) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "HtmlImageElement", feature = "VideoFrameInit",))]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `VideoFrame`, `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_html_image_element_and_video_frame_init(
+ image: &HtmlImageElement,
+ init: &VideoFrameInit,
+ ) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "SvgImageElement", feature = "VideoFrameInit",))]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`, `VideoFrame`, `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_svg_image_element_and_video_frame_init(
+ image: &SvgImageElement,
+ init: &VideoFrameInit,
+ ) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "HtmlCanvasElement", feature = "VideoFrameInit",))]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `VideoFrame`, `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_html_canvas_element_and_video_frame_init(
+ image: &HtmlCanvasElement,
+ init: &VideoFrameInit,
+ ) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "HtmlVideoElement", feature = "VideoFrameInit",))]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `VideoFrame`, `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_html_video_element_and_video_frame_init(
+ image: &HtmlVideoElement,
+ init: &VideoFrameInit,
+ ) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "ImageBitmap", feature = "VideoFrameInit",))]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `VideoFrame`, `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_image_bitmap_and_video_frame_init(
+ image: &ImageBitmap,
+ init: &VideoFrameInit,
+ ) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "OffscreenCanvas", feature = "VideoFrameInit",))]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `VideoFrame`, `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_offscreen_canvas_and_video_frame_init(
+ image: &OffscreenCanvas,
+ init: &VideoFrameInit,
+ ) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrameInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_video_frame_and_video_frame_init(
+ image: &VideoFrame,
+ init: &VideoFrameInit,
+ ) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrameBufferInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `VideoFrameBufferInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_buffer_source_and_video_frame_buffer_init(
+ data: &::js_sys::Object,
+ init: &VideoFrameBufferInit,
+ ) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrameBufferInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "VideoFrame")]
+ #[doc = "The `new VideoFrame(..)` constructor, creating a new instance of `VideoFrame`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/VideoFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `VideoFrameBufferInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_u8_array_and_video_frame_buffer_init(
+ data: &mut [u8],
+ init: &VideoFrameBufferInit,
+ ) -> Result<VideoFrame, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "VideoFrame" , js_name = allocationSize)]
+ #[doc = "The `allocationSize()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/allocationSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn allocation_size(this: &VideoFrame) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrameCopyToOptions")]
+ # [wasm_bindgen (method , structural , js_class = "VideoFrame" , js_name = allocationSize)]
+ #[doc = "The `allocationSize()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/allocationSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `VideoFrameCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn allocation_size_with_options(
+ this: &VideoFrame,
+ options: &VideoFrameCopyToOptions,
+ ) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "VideoFrame" , js_name = clone)]
+ #[doc = "The `clone()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/clone)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn clone(this: &VideoFrame) -> VideoFrame;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "VideoFrame" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn close(this: &VideoFrame);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "VideoFrame" , js_name = copyTo)]
+ #[doc = "The `copyTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/copyTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_to_with_buffer_source(
+ this: &VideoFrame,
+ destination: &::js_sys::Object,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "VideoFrame" , js_name = copyTo)]
+ #[doc = "The `copyTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/copyTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_to_with_u8_array(this: &VideoFrame, destination: &mut [u8]) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrameCopyToOptions")]
+ # [wasm_bindgen (method , structural , js_class = "VideoFrame" , js_name = copyTo)]
+ #[doc = "The `copyTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/copyTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `VideoFrameCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_to_with_buffer_source_and_options(
+ this: &VideoFrame,
+ destination: &::js_sys::Object,
+ options: &VideoFrameCopyToOptions,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrameCopyToOptions")]
+ # [wasm_bindgen (method , structural , js_class = "VideoFrame" , js_name = copyTo)]
+ #[doc = "The `copyTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/copyTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `VideoFrameCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn copy_to_with_u8_array_and_options(
+ this: &VideoFrame,
+ destination: &mut [u8],
+ options: &VideoFrameCopyToOptions,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_VideoFrameBufferInit.rs b/vendor/web-sys/src/features/gen_VideoFrameBufferInit.rs
new file mode 100644
index 000000000..30607a75d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoFrameBufferInit.rs
@@ -0,0 +1,247 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoFrameBufferInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoFrameBufferInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameBufferInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoFrameBufferInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl VideoFrameBufferInit {
+ #[cfg(feature = "VideoPixelFormat")]
+ #[doc = "Construct a new `VideoFrameBufferInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameBufferInit`, `VideoPixelFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ coded_height: u32,
+ coded_width: u32,
+ format: VideoPixelFormat,
+ timestamp: f64,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.coded_height(coded_height);
+ ret.coded_width(coded_width);
+ ret.format(format);
+ ret.timestamp(timestamp);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `codedHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameBufferInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn coded_height(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("codedHeight"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `codedWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameBufferInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn coded_width(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("codedWidth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoColorSpaceInit")]
+ #[doc = "Change the `colorSpace` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoColorSpaceInit`, `VideoFrameBufferInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn color_space(&mut self, val: &VideoColorSpaceInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("colorSpace"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `displayHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameBufferInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn display_height(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("displayHeight"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `displayWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameBufferInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn display_width(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("displayWidth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameBufferInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn duration(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("duration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoPixelFormat")]
+ #[doc = "Change the `format` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameBufferInit`, `VideoPixelFormat`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn format(&mut self, val: VideoPixelFormat) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("format"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `layout` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameBufferInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn layout(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("layout"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameBufferInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DomRectInit")]
+ #[doc = "Change the `visibleRect` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`, `VideoFrameBufferInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn visible_rect(&mut self, val: &DomRectInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("visibleRect"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoFrameCopyToOptions.rs b/vendor/web-sys/src/features/gen_VideoFrameCopyToOptions.rs
new file mode 100644
index 000000000..9ba37f789
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoFrameCopyToOptions.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoFrameCopyToOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoFrameCopyToOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoFrameCopyToOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl VideoFrameCopyToOptions {
+ #[doc = "Construct a new `VideoFrameCopyToOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `layout` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn layout(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("layout"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DomRectInit")]
+ #[doc = "Change the `rect` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`, `VideoFrameCopyToOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn rect(&mut self, val: &DomRectInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("rect"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for VideoFrameCopyToOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoFrameInit.rs b/vendor/web-sys/src/features/gen_VideoFrameInit.rs
new file mode 100644
index 000000000..bf91f0fb7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoFrameInit.rs
@@ -0,0 +1,160 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoFrameInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoFrameInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type VideoFrameInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl VideoFrameInit {
+ #[doc = "Construct a new `VideoFrameInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AlphaOption")]
+ #[doc = "Change the `alpha` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AlphaOption`, `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn alpha(&mut self, val: AlphaOption) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("alpha"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `displayHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn display_height(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("displayHeight"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `displayWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn display_width(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("displayWidth"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `duration` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn duration(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("duration"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn timestamp(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("timestamp"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DomRectInit")]
+ #[doc = "Change the `visibleRect` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomRectInit`, `VideoFrameInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn visible_rect(&mut self, val: &DomRectInit) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("visibleRect"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for VideoFrameInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VideoMatrixCoefficients.rs b/vendor/web-sys/src/features/gen_VideoMatrixCoefficients.rs
new file mode 100644
index 000000000..5520fae08
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoMatrixCoefficients.rs
@@ -0,0 +1,17 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `VideoMatrixCoefficients` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `VideoMatrixCoefficients`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum VideoMatrixCoefficients {
+ Rgb = "rgb",
+ Bt709 = "bt709",
+ Bt470bg = "bt470bg",
+ Smpte170m = "smpte170m",
+}
diff --git a/vendor/web-sys/src/features/gen_VideoPixelFormat.rs b/vendor/web-sys/src/features/gen_VideoPixelFormat.rs
new file mode 100644
index 000000000..6b465da51
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoPixelFormat.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `VideoPixelFormat` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `VideoPixelFormat`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum VideoPixelFormat {
+ I420 = "I420",
+ I420a = "I420A",
+ I422 = "I422",
+ I444 = "I444",
+ Nv12 = "NV12",
+ Rgba = "RGBA",
+ Rgbx = "RGBX",
+ Bgra = "BGRA",
+ Bgrx = "BGRX",
+}
diff --git a/vendor/web-sys/src/features/gen_VideoPlaybackQuality.rs b/vendor/web-sys/src/features/gen_VideoPlaybackQuality.rs
new file mode 100644
index 000000000..6556f1222
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoPlaybackQuality.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoPlaybackQuality , typescript_type = "VideoPlaybackQuality")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoPlaybackQuality` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
+ pub type VideoPlaybackQuality;
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoPlaybackQuality" , js_name = creationTime)]
+ #[doc = "Getter for the `creationTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/creationTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
+ pub fn creation_time(this: &VideoPlaybackQuality) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoPlaybackQuality" , js_name = totalVideoFrames)]
+ #[doc = "Getter for the `totalVideoFrames` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/totalVideoFrames)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
+ pub fn total_video_frames(this: &VideoPlaybackQuality) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoPlaybackQuality" , js_name = droppedVideoFrames)]
+ #[doc = "Getter for the `droppedVideoFrames` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/droppedVideoFrames)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
+ pub fn dropped_video_frames(this: &VideoPlaybackQuality) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoPlaybackQuality" , js_name = corruptedVideoFrames)]
+ #[doc = "Getter for the `corruptedVideoFrames` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/corruptedVideoFrames)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
+ pub fn corrupted_video_frames(this: &VideoPlaybackQuality) -> u32;
+}
diff --git a/vendor/web-sys/src/features/gen_VideoStreamTrack.rs b/vendor/web-sys/src/features/gen_VideoStreamTrack.rs
new file mode 100644
index 000000000..de248ce5f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoStreamTrack.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = MediaStreamTrack , extends = EventTarget , extends = :: js_sys :: Object , js_name = VideoStreamTrack , typescript_type = "VideoStreamTrack")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoStreamTrack` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoStreamTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoStreamTrack`*"]
+ pub type VideoStreamTrack;
+}
diff --git a/vendor/web-sys/src/features/gen_VideoTrack.rs b/vendor/web-sys/src/features/gen_VideoTrack.rs
new file mode 100644
index 000000000..08f6e0b02
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoTrack.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoTrack , typescript_type = "VideoTrack")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoTrack` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"]
+ pub type VideoTrack;
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoTrack" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"]
+ pub fn id(this: &VideoTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoTrack" , js_name = kind)]
+ #[doc = "Getter for the `kind` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/kind)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"]
+ pub fn kind(this: &VideoTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoTrack" , js_name = label)]
+ #[doc = "Getter for the `label` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/label)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"]
+ pub fn label(this: &VideoTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoTrack" , js_name = language)]
+ #[doc = "Getter for the `language` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/language)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"]
+ pub fn language(this: &VideoTrack) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoTrack" , js_name = selected)]
+ #[doc = "Getter for the `selected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/selected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"]
+ pub fn selected(this: &VideoTrack) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "VideoTrack" , js_name = selected)]
+ #[doc = "Setter for the `selected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/selected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"]
+ pub fn set_selected(this: &VideoTrack, value: bool);
+ #[cfg(feature = "SourceBuffer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoTrack" , js_name = sourceBuffer)]
+ #[doc = "Getter for the `sourceBuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/sourceBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SourceBuffer`, `VideoTrack`*"]
+ pub fn source_buffer(this: &VideoTrack) -> Option<SourceBuffer>;
+}
diff --git a/vendor/web-sys/src/features/gen_VideoTrackList.rs b/vendor/web-sys/src/features/gen_VideoTrackList.rs
new file mode 100644
index 000000000..8a743d5e7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoTrackList.rs
@@ -0,0 +1,86 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = VideoTrackList , typescript_type = "VideoTrackList")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VideoTrackList` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrackList`*"]
+ pub type VideoTrackList;
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoTrackList" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrackList`*"]
+ pub fn length(this: &VideoTrackList) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoTrackList" , js_name = selectedIndex)]
+ #[doc = "Getter for the `selectedIndex` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/selectedIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrackList`*"]
+ pub fn selected_index(this: &VideoTrackList) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoTrackList" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrackList`*"]
+ pub fn onchange(this: &VideoTrackList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "VideoTrackList" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrackList`*"]
+ pub fn set_onchange(this: &VideoTrackList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoTrackList" , js_name = onaddtrack)]
+ #[doc = "Getter for the `onaddtrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onaddtrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrackList`*"]
+ pub fn onaddtrack(this: &VideoTrackList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "VideoTrackList" , js_name = onaddtrack)]
+ #[doc = "Setter for the `onaddtrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onaddtrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrackList`*"]
+ pub fn set_onaddtrack(this: &VideoTrackList, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "VideoTrackList" , js_name = onremovetrack)]
+ #[doc = "Getter for the `onremovetrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onremovetrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrackList`*"]
+ pub fn onremovetrack(this: &VideoTrackList) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "VideoTrackList" , js_name = onremovetrack)]
+ #[doc = "Setter for the `onremovetrack` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onremovetrack)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrackList`*"]
+ pub fn set_onremovetrack(this: &VideoTrackList, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "VideoTrack")]
+ # [wasm_bindgen (method , structural , js_class = "VideoTrackList" , js_name = getTrackById)]
+ #[doc = "The `getTrackById()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/getTrackById)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrack`, `VideoTrackList`*"]
+ pub fn get_track_by_id(this: &VideoTrackList, id: &str) -> Option<VideoTrack>;
+ #[cfg(feature = "VideoTrack")]
+ #[wasm_bindgen(method, structural, js_class = "VideoTrackList", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoTrack`, `VideoTrackList`*"]
+ pub fn get(this: &VideoTrackList, index: u32) -> Option<VideoTrack>;
+}
diff --git a/vendor/web-sys/src/features/gen_VideoTransferCharacteristics.rs b/vendor/web-sys/src/features/gen_VideoTransferCharacteristics.rs
new file mode 100644
index 000000000..7eed7abc9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VideoTransferCharacteristics.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `VideoTransferCharacteristics` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `VideoTransferCharacteristics`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum VideoTransferCharacteristics {
+ Bt709 = "bt709",
+ Smpte170m = "smpte170m",
+ Iec6196621 = "iec61966-2-1",
+}
diff --git a/vendor/web-sys/src/features/gen_VisibilityState.rs b/vendor/web-sys/src/features/gen_VisibilityState.rs
new file mode 100644
index 000000000..a528680cf
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VisibilityState.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `VisibilityState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `VisibilityState`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum VisibilityState {
+ Hidden = "hidden",
+ Visible = "visible",
+}
diff --git a/vendor/web-sys/src/features/gen_VoidCallback.rs b/vendor/web-sys/src/features/gen_VoidCallback.rs
new file mode 100644
index 000000000..c76cadcb0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VoidCallback.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VoidCallback)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VoidCallback` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VoidCallback`*"]
+ pub type VoidCallback;
+}
+impl VoidCallback {
+ #[doc = "Construct a new `VoidCallback`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VoidCallback`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `handleEvent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VoidCallback`*"]
+ pub fn handle_event(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("handleEvent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for VoidCallback {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VrDisplay.rs b/vendor/web-sys/src/features/gen_VrDisplay.rs
new file mode 100644
index 000000000..f4f100e86
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrDisplay.rs
@@ -0,0 +1,173 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = VRDisplay , typescript_type = "VRDisplay")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrDisplay` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub type VrDisplay;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplay" , js_name = isConnected)]
+ #[doc = "Getter for the `isConnected` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/isConnected)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn is_connected(this: &VrDisplay) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplay" , js_name = isPresenting)]
+ #[doc = "Getter for the `isPresenting` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/isPresenting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn is_presenting(this: &VrDisplay) -> bool;
+ #[cfg(feature = "VrDisplayCapabilities")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplay" , js_name = capabilities)]
+ #[doc = "Getter for the `capabilities` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/capabilities)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`, `VrDisplayCapabilities`*"]
+ pub fn capabilities(this: &VrDisplay) -> VrDisplayCapabilities;
+ #[cfg(feature = "VrStageParameters")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplay" , js_name = stageParameters)]
+ #[doc = "Getter for the `stageParameters` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/stageParameters)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`, `VrStageParameters`*"]
+ pub fn stage_parameters(this: &VrDisplay) -> Option<VrStageParameters>;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplay" , js_name = displayId)]
+ #[doc = "Getter for the `displayId` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/displayId)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn display_id(this: &VrDisplay) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplay" , js_name = displayName)]
+ #[doc = "Getter for the `displayName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/displayName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn display_name(this: &VrDisplay) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplay" , js_name = depthNear)]
+ #[doc = "Getter for the `depthNear` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/depthNear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn depth_near(this: &VrDisplay) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VRDisplay" , js_name = depthNear)]
+ #[doc = "Setter for the `depthNear` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/depthNear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn set_depth_near(this: &VrDisplay, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplay" , js_name = depthFar)]
+ #[doc = "Getter for the `depthFar` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/depthFar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn depth_far(this: &VrDisplay) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VRDisplay" , js_name = depthFar)]
+ #[doc = "Setter for the `depthFar` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/depthFar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn set_depth_far(this: &VrDisplay, value: f64);
+ # [wasm_bindgen (catch , method , structural , js_class = "VRDisplay" , js_name = cancelAnimationFrame)]
+ #[doc = "The `cancelAnimationFrame()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/cancelAnimationFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn cancel_animation_frame(this: &VrDisplay, handle: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "VRDisplay" , js_name = exitPresent)]
+ #[doc = "The `exitPresent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/exitPresent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn exit_present(this: &VrDisplay) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "VrEye", feature = "VrEyeParameters",))]
+ # [wasm_bindgen (method , structural , js_class = "VRDisplay" , js_name = getEyeParameters)]
+ #[doc = "The `getEyeParameters()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getEyeParameters)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`, `VrEye`, `VrEyeParameters`*"]
+ pub fn get_eye_parameters(this: &VrDisplay, which_eye: VrEye) -> VrEyeParameters;
+ #[cfg(feature = "VrFrameData")]
+ # [wasm_bindgen (method , structural , js_class = "VRDisplay" , js_name = getFrameData)]
+ #[doc = "The `getFrameData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getFrameData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`, `VrFrameData`*"]
+ pub fn get_frame_data(this: &VrDisplay, frame_data: &VrFrameData) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "VRDisplay" , js_name = getLayers)]
+ #[doc = "The `getLayers()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getLayers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn get_layers(this: &VrDisplay) -> ::js_sys::Array;
+ #[cfg(feature = "VrPose")]
+ # [wasm_bindgen (method , structural , js_class = "VRDisplay" , js_name = getPose)]
+ #[doc = "The `getPose()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getPose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`, `VrPose`*"]
+ pub fn get_pose(this: &VrDisplay) -> VrPose;
+ #[cfg(feature = "VrSubmitFrameResult")]
+ # [wasm_bindgen (method , structural , js_class = "VRDisplay" , js_name = getSubmitFrameResult)]
+ #[doc = "The `getSubmitFrameResult()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getSubmitFrameResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`, `VrSubmitFrameResult`*"]
+ pub fn get_submit_frame_result(this: &VrDisplay, result: &VrSubmitFrameResult) -> bool;
+ # [wasm_bindgen (catch , method , structural , js_class = "VRDisplay" , js_name = requestAnimationFrame)]
+ #[doc = "The `requestAnimationFrame()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/requestAnimationFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn request_animation_frame(
+ this: &VrDisplay,
+ callback: &::js_sys::Function,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "VRDisplay" , js_name = requestPresent)]
+ #[doc = "The `requestPresent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/requestPresent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn request_present(
+ this: &VrDisplay,
+ layers: &::wasm_bindgen::JsValue,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "VRDisplay" , js_name = resetPose)]
+ #[doc = "The `resetPose()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/resetPose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn reset_pose(this: &VrDisplay);
+ # [wasm_bindgen (method , structural , js_class = "VRDisplay" , js_name = submitFrame)]
+ #[doc = "The `submitFrame()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/submitFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplay`*"]
+ pub fn submit_frame(this: &VrDisplay);
+}
diff --git a/vendor/web-sys/src/features/gen_VrDisplayCapabilities.rs b/vendor/web-sys/src/features/gen_VrDisplayCapabilities.rs
new file mode 100644
index 000000000..1f02ad81f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrDisplayCapabilities.rs
@@ -0,0 +1,49 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRDisplayCapabilities , typescript_type = "VRDisplayCapabilities")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrDisplayCapabilities` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplayCapabilities`*"]
+ pub type VrDisplayCapabilities;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplayCapabilities" , js_name = hasPosition)]
+ #[doc = "Getter for the `hasPosition` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplayCapabilities`*"]
+ pub fn has_position(this: &VrDisplayCapabilities) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplayCapabilities" , js_name = hasOrientation)]
+ #[doc = "Getter for the `hasOrientation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasOrientation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplayCapabilities`*"]
+ pub fn has_orientation(this: &VrDisplayCapabilities) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplayCapabilities" , js_name = hasExternalDisplay)]
+ #[doc = "Getter for the `hasExternalDisplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasExternalDisplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplayCapabilities`*"]
+ pub fn has_external_display(this: &VrDisplayCapabilities) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplayCapabilities" , js_name = canPresent)]
+ #[doc = "Getter for the `canPresent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/canPresent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplayCapabilities`*"]
+ pub fn can_present(this: &VrDisplayCapabilities) -> bool;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRDisplayCapabilities" , js_name = maxLayers)]
+ #[doc = "Getter for the `maxLayers` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/maxLayers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrDisplayCapabilities`*"]
+ pub fn max_layers(this: &VrDisplayCapabilities) -> u32;
+}
diff --git a/vendor/web-sys/src/features/gen_VrEye.rs b/vendor/web-sys/src/features/gen_VrEye.rs
new file mode 100644
index 000000000..ee860299f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrEye.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `VrEye` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `VrEye`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum VrEye {
+ Left = "left",
+ Right = "right",
+}
diff --git a/vendor/web-sys/src/features/gen_VrEyeParameters.rs b/vendor/web-sys/src/features/gen_VrEyeParameters.rs
new file mode 100644
index 000000000..6a351c26a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrEyeParameters.rs
@@ -0,0 +1,43 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VREyeParameters , typescript_type = "VREyeParameters")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrEyeParameters` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrEyeParameters`*"]
+ pub type VrEyeParameters;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "VREyeParameters" , js_name = offset)]
+ #[doc = "Getter for the `offset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/offset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrEyeParameters`*"]
+ pub fn offset(this: &VrEyeParameters) -> Result<Vec<f32>, JsValue>;
+ #[cfg(feature = "VrFieldOfView")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VREyeParameters" , js_name = fieldOfView)]
+ #[doc = "Getter for the `fieldOfView` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/fieldOfView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrEyeParameters`, `VrFieldOfView`*"]
+ pub fn field_of_view(this: &VrEyeParameters) -> VrFieldOfView;
+ # [wasm_bindgen (structural , method , getter , js_class = "VREyeParameters" , js_name = renderWidth)]
+ #[doc = "Getter for the `renderWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/renderWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrEyeParameters`*"]
+ pub fn render_width(this: &VrEyeParameters) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "VREyeParameters" , js_name = renderHeight)]
+ #[doc = "Getter for the `renderHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/renderHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrEyeParameters`*"]
+ pub fn render_height(this: &VrEyeParameters) -> u32;
+}
diff --git a/vendor/web-sys/src/features/gen_VrFieldOfView.rs b/vendor/web-sys/src/features/gen_VrFieldOfView.rs
new file mode 100644
index 000000000..45621b219
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrFieldOfView.rs
@@ -0,0 +1,42 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRFieldOfView , typescript_type = "VRFieldOfView")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrFieldOfView` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"]
+ pub type VrFieldOfView;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRFieldOfView" , js_name = upDegrees)]
+ #[doc = "Getter for the `upDegrees` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/upDegrees)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"]
+ pub fn up_degrees(this: &VrFieldOfView) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRFieldOfView" , js_name = rightDegrees)]
+ #[doc = "Getter for the `rightDegrees` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/rightDegrees)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"]
+ pub fn right_degrees(this: &VrFieldOfView) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRFieldOfView" , js_name = downDegrees)]
+ #[doc = "Getter for the `downDegrees` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/downDegrees)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"]
+ pub fn down_degrees(this: &VrFieldOfView) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRFieldOfView" , js_name = leftDegrees)]
+ #[doc = "Getter for the `leftDegrees` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/leftDegrees)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"]
+ pub fn left_degrees(this: &VrFieldOfView) -> f64;
+}
diff --git a/vendor/web-sys/src/features/gen_VrFrameData.rs b/vendor/web-sys/src/features/gen_VrFrameData.rs
new file mode 100644
index 000000000..697997dbd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrFrameData.rs
@@ -0,0 +1,64 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRFrameData , typescript_type = "VRFrameData")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrFrameData` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFrameData`*"]
+ pub type VrFrameData;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRFrameData" , js_name = timestamp)]
+ #[doc = "Getter for the `timestamp` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/timestamp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFrameData`*"]
+ pub fn timestamp(this: &VrFrameData) -> f64;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "VRFrameData" , js_name = leftProjectionMatrix)]
+ #[doc = "Getter for the `leftProjectionMatrix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/leftProjectionMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFrameData`*"]
+ pub fn left_projection_matrix(this: &VrFrameData) -> Result<Vec<f32>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "VRFrameData" , js_name = leftViewMatrix)]
+ #[doc = "Getter for the `leftViewMatrix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/leftViewMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFrameData`*"]
+ pub fn left_view_matrix(this: &VrFrameData) -> Result<Vec<f32>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "VRFrameData" , js_name = rightProjectionMatrix)]
+ #[doc = "Getter for the `rightProjectionMatrix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/rightProjectionMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFrameData`*"]
+ pub fn right_projection_matrix(this: &VrFrameData) -> Result<Vec<f32>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "VRFrameData" , js_name = rightViewMatrix)]
+ #[doc = "Getter for the `rightViewMatrix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/rightViewMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFrameData`*"]
+ pub fn right_view_matrix(this: &VrFrameData) -> Result<Vec<f32>, JsValue>;
+ #[cfg(feature = "VrPose")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VRFrameData" , js_name = pose)]
+ #[doc = "Getter for the `pose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/pose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFrameData`, `VrPose`*"]
+ pub fn pose(this: &VrFrameData) -> VrPose;
+ #[wasm_bindgen(catch, constructor, js_class = "VRFrameData")]
+ #[doc = "The `new VrFrameData(..)` constructor, creating a new instance of `VrFrameData`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/VRFrameData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrFrameData`*"]
+ pub fn new() -> Result<VrFrameData, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_VrLayer.rs b/vendor/web-sys/src/features/gen_VrLayer.rs
new file mode 100644
index 000000000..6d0adae94
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrLayer.rs
@@ -0,0 +1,76 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRLayer)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrLayer` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrLayer`*"]
+ pub type VrLayer;
+}
+impl VrLayer {
+ #[doc = "Construct a new `VrLayer`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrLayer`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `leftBounds` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrLayer`*"]
+ pub fn left_bounds(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("leftBounds"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `rightBounds` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrLayer`*"]
+ pub fn right_bounds(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("rightBounds"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "HtmlCanvasElement")]
+ #[doc = "Change the `source` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `VrLayer`*"]
+ pub fn source(&mut self, val: Option<&HtmlCanvasElement>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("source"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for VrLayer {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_VrMockController.rs b/vendor/web-sys/src/features/gen_VrMockController.rs
new file mode 100644
index 000000000..23676c7ef
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrMockController.rs
@@ -0,0 +1,43 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRMockController , typescript_type = "VRMockController")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrMockController` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockController)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrMockController`*"]
+ pub type VrMockController;
+ # [wasm_bindgen (method , structural , js_class = "VRMockController" , js_name = newAxisMoveEvent)]
+ #[doc = "The `newAxisMoveEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockController/newAxisMoveEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrMockController`*"]
+ pub fn new_axis_move_event(this: &VrMockController, axis: u32, value: f64);
+ # [wasm_bindgen (method , structural , js_class = "VRMockController" , js_name = newButtonEvent)]
+ #[doc = "The `newButtonEvent()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockController/newButtonEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrMockController`*"]
+ pub fn new_button_event(this: &VrMockController, button: u32, pressed: bool);
+ # [wasm_bindgen (method , structural , js_class = "VRMockController" , js_name = newPoseMove)]
+ #[doc = "The `newPoseMove()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockController/newPoseMove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrMockController`*"]
+ pub fn new_pose_move(
+ this: &VrMockController,
+ position: Option<&mut [f32]>,
+ linear_velocity: Option<&mut [f32]>,
+ linear_acceleration: Option<&mut [f32]>,
+ orientation: Option<&mut [f32]>,
+ angular_velocity: Option<&mut [f32]>,
+ angular_acceleration: Option<&mut [f32]>,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_VrMockDisplay.rs b/vendor/web-sys/src/features/gen_VrMockDisplay.rs
new file mode 100644
index 000000000..5f503ba12
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrMockDisplay.rs
@@ -0,0 +1,68 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRMockDisplay , typescript_type = "VRMockDisplay")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrMockDisplay` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
+ pub type VrMockDisplay;
+ #[cfg(feature = "VrEye")]
+ # [wasm_bindgen (method , structural , js_class = "VRMockDisplay" , js_name = setEyeParameter)]
+ #[doc = "The `setEyeParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setEyeParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrEye`, `VrMockDisplay`*"]
+ pub fn set_eye_parameter(
+ this: &VrMockDisplay,
+ eye: VrEye,
+ offset_x: f64,
+ offset_y: f64,
+ offset_z: f64,
+ up_degree: f64,
+ right_degree: f64,
+ down_degree: f64,
+ left_degree: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "VRMockDisplay" , js_name = setEyeResolution)]
+ #[doc = "The `setEyeResolution()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setEyeResolution)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
+ pub fn set_eye_resolution(this: &VrMockDisplay, a_render_width: u32, a_render_height: u32);
+ # [wasm_bindgen (method , structural , js_class = "VRMockDisplay" , js_name = setMountState)]
+ #[doc = "The `setMountState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setMountState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
+ pub fn set_mount_state(this: &VrMockDisplay, is_mounted: bool);
+ # [wasm_bindgen (method , structural , js_class = "VRMockDisplay" , js_name = setPose)]
+ #[doc = "The `setPose()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
+ pub fn set_pose(
+ this: &VrMockDisplay,
+ position: Option<&mut [f32]>,
+ linear_velocity: Option<&mut [f32]>,
+ linear_acceleration: Option<&mut [f32]>,
+ orientation: Option<&mut [f32]>,
+ angular_velocity: Option<&mut [f32]>,
+ angular_acceleration: Option<&mut [f32]>,
+ );
+ # [wasm_bindgen (method , structural , js_class = "VRMockDisplay" , js_name = update)]
+ #[doc = "The `update()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/update)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
+ pub fn update(this: &VrMockDisplay);
+}
diff --git a/vendor/web-sys/src/features/gen_VrPose.rs b/vendor/web-sys/src/features/gen_VrPose.rs
new file mode 100644
index 000000000..c7e03eea5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrPose.rs
@@ -0,0 +1,56 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRPose , typescript_type = "VRPose")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrPose` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrPose`*"]
+ pub type VrPose;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "VRPose" , js_name = position)]
+ #[doc = "Getter for the `position` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/position)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrPose`*"]
+ pub fn position(this: &VrPose) -> Result<Option<Vec<f32>>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "VRPose" , js_name = linearVelocity)]
+ #[doc = "Getter for the `linearVelocity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearVelocity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrPose`*"]
+ pub fn linear_velocity(this: &VrPose) -> Result<Option<Vec<f32>>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "VRPose" , js_name = linearAcceleration)]
+ #[doc = "Getter for the `linearAcceleration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearAcceleration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrPose`*"]
+ pub fn linear_acceleration(this: &VrPose) -> Result<Option<Vec<f32>>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "VRPose" , js_name = orientation)]
+ #[doc = "Getter for the `orientation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/orientation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrPose`*"]
+ pub fn orientation(this: &VrPose) -> Result<Option<Vec<f32>>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "VRPose" , js_name = angularVelocity)]
+ #[doc = "Getter for the `angularVelocity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularVelocity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrPose`*"]
+ pub fn angular_velocity(this: &VrPose) -> Result<Option<Vec<f32>>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "VRPose" , js_name = angularAcceleration)]
+ #[doc = "Getter for the `angularAcceleration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularAcceleration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrPose`*"]
+ pub fn angular_acceleration(this: &VrPose) -> Result<Option<Vec<f32>>, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_VrServiceTest.rs b/vendor/web-sys/src/features/gen_VrServiceTest.rs
new file mode 100644
index 000000000..7becadb16
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrServiceTest.rs
@@ -0,0 +1,31 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRServiceTest , typescript_type = "VRServiceTest")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrServiceTest` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrServiceTest`*"]
+ pub type VrServiceTest;
+ # [wasm_bindgen (catch , method , structural , js_class = "VRServiceTest" , js_name = attachVRController)]
+ #[doc = "The `attachVRController()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest/attachVRController)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrServiceTest`*"]
+ pub fn attach_vr_controller(
+ this: &VrServiceTest,
+ id: &str,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "VRServiceTest" , js_name = attachVRDisplay)]
+ #[doc = "The `attachVRDisplay()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest/attachVRDisplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrServiceTest`*"]
+ pub fn attach_vr_display(this: &VrServiceTest, id: &str) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_VrStageParameters.rs b/vendor/web-sys/src/features/gen_VrStageParameters.rs
new file mode 100644
index 000000000..081ff0535
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrStageParameters.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRStageParameters , typescript_type = "VRStageParameters")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrStageParameters` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrStageParameters`*"]
+ pub type VrStageParameters;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "VRStageParameters" , js_name = sittingToStandingTransform)]
+ #[doc = "Getter for the `sittingToStandingTransform` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sittingToStandingTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrStageParameters`*"]
+ pub fn sitting_to_standing_transform(this: &VrStageParameters) -> Result<Vec<f32>, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRStageParameters" , js_name = sizeX)]
+ #[doc = "Getter for the `sizeX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sizeX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrStageParameters`*"]
+ pub fn size_x(this: &VrStageParameters) -> f32;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRStageParameters" , js_name = sizeZ)]
+ #[doc = "Getter for the `sizeZ` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sizeZ)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrStageParameters`*"]
+ pub fn size_z(this: &VrStageParameters) -> f32;
+}
diff --git a/vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs b/vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs
new file mode 100644
index 000000000..b0dd1aebe
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRSubmitFrameResult , typescript_type = "VRSubmitFrameResult")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrSubmitFrameResult` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrSubmitFrameResult`*"]
+ pub type VrSubmitFrameResult;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRSubmitFrameResult" , js_name = frameNum)]
+ #[doc = "Getter for the `frameNum` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult/frameNum)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrSubmitFrameResult`*"]
+ pub fn frame_num(this: &VrSubmitFrameResult) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "VRSubmitFrameResult" , js_name = base64Image)]
+ #[doc = "Getter for the `base64Image` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult/base64Image)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrSubmitFrameResult`*"]
+ pub fn base64_image(this: &VrSubmitFrameResult) -> Option<String>;
+ #[wasm_bindgen(catch, constructor, js_class = "VRSubmitFrameResult")]
+ #[doc = "The `new VrSubmitFrameResult(..)` constructor, creating a new instance of `VrSubmitFrameResult`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult/VRSubmitFrameResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrSubmitFrameResult`*"]
+ pub fn new() -> Result<VrSubmitFrameResult, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_VttCue.rs b/vendor/web-sys/src/features/gen_VttCue.rs
new file mode 100644
index 000000000..a232704b0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VttCue.rs
@@ -0,0 +1,179 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = TextTrackCue , extends = EventTarget , extends = :: js_sys :: Object , js_name = VTTCue , typescript_type = "VTTCue")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VttCue` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`*"]
+ pub type VttCue;
+ #[cfg(feature = "VttRegion")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTCue" , js_name = region)]
+ #[doc = "Getter for the `region` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/region)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`, `VttRegion`*"]
+ pub fn region(this: &VttCue) -> Option<VttRegion>;
+ #[cfg(feature = "VttRegion")]
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTCue" , js_name = region)]
+ #[doc = "Setter for the `region` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/region)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`, `VttRegion`*"]
+ pub fn set_region(this: &VttCue, value: Option<&VttRegion>);
+ #[cfg(feature = "DirectionSetting")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTCue" , js_name = vertical)]
+ #[doc = "Getter for the `vertical` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/vertical)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DirectionSetting`, `VttCue`*"]
+ pub fn vertical(this: &VttCue) -> DirectionSetting;
+ #[cfg(feature = "DirectionSetting")]
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTCue" , js_name = vertical)]
+ #[doc = "Setter for the `vertical` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/vertical)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DirectionSetting`, `VttCue`*"]
+ pub fn set_vertical(this: &VttCue, value: DirectionSetting);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTCue" , js_name = snapToLines)]
+ #[doc = "Getter for the `snapToLines` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/snapToLines)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`*"]
+ pub fn snap_to_lines(this: &VttCue) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTCue" , js_name = snapToLines)]
+ #[doc = "Setter for the `snapToLines` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/snapToLines)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`*"]
+ pub fn set_snap_to_lines(this: &VttCue, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTCue" , js_name = line)]
+ #[doc = "Getter for the `line` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/line)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`*"]
+ pub fn line(this: &VttCue) -> ::wasm_bindgen::JsValue;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTCue" , js_name = line)]
+ #[doc = "Setter for the `line` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/line)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`*"]
+ pub fn set_line(this: &VttCue, value: &::wasm_bindgen::JsValue);
+ #[cfg(feature = "LineAlignSetting")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTCue" , js_name = lineAlign)]
+ #[doc = "Getter for the `lineAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/lineAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LineAlignSetting`, `VttCue`*"]
+ pub fn line_align(this: &VttCue) -> LineAlignSetting;
+ #[cfg(feature = "LineAlignSetting")]
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTCue" , js_name = lineAlign)]
+ #[doc = "Setter for the `lineAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/lineAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `LineAlignSetting`, `VttCue`*"]
+ pub fn set_line_align(this: &VttCue, value: LineAlignSetting);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTCue" , js_name = position)]
+ #[doc = "Getter for the `position` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/position)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`*"]
+ pub fn position(this: &VttCue) -> ::wasm_bindgen::JsValue;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTCue" , js_name = position)]
+ #[doc = "Setter for the `position` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/position)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`*"]
+ pub fn set_position(this: &VttCue, value: &::wasm_bindgen::JsValue);
+ #[cfg(feature = "PositionAlignSetting")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTCue" , js_name = positionAlign)]
+ #[doc = "Getter for the `positionAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/positionAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionAlignSetting`, `VttCue`*"]
+ pub fn position_align(this: &VttCue) -> PositionAlignSetting;
+ #[cfg(feature = "PositionAlignSetting")]
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTCue" , js_name = positionAlign)]
+ #[doc = "Setter for the `positionAlign` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/positionAlign)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PositionAlignSetting`, `VttCue`*"]
+ pub fn set_position_align(this: &VttCue, value: PositionAlignSetting);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTCue" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`*"]
+ pub fn size(this: &VttCue) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTCue" , js_name = size)]
+ #[doc = "Setter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`*"]
+ pub fn set_size(this: &VttCue, value: f64);
+ #[cfg(feature = "AlignSetting")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTCue" , js_name = align)]
+ #[doc = "Getter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AlignSetting`, `VttCue`*"]
+ pub fn align(this: &VttCue) -> AlignSetting;
+ #[cfg(feature = "AlignSetting")]
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTCue" , js_name = align)]
+ #[doc = "Setter for the `align` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/align)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AlignSetting`, `VttCue`*"]
+ pub fn set_align(this: &VttCue, value: AlignSetting);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTCue" , js_name = text)]
+ #[doc = "Getter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`*"]
+ pub fn text(this: &VttCue) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTCue" , js_name = text)]
+ #[doc = "Setter for the `text` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/text)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`*"]
+ pub fn set_text(this: &VttCue, value: &str);
+ #[wasm_bindgen(catch, constructor, js_class = "VTTCue")]
+ #[doc = "The `new VttCue(..)` constructor, creating a new instance of `VttCue`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/VTTCue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttCue`*"]
+ pub fn new(start_time: f64, end_time: f64, text: &str) -> Result<VttCue, JsValue>;
+ #[cfg(feature = "DocumentFragment")]
+ # [wasm_bindgen (method , structural , js_class = "VTTCue" , js_name = getCueAsHTML)]
+ #[doc = "The `getCueAsHTML()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/getCueAsHTML)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `VttCue`*"]
+ pub fn get_cue_as_html(this: &VttCue) -> DocumentFragment;
+}
diff --git a/vendor/web-sys/src/features/gen_VttRegion.rs b/vendor/web-sys/src/features/gen_VttRegion.rs
new file mode 100644
index 000000000..71e3fb3d0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VttRegion.rs
@@ -0,0 +1,135 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VTTRegion , typescript_type = "VTTRegion")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VttRegion` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub type VttRegion;
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn id(this: &VttRegion) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = id)]
+ #[doc = "Setter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_id(this: &VttRegion, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn width(this: &VttRegion) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_width(this: &VttRegion, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = lines)]
+ #[doc = "Getter for the `lines` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/lines)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn lines(this: &VttRegion) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = lines)]
+ #[doc = "Setter for the `lines` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/lines)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_lines(this: &VttRegion, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = regionAnchorX)]
+ #[doc = "Getter for the `regionAnchorX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn region_anchor_x(this: &VttRegion) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = regionAnchorX)]
+ #[doc = "Setter for the `regionAnchorX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_region_anchor_x(this: &VttRegion, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = regionAnchorY)]
+ #[doc = "Getter for the `regionAnchorY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn region_anchor_y(this: &VttRegion) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = regionAnchorY)]
+ #[doc = "Setter for the `regionAnchorY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_region_anchor_y(this: &VttRegion, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = viewportAnchorX)]
+ #[doc = "Getter for the `viewportAnchorX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn viewport_anchor_x(this: &VttRegion) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = viewportAnchorX)]
+ #[doc = "Setter for the `viewportAnchorX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_viewport_anchor_x(this: &VttRegion, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = viewportAnchorY)]
+ #[doc = "Getter for the `viewportAnchorY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn viewport_anchor_y(this: &VttRegion) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = viewportAnchorY)]
+ #[doc = "Setter for the `viewportAnchorY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_viewport_anchor_y(this: &VttRegion, value: f64);
+ #[cfg(feature = "ScrollSetting")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = scroll)]
+ #[doc = "Getter for the `scroll` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/scroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollSetting`, `VttRegion`*"]
+ pub fn scroll(this: &VttRegion) -> ScrollSetting;
+ #[cfg(feature = "ScrollSetting")]
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = scroll)]
+ #[doc = "Setter for the `scroll` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/scroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollSetting`, `VttRegion`*"]
+ pub fn set_scroll(this: &VttRegion, value: ScrollSetting);
+ #[wasm_bindgen(catch, constructor, js_class = "VTTRegion")]
+ #[doc = "The `new VttRegion(..)` constructor, creating a new instance of `VttRegion`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/VTTRegion)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn new() -> Result<VttRegion, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_WakeLock.rs b/vendor/web-sys/src/features/gen_WakeLock.rs
new file mode 100644
index 000000000..ecdad0018
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WakeLock.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WakeLock , typescript_type = "WakeLock")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WakeLock` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WakeLock)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WakeLock`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type WakeLock;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "WakeLockType")]
+ # [wasm_bindgen (method , structural , js_class = "WakeLock" , js_name = request)]
+ #[doc = "The `request()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WakeLock/request)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WakeLock`, `WakeLockType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request(this: &WakeLock, type_: WakeLockType) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_WakeLockSentinel.rs b/vendor/web-sys/src/features/gen_WakeLockSentinel.rs
new file mode 100644
index 000000000..3cd67d7f1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WakeLockSentinel.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = WakeLockSentinel , typescript_type = "WakeLockSentinel")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WakeLockSentinel` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WakeLockSentinel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WakeLockSentinel`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type WakeLockSentinel;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "WakeLockSentinel" , js_name = released)]
+ #[doc = "Getter for the `released` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WakeLockSentinel/released)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WakeLockSentinel`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn released(this: &WakeLockSentinel) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "WakeLockType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "WakeLockSentinel" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WakeLockSentinel/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WakeLockSentinel`, `WakeLockType`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn type_(this: &WakeLockSentinel) -> WakeLockType;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "WakeLockSentinel" , js_name = onrelease)]
+ #[doc = "Getter for the `onrelease` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WakeLockSentinel/onrelease)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WakeLockSentinel`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onrelease(this: &WakeLockSentinel) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "WakeLockSentinel" , js_name = onrelease)]
+ #[doc = "Setter for the `onrelease` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WakeLockSentinel/onrelease)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WakeLockSentinel`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onrelease(this: &WakeLockSentinel, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "WakeLockSentinel" , js_name = release)]
+ #[doc = "The `release()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WakeLockSentinel/release)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WakeLockSentinel`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn release(this: &WakeLockSentinel) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_WakeLockType.rs b/vendor/web-sys/src/features/gen_WakeLockType.rs
new file mode 100644
index 000000000..b09491890
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WakeLockType.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `WakeLockType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `WakeLockType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum WakeLockType {
+ Screen = "screen",
+}
diff --git a/vendor/web-sys/src/features/gen_WatchAdvertisementsOptions.rs b/vendor/web-sys/src/features/gen_WatchAdvertisementsOptions.rs
new file mode 100644
index 000000000..175bbfaed
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WatchAdvertisementsOptions.rs
@@ -0,0 +1,55 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WatchAdvertisementsOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WatchAdvertisementsOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WatchAdvertisementsOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type WatchAdvertisementsOptions;
+}
+#[cfg(web_sys_unstable_apis)]
+impl WatchAdvertisementsOptions {
+ #[doc = "Construct a new `WatchAdvertisementsOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WatchAdvertisementsOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "AbortSignal")]
+ #[doc = "Change the `signal` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortSignal`, `WatchAdvertisementsOptions`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn signal(&mut self, val: &AbortSignal) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("signal"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for WatchAdvertisementsOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_WaveShaperNode.rs b/vendor/web-sys/src/features/gen_WaveShaperNode.rs
new file mode 100644
index 000000000..4c3b8c31c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WaveShaperNode.rs
@@ -0,0 +1,63 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = WaveShaperNode , typescript_type = "WaveShaperNode")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WaveShaperNode` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WaveShaperNode`*"]
+ pub type WaveShaperNode;
+ # [wasm_bindgen (structural , method , getter , js_class = "WaveShaperNode" , js_name = curve)]
+ #[doc = "Getter for the `curve` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/curve)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WaveShaperNode`*"]
+ pub fn curve(this: &WaveShaperNode) -> Option<Vec<f32>>;
+ # [wasm_bindgen (structural , method , setter , js_class = "WaveShaperNode" , js_name = curve)]
+ #[doc = "Setter for the `curve` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/curve)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WaveShaperNode`*"]
+ pub fn set_curve(this: &WaveShaperNode, value: Option<&mut [f32]>);
+ #[cfg(feature = "OverSampleType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "WaveShaperNode" , js_name = oversample)]
+ #[doc = "Getter for the `oversample` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/oversample)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OverSampleType`, `WaveShaperNode`*"]
+ pub fn oversample(this: &WaveShaperNode) -> OverSampleType;
+ #[cfg(feature = "OverSampleType")]
+ # [wasm_bindgen (structural , method , setter , js_class = "WaveShaperNode" , js_name = oversample)]
+ #[doc = "Setter for the `oversample` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/oversample)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OverSampleType`, `WaveShaperNode`*"]
+ pub fn set_oversample(this: &WaveShaperNode, value: OverSampleType);
+ #[cfg(feature = "BaseAudioContext")]
+ #[wasm_bindgen(catch, constructor, js_class = "WaveShaperNode")]
+ #[doc = "The `new WaveShaperNode(..)` constructor, creating a new instance of `WaveShaperNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/WaveShaperNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `WaveShaperNode`*"]
+ pub fn new(context: &BaseAudioContext) -> Result<WaveShaperNode, JsValue>;
+ #[cfg(all(feature = "BaseAudioContext", feature = "WaveShaperOptions",))]
+ #[wasm_bindgen(catch, constructor, js_class = "WaveShaperNode")]
+ #[doc = "The `new WaveShaperNode(..)` constructor, creating a new instance of `WaveShaperNode`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/WaveShaperNode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `WaveShaperNode`, `WaveShaperOptions`*"]
+ pub fn new_with_options(
+ context: &BaseAudioContext,
+ options: &WaveShaperOptions,
+ ) -> Result<WaveShaperNode, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_WaveShaperOptions.rs b/vendor/web-sys/src/features/gen_WaveShaperOptions.rs
new file mode 100644
index 000000000..c3581bc61
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WaveShaperOptions.rs
@@ -0,0 +1,111 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WaveShaperOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WaveShaperOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WaveShaperOptions`*"]
+ pub type WaveShaperOptions;
+}
+impl WaveShaperOptions {
+ #[doc = "Construct a new `WaveShaperOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WaveShaperOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `channelCount` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WaveShaperOptions`*"]
+ pub fn channel_count(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCount"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelCountMode")]
+ #[doc = "Change the `channelCountMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelCountMode`, `WaveShaperOptions`*"]
+ pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelCountMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "ChannelInterpretation")]
+ #[doc = "Change the `channelInterpretation` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ChannelInterpretation`, `WaveShaperOptions`*"]
+ pub fn channel_interpretation(&mut self, val: ChannelInterpretation) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("channelInterpretation"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `curve` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WaveShaperOptions`*"]
+ pub fn curve(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("curve"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "OverSampleType")]
+ #[doc = "Change the `oversample` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OverSampleType`, `WaveShaperOptions`*"]
+ pub fn oversample(&mut self, val: OverSampleType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("oversample"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for WaveShaperOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_WebGl2RenderingContext.rs b/vendor/web-sys/src/features/gen_WebGl2RenderingContext.rs
new file mode 100644
index 000000000..10939857e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGl2RenderingContext.rs
@@ -0,0 +1,8633 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGL2RenderingContext , typescript_type = "WebGL2RenderingContext")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGl2RenderingContext` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub type WebGl2RenderingContext;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGL2RenderingContext" , js_name = canvas)]
+ #[doc = "Getter for the `canvas` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/canvas)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn canvas(this: &WebGl2RenderingContext) -> Option<::js_sys::Object>;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGL2RenderingContext" , js_name = drawingBufferWidth)]
+ #[doc = "Getter for the `drawingBufferWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn drawing_buffer_width(this: &WebGl2RenderingContext) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGL2RenderingContext" , js_name = drawingBufferHeight)]
+ #[doc = "Getter for the `drawingBufferHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn drawing_buffer_height(this: &WebGl2RenderingContext) -> i32;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = beginQuery)]
+ #[doc = "The `beginQuery()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginQuery)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
+ pub fn begin_query(this: &WebGl2RenderingContext, target: u32, query: &WebGlQuery);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = beginTransformFeedback)]
+ #[doc = "The `beginTransformFeedback()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginTransformFeedback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn begin_transform_feedback(this: &WebGl2RenderingContext, primitive_mode: u32);
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferBase)]
+ #[doc = "The `bindBufferBase()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferBase)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
+ pub fn bind_buffer_base(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ index: u32,
+ buffer: Option<&WebGlBuffer>,
+ );
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)]
+ #[doc = "The `bindBufferRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
+ pub fn bind_buffer_range_with_i32_and_i32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ index: u32,
+ buffer: Option<&WebGlBuffer>,
+ offset: i32,
+ size: i32,
+ );
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)]
+ #[doc = "The `bindBufferRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
+ pub fn bind_buffer_range_with_f64_and_i32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ index: u32,
+ buffer: Option<&WebGlBuffer>,
+ offset: f64,
+ size: i32,
+ );
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)]
+ #[doc = "The `bindBufferRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
+ pub fn bind_buffer_range_with_i32_and_f64(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ index: u32,
+ buffer: Option<&WebGlBuffer>,
+ offset: i32,
+ size: f64,
+ );
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange)]
+ #[doc = "The `bindBufferRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
+ pub fn bind_buffer_range_with_f64_and_f64(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ index: u32,
+ buffer: Option<&WebGlBuffer>,
+ offset: f64,
+ size: f64,
+ );
+ #[cfg(feature = "WebGlSampler")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindSampler)]
+ #[doc = "The `bindSampler()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindSampler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
+ pub fn bind_sampler(this: &WebGl2RenderingContext, unit: u32, sampler: Option<&WebGlSampler>);
+ #[cfg(feature = "WebGlTransformFeedback")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindTransformFeedback)]
+ #[doc = "The `bindTransformFeedback()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTransformFeedback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"]
+ pub fn bind_transform_feedback(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ tf: Option<&WebGlTransformFeedback>,
+ );
+ #[cfg(feature = "WebGlVertexArrayObject")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindVertexArray)]
+ #[doc = "The `bindVertexArray()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindVertexArray)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"]
+ pub fn bind_vertex_array(this: &WebGl2RenderingContext, array: Option<&WebGlVertexArrayObject>);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blitFramebuffer)]
+ #[doc = "The `blitFramebuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blitFramebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn blit_framebuffer(
+ this: &WebGl2RenderingContext,
+ src_x0: i32,
+ src_y0: i32,
+ src_x1: i32,
+ src_y1: i32,
+ dst_x0: i32,
+ dst_y0: i32,
+ dst_x1: i32,
+ dst_y1: i32,
+ mask: u32,
+ filter: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_data_with_i32(this: &WebGl2RenderingContext, target: u32, size: i32, usage: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_data_with_f64(this: &WebGl2RenderingContext, target: u32, size: f64, usage: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_data_with_opt_array_buffer(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_data: Option<&::js_sys::ArrayBuffer>,
+ usage: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_data_with_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_data: &::js_sys::Object,
+ usage: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_data_with_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_data: &[u8],
+ usage: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_data_with_array_buffer_view_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_data: &::js_sys::Object,
+ usage: u32,
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_data_with_u8_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_data: &[u8],
+ usage: u32,
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_data_with_array_buffer_view_and_src_offset_and_length(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_data: &::js_sys::Object,
+ usage: u32,
+ src_offset: u32,
+ length: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_data_with_u8_array_and_src_offset_and_length(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_data: &[u8],
+ usage: u32,
+ src_offset: u32,
+ length: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_i32_and_array_buffer(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ offset: i32,
+ src_data: &::js_sys::ArrayBuffer,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_f64_and_array_buffer(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ offset: f64,
+ src_data: &::js_sys::ArrayBuffer,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_i32_and_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ offset: i32,
+ src_data: &::js_sys::Object,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_f64_and_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ offset: f64,
+ src_data: &::js_sys::Object,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_i32_and_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ offset: i32,
+ src_data: &[u8],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_f64_and_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ offset: f64,
+ src_data: &[u8],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ dst_byte_offset: i32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ dst_byte_offset: f64,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ dst_byte_offset: i32,
+ src_data: &[u8],
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ dst_byte_offset: f64,
+ src_data: &[u8],
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ dst_byte_offset: i32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ length: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ dst_byte_offset: f64,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ length: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ dst_byte_offset: i32,
+ src_data: &[u8],
+ src_offset: u32,
+ length: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ dst_byte_offset: f64,
+ src_data: &[u8],
+ src_offset: u32,
+ length: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfi)]
+ #[doc = "The `clearBufferfi()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfi)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferfi(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ depth: f32,
+ stencil: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)]
+ #[doc = "The `clearBufferfv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferfv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ values: &[f32],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)]
+ #[doc = "The `clearBufferfv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferfv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)]
+ #[doc = "The `clearBufferfv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferfv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ values: &[f32],
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv)]
+ #[doc = "The `clearBufferfv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferfv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ values: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)]
+ #[doc = "The `clearBufferiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferiv_with_i32_array(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ values: &[i32],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)]
+ #[doc = "The `clearBufferiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferiv_with_i32_sequence(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)]
+ #[doc = "The `clearBufferiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferiv_with_i32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ values: &[i32],
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv)]
+ #[doc = "The `clearBufferiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferiv_with_i32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ values: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)]
+ #[doc = "The `clearBufferuiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferuiv_with_u32_array(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ values: &[u32],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)]
+ #[doc = "The `clearBufferuiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferuiv_with_u32_sequence(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)]
+ #[doc = "The `clearBufferuiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferuiv_with_u32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ values: &[u32],
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv)]
+ #[doc = "The `clearBufferuiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_bufferuiv_with_u32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ buffer: u32,
+ drawbuffer: i32,
+ values: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlSync")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clientWaitSync)]
+ #[doc = "The `clientWaitSync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
+ pub fn client_wait_sync_with_u32(
+ this: &WebGl2RenderingContext,
+ sync: &WebGlSync,
+ flags: u32,
+ timeout: u32,
+ ) -> u32;
+ #[cfg(feature = "WebGlSync")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clientWaitSync)]
+ #[doc = "The `clientWaitSync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
+ pub fn client_wait_sync_with_f64(
+ this: &WebGl2RenderingContext,
+ sync: &WebGlSync,
+ flags: u32,
+ timeout: f64,
+ ) -> u32;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
+ #[doc = "The `compressedTexImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_2d_with_i32_and_i32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ border: i32,
+ image_size: i32,
+ offset: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
+ #[doc = "The `compressedTexImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_2d_with_i32_and_f64(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ border: i32,
+ image_size: i32,
+ offset: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
+ #[doc = "The `compressedTexImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_2d_with_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ border: i32,
+ src_data: &::js_sys::Object,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
+ #[doc = "The `compressedTexImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_2d_with_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ border: i32,
+ src_data: &[u8],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
+ #[doc = "The `compressedTexImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ border: i32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
+ #[doc = "The `compressedTexImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_2d_with_u8_array_and_u32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ border: i32,
+ src_data: &[u8],
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
+ #[doc = "The `compressedTexImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ border: i32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ src_length_override: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D)]
+ #[doc = "The `compressedTexImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ border: i32,
+ src_data: &[u8],
+ src_offset: u32,
+ src_length_override: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
+ #[doc = "The `compressedTexImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_3d_with_i32_and_i32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ image_size: i32,
+ offset: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
+ #[doc = "The `compressedTexImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_3d_with_i32_and_f64(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ image_size: i32,
+ offset: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
+ #[doc = "The `compressedTexImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_3d_with_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ src_data: &::js_sys::Object,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
+ #[doc = "The `compressedTexImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_3d_with_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ src_data: &[u8],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
+ #[doc = "The `compressedTexImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
+ #[doc = "The `compressedTexImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_3d_with_u8_array_and_u32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ src_data: &[u8],
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
+ #[doc = "The `compressedTexImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ src_length_override: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D)]
+ #[doc = "The `compressedTexImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ src_data: &[u8],
+ src_offset: u32,
+ src_length_override: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
+ #[doc = "The `compressedTexSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_2d_with_i32_and_i32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ image_size: i32,
+ offset: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
+ #[doc = "The `compressedTexSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_2d_with_i32_and_f64(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ image_size: i32,
+ offset: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
+ #[doc = "The `compressedTexSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_2d_with_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ src_data: &::js_sys::Object,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
+ #[doc = "The `compressedTexSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_2d_with_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ src_data: &mut [u8],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
+ #[doc = "The `compressedTexSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
+ #[doc = "The `compressedTexSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ src_data: &mut [u8],
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
+ #[doc = "The `compressedTexSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ src_length_override: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D)]
+ #[doc = "The `compressedTexSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ src_data: &mut [u8],
+ src_offset: u32,
+ src_length_override: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
+ #[doc = "The `compressedTexSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_3d_with_i32_and_i32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ image_size: i32,
+ offset: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
+ #[doc = "The `compressedTexSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_3d_with_i32_and_f64(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ image_size: i32,
+ offset: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
+ #[doc = "The `compressedTexSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_3d_with_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ src_data: &::js_sys::Object,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
+ #[doc = "The `compressedTexSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_3d_with_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ src_data: &mut [u8],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
+ #[doc = "The `compressedTexSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
+ #[doc = "The `compressedTexSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ src_data: &mut [u8],
+ src_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
+ #[doc = "The `compressedTexSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ src_length_override: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D)]
+ #[doc = "The `compressedTexSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ src_data: &mut [u8],
+ src_offset: u32,
+ src_length_override: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
+ #[doc = "The `copyBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn copy_buffer_sub_data_with_i32_and_i32_and_i32(
+ this: &WebGl2RenderingContext,
+ read_target: u32,
+ write_target: u32,
+ read_offset: i32,
+ write_offset: i32,
+ size: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
+ #[doc = "The `copyBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn copy_buffer_sub_data_with_f64_and_i32_and_i32(
+ this: &WebGl2RenderingContext,
+ read_target: u32,
+ write_target: u32,
+ read_offset: f64,
+ write_offset: i32,
+ size: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
+ #[doc = "The `copyBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn copy_buffer_sub_data_with_i32_and_f64_and_i32(
+ this: &WebGl2RenderingContext,
+ read_target: u32,
+ write_target: u32,
+ read_offset: i32,
+ write_offset: f64,
+ size: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
+ #[doc = "The `copyBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn copy_buffer_sub_data_with_f64_and_f64_and_i32(
+ this: &WebGl2RenderingContext,
+ read_target: u32,
+ write_target: u32,
+ read_offset: f64,
+ write_offset: f64,
+ size: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
+ #[doc = "The `copyBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn copy_buffer_sub_data_with_i32_and_i32_and_f64(
+ this: &WebGl2RenderingContext,
+ read_target: u32,
+ write_target: u32,
+ read_offset: i32,
+ write_offset: i32,
+ size: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
+ #[doc = "The `copyBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn copy_buffer_sub_data_with_f64_and_i32_and_f64(
+ this: &WebGl2RenderingContext,
+ read_target: u32,
+ write_target: u32,
+ read_offset: f64,
+ write_offset: i32,
+ size: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
+ #[doc = "The `copyBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn copy_buffer_sub_data_with_i32_and_f64_and_f64(
+ this: &WebGl2RenderingContext,
+ read_target: u32,
+ write_target: u32,
+ read_offset: i32,
+ write_offset: f64,
+ size: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData)]
+ #[doc = "The `copyBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn copy_buffer_sub_data_with_f64_and_f64_and_f64(
+ this: &WebGl2RenderingContext,
+ read_target: u32,
+ write_target: u32,
+ read_offset: f64,
+ write_offset: f64,
+ size: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexSubImage3D)]
+ #[doc = "The `copyTexSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn copy_tex_sub_image_3d(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ );
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createQuery)]
+ #[doc = "The `createQuery()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createQuery)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
+ pub fn create_query(this: &WebGl2RenderingContext) -> Option<WebGlQuery>;
+ #[cfg(feature = "WebGlSampler")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createSampler)]
+ #[doc = "The `createSampler()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createSampler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
+ pub fn create_sampler(this: &WebGl2RenderingContext) -> Option<WebGlSampler>;
+ #[cfg(feature = "WebGlTransformFeedback")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createTransformFeedback)]
+ #[doc = "The `createTransformFeedback()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTransformFeedback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"]
+ pub fn create_transform_feedback(
+ this: &WebGl2RenderingContext,
+ ) -> Option<WebGlTransformFeedback>;
+ #[cfg(feature = "WebGlVertexArrayObject")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createVertexArray)]
+ #[doc = "The `createVertexArray()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createVertexArray)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"]
+ pub fn create_vertex_array(this: &WebGl2RenderingContext) -> Option<WebGlVertexArrayObject>;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteQuery)]
+ #[doc = "The `deleteQuery()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteQuery)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
+ pub fn delete_query(this: &WebGl2RenderingContext, query: Option<&WebGlQuery>);
+ #[cfg(feature = "WebGlSampler")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteSampler)]
+ #[doc = "The `deleteSampler()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSampler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
+ pub fn delete_sampler(this: &WebGl2RenderingContext, sampler: Option<&WebGlSampler>);
+ #[cfg(feature = "WebGlSync")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteSync)]
+ #[doc = "The `deleteSync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
+ pub fn delete_sync(this: &WebGl2RenderingContext, sync: Option<&WebGlSync>);
+ #[cfg(feature = "WebGlTransformFeedback")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteTransformFeedback)]
+ #[doc = "The `deleteTransformFeedback()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTransformFeedback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"]
+ pub fn delete_transform_feedback(
+ this: &WebGl2RenderingContext,
+ tf: Option<&WebGlTransformFeedback>,
+ );
+ #[cfg(feature = "WebGlVertexArrayObject")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteVertexArray)]
+ #[doc = "The `deleteVertexArray()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteVertexArray)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"]
+ pub fn delete_vertex_array(
+ this: &WebGl2RenderingContext,
+ vertex_array: Option<&WebGlVertexArrayObject>,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawArraysInstanced)]
+ #[doc = "The `drawArraysInstanced()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArraysInstanced)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn draw_arrays_instanced(
+ this: &WebGl2RenderingContext,
+ mode: u32,
+ first: i32,
+ count: i32,
+ instance_count: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawBuffers)]
+ #[doc = "The `drawBuffers()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawBuffers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn draw_buffers(this: &WebGl2RenderingContext, buffers: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElementsInstanced)]
+ #[doc = "The `drawElementsInstanced()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn draw_elements_instanced_with_i32(
+ this: &WebGl2RenderingContext,
+ mode: u32,
+ count: i32,
+ type_: u32,
+ offset: i32,
+ instance_count: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElementsInstanced)]
+ #[doc = "The `drawElementsInstanced()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn draw_elements_instanced_with_f64(
+ this: &WebGl2RenderingContext,
+ mode: u32,
+ count: i32,
+ type_: u32,
+ offset: f64,
+ instance_count: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawRangeElements)]
+ #[doc = "The `drawRangeElements()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn draw_range_elements_with_i32(
+ this: &WebGl2RenderingContext,
+ mode: u32,
+ start: u32,
+ end: u32,
+ count: i32,
+ type_: u32,
+ offset: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawRangeElements)]
+ #[doc = "The `drawRangeElements()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn draw_range_elements_with_f64(
+ this: &WebGl2RenderingContext,
+ mode: u32,
+ start: u32,
+ end: u32,
+ count: i32,
+ type_: u32,
+ offset: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = endQuery)]
+ #[doc = "The `endQuery()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endQuery)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn end_query(this: &WebGl2RenderingContext, target: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = endTransformFeedback)]
+ #[doc = "The `endTransformFeedback()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endTransformFeedback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn end_transform_feedback(this: &WebGl2RenderingContext);
+ #[cfg(feature = "WebGlSync")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = fenceSync)]
+ #[doc = "The `fenceSync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/fenceSync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
+ pub fn fence_sync(
+ this: &WebGl2RenderingContext,
+ condition: u32,
+ flags: u32,
+ ) -> Option<WebGlSync>;
+ #[cfg(feature = "WebGlTexture")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferTextureLayer)]
+ #[doc = "The `framebufferTextureLayer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
+ pub fn framebuffer_texture_layer(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ attachment: u32,
+ texture: Option<&WebGlTexture>,
+ level: i32,
+ layer: i32,
+ );
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniformBlockName)]
+ #[doc = "The `getActiveUniformBlockName()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn get_active_uniform_block_name(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ uniform_block_index: u32,
+ ) -> Option<String>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniformBlockParameter)]
+ #[doc = "The `getActiveUniformBlockParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn get_active_uniform_block_parameter(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ uniform_block_index: u32,
+ pname: u32,
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniforms)]
+ #[doc = "The `getActiveUniforms()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniforms)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn get_active_uniforms(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ uniform_indices: &::wasm_bindgen::JsValue,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
+ #[doc = "The `getBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_sub_data_with_i32_and_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_byte_offset: i32,
+ dst_data: &::js_sys::Object,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
+ #[doc = "The `getBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_sub_data_with_f64_and_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_byte_offset: f64,
+ dst_data: &::js_sys::Object,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
+ #[doc = "The `getBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_sub_data_with_i32_and_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_byte_offset: i32,
+ dst_data: &mut [u8],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
+ #[doc = "The `getBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_sub_data_with_f64_and_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_byte_offset: f64,
+ dst_data: &mut [u8],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
+ #[doc = "The `getBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_byte_offset: i32,
+ dst_data: &::js_sys::Object,
+ dst_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
+ #[doc = "The `getBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_byte_offset: f64,
+ dst_data: &::js_sys::Object,
+ dst_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
+ #[doc = "The `getBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_byte_offset: i32,
+ dst_data: &mut [u8],
+ dst_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
+ #[doc = "The `getBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_byte_offset: f64,
+ dst_data: &mut [u8],
+ dst_offset: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
+ #[doc = "The `getBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_byte_offset: i32,
+ dst_data: &::js_sys::Object,
+ dst_offset: u32,
+ length: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
+ #[doc = "The `getBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_byte_offset: f64,
+ dst_data: &::js_sys::Object,
+ dst_offset: u32,
+ length: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
+ #[doc = "The `getBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_byte_offset: i32,
+ dst_data: &mut [u8],
+ dst_offset: u32,
+ length: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData)]
+ #[doc = "The `getBufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ src_byte_offset: f64,
+ dst_data: &mut [u8],
+ dst_offset: u32,
+ length: u32,
+ );
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getFragDataLocation)]
+ #[doc = "The `getFragDataLocation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFragDataLocation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn get_frag_data_location(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ name: &str,
+ ) -> i32;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getIndexedParameter)]
+ #[doc = "The `getIndexedParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getIndexedParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_indexed_parameter(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ index: u32,
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getInternalformatParameter)]
+ #[doc = "The `getInternalformatParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_internalformat_parameter(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ internalformat: u32,
+ pname: u32,
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getQuery)]
+ #[doc = "The `getQuery()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQuery)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_query(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getQueryParameter)]
+ #[doc = "The `getQueryParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQueryParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
+ pub fn get_query_parameter(
+ this: &WebGl2RenderingContext,
+ query: &WebGlQuery,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlSampler")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSamplerParameter)]
+ #[doc = "The `getSamplerParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSamplerParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
+ pub fn get_sampler_parameter(
+ this: &WebGl2RenderingContext,
+ sampler: &WebGlSampler,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlSync")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSyncParameter)]
+ #[doc = "The `getSyncParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSyncParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
+ pub fn get_sync_parameter(
+ this: &WebGl2RenderingContext,
+ sync: &WebGlSync,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getTransformFeedbackVarying)]
+ #[doc = "The `getTransformFeedbackVarying()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
+ pub fn get_transform_feedback_varying(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ index: u32,
+ ) -> Option<WebGlActiveInfo>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformBlockIndex)]
+ #[doc = "The `getUniformBlockIndex()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformBlockIndex)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn get_uniform_block_index(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ uniform_block_name: &str,
+ ) -> u32;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformIndices)]
+ #[doc = "The `getUniformIndices()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformIndices)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn get_uniform_indices(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ uniform_names: &::wasm_bindgen::JsValue,
+ ) -> Option<::js_sys::Array>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = invalidateFramebuffer)]
+ #[doc = "The `invalidateFramebuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn invalidate_framebuffer(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ attachments: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = invalidateSubFramebuffer)]
+ #[doc = "The `invalidateSubFramebuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn invalidate_sub_framebuffer(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ attachments: &::wasm_bindgen::JsValue,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isQuery)]
+ #[doc = "The `isQuery()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isQuery)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"]
+ pub fn is_query(this: &WebGl2RenderingContext, query: Option<&WebGlQuery>) -> bool;
+ #[cfg(feature = "WebGlSampler")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isSampler)]
+ #[doc = "The `isSampler()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSampler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
+ pub fn is_sampler(this: &WebGl2RenderingContext, sampler: Option<&WebGlSampler>) -> bool;
+ #[cfg(feature = "WebGlSync")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isSync)]
+ #[doc = "The `isSync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
+ pub fn is_sync(this: &WebGl2RenderingContext, sync: Option<&WebGlSync>) -> bool;
+ #[cfg(feature = "WebGlTransformFeedback")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isTransformFeedback)]
+ #[doc = "The `isTransformFeedback()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTransformFeedback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*"]
+ pub fn is_transform_feedback(
+ this: &WebGl2RenderingContext,
+ tf: Option<&WebGlTransformFeedback>,
+ ) -> bool;
+ #[cfg(feature = "WebGlVertexArrayObject")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isVertexArray)]
+ #[doc = "The `isVertexArray()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isVertexArray)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"]
+ pub fn is_vertex_array(
+ this: &WebGl2RenderingContext,
+ vertex_array: Option<&WebGlVertexArrayObject>,
+ ) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = pauseTransformFeedback)]
+ #[doc = "The `pauseTransformFeedback()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pauseTransformFeedback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn pause_transform_feedback(this: &WebGl2RenderingContext);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = readBuffer)]
+ #[doc = "The `readBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn read_buffer(this: &WebGl2RenderingContext, src: u32);
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
+ #[doc = "The `readPixels()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn read_pixels_with_opt_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ dst_data: Option<&::js_sys::Object>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
+ #[doc = "The `readPixels()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn read_pixels_with_opt_u8_array(
+ this: &WebGl2RenderingContext,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ dst_data: Option<&mut [u8]>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
+ #[doc = "The `readPixels()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn read_pixels_with_i32(
+ this: &WebGl2RenderingContext,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ offset: i32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
+ #[doc = "The `readPixels()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn read_pixels_with_f64(
+ this: &WebGl2RenderingContext,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ offset: f64,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
+ #[doc = "The `readPixels()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn read_pixels_with_array_buffer_view_and_dst_offset(
+ this: &WebGl2RenderingContext,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ dst_data: &::js_sys::Object,
+ dst_offset: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels)]
+ #[doc = "The `readPixels()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn read_pixels_with_u8_array_and_dst_offset(
+ this: &WebGl2RenderingContext,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ dst_data: &mut [u8],
+ dst_offset: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = renderbufferStorageMultisample)]
+ #[doc = "The `renderbufferStorageMultisample()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorageMultisample)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn renderbuffer_storage_multisample(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ samples: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = resumeTransformFeedback)]
+ #[doc = "The `resumeTransformFeedback()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/resumeTransformFeedback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn resume_transform_feedback(this: &WebGl2RenderingContext);
+ #[cfg(feature = "WebGlSampler")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = samplerParameterf)]
+ #[doc = "The `samplerParameterf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameterf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
+ pub fn sampler_parameterf(
+ this: &WebGl2RenderingContext,
+ sampler: &WebGlSampler,
+ pname: u32,
+ param: f32,
+ );
+ #[cfg(feature = "WebGlSampler")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = samplerParameteri)]
+ #[doc = "The `samplerParameteri()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameteri)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"]
+ pub fn sampler_parameteri(
+ this: &WebGl2RenderingContext,
+ sampler: &WebGlSampler,
+ pname: u32,
+ param: i32,
+ );
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ pixels: Option<&::js_sys::Object>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ pixels: Option<&[u8]>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_u32_and_u32_and_html_canvas_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlCanvasElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_u32_and_u32_and_html_image_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlImageElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_u32_and_u32_and_html_video_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlVideoElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn tex_image_2d_with_u32_and_u32_and_video_frame(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ format: u32,
+ type_: u32,
+ source: &VideoFrame,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ format: u32,
+ type_: u32,
+ source: &ImageBitmap,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_u32_and_u32_and_image_data(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ format: u32,
+ type_: u32,
+ source: &ImageData,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ pbo_offset: i32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ pbo_offset: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlCanvasElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlImageElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlVideoElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_video_frame(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ source: &VideoFrame,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ source: &ImageBitmap,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ source: &ImageData,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ src_data: &[u8],
+ src_offset: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
+ #[doc = "The `texImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_image_3d_with_i32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ pbo_offset: i32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
+ #[doc = "The `texImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_image_3d_with_f64(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ pbo_offset: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
+ #[doc = "The `texImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_3d_with_html_canvas_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlCanvasElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
+ #[doc = "The `texImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_3d_with_html_image_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlImageElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
+ #[doc = "The `texImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_3d_with_html_video_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlVideoElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
+ #[doc = "The `texImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn tex_image_3d_with_video_frame(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ source: &VideoFrame,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
+ #[doc = "The `texImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_3d_with_image_bitmap(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ source: &ImageBitmap,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
+ #[doc = "The `texImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
+ pub fn tex_image_3d_with_image_data(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ source: &ImageData,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
+ #[doc = "The `texImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_image_3d_with_opt_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ src_data: Option<&::js_sys::Object>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
+ #[doc = "The `texImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_image_3d_with_opt_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ src_data: Option<&[u8]>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
+ #[doc = "The `texImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_image_3d_with_array_buffer_view_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D)]
+ #[doc = "The `texImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_image_3d_with_u8_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ src_data: &[u8],
+ src_offset: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texStorage2D)]
+ #[doc = "The `texStorage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_storage_2d(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ levels: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texStorage3D)]
+ #[doc = "The `texStorage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_storage_3d(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ levels: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ );
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ pixels: Option<&::js_sys::Object>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ pixels: Option<&[u8]>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlCanvasElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_u32_and_u32_and_html_image_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlImageElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_u32_and_u32_and_html_video_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlVideoElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn tex_sub_image_2d_with_u32_and_u32_and_video_frame(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ format: u32,
+ type_: u32,
+ source: &VideoFrame,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ format: u32,
+ type_: u32,
+ source: &ImageBitmap,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ format: u32,
+ type_: u32,
+ source: &ImageData,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ pbo_offset: i32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ pbo_offset: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlCanvasElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlImageElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlVideoElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_video_frame(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ source: &VideoFrame,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ source: &ImageBitmap,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ source: &ImageData,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ src_data: &::js_sys::Object,
+ src_offset: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ src_data: &[u8],
+ src_offset: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
+ #[doc = "The `texSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_3d_with_i32(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ type_: u32,
+ pbo_offset: i32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
+ #[doc = "The `texSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_3d_with_f64(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ type_: u32,
+ pbo_offset: f64,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
+ #[doc = "The `texSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_3d_with_html_canvas_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlCanvasElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
+ #[doc = "The `texSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_3d_with_html_image_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlImageElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
+ #[doc = "The `texSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_3d_with_html_video_element(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ type_: u32,
+ source: &HtmlVideoElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
+ #[doc = "The `texSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGl2RenderingContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn tex_sub_image_3d_with_video_frame(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ type_: u32,
+ source: &VideoFrame,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
+ #[doc = "The `texSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_3d_with_image_bitmap(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ type_: u32,
+ source: &ImageBitmap,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
+ #[doc = "The `texSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_3d_with_image_data(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ type_: u32,
+ source: &ImageData,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
+ #[doc = "The `texSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_3d_with_opt_array_buffer_view(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ type_: u32,
+ src_data: Option<&::js_sys::Object>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
+ #[doc = "The `texSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_3d_with_opt_u8_array(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ type_: u32,
+ src_data: Option<&[u8]>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
+ #[doc = "The `texSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ type_: u32,
+ src_data: Option<&::js_sys::Object>,
+ src_offset: u32,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D)]
+ #[doc = "The `texSubImage3D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_sub_image_3d_with_opt_u8_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ zoffset: i32,
+ width: i32,
+ height: i32,
+ depth: i32,
+ format: u32,
+ type_: u32,
+ src_data: Option<&[u8]>,
+ src_offset: u32,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = transformFeedbackVaryings)]
+ #[doc = "The `transformFeedbackVaryings()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn transform_feedback_varyings(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ varyings: &::wasm_bindgen::JsValue,
+ buffer_mode: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
+ #[doc = "The `uniform1fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
+ #[doc = "The `uniform1fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
+ #[doc = "The `uniform1fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
+ #[doc = "The `uniform1fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
+ #[doc = "The `uniform1fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv)]
+ #[doc = "The `uniform1fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
+ #[doc = "The `uniform1iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1iv_with_i32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
+ #[doc = "The `uniform1iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1iv_with_i32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
+ #[doc = "The `uniform1iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1iv_with_i32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
+ #[doc = "The `uniform1iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1iv_with_i32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
+ #[doc = "The `uniform1iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1iv_with_i32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv)]
+ #[doc = "The `uniform1iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1iv_with_i32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1ui)]
+ #[doc = "The `uniform1ui()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1ui)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1ui(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ v0: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
+ #[doc = "The `uniform1uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1uiv_with_u32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[u32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
+ #[doc = "The `uniform1uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1uiv_with_u32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
+ #[doc = "The `uniform1uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1uiv_with_u32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[u32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
+ #[doc = "The `uniform1uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1uiv_with_u32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
+ #[doc = "The `uniform1uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1uiv_with_u32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[u32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv)]
+ #[doc = "The `uniform1uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1uiv_with_u32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
+ #[doc = "The `uniform2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
+ #[doc = "The `uniform2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
+ #[doc = "The `uniform2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
+ #[doc = "The `uniform2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
+ #[doc = "The `uniform2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv)]
+ #[doc = "The `uniform2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
+ #[doc = "The `uniform2iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2iv_with_i32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
+ #[doc = "The `uniform2iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2iv_with_i32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
+ #[doc = "The `uniform2iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2iv_with_i32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
+ #[doc = "The `uniform2iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2iv_with_i32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
+ #[doc = "The `uniform2iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2iv_with_i32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv)]
+ #[doc = "The `uniform2iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2iv_with_i32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2ui)]
+ #[doc = "The `uniform2ui()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2ui)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2ui(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ v0: u32,
+ v1: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
+ #[doc = "The `uniform2uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2uiv_with_u32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[u32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
+ #[doc = "The `uniform2uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2uiv_with_u32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
+ #[doc = "The `uniform2uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2uiv_with_u32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[u32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
+ #[doc = "The `uniform2uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2uiv_with_u32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
+ #[doc = "The `uniform2uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2uiv_with_u32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[u32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv)]
+ #[doc = "The `uniform2uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2uiv_with_u32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
+ #[doc = "The `uniform3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
+ #[doc = "The `uniform3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
+ #[doc = "The `uniform3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
+ #[doc = "The `uniform3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
+ #[doc = "The `uniform3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv)]
+ #[doc = "The `uniform3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
+ #[doc = "The `uniform3iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3iv_with_i32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
+ #[doc = "The `uniform3iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3iv_with_i32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
+ #[doc = "The `uniform3iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3iv_with_i32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
+ #[doc = "The `uniform3iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3iv_with_i32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
+ #[doc = "The `uniform3iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3iv_with_i32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv)]
+ #[doc = "The `uniform3iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3iv_with_i32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3ui)]
+ #[doc = "The `uniform3ui()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3ui)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3ui(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ v0: u32,
+ v1: u32,
+ v2: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
+ #[doc = "The `uniform3uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3uiv_with_u32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[u32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
+ #[doc = "The `uniform3uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3uiv_with_u32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
+ #[doc = "The `uniform3uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3uiv_with_u32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[u32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
+ #[doc = "The `uniform3uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3uiv_with_u32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
+ #[doc = "The `uniform3uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3uiv_with_u32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[u32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv)]
+ #[doc = "The `uniform3uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3uiv_with_u32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
+ #[doc = "The `uniform4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
+ #[doc = "The `uniform4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
+ #[doc = "The `uniform4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
+ #[doc = "The `uniform4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
+ #[doc = "The `uniform4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv)]
+ #[doc = "The `uniform4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
+ #[doc = "The `uniform4iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4iv_with_i32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
+ #[doc = "The `uniform4iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4iv_with_i32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
+ #[doc = "The `uniform4iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4iv_with_i32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
+ #[doc = "The `uniform4iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4iv_with_i32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
+ #[doc = "The `uniform4iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4iv_with_i32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv)]
+ #[doc = "The `uniform4iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4iv_with_i32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4ui)]
+ #[doc = "The `uniform4ui()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4ui)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4ui(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ v0: u32,
+ v1: u32,
+ v2: u32,
+ v3: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
+ #[doc = "The `uniform4uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4uiv_with_u32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[u32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
+ #[doc = "The `uniform4uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4uiv_with_u32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
+ #[doc = "The `uniform4uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4uiv_with_u32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[u32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
+ #[doc = "The `uniform4uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4uiv_with_u32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
+ #[doc = "The `uniform4uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4uiv_with_u32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[u32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv)]
+ #[doc = "The `uniform4uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4uiv_with_u32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformBlockBinding)]
+ #[doc = "The `uniformBlockBinding()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn uniform_block_binding(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ uniform_block_index: u32,
+ uniform_block_binding: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
+ #[doc = "The `uniformMatrix2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
+ #[doc = "The `uniformMatrix2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
+ #[doc = "The `uniformMatrix2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
+ #[doc = "The `uniformMatrix2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
+ #[doc = "The `uniformMatrix2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv)]
+ #[doc = "The `uniformMatrix2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
+ #[doc = "The `uniformMatrix2x3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2x3fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
+ #[doc = "The `uniformMatrix2x3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2x3fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
+ #[doc = "The `uniformMatrix2x3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
+ #[doc = "The `uniformMatrix2x3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
+ #[doc = "The `uniformMatrix2x3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv)]
+ #[doc = "The `uniformMatrix2x3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2x3fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
+ #[doc = "The `uniformMatrix2x4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2x4fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
+ #[doc = "The `uniformMatrix2x4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2x4fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
+ #[doc = "The `uniformMatrix2x4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
+ #[doc = "The `uniformMatrix2x4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
+ #[doc = "The `uniformMatrix2x4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv)]
+ #[doc = "The `uniformMatrix2x4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2x4fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
+ #[doc = "The `uniformMatrix3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
+ #[doc = "The `uniformMatrix3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
+ #[doc = "The `uniformMatrix3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
+ #[doc = "The `uniformMatrix3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
+ #[doc = "The `uniformMatrix3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv)]
+ #[doc = "The `uniformMatrix3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
+ #[doc = "The `uniformMatrix3x2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3x2fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
+ #[doc = "The `uniformMatrix3x2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3x2fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
+ #[doc = "The `uniformMatrix3x2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
+ #[doc = "The `uniformMatrix3x2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
+ #[doc = "The `uniformMatrix3x2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv)]
+ #[doc = "The `uniformMatrix3x2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3x2fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
+ #[doc = "The `uniformMatrix3x4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3x4fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
+ #[doc = "The `uniformMatrix3x4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3x4fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
+ #[doc = "The `uniformMatrix3x4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
+ #[doc = "The `uniformMatrix3x4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
+ #[doc = "The `uniformMatrix3x4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv)]
+ #[doc = "The `uniformMatrix3x4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3x4fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
+ #[doc = "The `uniformMatrix4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
+ #[doc = "The `uniformMatrix4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
+ #[doc = "The `uniformMatrix4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
+ #[doc = "The `uniformMatrix4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
+ #[doc = "The `uniformMatrix4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv)]
+ #[doc = "The `uniformMatrix4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
+ #[doc = "The `uniformMatrix4x2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4x2fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
+ #[doc = "The `uniformMatrix4x2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4x2fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
+ #[doc = "The `uniformMatrix4x2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
+ #[doc = "The `uniformMatrix4x2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
+ #[doc = "The `uniformMatrix4x2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv)]
+ #[doc = "The `uniformMatrix4x2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4x2fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
+ #[doc = "The `uniformMatrix4x3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4x3fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
+ #[doc = "The `uniformMatrix4x3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4x3fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
+ #[doc = "The `uniformMatrix4x3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
+ #[doc = "The `uniformMatrix4x3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
+ #[doc = "The `uniformMatrix4x3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ src_offset: u32,
+ src_length: u32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv)]
+ #[doc = "The `uniformMatrix4x3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4x3fv_with_f32_sequence_and_src_offset_and_src_length(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ src_offset: u32,
+ src_length: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribDivisor)]
+ #[doc = "The `vertexAttribDivisor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib_divisor(this: &WebGl2RenderingContext, index: u32, divisor: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4i)]
+ #[doc = "The `vertexAttribI4i()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4i)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib_i4i(
+ this: &WebGl2RenderingContext,
+ index: u32,
+ x: i32,
+ y: i32,
+ z: i32,
+ w: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv)]
+ #[doc = "The `vertexAttribI4iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib_i4iv_with_i32_array(
+ this: &WebGl2RenderingContext,
+ index: u32,
+ values: &mut [i32],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv)]
+ #[doc = "The `vertexAttribI4iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib_i4iv_with_i32_sequence(
+ this: &WebGl2RenderingContext,
+ index: u32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4ui)]
+ #[doc = "The `vertexAttribI4ui()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4ui)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib_i4ui(
+ this: &WebGl2RenderingContext,
+ index: u32,
+ x: u32,
+ y: u32,
+ z: u32,
+ w: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv)]
+ #[doc = "The `vertexAttribI4uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib_i4uiv_with_u32_array(
+ this: &WebGl2RenderingContext,
+ index: u32,
+ values: &mut [u32],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv)]
+ #[doc = "The `vertexAttribI4uiv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib_i4uiv_with_u32_sequence(
+ this: &WebGl2RenderingContext,
+ index: u32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribIPointer)]
+ #[doc = "The `vertexAttribIPointer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib_i_pointer_with_i32(
+ this: &WebGl2RenderingContext,
+ index: u32,
+ size: i32,
+ type_: u32,
+ stride: i32,
+ offset: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribIPointer)]
+ #[doc = "The `vertexAttribIPointer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib_i_pointer_with_f64(
+ this: &WebGl2RenderingContext,
+ index: u32,
+ size: i32,
+ type_: u32,
+ stride: i32,
+ offset: f64,
+ );
+ #[cfg(feature = "WebGlSync")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = waitSync)]
+ #[doc = "The `waitSync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
+ pub fn wait_sync_with_i32(
+ this: &WebGl2RenderingContext,
+ sync: &WebGlSync,
+ flags: u32,
+ timeout: i32,
+ );
+ #[cfg(feature = "WebGlSync")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = waitSync)]
+ #[doc = "The `waitSync()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*"]
+ pub fn wait_sync_with_f64(
+ this: &WebGl2RenderingContext,
+ sync: &WebGlSync,
+ flags: u32,
+ timeout: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = activeTexture)]
+ #[doc = "The `activeTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/activeTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn active_texture(this: &WebGl2RenderingContext, texture: u32);
+ #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = attachShader)]
+ #[doc = "The `attachShader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/attachShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*"]
+ pub fn attach_shader(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ shader: &WebGlShader,
+ );
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindAttribLocation)]
+ #[doc = "The `bindAttribLocation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindAttribLocation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn bind_attrib_location(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ index: u32,
+ name: &str,
+ );
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBuffer)]
+ #[doc = "The `bindBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
+ pub fn bind_buffer(this: &WebGl2RenderingContext, target: u32, buffer: Option<&WebGlBuffer>);
+ #[cfg(feature = "WebGlFramebuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindFramebuffer)]
+ #[doc = "The `bindFramebuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindFramebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
+ pub fn bind_framebuffer(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ framebuffer: Option<&WebGlFramebuffer>,
+ );
+ #[cfg(feature = "WebGlRenderbuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindRenderbuffer)]
+ #[doc = "The `bindRenderbuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindRenderbuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
+ pub fn bind_renderbuffer(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ renderbuffer: Option<&WebGlRenderbuffer>,
+ );
+ #[cfg(feature = "WebGlTexture")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = bindTexture)]
+ #[doc = "The `bindTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
+ pub fn bind_texture(this: &WebGl2RenderingContext, target: u32, texture: Option<&WebGlTexture>);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendColor)]
+ #[doc = "The `blendColor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn blend_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendEquation)]
+ #[doc = "The `blendEquation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn blend_equation(this: &WebGl2RenderingContext, mode: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendEquationSeparate)]
+ #[doc = "The `blendEquationSeparate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquationSeparate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn blend_equation_separate(this: &WebGl2RenderingContext, mode_rgb: u32, mode_alpha: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendFunc)]
+ #[doc = "The `blendFunc()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFunc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn blend_func(this: &WebGl2RenderingContext, sfactor: u32, dfactor: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = blendFuncSeparate)]
+ #[doc = "The `blendFuncSeparate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFuncSeparate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn blend_func_separate(
+ this: &WebGl2RenderingContext,
+ src_rgb: u32,
+ dst_rgb: u32,
+ src_alpha: u32,
+ dst_alpha: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = checkFramebufferStatus)]
+ #[doc = "The `checkFramebufferStatus()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/checkFramebufferStatus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn check_framebuffer_status(this: &WebGl2RenderingContext, target: u32) -> u32;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear(this: &WebGl2RenderingContext, mask: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearColor)]
+ #[doc = "The `clearColor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_color(this: &WebGl2RenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearDepth)]
+ #[doc = "The `clearDepth()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearDepth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_depth(this: &WebGl2RenderingContext, depth: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = clearStencil)]
+ #[doc = "The `clearStencil()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearStencil)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn clear_stencil(this: &WebGl2RenderingContext, s: i32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = colorMask)]
+ #[doc = "The `colorMask()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/colorMask)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn color_mask(
+ this: &WebGl2RenderingContext,
+ red: bool,
+ green: bool,
+ blue: bool,
+ alpha: bool,
+ );
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = compileShader)]
+ #[doc = "The `compileShader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compileShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
+ pub fn compile_shader(this: &WebGl2RenderingContext, shader: &WebGlShader);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexImage2D)]
+ #[doc = "The `copyTexImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn copy_tex_image_2d(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexSubImage2D)]
+ #[doc = "The `copyTexSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn copy_tex_sub_image_2d(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ );
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createBuffer)]
+ #[doc = "The `createBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
+ pub fn create_buffer(this: &WebGl2RenderingContext) -> Option<WebGlBuffer>;
+ #[cfg(feature = "WebGlFramebuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createFramebuffer)]
+ #[doc = "The `createFramebuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createFramebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
+ pub fn create_framebuffer(this: &WebGl2RenderingContext) -> Option<WebGlFramebuffer>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createProgram)]
+ #[doc = "The `createProgram()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn create_program(this: &WebGl2RenderingContext) -> Option<WebGlProgram>;
+ #[cfg(feature = "WebGlRenderbuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createRenderbuffer)]
+ #[doc = "The `createRenderbuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createRenderbuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
+ pub fn create_renderbuffer(this: &WebGl2RenderingContext) -> Option<WebGlRenderbuffer>;
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createShader)]
+ #[doc = "The `createShader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
+ pub fn create_shader(this: &WebGl2RenderingContext, type_: u32) -> Option<WebGlShader>;
+ #[cfg(feature = "WebGlTexture")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = createTexture)]
+ #[doc = "The `createTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
+ pub fn create_texture(this: &WebGl2RenderingContext) -> Option<WebGlTexture>;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = cullFace)]
+ #[doc = "The `cullFace()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/cullFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn cull_face(this: &WebGl2RenderingContext, mode: u32);
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteBuffer)]
+ #[doc = "The `deleteBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
+ pub fn delete_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>);
+ #[cfg(feature = "WebGlFramebuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteFramebuffer)]
+ #[doc = "The `deleteFramebuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteFramebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
+ pub fn delete_framebuffer(
+ this: &WebGl2RenderingContext,
+ framebuffer: Option<&WebGlFramebuffer>,
+ );
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteProgram)]
+ #[doc = "The `deleteProgram()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn delete_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>);
+ #[cfg(feature = "WebGlRenderbuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteRenderbuffer)]
+ #[doc = "The `deleteRenderbuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteRenderbuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
+ pub fn delete_renderbuffer(
+ this: &WebGl2RenderingContext,
+ renderbuffer: Option<&WebGlRenderbuffer>,
+ );
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteShader)]
+ #[doc = "The `deleteShader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
+ pub fn delete_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>);
+ #[cfg(feature = "WebGlTexture")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteTexture)]
+ #[doc = "The `deleteTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
+ pub fn delete_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthFunc)]
+ #[doc = "The `depthFunc()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthFunc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn depth_func(this: &WebGl2RenderingContext, func: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthMask)]
+ #[doc = "The `depthMask()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthMask)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn depth_mask(this: &WebGl2RenderingContext, flag: bool);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = depthRange)]
+ #[doc = "The `depthRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn depth_range(this: &WebGl2RenderingContext, z_near: f32, z_far: f32);
+ #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = detachShader)]
+ #[doc = "The `detachShader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/detachShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*"]
+ pub fn detach_shader(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ shader: &WebGlShader,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = disable)]
+ #[doc = "The `disable()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn disable(this: &WebGl2RenderingContext, cap: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = disableVertexAttribArray)]
+ #[doc = "The `disableVertexAttribArray()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disableVertexAttribArray)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn disable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawArrays)]
+ #[doc = "The `drawArrays()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArrays)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn draw_arrays(this: &WebGl2RenderingContext, mode: u32, first: i32, count: i32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElements)]
+ #[doc = "The `drawElements()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn draw_elements_with_i32(
+ this: &WebGl2RenderingContext,
+ mode: u32,
+ count: i32,
+ type_: u32,
+ offset: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElements)]
+ #[doc = "The `drawElements()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn draw_elements_with_f64(
+ this: &WebGl2RenderingContext,
+ mode: u32,
+ count: i32,
+ type_: u32,
+ offset: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = enable)]
+ #[doc = "The `enable()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn enable(this: &WebGl2RenderingContext, cap: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = enableVertexAttribArray)]
+ #[doc = "The `enableVertexAttribArray()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enableVertexAttribArray)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn enable_vertex_attrib_array(this: &WebGl2RenderingContext, index: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = finish)]
+ #[doc = "The `finish()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/finish)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn finish(this: &WebGl2RenderingContext);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = flush)]
+ #[doc = "The `flush()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/flush)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn flush(this: &WebGl2RenderingContext);
+ #[cfg(feature = "WebGlRenderbuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferRenderbuffer)]
+ #[doc = "The `framebufferRenderbuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferRenderbuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
+ pub fn framebuffer_renderbuffer(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ attachment: u32,
+ renderbuffertarget: u32,
+ renderbuffer: Option<&WebGlRenderbuffer>,
+ );
+ #[cfg(feature = "WebGlTexture")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferTexture2D)]
+ #[doc = "The `framebufferTexture2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTexture2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
+ pub fn framebuffer_texture_2d(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ attachment: u32,
+ textarget: u32,
+ texture: Option<&WebGlTexture>,
+ level: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = frontFace)]
+ #[doc = "The `frontFace()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/frontFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn front_face(this: &WebGl2RenderingContext, mode: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = generateMipmap)]
+ #[doc = "The `generateMipmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/generateMipmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn generate_mipmap(this: &WebGl2RenderingContext, target: u32);
+ #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveAttrib)]
+ #[doc = "The `getActiveAttrib()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveAttrib)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
+ pub fn get_active_attrib(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ index: u32,
+ ) -> Option<WebGlActiveInfo>;
+ #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniform)]
+ #[doc = "The `getActiveUniform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*"]
+ pub fn get_active_uniform(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ index: u32,
+ ) -> Option<WebGlActiveInfo>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getAttachedShaders)]
+ #[doc = "The `getAttachedShaders()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttachedShaders)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn get_attached_shaders(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ ) -> Option<::js_sys::Array>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getAttribLocation)]
+ #[doc = "The `getAttribLocation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttribLocation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn get_attrib_location(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ name: &str,
+ ) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferParameter)]
+ #[doc = "The `getBufferParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_buffer_parameter(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlContextAttributes")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getContextAttributes)]
+ #[doc = "The `getContextAttributes()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getContextAttributes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlContextAttributes`*"]
+ pub fn get_context_attributes(this: &WebGl2RenderingContext) -> Option<WebGlContextAttributes>;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getError)]
+ #[doc = "The `getError()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_error(this: &WebGl2RenderingContext) -> u32;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getExtension)]
+ #[doc = "The `getExtension()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getExtension)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_extension(
+ this: &WebGl2RenderingContext,
+ name: &str,
+ ) -> Result<Option<::js_sys::Object>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getFramebufferAttachmentParameter)]
+ #[doc = "The `getFramebufferAttachmentParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFramebufferAttachmentParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_framebuffer_attachment_parameter(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ attachment: u32,
+ pname: u32,
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getParameter)]
+ #[doc = "The `getParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_parameter(
+ this: &WebGl2RenderingContext,
+ pname: u32,
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getProgramInfoLog)]
+ #[doc = "The `getProgramInfoLog()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramInfoLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn get_program_info_log(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ ) -> Option<String>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getProgramParameter)]
+ #[doc = "The `getProgramParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn get_program_parameter(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getRenderbufferParameter)]
+ #[doc = "The `getRenderbufferParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getRenderbufferParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_renderbuffer_parameter(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderInfoLog)]
+ #[doc = "The `getShaderInfoLog()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderInfoLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
+ pub fn get_shader_info_log(
+ this: &WebGl2RenderingContext,
+ shader: &WebGlShader,
+ ) -> Option<String>;
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderParameter)]
+ #[doc = "The `getShaderParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
+ pub fn get_shader_parameter(
+ this: &WebGl2RenderingContext,
+ shader: &WebGlShader,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlShaderPrecisionFormat")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderPrecisionFormat)]
+ #[doc = "The `getShaderPrecisionFormat()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderPrecisionFormat)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShaderPrecisionFormat`*"]
+ pub fn get_shader_precision_format(
+ this: &WebGl2RenderingContext,
+ shadertype: u32,
+ precisiontype: u32,
+ ) -> Option<WebGlShaderPrecisionFormat>;
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderSource)]
+ #[doc = "The `getShaderSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
+ pub fn get_shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader)
+ -> Option<String>;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getSupportedExtensions)]
+ #[doc = "The `getSupportedExtensions()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSupportedExtensions)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_supported_extensions(this: &WebGl2RenderingContext) -> Option<::js_sys::Array>;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getTexParameter)]
+ #[doc = "The `getTexParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTexParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_tex_parameter(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniform)]
+ #[doc = "The `getUniform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*"]
+ pub fn get_uniform(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ location: &WebGlUniformLocation,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformLocation)]
+ #[doc = "The `getUniformLocation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformLocation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*"]
+ pub fn get_uniform_location(
+ this: &WebGl2RenderingContext,
+ program: &WebGlProgram,
+ name: &str,
+ ) -> Option<WebGlUniformLocation>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getVertexAttrib)]
+ #[doc = "The `getVertexAttrib()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttrib)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_vertex_attrib(
+ this: &WebGl2RenderingContext,
+ index: u32,
+ pname: u32,
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = getVertexAttribOffset)]
+ #[doc = "The `getVertexAttribOffset()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttribOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn get_vertex_attrib_offset(this: &WebGl2RenderingContext, index: u32, pname: u32) -> f64;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = hint)]
+ #[doc = "The `hint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/hint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn hint(this: &WebGl2RenderingContext, target: u32, mode: u32);
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isBuffer)]
+ #[doc = "The `isBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"]
+ pub fn is_buffer(this: &WebGl2RenderingContext, buffer: Option<&WebGlBuffer>) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isContextLost)]
+ #[doc = "The `isContextLost()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isContextLost)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn is_context_lost(this: &WebGl2RenderingContext) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isEnabled)]
+ #[doc = "The `isEnabled()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isEnabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn is_enabled(this: &WebGl2RenderingContext, cap: u32) -> bool;
+ #[cfg(feature = "WebGlFramebuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isFramebuffer)]
+ #[doc = "The `isFramebuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isFramebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"]
+ pub fn is_framebuffer(
+ this: &WebGl2RenderingContext,
+ framebuffer: Option<&WebGlFramebuffer>,
+ ) -> bool;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isProgram)]
+ #[doc = "The `isProgram()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn is_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>) -> bool;
+ #[cfg(feature = "WebGlRenderbuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isRenderbuffer)]
+ #[doc = "The `isRenderbuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isRenderbuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"]
+ pub fn is_renderbuffer(
+ this: &WebGl2RenderingContext,
+ renderbuffer: Option<&WebGlRenderbuffer>,
+ ) -> bool;
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isShader)]
+ #[doc = "The `isShader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
+ pub fn is_shader(this: &WebGl2RenderingContext, shader: Option<&WebGlShader>) -> bool;
+ #[cfg(feature = "WebGlTexture")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = isTexture)]
+ #[doc = "The `isTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*"]
+ pub fn is_texture(this: &WebGl2RenderingContext, texture: Option<&WebGlTexture>) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = lineWidth)]
+ #[doc = "The `lineWidth()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/lineWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn line_width(this: &WebGl2RenderingContext, width: f32);
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = linkProgram)]
+ #[doc = "The `linkProgram()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/linkProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn link_program(this: &WebGl2RenderingContext, program: &WebGlProgram);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = makeXRCompatible)]
+ #[doc = "The `makeXRCompatible()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/makeXRCompatible)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn make_xr_compatible(this: &WebGl2RenderingContext) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = pixelStorei)]
+ #[doc = "The `pixelStorei()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pixelStorei)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn pixel_storei(this: &WebGl2RenderingContext, pname: u32, param: i32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = polygonOffset)]
+ #[doc = "The `polygonOffset()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/polygonOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn polygon_offset(this: &WebGl2RenderingContext, factor: f32, units: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = renderbufferStorage)]
+ #[doc = "The `renderbufferStorage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn renderbuffer_storage(
+ this: &WebGl2RenderingContext,
+ target: u32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = sampleCoverage)]
+ #[doc = "The `sampleCoverage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/sampleCoverage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn sample_coverage(this: &WebGl2RenderingContext, value: f32, invert: bool);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = scissor)]
+ #[doc = "The `scissor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/scissor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn scissor(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32);
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = shaderSource)]
+ #[doc = "The `shaderSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/shaderSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"]
+ pub fn shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader, source: &str);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilFunc)]
+ #[doc = "The `stencilFunc()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFunc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn stencil_func(this: &WebGl2RenderingContext, func: u32, ref_: i32, mask: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilFuncSeparate)]
+ #[doc = "The `stencilFuncSeparate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFuncSeparate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn stencil_func_separate(
+ this: &WebGl2RenderingContext,
+ face: u32,
+ func: u32,
+ ref_: i32,
+ mask: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMask)]
+ #[doc = "The `stencilMask()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMask)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn stencil_mask(this: &WebGl2RenderingContext, mask: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMaskSeparate)]
+ #[doc = "The `stencilMaskSeparate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMaskSeparate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn stencil_mask_separate(this: &WebGl2RenderingContext, face: u32, mask: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilOp)]
+ #[doc = "The `stencilOp()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn stencil_op(this: &WebGl2RenderingContext, fail: u32, zfail: u32, zpass: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilOpSeparate)]
+ #[doc = "The `stencilOpSeparate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOpSeparate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn stencil_op_separate(
+ this: &WebGl2RenderingContext,
+ face: u32,
+ fail: u32,
+ zfail: u32,
+ zpass: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameterf)]
+ #[doc = "The `texParameterf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameterf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_parameterf(this: &WebGl2RenderingContext, target: u32, pname: u32, param: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameteri)]
+ #[doc = "The `texParameteri()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameteri)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn tex_parameteri(this: &WebGl2RenderingContext, target: u32, pname: u32, param: i32);
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1f)]
+ #[doc = "The `uniform1f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1f(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: f32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1i)]
+ #[doc = "The `uniform1i()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1i)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1i(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: i32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2f)]
+ #[doc = "The `uniform2f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2f(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: f32,
+ y: f32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2i)]
+ #[doc = "The `uniform2i()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2i)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2i(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: i32,
+ y: i32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3f)]
+ #[doc = "The `uniform3f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3f(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: f32,
+ y: f32,
+ z: f32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3i)]
+ #[doc = "The `uniform3i()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3i)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3i(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: i32,
+ y: i32,
+ z: i32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4f)]
+ #[doc = "The `uniform4f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4f(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: f32,
+ y: f32,
+ z: f32,
+ w: f32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4i)]
+ #[doc = "The `uniform4i()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4i)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4i(
+ this: &WebGl2RenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: i32,
+ y: i32,
+ z: i32,
+ w: i32,
+ );
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = useProgram)]
+ #[doc = "The `useProgram()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/useProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn use_program(this: &WebGl2RenderingContext, program: Option<&WebGlProgram>);
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = validateProgram)]
+ #[doc = "The `validateProgram()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/validateProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"]
+ pub fn validate_program(this: &WebGl2RenderingContext, program: &WebGlProgram);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1f)]
+ #[doc = "The `vertexAttrib1f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib1f(this: &WebGl2RenderingContext, indx: u32, x: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)]
+ #[doc = "The `vertexAttrib1fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib1fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ indx: u32,
+ values: &[f32],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv)]
+ #[doc = "The `vertexAttrib1fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib1fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ indx: u32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2f)]
+ #[doc = "The `vertexAttrib2f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib2f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)]
+ #[doc = "The `vertexAttrib2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib2fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ indx: u32,
+ values: &[f32],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv)]
+ #[doc = "The `vertexAttrib2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib2fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ indx: u32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3f)]
+ #[doc = "The `vertexAttrib3f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib3f(this: &WebGl2RenderingContext, indx: u32, x: f32, y: f32, z: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)]
+ #[doc = "The `vertexAttrib3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib3fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ indx: u32,
+ values: &[f32],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv)]
+ #[doc = "The `vertexAttrib3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib3fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ indx: u32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4f)]
+ #[doc = "The `vertexAttrib4f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib4f(
+ this: &WebGl2RenderingContext,
+ indx: u32,
+ x: f32,
+ y: f32,
+ z: f32,
+ w: f32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)]
+ #[doc = "The `vertexAttrib4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib4fv_with_f32_array(
+ this: &WebGl2RenderingContext,
+ indx: u32,
+ values: &[f32],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv)]
+ #[doc = "The `vertexAttrib4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib4fv_with_f32_sequence(
+ this: &WebGl2RenderingContext,
+ indx: u32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)]
+ #[doc = "The `vertexAttribPointer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib_pointer_with_i32(
+ this: &WebGl2RenderingContext,
+ indx: u32,
+ size: i32,
+ type_: u32,
+ normalized: bool,
+ stride: i32,
+ offset: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)]
+ #[doc = "The `vertexAttribPointer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn vertex_attrib_pointer_with_f64(
+ this: &WebGl2RenderingContext,
+ indx: u32,
+ size: i32,
+ type_: u32,
+ normalized: bool,
+ stride: i32,
+ offset: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = viewport)]
+ #[doc = "The `viewport()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/viewport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub fn viewport(this: &WebGl2RenderingContext, x: i32, y: i32, width: i32, height: i32);
+}
+impl WebGl2RenderingContext {
+ #[doc = "The `WebGL2RenderingContext.READ_BUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const READ_BUFFER: u32 = 3074u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNPACK_ROW_LENGTH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNPACK_ROW_LENGTH: u32 = 3314u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_ROWS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNPACK_SKIP_ROWS: u32 = 3315u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_PIXELS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNPACK_SKIP_PIXELS: u32 = 3316u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.PACK_ROW_LENGTH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const PACK_ROW_LENGTH: u32 = 3330u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.PACK_SKIP_ROWS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const PACK_SKIP_ROWS: u32 = 3331u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.PACK_SKIP_PIXELS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const PACK_SKIP_PIXELS: u32 = 3332u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR: u32 = 6144u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH: u32 = 6145u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL: u32 = 6146u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RED: u32 = 6403u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB8: u32 = 32849u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA8: u32 = 32856u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB10_A2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB10_A2: u32 = 32857u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_3D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_BINDING_3D: u32 = 32874u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNPACK_SKIP_IMAGES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNPACK_SKIP_IMAGES: u32 = 32877u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNPACK_IMAGE_HEIGHT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNPACK_IMAGE_HEIGHT: u32 = 32878u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_3D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_3D: u32 = 32879u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_R` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_WRAP_R: u32 = 32882u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_3D_TEXTURE_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_3D_TEXTURE_SIZE: u32 = 32883u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_2_10_10_10_REV` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_INT_2_10_10_10_REV: u32 = 33640u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_VERTICES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_ELEMENTS_VERTICES: u32 = 33000u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_ELEMENTS_INDICES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_ELEMENTS_INDICES: u32 = 33001u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_LOD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_MIN_LOD: u32 = 33082u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LOD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_MAX_LOD: u32 = 33083u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_BASE_LEVEL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_BASE_LEVEL: u32 = 33084u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_MAX_LEVEL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_MAX_LEVEL: u32 = 33085u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MIN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MIN: u32 = 32775u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX: u32 = 32776u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT24` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_COMPONENT24: u32 = 33190u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_LOD_BIAS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_TEXTURE_LOD_BIAS: u32 = 34045u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_MODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_COMPARE_MODE: u32 = 34892u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_COMPARE_FUNC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_COMPARE_FUNC: u32 = 34893u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.CURRENT_QUERY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const CURRENT_QUERY: u32 = 34917u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.QUERY_RESULT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const QUERY_RESULT: u32 = 34918u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.QUERY_RESULT_AVAILABLE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const QUERY_RESULT_AVAILABLE: u32 = 34919u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STREAM_READ` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STREAM_READ: u32 = 35041u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STREAM_COPY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STREAM_COPY: u32 = 35042u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STATIC_READ` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STATIC_READ: u32 = 35045u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STATIC_COPY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STATIC_COPY: u32 = 35046u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DYNAMIC_READ` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DYNAMIC_READ: u32 = 35049u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DYNAMIC_COPY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DYNAMIC_COPY: u32 = 35050u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_DRAW_BUFFERS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_DRAW_BUFFERS: u32 = 34852u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER0` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER0: u32 = 34853u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER1: u32 = 34854u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER2: u32 = 34855u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER3: u32 = 34856u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER4: u32 = 34857u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER5` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER5: u32 = 34858u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER6` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER6: u32 = 34859u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER7` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER7: u32 = 34860u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER8: u32 = 34861u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER9` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER9: u32 = 34862u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER10` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER10: u32 = 34863u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER11` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER11: u32 = 34864u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER12` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER12: u32 = 34865u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER13` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER13: u32 = 34866u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER14` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER14: u32 = 34867u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_BUFFER15` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_BUFFER15: u32 = 34868u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_COMPONENTS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35657u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_COMPONENTS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_VERTEX_UNIFORM_COMPONENTS: u32 = 35658u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLER_3D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLER_3D: u32 = 35679u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_SHADOW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLER_2D_SHADOW: u32 = 35682u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER_DERIVATIVE_HINT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAGMENT_SHADER_DERIVATIVE_HINT: u32 = 35723u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const PIXEL_PACK_BUFFER: u32 = 35051u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const PIXEL_UNPACK_BUFFER: u32 = 35052u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.PIXEL_PACK_BUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const PIXEL_PACK_BUFFER_BINDING: u32 = 35053u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.PIXEL_UNPACK_BUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const PIXEL_UNPACK_BUFFER_BINDING: u32 = 35055u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_MAT2X3: u32 = 35685u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2x4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_MAT2X4: u32 = 35686u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_MAT3X2: u32 = 35687u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3x4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_MAT3X4: u32 = 35688u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_MAT4X2: u32 = 35689u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4x3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_MAT4X3: u32 = 35690u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SRGB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SRGB: u32 = 35904u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SRGB8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SRGB8: u32 = 35905u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SRGB8_ALPHA8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SRGB8_ALPHA8: u32 = 35907u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COMPARE_REF_TO_TEXTURE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COMPARE_REF_TO_TEXTURE: u32 = 34894u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA32F` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA32F: u32 = 34836u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB32F` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB32F: u32 = 34837u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA16F` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA16F: u32 = 34842u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB16F` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB16F: u32 = 34843u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_INTEGER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_INTEGER: u32 = 35069u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_ARRAY_TEXTURE_LAYERS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_ARRAY_TEXTURE_LAYERS: u32 = 35071u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MIN_PROGRAM_TEXEL_OFFSET` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MIN_PROGRAM_TEXEL_OFFSET: u32 = 35076u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_PROGRAM_TEXEL_OFFSET` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_PROGRAM_TEXEL_OFFSET: u32 = 35077u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_VARYING_COMPONENTS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_VARYING_COMPONENTS: u32 = 35659u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_2D_ARRAY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_2D_ARRAY: u32 = 35866u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D_ARRAY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_BINDING_2D_ARRAY: u32 = 35869u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.R11F_G11F_B10F` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const R11F_G11F_B10F: u32 = 35898u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_10F_11F_11F_REV` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_INT_10F_11F_11F_REV: u32 = 35899u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB9_E5` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB9_E5: u32 = 35901u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_5_9_9_9_REV` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_INT_5_9_9_9_REV: u32 = 35902u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_MODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRANSFORM_FEEDBACK_BUFFER_MODE: u32 = 35967u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: u32 = 35968u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_VARYINGS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRANSFORM_FEEDBACK_VARYINGS: u32 = 35971u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_START` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRANSFORM_FEEDBACK_BUFFER_START: u32 = 35972u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRANSFORM_FEEDBACK_BUFFER_SIZE: u32 = 35973u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: u32 = 35976u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RASTERIZER_DISCARD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RASTERIZER_DISCARD: u32 = 35977u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: u32 = 35978u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: u32 = 35979u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INTERLEAVED_ATTRIBS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INTERLEAVED_ATTRIBS: u32 = 35980u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SEPARATE_ATTRIBS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SEPARATE_ATTRIBS: u32 = 35981u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRANSFORM_FEEDBACK_BUFFER: u32 = 35982u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRANSFORM_FEEDBACK_BUFFER_BINDING: u32 = 35983u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA32UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA32UI: u32 = 36208u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB32UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB32UI: u32 = 36209u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA16UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA16UI: u32 = 36214u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB16UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB16UI: u32 = 36215u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA8UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA8UI: u32 = 36220u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB8UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB8UI: u32 = 36221u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA32I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA32I: u32 = 36226u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB32I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB32I: u32 = 36227u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA16I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA16I: u32 = 36232u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB16I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB16I: u32 = 36233u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA8I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA8I: u32 = 36238u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB8I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB8I: u32 = 36239u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RED_INTEGER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RED_INTEGER: u32 = 36244u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB_INTEGER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB_INTEGER: u32 = 36248u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA_INTEGER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA_INTEGER: u32 = 36249u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLER_2D_ARRAY: u32 = 36289u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLER_2D_ARRAY_SHADOW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLER_2D_ARRAY_SHADOW: u32 = 36292u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE_SHADOW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLER_CUBE_SHADOW: u32 = 36293u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_INT_VEC2: u32 = 36294u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_INT_VEC3: u32 = 36295u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_VEC4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_INT_VEC4: u32 = 36296u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INT_SAMPLER_2D: u32 = 36298u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_3D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INT_SAMPLER_3D: u32 = 36299u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_CUBE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INT_SAMPLER_CUBE: u32 = 36300u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INT_SAMPLER_2D_ARRAY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INT_SAMPLER_2D_ARRAY: u32 = 36303u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_INT_SAMPLER_2D: u32 = 36306u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_3D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_INT_SAMPLER_3D: u32 = 36307u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_CUBE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_INT_SAMPLER_CUBE: u32 = 36308u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D_ARRAY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_INT_SAMPLER_2D_ARRAY: u32 = 36311u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT32F` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_COMPONENT32F: u32 = 36012u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH32F_STENCIL8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH32F_STENCIL8: u32 = 36013u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_32_UNSIGNED_INT_24_8_REV` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_32_UNSIGNED_INT_24_8_REV: u32 = 36269u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: u32 = 33296u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: u32 = 33297u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_RED_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_RED_SIZE: u32 = 33298u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: u32 = 33299u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: u32 = 33300u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: u32 = 33301u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: u32 = 33302u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: u32 = 33303u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_DEFAULT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_DEFAULT: u32 = 33304u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT_24_8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_INT_24_8: u32 = 34042u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH24_STENCIL8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH24_STENCIL8: u32 = 35056u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_NORMALIZED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_NORMALIZED: u32 = 35863u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const READ_FRAMEBUFFER: u32 = 36008u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DRAW_FRAMEBUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DRAW_FRAMEBUFFER: u32 = 36009u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.READ_FRAMEBUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const READ_FRAMEBUFFER_BINDING: u32 = 36010u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_SAMPLES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERBUFFER_SAMPLES: u32 = 36011u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: u32 = 36052u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_COLOR_ATTACHMENTS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_COLOR_ATTACHMENTS: u32 = 36063u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT1: u32 = 36065u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT2: u32 = 36066u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT3: u32 = 36067u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT4: u32 = 36068u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT5` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT5: u32 = 36069u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT6` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT6: u32 = 36070u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT7` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT7: u32 = 36071u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT8: u32 = 36072u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT9` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT9: u32 = 36073u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT10` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT10: u32 = 36074u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT11` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT11: u32 = 36075u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT12` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT12: u32 = 36076u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT13` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT13: u32 = 36077u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT14` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT14: u32 = 36078u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT15` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT15: u32 = 36079u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: u32 = 36182u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_SAMPLES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_SAMPLES: u32 = 36183u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.HALF_FLOAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const HALF_FLOAT: u32 = 5131u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RG` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RG: u32 = 33319u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RG_INTEGER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RG_INTEGER: u32 = 33320u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.R8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const R8: u32 = 33321u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RG8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RG8: u32 = 33323u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.R16F` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const R16F: u32 = 33325u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.R32F` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const R32F: u32 = 33326u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RG16F` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RG16F: u32 = 33327u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RG32F` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RG32F: u32 = 33328u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.R8I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const R8I: u32 = 33329u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.R8UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const R8UI: u32 = 33330u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.R16I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const R16I: u32 = 33331u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.R16UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const R16UI: u32 = 33332u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.R32I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const R32I: u32 = 33333u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.R32UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const R32UI: u32 = 33334u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RG8I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RG8I: u32 = 33335u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RG8UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RG8UI: u32 = 33336u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RG16I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RG16I: u32 = 33337u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RG16UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RG16UI: u32 = 33338u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RG32I` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RG32I: u32 = 33339u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RG32UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RG32UI: u32 = 33340u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VERTEX_ARRAY_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VERTEX_ARRAY_BINDING: u32 = 34229u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.R8_SNORM` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const R8_SNORM: u32 = 36756u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RG8_SNORM` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RG8_SNORM: u32 = 36757u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB8_SNORM` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB8_SNORM: u32 = 36758u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA8_SNORM` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA8_SNORM: u32 = 36759u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SIGNED_NORMALIZED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SIGNED_NORMALIZED: u32 = 36764u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COPY_READ_BUFFER: u32 = 36662u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COPY_WRITE_BUFFER: u32 = 36663u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COPY_READ_BUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COPY_READ_BUFFER_BINDING: u32 = 36662u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COPY_WRITE_BUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COPY_WRITE_BUFFER_BINDING: u32 = 36663u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_BUFFER: u32 = 35345u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_BUFFER_BINDING: u32 = 35368u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_START` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_BUFFER_START: u32 = 35369u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_BUFFER_SIZE: u32 = 35370u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_BLOCKS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_VERTEX_UNIFORM_BLOCKS: u32 = 35371u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_BLOCKS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_FRAGMENT_UNIFORM_BLOCKS: u32 = 35373u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_UNIFORM_BLOCKS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_COMBINED_UNIFORM_BLOCKS: u32 = 35374u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BUFFER_BINDINGS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_UNIFORM_BUFFER_BINDINGS: u32 = 35375u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_UNIFORM_BLOCK_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_UNIFORM_BLOCK_SIZE: u32 = 35376u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: u32 = 35377u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35379u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_BUFFER_OFFSET_ALIGNMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_BUFFER_OFFSET_ALIGNMENT: u32 = 35380u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORM_BLOCKS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ACTIVE_UNIFORM_BLOCKS: u32 = 35382u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_TYPE: u32 = 35383u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_SIZE: u32 = 35384u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_INDEX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_BLOCK_INDEX: u32 = 35386u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_OFFSET` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_OFFSET: u32 = 35387u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_ARRAY_STRIDE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_ARRAY_STRIDE: u32 = 35388u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_MATRIX_STRIDE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_MATRIX_STRIDE: u32 = 35389u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_IS_ROW_MAJOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_IS_ROW_MAJOR: u32 = 35390u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_BLOCK_BINDING: u32 = 35391u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_DATA_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_BLOCK_DATA_SIZE: u32 = 35392u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORMS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_BLOCK_ACTIVE_UNIFORMS: u32 = 35394u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: u32 = 35395u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: u32 = 35396u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: u32 = 35398u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INVALID_INDEX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INVALID_INDEX: u32 = 4294967295u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_OUTPUT_COMPONENTS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_VERTEX_OUTPUT_COMPONENTS: u32 = 37154u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_INPUT_COMPONENTS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_FRAGMENT_INPUT_COMPONENTS: u32 = 37157u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_SERVER_WAIT_TIMEOUT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_SERVER_WAIT_TIMEOUT: u32 = 37137u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.OBJECT_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const OBJECT_TYPE: u32 = 37138u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SYNC_CONDITION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SYNC_CONDITION: u32 = 37139u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SYNC_STATUS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SYNC_STATUS: u32 = 37140u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SYNC_FLAGS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SYNC_FLAGS: u32 = 37141u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SYNC_FENCE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SYNC_FENCE: u32 = 37142u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SYNC_GPU_COMMANDS_COMPLETE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SYNC_GPU_COMMANDS_COMPLETE: u32 = 37143u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNALED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNALED: u32 = 37144u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SIGNALED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SIGNALED: u32 = 37145u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ALREADY_SIGNALED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ALREADY_SIGNALED: u32 = 37146u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TIMEOUT_EXPIRED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TIMEOUT_EXPIRED: u32 = 37147u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.CONDITION_SATISFIED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const CONDITION_SATISFIED: u32 = 37148u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.WAIT_FAILED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const WAIT_FAILED: u32 = 37149u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SYNC_FLUSH_COMMANDS_BIT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SYNC_FLUSH_COMMANDS_BIT: u32 = 1u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_DIVISOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_DIVISOR: u32 = 35070u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ANY_SAMPLES_PASSED: u32 = 35887u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ANY_SAMPLES_PASSED_CONSERVATIVE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ANY_SAMPLES_PASSED_CONSERVATIVE: u32 = 36202u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLER_BINDING: u32 = 35097u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB10_A2UI` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB10_A2UI: u32 = 36975u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INT_2_10_10_10_REV` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INT_2_10_10_10_REV: u32 = 36255u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRANSFORM_FEEDBACK: u32 = 36386u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_PAUSED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRANSFORM_FEEDBACK_PAUSED: u32 = 36387u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_ACTIVE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRANSFORM_FEEDBACK_ACTIVE: u32 = 36388u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRANSFORM_FEEDBACK_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRANSFORM_FEEDBACK_BINDING: u32 = 36389u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_FORMAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_IMMUTABLE_FORMAT: u32 = 37167u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_ELEMENT_INDEX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_ELEMENT_INDEX: u32 = 36203u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_IMMUTABLE_LEVELS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_IMMUTABLE_LEVELS: u32 = 33503u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TIMEOUT_IGNORED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TIMEOUT_IGNORED: f64 = -1i64 as f64;
+ #[doc = "The `WebGL2RenderingContext.MAX_CLIENT_WAIT_TIMEOUT_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_CLIENT_WAIT_TIMEOUT_WEBGL: u32 = 37447u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_BUFFER_BIT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_BUFFER_BIT: u32 = 256u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_BUFFER_BIT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_BUFFER_BIT: u32 = 1024u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_BUFFER_BIT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_BUFFER_BIT: u32 = 16384u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.POINTS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const POINTS: u32 = 0u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LINES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LINES: u32 = 1u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LINE_LOOP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LINE_LOOP: u32 = 2u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LINE_STRIP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LINE_STRIP: u32 = 3u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRIANGLES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRIANGLES: u32 = 4u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRIANGLE_STRIP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRIANGLE_STRIP: u32 = 5u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TRIANGLE_FAN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TRIANGLE_FAN: u32 = 6u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ZERO` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ZERO: u32 = 0i64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ONE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ONE: u32 = 1u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SRC_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SRC_COLOR: u32 = 768u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ONE_MINUS_SRC_COLOR: u32 = 769u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SRC_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SRC_ALPHA: u32 = 770u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ONE_MINUS_SRC_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ONE_MINUS_SRC_ALPHA: u32 = 771u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DST_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DST_ALPHA: u32 = 772u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ONE_MINUS_DST_ALPHA: u32 = 773u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DST_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DST_COLOR: u32 = 774u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ONE_MINUS_DST_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ONE_MINUS_DST_COLOR: u32 = 775u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SRC_ALPHA_SATURATE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SRC_ALPHA_SATURATE: u32 = 776u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FUNC_ADD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FUNC_ADD: u32 = 32774u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BLEND_EQUATION: u32 = 32777u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_RGB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BLEND_EQUATION_RGB: u32 = 32777u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BLEND_EQUATION_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BLEND_EQUATION_ALPHA: u32 = 34877u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FUNC_SUBTRACT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FUNC_SUBTRACT: u32 = 32778u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FUNC_REVERSE_SUBTRACT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FUNC_REVERSE_SUBTRACT: u32 = 32779u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BLEND_DST_RGB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BLEND_DST_RGB: u32 = 32968u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BLEND_SRC_RGB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BLEND_SRC_RGB: u32 = 32969u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BLEND_DST_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BLEND_DST_ALPHA: u32 = 32970u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BLEND_SRC_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BLEND_SRC_ALPHA: u32 = 32971u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.CONSTANT_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const CONSTANT_COLOR: u32 = 32769u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ONE_MINUS_CONSTANT_COLOR: u32 = 32770u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.CONSTANT_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const CONSTANT_ALPHA: u32 = 32771u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ONE_MINUS_CONSTANT_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 32772u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BLEND_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BLEND_COLOR: u32 = 32773u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ARRAY_BUFFER: u32 = 34962u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ELEMENT_ARRAY_BUFFER: u32 = 34963u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ARRAY_BUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ARRAY_BUFFER_BINDING: u32 = 34964u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34965u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STREAM_DRAW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STREAM_DRAW: u32 = 35040u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STATIC_DRAW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STATIC_DRAW: u32 = 35044u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DYNAMIC_DRAW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DYNAMIC_DRAW: u32 = 35048u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BUFFER_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BUFFER_SIZE: u32 = 34660u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BUFFER_USAGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BUFFER_USAGE: u32 = 34661u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.CURRENT_VERTEX_ATTRIB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const CURRENT_VERTEX_ATTRIB: u32 = 34342u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRONT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRONT: u32 = 1028u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BACK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BACK: u32 = 1029u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRONT_AND_BACK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRONT_AND_BACK: u32 = 1032u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.CULL_FACE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const CULL_FACE: u32 = 2884u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BLEND` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BLEND: u32 = 3042u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DITHER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DITHER: u32 = 3024u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_TEST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_TEST: u32 = 2960u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_TEST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_TEST: u32 = 2929u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SCISSOR_TEST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SCISSOR_TEST: u32 = 3089u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FILL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const POLYGON_OFFSET_FILL: u32 = 32823u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLE_ALPHA_TO_COVERAGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 32926u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLE_COVERAGE: u32 = 32928u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.NO_ERROR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const NO_ERROR: u32 = 0i64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INVALID_ENUM` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INVALID_ENUM: u32 = 1280u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INVALID_VALUE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INVALID_VALUE: u32 = 1281u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INVALID_OPERATION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INVALID_OPERATION: u32 = 1282u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.OUT_OF_MEMORY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const OUT_OF_MEMORY: u32 = 1285u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.CW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const CW: u32 = 2304u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.CCW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const CCW: u32 = 2305u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LINE_WIDTH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LINE_WIDTH: u32 = 2849u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ALIASED_POINT_SIZE_RANGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ALIASED_POINT_SIZE_RANGE: u32 = 33901u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ALIASED_LINE_WIDTH_RANGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ALIASED_LINE_WIDTH_RANGE: u32 = 33902u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.CULL_FACE_MODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const CULL_FACE_MODE: u32 = 2885u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRONT_FACE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRONT_FACE: u32 = 2886u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_RANGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_RANGE: u32 = 2928u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_WRITEMASK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_WRITEMASK: u32 = 2930u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_CLEAR_VALUE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_CLEAR_VALUE: u32 = 2931u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_FUNC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_FUNC: u32 = 2932u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_CLEAR_VALUE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_CLEAR_VALUE: u32 = 2961u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_FUNC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_FUNC: u32 = 2962u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_FAIL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_FAIL: u32 = 2964u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_FAIL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_PASS_DEPTH_FAIL: u32 = 2965u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_PASS_DEPTH_PASS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_PASS_DEPTH_PASS: u32 = 2966u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_REF` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_REF: u32 = 2967u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_VALUE_MASK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_VALUE_MASK: u32 = 2963u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_WRITEMASK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_WRITEMASK: u32 = 2968u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FUNC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_BACK_FUNC: u32 = 34816u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_FAIL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_BACK_FAIL: u32 = 34817u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34818u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34819u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_REF` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_BACK_REF: u32 = 36003u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_VALUE_MASK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_BACK_VALUE_MASK: u32 = 36004u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_BACK_WRITEMASK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_BACK_WRITEMASK: u32 = 36005u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VIEWPORT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VIEWPORT: u32 = 2978u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SCISSOR_BOX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SCISSOR_BOX: u32 = 3088u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_CLEAR_VALUE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_CLEAR_VALUE: u32 = 3106u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_WRITEMASK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_WRITEMASK: u32 = 3107u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNPACK_ALIGNMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNPACK_ALIGNMENT: u32 = 3317u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.PACK_ALIGNMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const PACK_ALIGNMENT: u32 = 3333u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_TEXTURE_SIZE: u32 = 3379u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_VIEWPORT_DIMS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_VIEWPORT_DIMS: u32 = 3386u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SUBPIXEL_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SUBPIXEL_BITS: u32 = 3408u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RED_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RED_BITS: u32 = 3410u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.GREEN_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const GREEN_BITS: u32 = 3411u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BLUE_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BLUE_BITS: u32 = 3412u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ALPHA_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ALPHA_BITS: u32 = 3413u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_BITS: u32 = 3414u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_BITS: u32 = 3415u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_UNITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const POLYGON_OFFSET_UNITS: u32 = 10752u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.POLYGON_OFFSET_FACTOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const POLYGON_OFFSET_FACTOR: u32 = 32824u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_2D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_BINDING_2D: u32 = 32873u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLE_BUFFERS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLE_BUFFERS: u32 = 32936u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLES: u32 = 32937u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_VALUE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLE_COVERAGE_VALUE: u32 = 32938u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLE_COVERAGE_INVERT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLE_COVERAGE_INVERT: u32 = 32939u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COMPRESSED_TEXTURE_FORMATS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COMPRESSED_TEXTURE_FORMATS: u32 = 34467u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DONT_CARE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DONT_CARE: u32 = 4352u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FASTEST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FASTEST: u32 = 4353u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.NICEST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const NICEST: u32 = 4354u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.GENERATE_MIPMAP_HINT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const GENERATE_MIPMAP_HINT: u32 = 33170u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BYTE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BYTE: u32 = 5120u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_BYTE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_BYTE: u32 = 5121u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SHORT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SHORT: u32 = 5122u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_SHORT: u32 = 5123u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INT: u32 = 5124u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_INT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_INT: u32 = 5125u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT: u32 = 5126u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_COMPONENT: u32 = 6402u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ALPHA: u32 = 6406u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB: u32 = 6407u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA: u32 = 6408u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LUMINANCE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LUMINANCE: u32 = 6409u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LUMINANCE_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LUMINANCE_ALPHA: u32 = 6410u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_4_4_4_4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_SHORT_4_4_4_4: u32 = 32819u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_5_5_1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_SHORT_5_5_5_1: u32 = 32820u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNSIGNED_SHORT_5_6_5` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNSIGNED_SHORT_5_6_5: u32 = 33635u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAGMENT_SHADER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAGMENT_SHADER: u32 = 35632u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VERTEX_SHADER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VERTEX_SHADER: u32 = 35633u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_ATTRIBS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_VERTEX_ATTRIBS: u32 = 34921u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_UNIFORM_VECTORS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 36347u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_VARYING_VECTORS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_VARYING_VECTORS: u32 = 36348u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35661u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35660u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_TEXTURE_IMAGE_UNITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 34930u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36349u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SHADER_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SHADER_TYPE: u32 = 35663u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DELETE_STATUS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DELETE_STATUS: u32 = 35712u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LINK_STATUS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LINK_STATUS: u32 = 35714u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VALIDATE_STATUS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VALIDATE_STATUS: u32 = 35715u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ATTACHED_SHADERS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ATTACHED_SHADERS: u32 = 35717u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ACTIVE_UNIFORMS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ACTIVE_UNIFORMS: u32 = 35718u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ACTIVE_ATTRIBUTES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ACTIVE_ATTRIBUTES: u32 = 35721u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SHADING_LANGUAGE_VERSION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SHADING_LANGUAGE_VERSION: u32 = 35724u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.CURRENT_PROGRAM` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const CURRENT_PROGRAM: u32 = 35725u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.NEVER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const NEVER: u32 = 512u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LESS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LESS: u32 = 513u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.EQUAL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const EQUAL: u32 = 514u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LEQUAL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LEQUAL: u32 = 515u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.GREATER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const GREATER: u32 = 516u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.NOTEQUAL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const NOTEQUAL: u32 = 517u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.GEQUAL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const GEQUAL: u32 = 518u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ALWAYS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ALWAYS: u32 = 519u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.KEEP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const KEEP: u32 = 7680u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.REPLACE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const REPLACE: u32 = 7681u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INCR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INCR: u32 = 7682u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DECR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DECR: u32 = 7683u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INVERT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INVERT: u32 = 5386u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INCR_WRAP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INCR_WRAP: u32 = 34055u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DECR_WRAP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DECR_WRAP: u32 = 34056u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VENDOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VENDOR: u32 = 7936u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERER: u32 = 7937u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VERSION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VERSION: u32 = 7938u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.NEAREST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const NEAREST: u32 = 9728u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LINEAR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LINEAR: u32 = 9729u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_NEAREST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const NEAREST_MIPMAP_NEAREST: u32 = 9984u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_NEAREST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LINEAR_MIPMAP_NEAREST: u32 = 9985u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.NEAREST_MIPMAP_LINEAR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const NEAREST_MIPMAP_LINEAR: u32 = 9986u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LINEAR_MIPMAP_LINEAR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LINEAR_MIPMAP_LINEAR: u32 = 9987u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_MAG_FILTER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_MAG_FILTER: u32 = 10240u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_MIN_FILTER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_MIN_FILTER: u32 = 10241u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_S` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_WRAP_S: u32 = 10242u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_WRAP_T` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_WRAP_T: u32 = 10243u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_2D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_2D: u32 = 3553u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE: u32 = 5890u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP: u32 = 34067u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_BINDING_CUBE_MAP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_BINDING_CUBE_MAP: u32 = 34068u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34069u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34070u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34071u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34072u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34073u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34074u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34076u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE0` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE0: u32 = 33984u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE1: u32 = 33985u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE2: u32 = 33986u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE3: u32 = 33987u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE4: u32 = 33988u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE5` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE5: u32 = 33989u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE6` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE6: u32 = 33990u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE7` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE7: u32 = 33991u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE8: u32 = 33992u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE9` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE9: u32 = 33993u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE10` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE10: u32 = 33994u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE11` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE11: u32 = 33995u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE12` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE12: u32 = 33996u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE13` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE13: u32 = 33997u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE14` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE14: u32 = 33998u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE15` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE15: u32 = 33999u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE16` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE16: u32 = 34000u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE17` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE17: u32 = 34001u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE18` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE18: u32 = 34002u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE19` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE19: u32 = 34003u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE20` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE20: u32 = 34004u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE21` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE21: u32 = 34005u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE22` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE22: u32 = 34006u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE23` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE23: u32 = 34007u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE24` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE24: u32 = 34008u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE25` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE25: u32 = 34009u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE26` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE26: u32 = 34010u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE27` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE27: u32 = 34011u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE28` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE28: u32 = 34012u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE29` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE29: u32 = 34013u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE30` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE30: u32 = 34014u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.TEXTURE31` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const TEXTURE31: u32 = 34015u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.ACTIVE_TEXTURE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const ACTIVE_TEXTURE: u32 = 34016u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.REPEAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const REPEAT: u32 = 10497u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.CLAMP_TO_EDGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const CLAMP_TO_EDGE: u32 = 33071u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MIRRORED_REPEAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MIRRORED_REPEAT: u32 = 33648u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_VEC2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_VEC2: u32 = 35664u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_VEC3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_VEC3: u32 = 35665u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_VEC4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_VEC4: u32 = 35666u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INT_VEC2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INT_VEC2: u32 = 35667u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INT_VEC3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INT_VEC3: u32 = 35668u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INT_VEC4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INT_VEC4: u32 = 35669u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BOOL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BOOL: u32 = 35670u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BOOL_VEC2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BOOL_VEC2: u32 = 35671u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BOOL_VEC3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BOOL_VEC3: u32 = 35672u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BOOL_VEC4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BOOL_VEC4: u32 = 35673u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_MAT2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_MAT2: u32 = 35674u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_MAT3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_MAT3: u32 = 35675u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FLOAT_MAT4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FLOAT_MAT4: u32 = 35676u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLER_2D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLER_2D: u32 = 35678u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.SAMPLER_CUBE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const SAMPLER_CUBE: u32 = 35680u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34338u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34339u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34340u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34341u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34922u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34373u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34975u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35738u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35739u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COMPILE_STATUS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COMPILE_STATUS: u32 = 35713u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LOW_FLOAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LOW_FLOAT: u32 = 36336u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MEDIUM_FLOAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MEDIUM_FLOAT: u32 = 36337u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.HIGH_FLOAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const HIGH_FLOAT: u32 = 36338u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.LOW_INT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const LOW_INT: u32 = 36339u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MEDIUM_INT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MEDIUM_INT: u32 = 36340u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.HIGH_INT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const HIGH_INT: u32 = 36341u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER: u32 = 36160u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERBUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERBUFFER: u32 = 36161u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGBA4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGBA4: u32 = 32854u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB5_A1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB5_A1: u32 = 32855u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RGB565` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RGB565: u32 = 36194u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_COMPONENT16` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_COMPONENT16: u32 = 33189u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_INDEX8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_INDEX8: u32 = 36168u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_STENCIL: u32 = 34041u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_WIDTH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERBUFFER_WIDTH: u32 = 36162u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_HEIGHT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERBUFFER_HEIGHT: u32 = 36163u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_INTERNAL_FORMAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 36164u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_RED_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERBUFFER_RED_SIZE: u32 = 36176u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_GREEN_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERBUFFER_GREEN_SIZE: u32 = 36177u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BLUE_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERBUFFER_BLUE_SIZE: u32 = 36178u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_ALPHA_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERBUFFER_ALPHA_SIZE: u32 = 36179u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_DEPTH_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERBUFFER_DEPTH_SIZE: u32 = 36180u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_STENCIL_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERBUFFER_STENCIL_SIZE: u32 = 36181u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36048u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36049u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36050u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36051u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.COLOR_ATTACHMENT0` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const COLOR_ATTACHMENT0: u32 = 36064u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_ATTACHMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_ATTACHMENT: u32 = 36096u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.STENCIL_ATTACHMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const STENCIL_ATTACHMENT: u32 = 36128u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const DEPTH_STENCIL_ATTACHMENT: u32 = 33306u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.NONE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const NONE: u32 = 0i64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_COMPLETE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_COMPLETE: u32 = 36053u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36054u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36055u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36057u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_UNSUPPORTED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_UNSUPPORTED: u32 = 36061u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.FRAMEBUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.RENDERBUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const RENDERBUFFER_BINDING: u32 = 36007u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.MAX_RENDERBUFFER_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const MAX_RENDERBUFFER_SIZE: u32 = 34024u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.INVALID_FRAMEBUFFER_OPERATION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 1286u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNPACK_FLIP_Y_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNPACK_FLIP_Y_WEBGL: u32 = 37440u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: u32 = 37441u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.CONTEXT_LOST_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const CONTEXT_LOST_WEBGL: u32 = 37442u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: u32 = 37443u64 as u32;
+ #[doc = "The `WebGL2RenderingContext.BROWSER_DEFAULT_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`*"]
+ pub const BROWSER_DEFAULT_WEBGL: u32 = 37444u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlActiveInfo.rs b/vendor/web-sys/src/features/gen_WebGlActiveInfo.rs
new file mode 100644
index 000000000..985a83b7d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlActiveInfo.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLActiveInfo , typescript_type = "WebGLActiveInfo")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlActiveInfo` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`*"]
+ pub type WebGlActiveInfo;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLActiveInfo" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`*"]
+ pub fn size(this: &WebGlActiveInfo) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLActiveInfo" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`*"]
+ pub fn type_(this: &WebGlActiveInfo) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLActiveInfo" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`*"]
+ pub fn name(this: &WebGlActiveInfo) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlBuffer.rs b/vendor/web-sys/src/features/gen_WebGlBuffer.rs
new file mode 100644
index 000000000..43f1dfb29
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlBuffer.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLBuffer , typescript_type = "WebGLBuffer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlBuffer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlBuffer`*"]
+ pub type WebGlBuffer;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlContextAttributes.rs b/vendor/web-sys/src/features/gen_WebGlContextAttributes.rs
new file mode 100644
index 000000000..2584339b9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlContextAttributes.rs
@@ -0,0 +1,177 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLContextAttributes)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlContextAttributes` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`*"]
+ pub type WebGlContextAttributes;
+}
+impl WebGlContextAttributes {
+ #[doc = "Construct a new `WebGlContextAttributes`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `alpha` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`*"]
+ pub fn alpha(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("alpha"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `antialias` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`*"]
+ pub fn antialias(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("antialias"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `depth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`*"]
+ pub fn depth(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("depth"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `failIfMajorPerformanceCaveat` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`*"]
+ pub fn fail_if_major_performance_caveat(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("failIfMajorPerformanceCaveat"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "WebGlPowerPreference")]
+ #[doc = "Change the `powerPreference` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`, `WebGlPowerPreference`*"]
+ pub fn power_preference(&mut self, val: WebGlPowerPreference) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("powerPreference"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `premultipliedAlpha` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`*"]
+ pub fn premultiplied_alpha(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("premultipliedAlpha"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `preserveDrawingBuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`*"]
+ pub fn preserve_drawing_buffer(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("preserveDrawingBuffer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `stencil` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`*"]
+ pub fn stencil(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stencil"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `xrCompatible` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn xr_compatible(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("xrCompatible"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for WebGlContextAttributes {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlContextEvent.rs b/vendor/web-sys/src/features/gen_WebGlContextEvent.rs
new file mode 100644
index 000000000..0c328adbd
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlContextEvent.rs
@@ -0,0 +1,39 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = WebGLContextEvent , typescript_type = "WebGLContextEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlContextEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLContextEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextEvent`*"]
+ pub type WebGlContextEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLContextEvent" , js_name = statusMessage)]
+ #[doc = "Getter for the `statusMessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLContextEvent/statusMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextEvent`*"]
+ pub fn status_message(this: &WebGlContextEvent) -> String;
+ #[wasm_bindgen(catch, constructor, js_class = "WebGLContextEvent")]
+ #[doc = "The `new WebGlContextEvent(..)` constructor, creating a new instance of `WebGlContextEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLContextEvent/WebGLContextEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextEvent`*"]
+ pub fn new(type_: &str) -> Result<WebGlContextEvent, JsValue>;
+ #[cfg(feature = "WebGlContextEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "WebGLContextEvent")]
+ #[doc = "The `new WebGlContextEvent(..)` constructor, creating a new instance of `WebGlContextEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLContextEvent/WebGLContextEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextEvent`, `WebGlContextEventInit`*"]
+ pub fn new_with_event_init(
+ type_: &str,
+ event_init: &WebGlContextEventInit,
+ ) -> Result<WebGlContextEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlContextEventInit.rs b/vendor/web-sys/src/features/gen_WebGlContextEventInit.rs
new file mode 100644
index 000000000..28e1c3fdb
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlContextEventInit.rs
@@ -0,0 +1,95 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLContextEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlContextEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextEventInit`*"]
+ pub type WebGlContextEventInit;
+}
+impl WebGlContextEventInit {
+ #[doc = "Construct a new `WebGlContextEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `statusMessage` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextEventInit`*"]
+ pub fn status_message(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("statusMessage"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for WebGlContextEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlFramebuffer.rs b/vendor/web-sys/src/features/gen_WebGlFramebuffer.rs
new file mode 100644
index 000000000..87c9a60f6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlFramebuffer.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLFramebuffer , typescript_type = "WebGLFramebuffer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlFramebuffer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLFramebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlFramebuffer`*"]
+ pub type WebGlFramebuffer;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlPowerPreference.rs b/vendor/web-sys/src/features/gen_WebGlPowerPreference.rs
new file mode 100644
index 000000000..538918f19
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlPowerPreference.rs
@@ -0,0 +1,12 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `WebGlPowerPreference` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `WebGlPowerPreference`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum WebGlPowerPreference {
+ Default = "default",
+ LowPower = "low-power",
+ HighPerformance = "high-performance",
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlProgram.rs b/vendor/web-sys/src/features/gen_WebGlProgram.rs
new file mode 100644
index 000000000..8ed001787
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlProgram.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLProgram , typescript_type = "WebGLProgram")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlProgram` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`*"]
+ pub type WebGlProgram;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlQuery.rs b/vendor/web-sys/src/features/gen_WebGlQuery.rs
new file mode 100644
index 000000000..1d2fb0aac
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlQuery.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLQuery , typescript_type = "WebGLQuery")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlQuery` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLQuery)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlQuery`*"]
+ pub type WebGlQuery;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlRenderbuffer.rs b/vendor/web-sys/src/features/gen_WebGlRenderbuffer.rs
new file mode 100644
index 000000000..3efdd967d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlRenderbuffer.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLRenderbuffer , typescript_type = "WebGLRenderbuffer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlRenderbuffer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderbuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderbuffer`*"]
+ pub type WebGlRenderbuffer;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlRenderingContext.rs b/vendor/web-sys/src/features/gen_WebGlRenderingContext.rs
new file mode 100644
index 000000000..ccf873158
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlRenderingContext.rs
@@ -0,0 +1,3169 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLRenderingContext , typescript_type = "WebGLRenderingContext")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlRenderingContext` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub type WebGlRenderingContext;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLRenderingContext" , js_name = canvas)]
+ #[doc = "Getter for the `canvas` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/canvas)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn canvas(this: &WebGlRenderingContext) -> Option<::js_sys::Object>;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLRenderingContext" , js_name = drawingBufferWidth)]
+ #[doc = "Getter for the `drawingBufferWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawingBufferWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn drawing_buffer_width(this: &WebGlRenderingContext) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLRenderingContext" , js_name = drawingBufferHeight)]
+ #[doc = "Getter for the `drawingBufferHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawingBufferHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn drawing_buffer_height(this: &WebGlRenderingContext) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn buffer_data_with_i32(this: &WebGlRenderingContext, target: u32, size: i32, usage: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn buffer_data_with_f64(this: &WebGlRenderingContext, target: u32, size: f64, usage: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn buffer_data_with_opt_array_buffer(
+ this: &WebGlRenderingContext,
+ target: u32,
+ data: Option<&::js_sys::ArrayBuffer>,
+ usage: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn buffer_data_with_array_buffer_view(
+ this: &WebGlRenderingContext,
+ target: u32,
+ data: &::js_sys::Object,
+ usage: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData)]
+ #[doc = "The `bufferData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn buffer_data_with_u8_array(
+ this: &WebGlRenderingContext,
+ target: u32,
+ data: &[u8],
+ usage: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn buffer_sub_data_with_i32_and_array_buffer(
+ this: &WebGlRenderingContext,
+ target: u32,
+ offset: i32,
+ data: &::js_sys::ArrayBuffer,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn buffer_sub_data_with_f64_and_array_buffer(
+ this: &WebGlRenderingContext,
+ target: u32,
+ offset: f64,
+ data: &::js_sys::ArrayBuffer,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn buffer_sub_data_with_i32_and_array_buffer_view(
+ this: &WebGlRenderingContext,
+ target: u32,
+ offset: i32,
+ data: &::js_sys::Object,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn buffer_sub_data_with_f64_and_array_buffer_view(
+ this: &WebGlRenderingContext,
+ target: u32,
+ offset: f64,
+ data: &::js_sys::Object,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn buffer_sub_data_with_i32_and_u8_array(
+ this: &WebGlRenderingContext,
+ target: u32,
+ offset: i32,
+ data: &[u8],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData)]
+ #[doc = "The `bufferSubData()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn buffer_sub_data_with_f64_and_u8_array(
+ this: &WebGlRenderingContext,
+ target: u32,
+ offset: f64,
+ data: &[u8],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = commit)]
+ #[doc = "The `commit()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/commit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn commit(this: &WebGlRenderingContext);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexImage2D)]
+ #[doc = "The `compressedTexImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn compressed_tex_image_2d_with_array_buffer_view(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ border: i32,
+ data: &::js_sys::Object,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexImage2D)]
+ #[doc = "The `compressedTexImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn compressed_tex_image_2d_with_u8_array(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ border: i32,
+ data: &[u8],
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexSubImage2D)]
+ #[doc = "The `compressedTexSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn compressed_tex_sub_image_2d_with_array_buffer_view(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ data: &::js_sys::Object,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexSubImage2D)]
+ #[doc = "The `compressedTexSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn compressed_tex_sub_image_2d_with_u8_array(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ data: &mut [u8],
+ );
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = readPixels)]
+ #[doc = "The `readPixels()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn read_pixels_with_opt_array_buffer_view(
+ this: &WebGlRenderingContext,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ pixels: Option<&::js_sys::Object>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = readPixels)]
+ #[doc = "The `readPixels()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn read_pixels_with_opt_u8_array(
+ this: &WebGlRenderingContext,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ pixels: Option<&mut [u8]>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ pixels: Option<&::js_sys::Object>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ format: u32,
+ type_: u32,
+ pixels: Option<&[u8]>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGlRenderingContext`*"]
+ pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ format: u32,
+ type_: u32,
+ pixels: &ImageBitmap,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGlRenderingContext`*"]
+ pub fn tex_image_2d_with_u32_and_u32_and_image_data(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ format: u32,
+ type_: u32,
+ pixels: &ImageData,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGlRenderingContext`*"]
+ pub fn tex_image_2d_with_u32_and_u32_and_image(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ format: u32,
+ type_: u32,
+ image: &HtmlImageElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGlRenderingContext`*"]
+ pub fn tex_image_2d_with_u32_and_u32_and_canvas(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ format: u32,
+ type_: u32,
+ canvas: &HtmlCanvasElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGlRenderingContext`*"]
+ pub fn tex_image_2d_with_u32_and_u32_and_video(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ format: u32,
+ type_: u32,
+ video: &HtmlVideoElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D)]
+ #[doc = "The `texImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGlRenderingContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn tex_image_2d_with_u32_and_u32_and_video_frame(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: i32,
+ format: u32,
+ type_: u32,
+ video_frame: &VideoFrame,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ pixels: Option<&::js_sys::Object>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ width: i32,
+ height: i32,
+ format: u32,
+ type_: u32,
+ pixels: Option<&[u8]>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WebGlRenderingContext`*"]
+ pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ format: u32,
+ type_: u32,
+ pixels: &ImageBitmap,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WebGlRenderingContext`*"]
+ pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ format: u32,
+ type_: u32,
+ pixels: &ImageData,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGlRenderingContext`*"]
+ pub fn tex_sub_image_2d_with_u32_and_u32_and_image(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ format: u32,
+ type_: u32,
+ image: &HtmlImageElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGlRenderingContext`*"]
+ pub fn tex_sub_image_2d_with_u32_and_u32_and_canvas(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ format: u32,
+ type_: u32,
+ canvas: &HtmlCanvasElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGlRenderingContext`*"]
+ pub fn tex_sub_image_2d_with_u32_and_u32_and_video(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ format: u32,
+ type_: u32,
+ video: &HtmlVideoElement,
+ ) -> Result<(), JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D)]
+ #[doc = "The `texSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WebGlRenderingContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn tex_sub_image_2d_with_u32_and_u32_and_video_frame(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ format: u32,
+ type_: u32,
+ video_frame: &VideoFrame,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1fv)]
+ #[doc = "The `uniform1fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1fv_with_f32_array(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1fv)]
+ #[doc = "The `uniform1fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1fv_with_f32_sequence(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1iv)]
+ #[doc = "The `uniform1iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1iv_with_i32_array(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1iv)]
+ #[doc = "The `uniform1iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1iv_with_i32_sequence(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2fv)]
+ #[doc = "The `uniform2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2fv_with_f32_array(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2fv)]
+ #[doc = "The `uniform2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2fv_with_f32_sequence(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2iv)]
+ #[doc = "The `uniform2iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2iv_with_i32_array(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2iv)]
+ #[doc = "The `uniform2iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2iv_with_i32_sequence(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3fv)]
+ #[doc = "The `uniform3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3fv_with_f32_array(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3fv)]
+ #[doc = "The `uniform3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3fv_with_f32_sequence(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3iv)]
+ #[doc = "The `uniform3iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3iv_with_i32_array(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3iv)]
+ #[doc = "The `uniform3iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3iv_with_i32_sequence(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4fv)]
+ #[doc = "The `uniform4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4fv_with_f32_array(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4fv)]
+ #[doc = "The `uniform4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4fv_with_f32_sequence(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4iv)]
+ #[doc = "The `uniform4iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4iv_with_i32_array(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &[i32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4iv)]
+ #[doc = "The `uniform4iv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4iv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4iv_with_i32_sequence(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix2fv)]
+ #[doc = "The `uniformMatrix2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2fv_with_f32_array(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix2fv)]
+ #[doc = "The `uniformMatrix2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix2fv_with_f32_sequence(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix3fv)]
+ #[doc = "The `uniformMatrix3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3fv_with_f32_array(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix3fv)]
+ #[doc = "The `uniformMatrix3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix3fv_with_f32_sequence(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix4fv)]
+ #[doc = "The `uniformMatrix4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4fv_with_f32_array(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &[f32],
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix4fv)]
+ #[doc = "The `uniformMatrix4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform_matrix4fv_with_f32_sequence(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ transpose: bool,
+ data: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = activeTexture)]
+ #[doc = "The `activeTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/activeTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn active_texture(this: &WebGlRenderingContext, texture: u32);
+ #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = attachShader)]
+ #[doc = "The `attachShader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/attachShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlShader`*"]
+ pub fn attach_shader(
+ this: &WebGlRenderingContext,
+ program: &WebGlProgram,
+ shader: &WebGlShader,
+ );
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bindAttribLocation)]
+ #[doc = "The `bindAttribLocation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindAttribLocation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn bind_attrib_location(
+ this: &WebGlRenderingContext,
+ program: &WebGlProgram,
+ index: u32,
+ name: &str,
+ );
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bindBuffer)]
+ #[doc = "The `bindBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*"]
+ pub fn bind_buffer(this: &WebGlRenderingContext, target: u32, buffer: Option<&WebGlBuffer>);
+ #[cfg(feature = "WebGlFramebuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bindFramebuffer)]
+ #[doc = "The `bindFramebuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindFramebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*"]
+ pub fn bind_framebuffer(
+ this: &WebGlRenderingContext,
+ target: u32,
+ framebuffer: Option<&WebGlFramebuffer>,
+ );
+ #[cfg(feature = "WebGlRenderbuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bindRenderbuffer)]
+ #[doc = "The `bindRenderbuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindRenderbuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*"]
+ pub fn bind_renderbuffer(
+ this: &WebGlRenderingContext,
+ target: u32,
+ renderbuffer: Option<&WebGlRenderbuffer>,
+ );
+ #[cfg(feature = "WebGlTexture")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = bindTexture)]
+ #[doc = "The `bindTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*"]
+ pub fn bind_texture(this: &WebGlRenderingContext, target: u32, texture: Option<&WebGlTexture>);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = blendColor)]
+ #[doc = "The `blendColor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn blend_color(this: &WebGlRenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = blendEquation)]
+ #[doc = "The `blendEquation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendEquation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn blend_equation(this: &WebGlRenderingContext, mode: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = blendEquationSeparate)]
+ #[doc = "The `blendEquationSeparate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendEquationSeparate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn blend_equation_separate(this: &WebGlRenderingContext, mode_rgb: u32, mode_alpha: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = blendFunc)]
+ #[doc = "The `blendFunc()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendFunc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn blend_func(this: &WebGlRenderingContext, sfactor: u32, dfactor: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = blendFuncSeparate)]
+ #[doc = "The `blendFuncSeparate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendFuncSeparate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn blend_func_separate(
+ this: &WebGlRenderingContext,
+ src_rgb: u32,
+ dst_rgb: u32,
+ src_alpha: u32,
+ dst_alpha: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = checkFramebufferStatus)]
+ #[doc = "The `checkFramebufferStatus()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/checkFramebufferStatus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn check_framebuffer_status(this: &WebGlRenderingContext, target: u32) -> u32;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = clear)]
+ #[doc = "The `clear()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn clear(this: &WebGlRenderingContext, mask: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = clearColor)]
+ #[doc = "The `clearColor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clearColor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn clear_color(this: &WebGlRenderingContext, red: f32, green: f32, blue: f32, alpha: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = clearDepth)]
+ #[doc = "The `clearDepth()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clearDepth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn clear_depth(this: &WebGlRenderingContext, depth: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = clearStencil)]
+ #[doc = "The `clearStencil()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clearStencil)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn clear_stencil(this: &WebGlRenderingContext, s: i32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = colorMask)]
+ #[doc = "The `colorMask()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/colorMask)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn color_mask(
+ this: &WebGlRenderingContext,
+ red: bool,
+ green: bool,
+ blue: bool,
+ alpha: bool,
+ );
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = compileShader)]
+ #[doc = "The `compileShader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compileShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
+ pub fn compile_shader(this: &WebGlRenderingContext, shader: &WebGlShader);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = copyTexImage2D)]
+ #[doc = "The `copyTexImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/copyTexImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn copy_tex_image_2d(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ internalformat: u32,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ border: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = copyTexSubImage2D)]
+ #[doc = "The `copyTexSubImage2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/copyTexSubImage2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn copy_tex_sub_image_2d(
+ this: &WebGlRenderingContext,
+ target: u32,
+ level: i32,
+ xoffset: i32,
+ yoffset: i32,
+ x: i32,
+ y: i32,
+ width: i32,
+ height: i32,
+ );
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = createBuffer)]
+ #[doc = "The `createBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*"]
+ pub fn create_buffer(this: &WebGlRenderingContext) -> Option<WebGlBuffer>;
+ #[cfg(feature = "WebGlFramebuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = createFramebuffer)]
+ #[doc = "The `createFramebuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createFramebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*"]
+ pub fn create_framebuffer(this: &WebGlRenderingContext) -> Option<WebGlFramebuffer>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = createProgram)]
+ #[doc = "The `createProgram()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn create_program(this: &WebGlRenderingContext) -> Option<WebGlProgram>;
+ #[cfg(feature = "WebGlRenderbuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = createRenderbuffer)]
+ #[doc = "The `createRenderbuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createRenderbuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*"]
+ pub fn create_renderbuffer(this: &WebGlRenderingContext) -> Option<WebGlRenderbuffer>;
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = createShader)]
+ #[doc = "The `createShader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
+ pub fn create_shader(this: &WebGlRenderingContext, type_: u32) -> Option<WebGlShader>;
+ #[cfg(feature = "WebGlTexture")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = createTexture)]
+ #[doc = "The `createTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*"]
+ pub fn create_texture(this: &WebGlRenderingContext) -> Option<WebGlTexture>;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = cullFace)]
+ #[doc = "The `cullFace()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/cullFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn cull_face(this: &WebGlRenderingContext, mode: u32);
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = deleteBuffer)]
+ #[doc = "The `deleteBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*"]
+ pub fn delete_buffer(this: &WebGlRenderingContext, buffer: Option<&WebGlBuffer>);
+ #[cfg(feature = "WebGlFramebuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = deleteFramebuffer)]
+ #[doc = "The `deleteFramebuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteFramebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*"]
+ pub fn delete_framebuffer(this: &WebGlRenderingContext, framebuffer: Option<&WebGlFramebuffer>);
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = deleteProgram)]
+ #[doc = "The `deleteProgram()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn delete_program(this: &WebGlRenderingContext, program: Option<&WebGlProgram>);
+ #[cfg(feature = "WebGlRenderbuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = deleteRenderbuffer)]
+ #[doc = "The `deleteRenderbuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteRenderbuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*"]
+ pub fn delete_renderbuffer(
+ this: &WebGlRenderingContext,
+ renderbuffer: Option<&WebGlRenderbuffer>,
+ );
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = deleteShader)]
+ #[doc = "The `deleteShader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
+ pub fn delete_shader(this: &WebGlRenderingContext, shader: Option<&WebGlShader>);
+ #[cfg(feature = "WebGlTexture")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = deleteTexture)]
+ #[doc = "The `deleteTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*"]
+ pub fn delete_texture(this: &WebGlRenderingContext, texture: Option<&WebGlTexture>);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = depthFunc)]
+ #[doc = "The `depthFunc()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/depthFunc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn depth_func(this: &WebGlRenderingContext, func: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = depthMask)]
+ #[doc = "The `depthMask()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/depthMask)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn depth_mask(this: &WebGlRenderingContext, flag: bool);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = depthRange)]
+ #[doc = "The `depthRange()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/depthRange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn depth_range(this: &WebGlRenderingContext, z_near: f32, z_far: f32);
+ #[cfg(all(feature = "WebGlProgram", feature = "WebGlShader",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = detachShader)]
+ #[doc = "The `detachShader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/detachShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlShader`*"]
+ pub fn detach_shader(
+ this: &WebGlRenderingContext,
+ program: &WebGlProgram,
+ shader: &WebGlShader,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = disable)]
+ #[doc = "The `disable()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/disable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn disable(this: &WebGlRenderingContext, cap: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = disableVertexAttribArray)]
+ #[doc = "The `disableVertexAttribArray()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/disableVertexAttribArray)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn disable_vertex_attrib_array(this: &WebGlRenderingContext, index: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = drawArrays)]
+ #[doc = "The `drawArrays()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawArrays)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn draw_arrays(this: &WebGlRenderingContext, mode: u32, first: i32, count: i32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = drawElements)]
+ #[doc = "The `drawElements()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawElements)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn draw_elements_with_i32(
+ this: &WebGlRenderingContext,
+ mode: u32,
+ count: i32,
+ type_: u32,
+ offset: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = drawElements)]
+ #[doc = "The `drawElements()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawElements)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn draw_elements_with_f64(
+ this: &WebGlRenderingContext,
+ mode: u32,
+ count: i32,
+ type_: u32,
+ offset: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = enable)]
+ #[doc = "The `enable()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/enable)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn enable(this: &WebGlRenderingContext, cap: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = enableVertexAttribArray)]
+ #[doc = "The `enableVertexAttribArray()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/enableVertexAttribArray)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn enable_vertex_attrib_array(this: &WebGlRenderingContext, index: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = finish)]
+ #[doc = "The `finish()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/finish)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn finish(this: &WebGlRenderingContext);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = flush)]
+ #[doc = "The `flush()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/flush)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn flush(this: &WebGlRenderingContext);
+ #[cfg(feature = "WebGlRenderbuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = framebufferRenderbuffer)]
+ #[doc = "The `framebufferRenderbuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/framebufferRenderbuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*"]
+ pub fn framebuffer_renderbuffer(
+ this: &WebGlRenderingContext,
+ target: u32,
+ attachment: u32,
+ renderbuffertarget: u32,
+ renderbuffer: Option<&WebGlRenderbuffer>,
+ );
+ #[cfg(feature = "WebGlTexture")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = framebufferTexture2D)]
+ #[doc = "The `framebufferTexture2D()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/framebufferTexture2D)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*"]
+ pub fn framebuffer_texture_2d(
+ this: &WebGlRenderingContext,
+ target: u32,
+ attachment: u32,
+ textarget: u32,
+ texture: Option<&WebGlTexture>,
+ level: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = frontFace)]
+ #[doc = "The `frontFace()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/frontFace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn front_face(this: &WebGlRenderingContext, mode: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = generateMipmap)]
+ #[doc = "The `generateMipmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/generateMipmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn generate_mipmap(this: &WebGlRenderingContext, target: u32);
+ #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getActiveAttrib)]
+ #[doc = "The `getActiveAttrib()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getActiveAttrib)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`, `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn get_active_attrib(
+ this: &WebGlRenderingContext,
+ program: &WebGlProgram,
+ index: u32,
+ ) -> Option<WebGlActiveInfo>;
+ #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getActiveUniform)]
+ #[doc = "The `getActiveUniform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getActiveUniform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`, `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn get_active_uniform(
+ this: &WebGlRenderingContext,
+ program: &WebGlProgram,
+ index: u32,
+ ) -> Option<WebGlActiveInfo>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getAttachedShaders)]
+ #[doc = "The `getAttachedShaders()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getAttachedShaders)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn get_attached_shaders(
+ this: &WebGlRenderingContext,
+ program: &WebGlProgram,
+ ) -> Option<::js_sys::Array>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getAttribLocation)]
+ #[doc = "The `getAttribLocation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getAttribLocation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn get_attrib_location(
+ this: &WebGlRenderingContext,
+ program: &WebGlProgram,
+ name: &str,
+ ) -> i32;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getBufferParameter)]
+ #[doc = "The `getBufferParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getBufferParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn get_buffer_parameter(
+ this: &WebGlRenderingContext,
+ target: u32,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlContextAttributes")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getContextAttributes)]
+ #[doc = "The `getContextAttributes()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getContextAttributes)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlContextAttributes`, `WebGlRenderingContext`*"]
+ pub fn get_context_attributes(this: &WebGlRenderingContext) -> Option<WebGlContextAttributes>;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getError)]
+ #[doc = "The `getError()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn get_error(this: &WebGlRenderingContext) -> u32;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = getExtension)]
+ #[doc = "The `getExtension()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getExtension)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn get_extension(
+ this: &WebGlRenderingContext,
+ name: &str,
+ ) -> Result<Option<::js_sys::Object>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = getFramebufferAttachmentParameter)]
+ #[doc = "The `getFramebufferAttachmentParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn get_framebuffer_attachment_parameter(
+ this: &WebGlRenderingContext,
+ target: u32,
+ attachment: u32,
+ pname: u32,
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = getParameter)]
+ #[doc = "The `getParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn get_parameter(
+ this: &WebGlRenderingContext,
+ pname: u32,
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getProgramInfoLog)]
+ #[doc = "The `getProgramInfoLog()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getProgramInfoLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn get_program_info_log(
+ this: &WebGlRenderingContext,
+ program: &WebGlProgram,
+ ) -> Option<String>;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getProgramParameter)]
+ #[doc = "The `getProgramParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getProgramParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn get_program_parameter(
+ this: &WebGlRenderingContext,
+ program: &WebGlProgram,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getRenderbufferParameter)]
+ #[doc = "The `getRenderbufferParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getRenderbufferParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn get_renderbuffer_parameter(
+ this: &WebGlRenderingContext,
+ target: u32,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getShaderInfoLog)]
+ #[doc = "The `getShaderInfoLog()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderInfoLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
+ pub fn get_shader_info_log(
+ this: &WebGlRenderingContext,
+ shader: &WebGlShader,
+ ) -> Option<String>;
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getShaderParameter)]
+ #[doc = "The `getShaderParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
+ pub fn get_shader_parameter(
+ this: &WebGlRenderingContext,
+ shader: &WebGlShader,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlShaderPrecisionFormat")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getShaderPrecisionFormat)]
+ #[doc = "The `getShaderPrecisionFormat()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderPrecisionFormat)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShaderPrecisionFormat`*"]
+ pub fn get_shader_precision_format(
+ this: &WebGlRenderingContext,
+ shadertype: u32,
+ precisiontype: u32,
+ ) -> Option<WebGlShaderPrecisionFormat>;
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getShaderSource)]
+ #[doc = "The `getShaderSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
+ pub fn get_shader_source(this: &WebGlRenderingContext, shader: &WebGlShader) -> Option<String>;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getSupportedExtensions)]
+ #[doc = "The `getSupportedExtensions()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getSupportedExtensions)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn get_supported_extensions(this: &WebGlRenderingContext) -> Option<::js_sys::Array>;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getTexParameter)]
+ #[doc = "The `getTexParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getTexParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn get_tex_parameter(
+ this: &WebGlRenderingContext,
+ target: u32,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getUniform)]
+ #[doc = "The `getUniform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getUniform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn get_uniform(
+ this: &WebGlRenderingContext,
+ program: &WebGlProgram,
+ location: &WebGlUniformLocation,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getUniformLocation)]
+ #[doc = "The `getUniformLocation()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getUniformLocation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn get_uniform_location(
+ this: &WebGlRenderingContext,
+ program: &WebGlProgram,
+ name: &str,
+ ) -> Option<WebGlUniformLocation>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebGLRenderingContext" , js_name = getVertexAttrib)]
+ #[doc = "The `getVertexAttrib()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getVertexAttrib)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn get_vertex_attrib(
+ this: &WebGlRenderingContext,
+ index: u32,
+ pname: u32,
+ ) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = getVertexAttribOffset)]
+ #[doc = "The `getVertexAttribOffset()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getVertexAttribOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn get_vertex_attrib_offset(this: &WebGlRenderingContext, index: u32, pname: u32) -> f64;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = hint)]
+ #[doc = "The `hint()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/hint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn hint(this: &WebGlRenderingContext, target: u32, mode: u32);
+ #[cfg(feature = "WebGlBuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isBuffer)]
+ #[doc = "The `isBuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isBuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*"]
+ pub fn is_buffer(this: &WebGlRenderingContext, buffer: Option<&WebGlBuffer>) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isContextLost)]
+ #[doc = "The `isContextLost()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isContextLost)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn is_context_lost(this: &WebGlRenderingContext) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isEnabled)]
+ #[doc = "The `isEnabled()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isEnabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn is_enabled(this: &WebGlRenderingContext, cap: u32) -> bool;
+ #[cfg(feature = "WebGlFramebuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isFramebuffer)]
+ #[doc = "The `isFramebuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isFramebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*"]
+ pub fn is_framebuffer(
+ this: &WebGlRenderingContext,
+ framebuffer: Option<&WebGlFramebuffer>,
+ ) -> bool;
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isProgram)]
+ #[doc = "The `isProgram()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn is_program(this: &WebGlRenderingContext, program: Option<&WebGlProgram>) -> bool;
+ #[cfg(feature = "WebGlRenderbuffer")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isRenderbuffer)]
+ #[doc = "The `isRenderbuffer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isRenderbuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*"]
+ pub fn is_renderbuffer(
+ this: &WebGlRenderingContext,
+ renderbuffer: Option<&WebGlRenderbuffer>,
+ ) -> bool;
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isShader)]
+ #[doc = "The `isShader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
+ pub fn is_shader(this: &WebGlRenderingContext, shader: Option<&WebGlShader>) -> bool;
+ #[cfg(feature = "WebGlTexture")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = isTexture)]
+ #[doc = "The `isTexture()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*"]
+ pub fn is_texture(this: &WebGlRenderingContext, texture: Option<&WebGlTexture>) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = lineWidth)]
+ #[doc = "The `lineWidth()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/lineWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn line_width(this: &WebGlRenderingContext, width: f32);
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = linkProgram)]
+ #[doc = "The `linkProgram()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/linkProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn link_program(this: &WebGlRenderingContext, program: &WebGlProgram);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = makeXRCompatible)]
+ #[doc = "The `makeXRCompatible()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/makeXRCompatible)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn make_xr_compatible(this: &WebGlRenderingContext) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = pixelStorei)]
+ #[doc = "The `pixelStorei()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/pixelStorei)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn pixel_storei(this: &WebGlRenderingContext, pname: u32, param: i32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = polygonOffset)]
+ #[doc = "The `polygonOffset()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/polygonOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn polygon_offset(this: &WebGlRenderingContext, factor: f32, units: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = renderbufferStorage)]
+ #[doc = "The `renderbufferStorage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/renderbufferStorage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn renderbuffer_storage(
+ this: &WebGlRenderingContext,
+ target: u32,
+ internalformat: u32,
+ width: i32,
+ height: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = sampleCoverage)]
+ #[doc = "The `sampleCoverage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/sampleCoverage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn sample_coverage(this: &WebGlRenderingContext, value: f32, invert: bool);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = scissor)]
+ #[doc = "The `scissor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/scissor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn scissor(this: &WebGlRenderingContext, x: i32, y: i32, width: i32, height: i32);
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = shaderSource)]
+ #[doc = "The `shaderSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/shaderSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"]
+ pub fn shader_source(this: &WebGlRenderingContext, shader: &WebGlShader, source: &str);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilFunc)]
+ #[doc = "The `stencilFunc()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilFunc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn stencil_func(this: &WebGlRenderingContext, func: u32, ref_: i32, mask: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilFuncSeparate)]
+ #[doc = "The `stencilFuncSeparate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilFuncSeparate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn stencil_func_separate(
+ this: &WebGlRenderingContext,
+ face: u32,
+ func: u32,
+ ref_: i32,
+ mask: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilMask)]
+ #[doc = "The `stencilMask()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilMask)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn stencil_mask(this: &WebGlRenderingContext, mask: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilMaskSeparate)]
+ #[doc = "The `stencilMaskSeparate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilMaskSeparate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn stencil_mask_separate(this: &WebGlRenderingContext, face: u32, mask: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilOp)]
+ #[doc = "The `stencilOp()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilOp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn stencil_op(this: &WebGlRenderingContext, fail: u32, zfail: u32, zpass: u32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = stencilOpSeparate)]
+ #[doc = "The `stencilOpSeparate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilOpSeparate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn stencil_op_separate(
+ this: &WebGlRenderingContext,
+ face: u32,
+ fail: u32,
+ zfail: u32,
+ zpass: u32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = texParameterf)]
+ #[doc = "The `texParameterf()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texParameterf)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn tex_parameterf(this: &WebGlRenderingContext, target: u32, pname: u32, param: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = texParameteri)]
+ #[doc = "The `texParameteri()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texParameteri)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn tex_parameteri(this: &WebGlRenderingContext, target: u32, pname: u32, param: i32);
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1f)]
+ #[doc = "The `uniform1f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1f(this: &WebGlRenderingContext, location: Option<&WebGlUniformLocation>, x: f32);
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1i)]
+ #[doc = "The `uniform1i()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1i)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform1i(this: &WebGlRenderingContext, location: Option<&WebGlUniformLocation>, x: i32);
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2f)]
+ #[doc = "The `uniform2f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2f(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: f32,
+ y: f32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2i)]
+ #[doc = "The `uniform2i()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2i)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform2i(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: i32,
+ y: i32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3f)]
+ #[doc = "The `uniform3f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3f(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: f32,
+ y: f32,
+ z: f32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3i)]
+ #[doc = "The `uniform3i()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3i)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform3i(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: i32,
+ y: i32,
+ z: i32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4f)]
+ #[doc = "The `uniform4f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4f(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: f32,
+ y: f32,
+ z: f32,
+ w: f32,
+ );
+ #[cfg(feature = "WebGlUniformLocation")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4i)]
+ #[doc = "The `uniform4i()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4i)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*"]
+ pub fn uniform4i(
+ this: &WebGlRenderingContext,
+ location: Option<&WebGlUniformLocation>,
+ x: i32,
+ y: i32,
+ z: i32,
+ w: i32,
+ );
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = useProgram)]
+ #[doc = "The `useProgram()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/useProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn use_program(this: &WebGlRenderingContext, program: Option<&WebGlProgram>);
+ #[cfg(feature = "WebGlProgram")]
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = validateProgram)]
+ #[doc = "The `validateProgram()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/validateProgram)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"]
+ pub fn validate_program(this: &WebGlRenderingContext, program: &WebGlProgram);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib1f)]
+ #[doc = "The `vertexAttrib1f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib1f(this: &WebGlRenderingContext, indx: u32, x: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib1fv)]
+ #[doc = "The `vertexAttrib1fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib1fv_with_f32_array(this: &WebGlRenderingContext, indx: u32, values: &[f32]);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib1fv)]
+ #[doc = "The `vertexAttrib1fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib1fv_with_f32_sequence(
+ this: &WebGlRenderingContext,
+ indx: u32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib2f)]
+ #[doc = "The `vertexAttrib2f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib2f(this: &WebGlRenderingContext, indx: u32, x: f32, y: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib2fv)]
+ #[doc = "The `vertexAttrib2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib2fv_with_f32_array(this: &WebGlRenderingContext, indx: u32, values: &[f32]);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib2fv)]
+ #[doc = "The `vertexAttrib2fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib2fv_with_f32_sequence(
+ this: &WebGlRenderingContext,
+ indx: u32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib3f)]
+ #[doc = "The `vertexAttrib3f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib3f(this: &WebGlRenderingContext, indx: u32, x: f32, y: f32, z: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib3fv)]
+ #[doc = "The `vertexAttrib3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib3fv_with_f32_array(this: &WebGlRenderingContext, indx: u32, values: &[f32]);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib3fv)]
+ #[doc = "The `vertexAttrib3fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib3fv_with_f32_sequence(
+ this: &WebGlRenderingContext,
+ indx: u32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib4f)]
+ #[doc = "The `vertexAttrib4f()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib4f(this: &WebGlRenderingContext, indx: u32, x: f32, y: f32, z: f32, w: f32);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib4fv)]
+ #[doc = "The `vertexAttrib4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib4fv_with_f32_array(this: &WebGlRenderingContext, indx: u32, values: &[f32]);
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib4fv)]
+ #[doc = "The `vertexAttrib4fv()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4fv)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib4fv_with_f32_sequence(
+ this: &WebGlRenderingContext,
+ indx: u32,
+ values: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttribPointer)]
+ #[doc = "The `vertexAttribPointer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib_pointer_with_i32(
+ this: &WebGlRenderingContext,
+ indx: u32,
+ size: i32,
+ type_: u32,
+ normalized: bool,
+ stride: i32,
+ offset: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttribPointer)]
+ #[doc = "The `vertexAttribPointer()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn vertex_attrib_pointer_with_f64(
+ this: &WebGlRenderingContext,
+ indx: u32,
+ size: i32,
+ type_: u32,
+ normalized: bool,
+ stride: i32,
+ offset: f64,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WebGLRenderingContext" , js_name = viewport)]
+ #[doc = "The `viewport()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/viewport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub fn viewport(this: &WebGlRenderingContext, x: i32, y: i32, width: i32, height: i32);
+}
+impl WebGlRenderingContext {
+ #[doc = "The `WebGLRenderingContext.DEPTH_BUFFER_BIT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DEPTH_BUFFER_BIT: u32 = 256u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_BUFFER_BIT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_BUFFER_BIT: u32 = 1024u64 as u32;
+ #[doc = "The `WebGLRenderingContext.COLOR_BUFFER_BIT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const COLOR_BUFFER_BIT: u32 = 16384u64 as u32;
+ #[doc = "The `WebGLRenderingContext.POINTS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const POINTS: u32 = 0u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LINES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LINES: u32 = 1u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LINE_LOOP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LINE_LOOP: u32 = 2u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LINE_STRIP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LINE_STRIP: u32 = 3u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TRIANGLES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TRIANGLES: u32 = 4u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TRIANGLE_STRIP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TRIANGLE_STRIP: u32 = 5u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TRIANGLE_FAN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TRIANGLE_FAN: u32 = 6u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ZERO` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ZERO: u32 = 0i64 as u32;
+ #[doc = "The `WebGLRenderingContext.ONE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ONE: u32 = 1u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SRC_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SRC_COLOR: u32 = 768u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ONE_MINUS_SRC_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ONE_MINUS_SRC_COLOR: u32 = 769u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SRC_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SRC_ALPHA: u32 = 770u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ONE_MINUS_SRC_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ONE_MINUS_SRC_ALPHA: u32 = 771u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DST_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DST_ALPHA: u32 = 772u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ONE_MINUS_DST_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ONE_MINUS_DST_ALPHA: u32 = 773u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DST_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DST_COLOR: u32 = 774u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ONE_MINUS_DST_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ONE_MINUS_DST_COLOR: u32 = 775u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SRC_ALPHA_SATURATE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SRC_ALPHA_SATURATE: u32 = 776u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FUNC_ADD` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FUNC_ADD: u32 = 32774u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BLEND_EQUATION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BLEND_EQUATION: u32 = 32777u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BLEND_EQUATION_RGB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BLEND_EQUATION_RGB: u32 = 32777u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BLEND_EQUATION_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BLEND_EQUATION_ALPHA: u32 = 34877u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FUNC_SUBTRACT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FUNC_SUBTRACT: u32 = 32778u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FUNC_REVERSE_SUBTRACT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FUNC_REVERSE_SUBTRACT: u32 = 32779u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BLEND_DST_RGB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BLEND_DST_RGB: u32 = 32968u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BLEND_SRC_RGB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BLEND_SRC_RGB: u32 = 32969u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BLEND_DST_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BLEND_DST_ALPHA: u32 = 32970u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BLEND_SRC_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BLEND_SRC_ALPHA: u32 = 32971u64 as u32;
+ #[doc = "The `WebGLRenderingContext.CONSTANT_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const CONSTANT_COLOR: u32 = 32769u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ONE_MINUS_CONSTANT_COLOR: u32 = 32770u64 as u32;
+ #[doc = "The `WebGLRenderingContext.CONSTANT_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const CONSTANT_ALPHA: u32 = 32771u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 32772u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BLEND_COLOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BLEND_COLOR: u32 = 32773u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ARRAY_BUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ARRAY_BUFFER: u32 = 34962u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ELEMENT_ARRAY_BUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ELEMENT_ARRAY_BUFFER: u32 = 34963u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ARRAY_BUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ARRAY_BUFFER_BINDING: u32 = 34964u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34965u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STREAM_DRAW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STREAM_DRAW: u32 = 35040u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STATIC_DRAW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STATIC_DRAW: u32 = 35044u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DYNAMIC_DRAW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DYNAMIC_DRAW: u32 = 35048u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BUFFER_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BUFFER_SIZE: u32 = 34660u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BUFFER_USAGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BUFFER_USAGE: u32 = 34661u64 as u32;
+ #[doc = "The `WebGLRenderingContext.CURRENT_VERTEX_ATTRIB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const CURRENT_VERTEX_ATTRIB: u32 = 34342u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRONT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRONT: u32 = 1028u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BACK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BACK: u32 = 1029u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRONT_AND_BACK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRONT_AND_BACK: u32 = 1032u64 as u32;
+ #[doc = "The `WebGLRenderingContext.CULL_FACE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const CULL_FACE: u32 = 2884u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BLEND` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BLEND: u32 = 3042u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DITHER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DITHER: u32 = 3024u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_TEST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_TEST: u32 = 2960u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DEPTH_TEST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DEPTH_TEST: u32 = 2929u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SCISSOR_TEST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SCISSOR_TEST: u32 = 3089u64 as u32;
+ #[doc = "The `WebGLRenderingContext.POLYGON_OFFSET_FILL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const POLYGON_OFFSET_FILL: u32 = 32823u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 32926u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SAMPLE_COVERAGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SAMPLE_COVERAGE: u32 = 32928u64 as u32;
+ #[doc = "The `WebGLRenderingContext.NO_ERROR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const NO_ERROR: u32 = 0i64 as u32;
+ #[doc = "The `WebGLRenderingContext.INVALID_ENUM` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const INVALID_ENUM: u32 = 1280u64 as u32;
+ #[doc = "The `WebGLRenderingContext.INVALID_VALUE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const INVALID_VALUE: u32 = 1281u64 as u32;
+ #[doc = "The `WebGLRenderingContext.INVALID_OPERATION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const INVALID_OPERATION: u32 = 1282u64 as u32;
+ #[doc = "The `WebGLRenderingContext.OUT_OF_MEMORY` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const OUT_OF_MEMORY: u32 = 1285u64 as u32;
+ #[doc = "The `WebGLRenderingContext.CW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const CW: u32 = 2304u64 as u32;
+ #[doc = "The `WebGLRenderingContext.CCW` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const CCW: u32 = 2305u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LINE_WIDTH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LINE_WIDTH: u32 = 2849u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ALIASED_POINT_SIZE_RANGE: u32 = 33901u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ALIASED_LINE_WIDTH_RANGE: u32 = 33902u64 as u32;
+ #[doc = "The `WebGLRenderingContext.CULL_FACE_MODE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const CULL_FACE_MODE: u32 = 2885u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRONT_FACE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRONT_FACE: u32 = 2886u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DEPTH_RANGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DEPTH_RANGE: u32 = 2928u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DEPTH_WRITEMASK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DEPTH_WRITEMASK: u32 = 2930u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DEPTH_CLEAR_VALUE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DEPTH_CLEAR_VALUE: u32 = 2931u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DEPTH_FUNC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DEPTH_FUNC: u32 = 2932u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_CLEAR_VALUE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_CLEAR_VALUE: u32 = 2961u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_FUNC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_FUNC: u32 = 2962u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_FAIL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_FAIL: u32 = 2964u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_PASS_DEPTH_FAIL: u32 = 2965u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_PASS_DEPTH_PASS: u32 = 2966u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_REF` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_REF: u32 = 2967u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_VALUE_MASK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_VALUE_MASK: u32 = 2963u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_WRITEMASK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_WRITEMASK: u32 = 2968u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_BACK_FUNC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_BACK_FUNC: u32 = 34816u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_BACK_FAIL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_BACK_FAIL: u32 = 34817u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34818u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34819u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_BACK_REF` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_BACK_REF: u32 = 36003u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_BACK_VALUE_MASK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_BACK_VALUE_MASK: u32 = 36004u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_BACK_WRITEMASK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_BACK_WRITEMASK: u32 = 36005u64 as u32;
+ #[doc = "The `WebGLRenderingContext.VIEWPORT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const VIEWPORT: u32 = 2978u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SCISSOR_BOX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SCISSOR_BOX: u32 = 3088u64 as u32;
+ #[doc = "The `WebGLRenderingContext.COLOR_CLEAR_VALUE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const COLOR_CLEAR_VALUE: u32 = 3106u64 as u32;
+ #[doc = "The `WebGLRenderingContext.COLOR_WRITEMASK` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const COLOR_WRITEMASK: u32 = 3107u64 as u32;
+ #[doc = "The `WebGLRenderingContext.UNPACK_ALIGNMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const UNPACK_ALIGNMENT: u32 = 3317u64 as u32;
+ #[doc = "The `WebGLRenderingContext.PACK_ALIGNMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const PACK_ALIGNMENT: u32 = 3333u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MAX_TEXTURE_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MAX_TEXTURE_SIZE: u32 = 3379u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MAX_VIEWPORT_DIMS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MAX_VIEWPORT_DIMS: u32 = 3386u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SUBPIXEL_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SUBPIXEL_BITS: u32 = 3408u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RED_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RED_BITS: u32 = 3410u64 as u32;
+ #[doc = "The `WebGLRenderingContext.GREEN_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const GREEN_BITS: u32 = 3411u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BLUE_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BLUE_BITS: u32 = 3412u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ALPHA_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ALPHA_BITS: u32 = 3413u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DEPTH_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DEPTH_BITS: u32 = 3414u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_BITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_BITS: u32 = 3415u64 as u32;
+ #[doc = "The `WebGLRenderingContext.POLYGON_OFFSET_UNITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const POLYGON_OFFSET_UNITS: u32 = 10752u64 as u32;
+ #[doc = "The `WebGLRenderingContext.POLYGON_OFFSET_FACTOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const POLYGON_OFFSET_FACTOR: u32 = 32824u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_BINDING_2D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_BINDING_2D: u32 = 32873u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SAMPLE_BUFFERS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SAMPLE_BUFFERS: u32 = 32936u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SAMPLES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SAMPLES: u32 = 32937u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SAMPLE_COVERAGE_VALUE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SAMPLE_COVERAGE_VALUE: u32 = 32938u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SAMPLE_COVERAGE_INVERT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SAMPLE_COVERAGE_INVERT: u32 = 32939u64 as u32;
+ #[doc = "The `WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const COMPRESSED_TEXTURE_FORMATS: u32 = 34467u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DONT_CARE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DONT_CARE: u32 = 4352u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FASTEST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FASTEST: u32 = 4353u64 as u32;
+ #[doc = "The `WebGLRenderingContext.NICEST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const NICEST: u32 = 4354u64 as u32;
+ #[doc = "The `WebGLRenderingContext.GENERATE_MIPMAP_HINT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const GENERATE_MIPMAP_HINT: u32 = 33170u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BYTE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BYTE: u32 = 5120u64 as u32;
+ #[doc = "The `WebGLRenderingContext.UNSIGNED_BYTE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const UNSIGNED_BYTE: u32 = 5121u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SHORT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SHORT: u32 = 5122u64 as u32;
+ #[doc = "The `WebGLRenderingContext.UNSIGNED_SHORT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const UNSIGNED_SHORT: u32 = 5123u64 as u32;
+ #[doc = "The `WebGLRenderingContext.INT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const INT: u32 = 5124u64 as u32;
+ #[doc = "The `WebGLRenderingContext.UNSIGNED_INT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const UNSIGNED_INT: u32 = 5125u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FLOAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FLOAT: u32 = 5126u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DEPTH_COMPONENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DEPTH_COMPONENT: u32 = 6402u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ALPHA: u32 = 6406u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RGB` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RGB: u32 = 6407u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RGBA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RGBA: u32 = 6408u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LUMINANCE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LUMINANCE: u32 = 6409u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LUMINANCE_ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LUMINANCE_ALPHA: u32 = 6410u64 as u32;
+ #[doc = "The `WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const UNSIGNED_SHORT_4_4_4_4: u32 = 32819u64 as u32;
+ #[doc = "The `WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const UNSIGNED_SHORT_5_5_5_1: u32 = 32820u64 as u32;
+ #[doc = "The `WebGLRenderingContext.UNSIGNED_SHORT_5_6_5` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const UNSIGNED_SHORT_5_6_5: u32 = 33635u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRAGMENT_SHADER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRAGMENT_SHADER: u32 = 35632u64 as u32;
+ #[doc = "The `WebGLRenderingContext.VERTEX_SHADER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const VERTEX_SHADER: u32 = 35633u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MAX_VERTEX_ATTRIBS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MAX_VERTEX_ATTRIBS: u32 = 34921u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 36347u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MAX_VARYING_VECTORS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MAX_VARYING_VECTORS: u32 = 36348u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35661u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35660u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 34930u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36349u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SHADER_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SHADER_TYPE: u32 = 35663u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DELETE_STATUS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DELETE_STATUS: u32 = 35712u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LINK_STATUS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LINK_STATUS: u32 = 35714u64 as u32;
+ #[doc = "The `WebGLRenderingContext.VALIDATE_STATUS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const VALIDATE_STATUS: u32 = 35715u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ATTACHED_SHADERS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ATTACHED_SHADERS: u32 = 35717u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ACTIVE_UNIFORMS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ACTIVE_UNIFORMS: u32 = 35718u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ACTIVE_ATTRIBUTES` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ACTIVE_ATTRIBUTES: u32 = 35721u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SHADING_LANGUAGE_VERSION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SHADING_LANGUAGE_VERSION: u32 = 35724u64 as u32;
+ #[doc = "The `WebGLRenderingContext.CURRENT_PROGRAM` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const CURRENT_PROGRAM: u32 = 35725u64 as u32;
+ #[doc = "The `WebGLRenderingContext.NEVER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const NEVER: u32 = 512u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LESS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LESS: u32 = 513u64 as u32;
+ #[doc = "The `WebGLRenderingContext.EQUAL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const EQUAL: u32 = 514u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LEQUAL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LEQUAL: u32 = 515u64 as u32;
+ #[doc = "The `WebGLRenderingContext.GREATER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const GREATER: u32 = 516u64 as u32;
+ #[doc = "The `WebGLRenderingContext.NOTEQUAL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const NOTEQUAL: u32 = 517u64 as u32;
+ #[doc = "The `WebGLRenderingContext.GEQUAL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const GEQUAL: u32 = 518u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ALWAYS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ALWAYS: u32 = 519u64 as u32;
+ #[doc = "The `WebGLRenderingContext.KEEP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const KEEP: u32 = 7680u64 as u32;
+ #[doc = "The `WebGLRenderingContext.REPLACE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const REPLACE: u32 = 7681u64 as u32;
+ #[doc = "The `WebGLRenderingContext.INCR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const INCR: u32 = 7682u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DECR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DECR: u32 = 7683u64 as u32;
+ #[doc = "The `WebGLRenderingContext.INVERT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const INVERT: u32 = 5386u64 as u32;
+ #[doc = "The `WebGLRenderingContext.INCR_WRAP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const INCR_WRAP: u32 = 34055u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DECR_WRAP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DECR_WRAP: u32 = 34056u64 as u32;
+ #[doc = "The `WebGLRenderingContext.VENDOR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const VENDOR: u32 = 7936u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RENDERER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RENDERER: u32 = 7937u64 as u32;
+ #[doc = "The `WebGLRenderingContext.VERSION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const VERSION: u32 = 7938u64 as u32;
+ #[doc = "The `WebGLRenderingContext.NEAREST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const NEAREST: u32 = 9728u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LINEAR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LINEAR: u32 = 9729u64 as u32;
+ #[doc = "The `WebGLRenderingContext.NEAREST_MIPMAP_NEAREST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const NEAREST_MIPMAP_NEAREST: u32 = 9984u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LINEAR_MIPMAP_NEAREST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LINEAR_MIPMAP_NEAREST: u32 = 9985u64 as u32;
+ #[doc = "The `WebGLRenderingContext.NEAREST_MIPMAP_LINEAR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const NEAREST_MIPMAP_LINEAR: u32 = 9986u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LINEAR_MIPMAP_LINEAR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LINEAR_MIPMAP_LINEAR: u32 = 9987u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_MAG_FILTER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_MAG_FILTER: u32 = 10240u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_MIN_FILTER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_MIN_FILTER: u32 = 10241u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_WRAP_S` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_WRAP_S: u32 = 10242u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_WRAP_T` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_WRAP_T: u32 = 10243u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_2D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_2D: u32 = 3553u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE: u32 = 5890u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP: u32 = 34067u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_BINDING_CUBE_MAP: u32 = 34068u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34069u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34070u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34071u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34072u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34073u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34074u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34076u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE0` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE0: u32 = 33984u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE1: u32 = 33985u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE2: u32 = 33986u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE3: u32 = 33987u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE4: u32 = 33988u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE5` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE5: u32 = 33989u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE6` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE6: u32 = 33990u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE7` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE7: u32 = 33991u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE8: u32 = 33992u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE9` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE9: u32 = 33993u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE10` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE10: u32 = 33994u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE11` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE11: u32 = 33995u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE12` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE12: u32 = 33996u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE13` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE13: u32 = 33997u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE14` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE14: u32 = 33998u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE15` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE15: u32 = 33999u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE16` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE16: u32 = 34000u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE17` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE17: u32 = 34001u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE18` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE18: u32 = 34002u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE19` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE19: u32 = 34003u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE20` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE20: u32 = 34004u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE21` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE21: u32 = 34005u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE22` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE22: u32 = 34006u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE23` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE23: u32 = 34007u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE24` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE24: u32 = 34008u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE25` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE25: u32 = 34009u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE26` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE26: u32 = 34010u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE27` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE27: u32 = 34011u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE28` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE28: u32 = 34012u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE29` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE29: u32 = 34013u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE30` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE30: u32 = 34014u64 as u32;
+ #[doc = "The `WebGLRenderingContext.TEXTURE31` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const TEXTURE31: u32 = 34015u64 as u32;
+ #[doc = "The `WebGLRenderingContext.ACTIVE_TEXTURE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const ACTIVE_TEXTURE: u32 = 34016u64 as u32;
+ #[doc = "The `WebGLRenderingContext.REPEAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const REPEAT: u32 = 10497u64 as u32;
+ #[doc = "The `WebGLRenderingContext.CLAMP_TO_EDGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const CLAMP_TO_EDGE: u32 = 33071u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MIRRORED_REPEAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MIRRORED_REPEAT: u32 = 33648u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FLOAT_VEC2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FLOAT_VEC2: u32 = 35664u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FLOAT_VEC3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FLOAT_VEC3: u32 = 35665u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FLOAT_VEC4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FLOAT_VEC4: u32 = 35666u64 as u32;
+ #[doc = "The `WebGLRenderingContext.INT_VEC2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const INT_VEC2: u32 = 35667u64 as u32;
+ #[doc = "The `WebGLRenderingContext.INT_VEC3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const INT_VEC3: u32 = 35668u64 as u32;
+ #[doc = "The `WebGLRenderingContext.INT_VEC4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const INT_VEC4: u32 = 35669u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BOOL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BOOL: u32 = 35670u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BOOL_VEC2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BOOL_VEC2: u32 = 35671u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BOOL_VEC3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BOOL_VEC3: u32 = 35672u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BOOL_VEC4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BOOL_VEC4: u32 = 35673u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FLOAT_MAT2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FLOAT_MAT2: u32 = 35674u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FLOAT_MAT3` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FLOAT_MAT3: u32 = 35675u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FLOAT_MAT4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FLOAT_MAT4: u32 = 35676u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SAMPLER_2D` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SAMPLER_2D: u32 = 35678u64 as u32;
+ #[doc = "The `WebGLRenderingContext.SAMPLER_CUBE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const SAMPLER_CUBE: u32 = 35680u64 as u32;
+ #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34338u64 as u32;
+ #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34339u64 as u32;
+ #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34340u64 as u32;
+ #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34341u64 as u32;
+ #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34922u64 as u32;
+ #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34373u64 as u32;
+ #[doc = "The `WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34975u64 as u32;
+ #[doc = "The `WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35738u64 as u32;
+ #[doc = "The `WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35739u64 as u32;
+ #[doc = "The `WebGLRenderingContext.COMPILE_STATUS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const COMPILE_STATUS: u32 = 35713u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LOW_FLOAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LOW_FLOAT: u32 = 36336u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MEDIUM_FLOAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MEDIUM_FLOAT: u32 = 36337u64 as u32;
+ #[doc = "The `WebGLRenderingContext.HIGH_FLOAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const HIGH_FLOAT: u32 = 36338u64 as u32;
+ #[doc = "The `WebGLRenderingContext.LOW_INT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const LOW_INT: u32 = 36339u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MEDIUM_INT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MEDIUM_INT: u32 = 36340u64 as u32;
+ #[doc = "The `WebGLRenderingContext.HIGH_INT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const HIGH_INT: u32 = 36341u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRAMEBUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRAMEBUFFER: u32 = 36160u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RENDERBUFFER` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RENDERBUFFER: u32 = 36161u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RGBA4` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RGBA4: u32 = 32854u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RGB5_A1` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RGB5_A1: u32 = 32855u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RGB565` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RGB565: u32 = 36194u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DEPTH_COMPONENT16` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DEPTH_COMPONENT16: u32 = 33189u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_INDEX8` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_INDEX8: u32 = 36168u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DEPTH_STENCIL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DEPTH_STENCIL: u32 = 34041u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RENDERBUFFER_WIDTH` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RENDERBUFFER_WIDTH: u32 = 36162u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RENDERBUFFER_HEIGHT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RENDERBUFFER_HEIGHT: u32 = 36163u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 36164u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RENDERBUFFER_RED_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RENDERBUFFER_RED_SIZE: u32 = 36176u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RENDERBUFFER_GREEN_SIZE: u32 = 36177u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RENDERBUFFER_BLUE_SIZE: u32 = 36178u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RENDERBUFFER_ALPHA_SIZE: u32 = 36179u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RENDERBUFFER_DEPTH_SIZE: u32 = 36180u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RENDERBUFFER_STENCIL_SIZE: u32 = 36181u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36048u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36049u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36050u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36051u64 as u32;
+ #[doc = "The `WebGLRenderingContext.COLOR_ATTACHMENT0` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const COLOR_ATTACHMENT0: u32 = 36064u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DEPTH_ATTACHMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DEPTH_ATTACHMENT: u32 = 36096u64 as u32;
+ #[doc = "The `WebGLRenderingContext.STENCIL_ATTACHMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const STENCIL_ATTACHMENT: u32 = 36128u64 as u32;
+ #[doc = "The `WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const DEPTH_STENCIL_ATTACHMENT: u32 = 33306u64 as u32;
+ #[doc = "The `WebGLRenderingContext.NONE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const NONE: u32 = 0i64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_COMPLETE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRAMEBUFFER_COMPLETE: u32 = 36053u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36054u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36055u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36057u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRAMEBUFFER_UNSUPPORTED: u32 = 36061u64 as u32;
+ #[doc = "The `WebGLRenderingContext.FRAMEBUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const FRAMEBUFFER_BINDING: u32 = 36006u64 as u32;
+ #[doc = "The `WebGLRenderingContext.RENDERBUFFER_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const RENDERBUFFER_BINDING: u32 = 36007u64 as u32;
+ #[doc = "The `WebGLRenderingContext.MAX_RENDERBUFFER_SIZE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const MAX_RENDERBUFFER_SIZE: u32 = 34024u64 as u32;
+ #[doc = "The `WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 1286u64 as u32;
+ #[doc = "The `WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const UNPACK_FLIP_Y_WEBGL: u32 = 37440u64 as u32;
+ #[doc = "The `WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: u32 = 37441u64 as u32;
+ #[doc = "The `WebGLRenderingContext.CONTEXT_LOST_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const CONTEXT_LOST_WEBGL: u32 = 37442u64 as u32;
+ #[doc = "The `WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: u32 = 37443u64 as u32;
+ #[doc = "The `WebGLRenderingContext.BROWSER_DEFAULT_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`*"]
+ pub const BROWSER_DEFAULT_WEBGL: u32 = 37444u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlSampler.rs b/vendor/web-sys/src/features/gen_WebGlSampler.rs
new file mode 100644
index 000000000..6f28463b1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlSampler.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLSampler , typescript_type = "WebGLSampler")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlSampler` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLSampler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlSampler`*"]
+ pub type WebGlSampler;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlShader.rs b/vendor/web-sys/src/features/gen_WebGlShader.rs
new file mode 100644
index 000000000..1d4aa8268
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlShader.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLShader , typescript_type = "WebGLShader")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlShader` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlShader`*"]
+ pub type WebGlShader;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlShaderPrecisionFormat.rs b/vendor/web-sys/src/features/gen_WebGlShaderPrecisionFormat.rs
new file mode 100644
index 000000000..16e869914
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlShaderPrecisionFormat.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLShaderPrecisionFormat , typescript_type = "WebGLShaderPrecisionFormat")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlShaderPrecisionFormat` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*"]
+ pub type WebGlShaderPrecisionFormat;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLShaderPrecisionFormat" , js_name = rangeMin)]
+ #[doc = "Getter for the `rangeMin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat/rangeMin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*"]
+ pub fn range_min(this: &WebGlShaderPrecisionFormat) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLShaderPrecisionFormat" , js_name = rangeMax)]
+ #[doc = "Getter for the `rangeMax` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat/rangeMax)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*"]
+ pub fn range_max(this: &WebGlShaderPrecisionFormat) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLShaderPrecisionFormat" , js_name = precision)]
+ #[doc = "Getter for the `precision` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat/precision)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*"]
+ pub fn precision(this: &WebGlShaderPrecisionFormat) -> i32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlSync.rs b/vendor/web-sys/src/features/gen_WebGlSync.rs
new file mode 100644
index 000000000..6c8b2e356
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlSync.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLSync , typescript_type = "WebGLSync")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlSync` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLSync)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlSync`*"]
+ pub type WebGlSync;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlTexture.rs b/vendor/web-sys/src/features/gen_WebGlTexture.rs
new file mode 100644
index 000000000..14d7b8e13
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlTexture.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLTexture , typescript_type = "WebGLTexture")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlTexture` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLTexture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlTexture`*"]
+ pub type WebGlTexture;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlTransformFeedback.rs b/vendor/web-sys/src/features/gen_WebGlTransformFeedback.rs
new file mode 100644
index 000000000..edfabfb3a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlTransformFeedback.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLTransformFeedback , typescript_type = "WebGLTransformFeedback")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlTransformFeedback` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLTransformFeedback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlTransformFeedback`*"]
+ pub type WebGlTransformFeedback;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlUniformLocation.rs b/vendor/web-sys/src/features/gen_WebGlUniformLocation.rs
new file mode 100644
index 000000000..545667f68
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlUniformLocation.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLUniformLocation , typescript_type = "WebGLUniformLocation")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlUniformLocation` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLUniformLocation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlUniformLocation`*"]
+ pub type WebGlUniformLocation;
+}
diff --git a/vendor/web-sys/src/features/gen_WebGlVertexArrayObject.rs b/vendor/web-sys/src/features/gen_WebGlVertexArrayObject.rs
new file mode 100644
index 000000000..1929efa7e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlVertexArrayObject.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLVertexArrayObject , typescript_type = "WebGLVertexArrayObject")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlVertexArrayObject` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLVertexArrayObject)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlVertexArrayObject`*"]
+ pub type WebGlVertexArrayObject;
+}
diff --git a/vendor/web-sys/src/features/gen_WebKitCssMatrix.rs b/vendor/web-sys/src/features/gen_WebKitCssMatrix.rs
new file mode 100644
index 000000000..a8f024ca6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebKitCssMatrix.rs
@@ -0,0 +1,244 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = DomMatrix , extends = DomMatrixReadOnly , extends = :: js_sys :: Object , js_name = WebKitCSSMatrix , typescript_type = "WebKitCSSMatrix")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebKitCssMatrix` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub type WebKitCssMatrix;
+ #[wasm_bindgen(catch, constructor, js_class = "WebKitCSSMatrix")]
+ #[doc = "The `new WebKitCssMatrix(..)` constructor, creating a new instance of `WebKitCssMatrix`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/WebKitCSSMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn new() -> Result<WebKitCssMatrix, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "WebKitCSSMatrix")]
+ #[doc = "The `new WebKitCssMatrix(..)` constructor, creating a new instance of `WebKitCssMatrix`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/WebKitCSSMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn new_with_transform_list(transform_list: &str) -> Result<WebKitCssMatrix, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "WebKitCSSMatrix")]
+ #[doc = "The `new WebKitCssMatrix(..)` constructor, creating a new instance of `WebKitCssMatrix`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/WebKitCSSMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn new_with_other(other: &WebKitCssMatrix) -> Result<WebKitCssMatrix, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebKitCSSMatrix" , js_name = inverse)]
+ #[doc = "The `inverse()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/inverse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn inverse(this: &WebKitCssMatrix) -> Result<WebKitCssMatrix, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = multiply)]
+ #[doc = "The `multiply()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/multiply)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn multiply(this: &WebKitCssMatrix, other: &WebKitCssMatrix) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotate)]
+ #[doc = "The `rotate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn rotate(this: &WebKitCssMatrix) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotate)]
+ #[doc = "The `rotate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn rotate_with_rot_x(this: &WebKitCssMatrix, rot_x: f64) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotate)]
+ #[doc = "The `rotate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn rotate_with_rot_x_and_rot_y(
+ this: &WebKitCssMatrix,
+ rot_x: f64,
+ rot_y: f64,
+ ) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotate)]
+ #[doc = "The `rotate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn rotate_with_rot_x_and_rot_y_and_rot_z(
+ this: &WebKitCssMatrix,
+ rot_x: f64,
+ rot_y: f64,
+ rot_z: f64,
+ ) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle)]
+ #[doc = "The `rotateAxisAngle()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn rotate_axis_angle(this: &WebKitCssMatrix) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle)]
+ #[doc = "The `rotateAxisAngle()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn rotate_axis_angle_with_x(this: &WebKitCssMatrix, x: f64) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle)]
+ #[doc = "The `rotateAxisAngle()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn rotate_axis_angle_with_x_and_y(
+ this: &WebKitCssMatrix,
+ x: f64,
+ y: f64,
+ ) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle)]
+ #[doc = "The `rotateAxisAngle()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn rotate_axis_angle_with_x_and_y_and_z(
+ this: &WebKitCssMatrix,
+ x: f64,
+ y: f64,
+ z: f64,
+ ) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle)]
+ #[doc = "The `rotateAxisAngle()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn rotate_axis_angle_with_x_and_y_and_z_and_angle(
+ this: &WebKitCssMatrix,
+ x: f64,
+ y: f64,
+ z: f64,
+ angle: f64,
+ ) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = scale)]
+ #[doc = "The `scale()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn scale(this: &WebKitCssMatrix) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = scale)]
+ #[doc = "The `scale()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn scale_with_scale_x(this: &WebKitCssMatrix, scale_x: f64) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = scale)]
+ #[doc = "The `scale()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn scale_with_scale_x_and_scale_y(
+ this: &WebKitCssMatrix,
+ scale_x: f64,
+ scale_y: f64,
+ ) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = scale)]
+ #[doc = "The `scale()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn scale_with_scale_x_and_scale_y_and_scale_z(
+ this: &WebKitCssMatrix,
+ scale_x: f64,
+ scale_y: f64,
+ scale_z: f64,
+ ) -> WebKitCssMatrix;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebKitCSSMatrix" , js_name = setMatrixValue)]
+ #[doc = "The `setMatrixValue()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/setMatrixValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn set_matrix_value(
+ this: &WebKitCssMatrix,
+ transform_list: &str,
+ ) -> Result<WebKitCssMatrix, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = skewX)]
+ #[doc = "The `skewX()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn skew_x(this: &WebKitCssMatrix) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = skewX)]
+ #[doc = "The `skewX()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn skew_x_with_sx(this: &WebKitCssMatrix, sx: f64) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = skewY)]
+ #[doc = "The `skewY()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn skew_y(this: &WebKitCssMatrix) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = skewY)]
+ #[doc = "The `skewY()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn skew_y_with_sy(this: &WebKitCssMatrix, sy: f64) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = translate)]
+ #[doc = "The `translate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn translate(this: &WebKitCssMatrix) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = translate)]
+ #[doc = "The `translate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn translate_with_tx(this: &WebKitCssMatrix, tx: f64) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = translate)]
+ #[doc = "The `translate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn translate_with_tx_and_ty(this: &WebKitCssMatrix, tx: f64, ty: f64) -> WebKitCssMatrix;
+ # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = translate)]
+ #[doc = "The `translate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
+ pub fn translate_with_tx_and_ty_and_tz(
+ this: &WebKitCssMatrix,
+ tx: f64,
+ ty: f64,
+ tz: f64,
+ ) -> WebKitCssMatrix;
+}
diff --git a/vendor/web-sys/src/features/gen_WebSocket.rs b/vendor/web-sys/src/features/gen_WebSocket.rs
new file mode 100644
index 000000000..03143f17f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebSocket.rs
@@ -0,0 +1,230 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = WebSocket , typescript_type = "WebSocket")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebSocket` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub type WebSocket;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebSocket" , js_name = url)]
+ #[doc = "Getter for the `url` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/url)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn url(this: &WebSocket) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebSocket" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn ready_state(this: &WebSocket) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebSocket" , js_name = bufferedAmount)]
+ #[doc = "Getter for the `bufferedAmount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/bufferedAmount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn buffered_amount(this: &WebSocket) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebSocket" , js_name = onopen)]
+ #[doc = "Getter for the `onopen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onopen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn onopen(this: &WebSocket) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "WebSocket" , js_name = onopen)]
+ #[doc = "Setter for the `onopen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onopen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn set_onopen(this: &WebSocket, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "WebSocket" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn onerror(this: &WebSocket) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "WebSocket" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn set_onerror(this: &WebSocket, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "WebSocket" , js_name = onclose)]
+ #[doc = "Getter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn onclose(this: &WebSocket) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "WebSocket" , js_name = onclose)]
+ #[doc = "Setter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn set_onclose(this: &WebSocket, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "WebSocket" , js_name = extensions)]
+ #[doc = "Getter for the `extensions` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/extensions)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn extensions(this: &WebSocket) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebSocket" , js_name = protocol)]
+ #[doc = "Getter for the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/protocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn protocol(this: &WebSocket) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebSocket" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn onmessage(this: &WebSocket) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "WebSocket" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn set_onmessage(this: &WebSocket, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "BinaryType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "WebSocket" , js_name = binaryType)]
+ #[doc = "Getter for the `binaryType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/binaryType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BinaryType`, `WebSocket`*"]
+ pub fn binary_type(this: &WebSocket) -> BinaryType;
+ #[cfg(feature = "BinaryType")]
+ # [wasm_bindgen (structural , method , setter , js_class = "WebSocket" , js_name = binaryType)]
+ #[doc = "Setter for the `binaryType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/binaryType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BinaryType`, `WebSocket`*"]
+ pub fn set_binary_type(this: &WebSocket, value: BinaryType);
+ #[wasm_bindgen(catch, constructor, js_class = "WebSocket")]
+ #[doc = "The `new WebSocket(..)` constructor, creating a new instance of `WebSocket`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn new(url: &str) -> Result<WebSocket, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "WebSocket")]
+ #[doc = "The `new WebSocket(..)` constructor, creating a new instance of `WebSocket`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn new_with_str(url: &str, protocols: &str) -> Result<WebSocket, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "WebSocket")]
+ #[doc = "The `new WebSocket(..)` constructor, creating a new instance of `WebSocket`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn new_with_str_sequence(
+ url: &str,
+ protocols: &::wasm_bindgen::JsValue,
+ ) -> Result<WebSocket, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebSocket" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn close(this: &WebSocket) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebSocket" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn close_with_code(this: &WebSocket, code: u16) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebSocket" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn close_with_code_and_reason(
+ this: &WebSocket,
+ code: u16,
+ reason: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebSocket" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn send_with_str(this: &WebSocket, data: &str) -> Result<(), JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WebSocket" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `WebSocket`*"]
+ pub fn send_with_blob(this: &WebSocket, data: &Blob) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebSocket" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn send_with_array_buffer(
+ this: &WebSocket,
+ data: &::js_sys::ArrayBuffer,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebSocket" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn send_with_array_buffer_view(
+ this: &WebSocket,
+ data: &::js_sys::Object,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WebSocket" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub fn send_with_u8_array(this: &WebSocket, data: &[u8]) -> Result<(), JsValue>;
+}
+impl WebSocket {
+ #[doc = "The `WebSocket.CONNECTING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub const CONNECTING: u16 = 0i64 as u16;
+ #[doc = "The `WebSocket.OPEN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub const OPEN: u16 = 1u64 as u16;
+ #[doc = "The `WebSocket.CLOSING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub const CLOSING: u16 = 2u64 as u16;
+ #[doc = "The `WebSocket.CLOSED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocket`*"]
+ pub const CLOSED: u16 = 3u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_WebSocketDict.rs b/vendor/web-sys/src/features/gen_WebSocketDict.rs
new file mode 100644
index 000000000..05df3bcf9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebSocketDict.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebSocketDict)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebSocketDict` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocketDict`*"]
+ pub type WebSocketDict;
+}
+impl WebSocketDict {
+ #[doc = "Construct a new `WebSocketDict`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocketDict`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `websockets` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocketDict`*"]
+ pub fn websockets(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("websockets"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for WebSocketDict {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_WebSocketElement.rs b/vendor/web-sys/src/features/gen_WebSocketElement.rs
new file mode 100644
index 000000000..402e05eb4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebSocketElement.rs
@@ -0,0 +1,129 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebSocketElement)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebSocketElement` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocketElement`*"]
+ pub type WebSocketElement;
+}
+impl WebSocketElement {
+ #[doc = "Construct a new `WebSocketElement`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocketElement`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `encrypted` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocketElement`*"]
+ pub fn encrypted(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("encrypted"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `hostport` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocketElement`*"]
+ pub fn hostport(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("hostport"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `msgreceived` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocketElement`*"]
+ pub fn msgreceived(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("msgreceived"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `msgsent` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocketElement`*"]
+ pub fn msgsent(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("msgsent"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `receivedsize` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocketElement`*"]
+ pub fn receivedsize(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("receivedsize"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `sentsize` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebSocketElement`*"]
+ pub fn sentsize(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("sentsize"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for WebSocketElement {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_WebglColorBufferFloat.rs b/vendor/web-sys/src/features/gen_WebglColorBufferFloat.rs
new file mode 100644
index 000000000..d16789ab5
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglColorBufferFloat.rs
@@ -0,0 +1,32 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_color_buffer_float , typescript_type = "WEBGL_color_buffer_float")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglColorBufferFloat` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_color_buffer_float)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglColorBufferFloat`*"]
+ pub type WebglColorBufferFloat;
+}
+impl WebglColorBufferFloat {
+ #[doc = "The `WEBGL_color_buffer_float.RGBA32F_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglColorBufferFloat`*"]
+ pub const RGBA32F_EXT: u32 = 34836u64 as u32;
+ #[doc = "The `WEBGL_color_buffer_float.RGB32F_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglColorBufferFloat`*"]
+ pub const RGB32F_EXT: u32 = 34837u64 as u32;
+ #[doc = "The `WEBGL_color_buffer_float.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglColorBufferFloat`*"]
+ pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: u32 = 33297u64 as u32;
+ #[doc = "The `WEBGL_color_buffer_float.UNSIGNED_NORMALIZED_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglColorBufferFloat`*"]
+ pub const UNSIGNED_NORMALIZED_EXT: u32 = 35863u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureAstc.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureAstc.rs
new file mode 100644
index 000000000..fb369c283
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureAstc.rs
@@ -0,0 +1,135 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_compressed_texture_astc , typescript_type = "WEBGL_compressed_texture_astc")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglCompressedTextureAstc` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_astc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub type WebglCompressedTextureAstc;
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_compressed_texture_astc" , js_name = getSupportedProfiles)]
+ #[doc = "The `getSupportedProfiles()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_astc/getSupportedProfiles)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub fn get_supported_profiles(this: &WebglCompressedTextureAstc) -> Option<::js_sys::Array>;
+}
+impl WebglCompressedTextureAstc {
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_4x4_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_4X4_KHR: u32 = 37808u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_5x4_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_5X4_KHR: u32 = 37809u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_5x5_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_5X5_KHR: u32 = 37810u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_6x5_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_6X5_KHR: u32 = 37811u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_6x6_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_6X6_KHR: u32 = 37812u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_8x5_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_8X5_KHR: u32 = 37813u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_8x6_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_8X6_KHR: u32 = 37814u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_8x8_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_8X8_KHR: u32 = 37815u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_10x5_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_10X5_KHR: u32 = 37816u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_10x6_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_10X6_KHR: u32 = 37817u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_10x8_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_10X8_KHR: u32 = 37818u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_10x10_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_10X10_KHR: u32 = 37819u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_12x10_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_12X10_KHR: u32 = 37820u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_RGBA_ASTC_12x12_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_RGBA_ASTC_12X12_KHR: u32 = 37821u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_4X4_KHR: u32 = 37840u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_5X4_KHR: u32 = 37841u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_5X5_KHR: u32 = 37842u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_6X5_KHR: u32 = 37843u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_6X6_KHR: u32 = 37844u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_8X5_KHR: u32 = 37845u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_8X6_KHR: u32 = 37846u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_8X8_KHR: u32 = 37847u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_10X5_KHR: u32 = 37848u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_10X6_KHR: u32 = 37849u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_10X8_KHR: u32 = 37850u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_10X10_KHR: u32 = 37851u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_12X10_KHR: u32 = 37852u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_astc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAstc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ASTC_12X12_KHR: u32 = 37853u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureAtc.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureAtc.rs
new file mode 100644
index 000000000..403a2329f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureAtc.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_compressed_texture_atc , typescript_type = "WEBGL_compressed_texture_atc")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglCompressedTextureAtc` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_atc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAtc`*"]
+ pub type WebglCompressedTextureAtc;
+}
+impl WebglCompressedTextureAtc {
+ #[doc = "The `WEBGL_compressed_texture_atc.COMPRESSED_RGB_ATC_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAtc`*"]
+ pub const COMPRESSED_RGB_ATC_WEBGL: u32 = 35986u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_atc.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAtc`*"]
+ pub const COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL: u32 = 35987u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_atc.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureAtc`*"]
+ pub const COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL: u32 = 34798u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs
new file mode 100644
index 000000000..37d7323a8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs
@@ -0,0 +1,56 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_compressed_texture_etc , typescript_type = "WEBGL_compressed_texture_etc")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglCompressedTextureEtc` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_etc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
+ pub type WebglCompressedTextureEtc;
+}
+impl WebglCompressedTextureEtc {
+ #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_R11_EAC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
+ pub const COMPRESSED_R11_EAC: u32 = 37488u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SIGNED_R11_EAC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
+ pub const COMPRESSED_SIGNED_R11_EAC: u32 = 37489u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_RG11_EAC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
+ pub const COMPRESSED_RG11_EAC: u32 = 37490u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SIGNED_RG11_EAC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
+ pub const COMPRESSED_SIGNED_RG11_EAC: u32 = 37491u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_RGB8_ETC2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
+ pub const COMPRESSED_RGB8_ETC2: u32 = 37492u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SRGB8_ETC2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
+ pub const COMPRESSED_SRGB8_ETC2: u32 = 37493u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
+ pub const COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: u32 = 37494u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
+ pub const COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: u32 = 37495u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_RGBA8_ETC2_EAC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
+ pub const COMPRESSED_RGBA8_ETC2_EAC: u32 = 37496u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"]
+ pub const COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: u32 = 37497u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc1.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc1.rs
new file mode 100644
index 000000000..52dc55734
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc1.rs
@@ -0,0 +1,20 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_compressed_texture_etc1 , typescript_type = "WEBGL_compressed_texture_etc1")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglCompressedTextureEtc1` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_etc1)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc1`*"]
+ pub type WebglCompressedTextureEtc1;
+}
+impl WebglCompressedTextureEtc1 {
+ #[doc = "The `WEBGL_compressed_texture_etc1.COMPRESSED_RGB_ETC1_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc1`*"]
+ pub const COMPRESSED_RGB_ETC1_WEBGL: u32 = 36196u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTexturePvrtc.rs b/vendor/web-sys/src/features/gen_WebglCompressedTexturePvrtc.rs
new file mode 100644
index 000000000..ec34d1914
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglCompressedTexturePvrtc.rs
@@ -0,0 +1,32 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_compressed_texture_pvrtc , typescript_type = "WEBGL_compressed_texture_pvrtc")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglCompressedTexturePvrtc` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_pvrtc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTexturePvrtc`*"]
+ pub type WebglCompressedTexturePvrtc;
+}
+impl WebglCompressedTexturePvrtc {
+ #[doc = "The `WEBGL_compressed_texture_pvrtc.COMPRESSED_RGB_PVRTC_4BPPV1_IMG` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTexturePvrtc`*"]
+ pub const COMPRESSED_RGB_PVRTC_4BPPV1_IMG: u32 = 35840u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_pvrtc.COMPRESSED_RGB_PVRTC_2BPPV1_IMG` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTexturePvrtc`*"]
+ pub const COMPRESSED_RGB_PVRTC_2BPPV1_IMG: u32 = 35841u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_pvrtc.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTexturePvrtc`*"]
+ pub const COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: u32 = 35842u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_pvrtc.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTexturePvrtc`*"]
+ pub const COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: u32 = 35843u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tc.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tc.rs
new file mode 100644
index 000000000..450b1a730
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tc.rs
@@ -0,0 +1,32 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_compressed_texture_s3tc , typescript_type = "WEBGL_compressed_texture_s3tc")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglCompressedTextureS3tc` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_s3tc)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tc`*"]
+ pub type WebglCompressedTextureS3tc;
+}
+impl WebglCompressedTextureS3tc {
+ #[doc = "The `WEBGL_compressed_texture_s3tc.COMPRESSED_RGB_S3TC_DXT1_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tc`*"]
+ pub const COMPRESSED_RGB_S3TC_DXT1_EXT: u32 = 33776u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_s3tc.COMPRESSED_RGBA_S3TC_DXT1_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tc`*"]
+ pub const COMPRESSED_RGBA_S3TC_DXT1_EXT: u32 = 33777u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_s3tc.COMPRESSED_RGBA_S3TC_DXT3_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tc`*"]
+ pub const COMPRESSED_RGBA_S3TC_DXT3_EXT: u32 = 33778u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_s3tc.COMPRESSED_RGBA_S3TC_DXT5_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tc`*"]
+ pub const COMPRESSED_RGBA_S3TC_DXT5_EXT: u32 = 33779u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tcSrgb.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tcSrgb.rs
new file mode 100644
index 000000000..94141e772
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tcSrgb.rs
@@ -0,0 +1,32 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_compressed_texture_s3tc_srgb , typescript_type = "WEBGL_compressed_texture_s3tc_srgb")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglCompressedTextureS3tcSrgb` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_s3tc_srgb)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tcSrgb`*"]
+ pub type WebglCompressedTextureS3tcSrgb;
+}
+impl WebglCompressedTextureS3tcSrgb {
+ #[doc = "The `WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_S3TC_DXT1_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tcSrgb`*"]
+ pub const COMPRESSED_SRGB_S3TC_DXT1_EXT: u32 = 35916u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tcSrgb`*"]
+ pub const COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: u32 = 35917u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tcSrgb`*"]
+ pub const COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: u32 = 35918u64 as u32;
+ #[doc = "The `WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureS3tcSrgb`*"]
+ pub const COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: u32 = 35919u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebglDebugRendererInfo.rs b/vendor/web-sys/src/features/gen_WebglDebugRendererInfo.rs
new file mode 100644
index 000000000..2ef3172d3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglDebugRendererInfo.rs
@@ -0,0 +1,24 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_debug_renderer_info , typescript_type = "WEBGL_debug_renderer_info")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglDebugRendererInfo` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDebugRendererInfo`*"]
+ pub type WebglDebugRendererInfo;
+}
+impl WebglDebugRendererInfo {
+ #[doc = "The `WEBGL_debug_renderer_info.UNMASKED_VENDOR_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDebugRendererInfo`*"]
+ pub const UNMASKED_VENDOR_WEBGL: u32 = 37445u64 as u32;
+ #[doc = "The `WEBGL_debug_renderer_info.UNMASKED_RENDERER_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDebugRendererInfo`*"]
+ pub const UNMASKED_RENDERER_WEBGL: u32 = 37446u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebglDebugShaders.rs b/vendor/web-sys/src/features/gen_WebglDebugShaders.rs
new file mode 100644
index 000000000..01f5403a4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglDebugShaders.rs
@@ -0,0 +1,22 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_debug_shaders , typescript_type = "WEBGL_debug_shaders")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglDebugShaders` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_shaders)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDebugShaders`*"]
+ pub type WebglDebugShaders;
+ #[cfg(feature = "WebGlShader")]
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_debug_shaders" , js_name = getTranslatedShaderSource)]
+ #[doc = "The `getTranslatedShaderSource()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_shaders/getTranslatedShaderSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlShader`, `WebglDebugShaders`*"]
+ pub fn get_translated_shader_source(this: &WebglDebugShaders, shader: &WebGlShader) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_WebglDepthTexture.rs b/vendor/web-sys/src/features/gen_WebglDepthTexture.rs
new file mode 100644
index 000000000..301f58bb6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglDepthTexture.rs
@@ -0,0 +1,20 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_depth_texture , typescript_type = "WEBGL_depth_texture")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglDepthTexture` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_depth_texture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDepthTexture`*"]
+ pub type WebglDepthTexture;
+}
+impl WebglDepthTexture {
+ #[doc = "The `WEBGL_depth_texture.UNSIGNED_INT_24_8_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDepthTexture`*"]
+ pub const UNSIGNED_INT_24_8_WEBGL: u32 = 34042u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebglDrawBuffers.rs b/vendor/web-sys/src/features/gen_WebglDrawBuffers.rs
new file mode 100644
index 000000000..a12d67b52
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglDrawBuffers.rs
@@ -0,0 +1,159 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_draw_buffers , typescript_type = "WEBGL_draw_buffers")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglDrawBuffers` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_draw_buffers)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub type WebglDrawBuffers;
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_draw_buffers" , js_name = drawBuffersWEBGL)]
+ #[doc = "The `drawBuffersWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub fn draw_buffers_webgl(this: &WebglDrawBuffers, buffers: &::wasm_bindgen::JsValue);
+}
+impl WebglDrawBuffers {
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT0_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT0_WEBGL: u32 = 36064u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT1_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT1_WEBGL: u32 = 36065u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT2_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT2_WEBGL: u32 = 36066u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT3_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT3_WEBGL: u32 = 36067u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT4_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT4_WEBGL: u32 = 36068u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT5_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT5_WEBGL: u32 = 36069u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT6_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT6_WEBGL: u32 = 36070u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT7_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT7_WEBGL: u32 = 36071u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT8_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT8_WEBGL: u32 = 36072u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT9_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT9_WEBGL: u32 = 36073u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT10_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT10_WEBGL: u32 = 36074u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT11_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT11_WEBGL: u32 = 36075u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT12_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT12_WEBGL: u32 = 36076u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT13_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT13_WEBGL: u32 = 36077u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT14_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT14_WEBGL: u32 = 36078u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.COLOR_ATTACHMENT15_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const COLOR_ATTACHMENT15_WEBGL: u32 = 36079u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER0_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER0_WEBGL: u32 = 34853u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER1_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER1_WEBGL: u32 = 34854u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER2_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER2_WEBGL: u32 = 34855u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER3_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER3_WEBGL: u32 = 34856u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER4_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER4_WEBGL: u32 = 34857u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER5_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER5_WEBGL: u32 = 34858u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER6_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER6_WEBGL: u32 = 34859u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER7_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER7_WEBGL: u32 = 34860u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER8_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER8_WEBGL: u32 = 34861u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER9_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER9_WEBGL: u32 = 34862u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER10_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER10_WEBGL: u32 = 34863u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER11_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER11_WEBGL: u32 = 34864u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER12_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER12_WEBGL: u32 = 34865u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER13_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER13_WEBGL: u32 = 34866u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER14_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER14_WEBGL: u32 = 34867u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.DRAW_BUFFER15_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const DRAW_BUFFER15_WEBGL: u32 = 34868u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.MAX_COLOR_ATTACHMENTS_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const MAX_COLOR_ATTACHMENTS_WEBGL: u32 = 36063u64 as u32;
+ #[doc = "The `WEBGL_draw_buffers.MAX_DRAW_BUFFERS_WEBGL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglDrawBuffers`*"]
+ pub const MAX_DRAW_BUFFERS_WEBGL: u32 = 34852u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WebglLoseContext.rs b/vendor/web-sys/src/features/gen_WebglLoseContext.rs
new file mode 100644
index 000000000..5bf059b55
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglLoseContext.rs
@@ -0,0 +1,28 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_lose_context , typescript_type = "WEBGL_lose_context")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglLoseContext` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglLoseContext`*"]
+ pub type WebglLoseContext;
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_lose_context" , js_name = loseContext)]
+ #[doc = "The `loseContext()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context/loseContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglLoseContext`*"]
+ pub fn lose_context(this: &WebglLoseContext);
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_lose_context" , js_name = restoreContext)]
+ #[doc = "The `restoreContext()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context/restoreContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglLoseContext`*"]
+ pub fn restore_context(this: &WebglLoseContext);
+}
diff --git a/vendor/web-sys/src/features/gen_WebglMultiDraw.rs b/vendor/web-sys/src/features/gen_WebglMultiDraw.rs
new file mode 100644
index 000000000..a8d3cbc7b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebglMultiDraw.rs
@@ -0,0 +1,418 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WEBGL_multi_draw , typescript_type = "WEBGL_multi_draw")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebglMultiDraw` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub type WebglMultiDraw;
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawArraysInstancedWEBGL)]
+ #[doc = "The `multiDrawArraysInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_arrays_instanced_webgl_with_i32_array_and_i32_array_and_i32_array(
+ this: &WebglMultiDraw,
+ mode: u32,
+ firsts_list: &mut [i32],
+ firsts_offset: u32,
+ counts_list: &mut [i32],
+ counts_offset: u32,
+ instance_counts_list: &mut [i32],
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawArraysInstancedWEBGL)]
+ #[doc = "The `multiDrawArraysInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_arrays_instanced_webgl_with_i32_sequence_and_i32_array_and_i32_array(
+ this: &WebglMultiDraw,
+ mode: u32,
+ firsts_list: &::wasm_bindgen::JsValue,
+ firsts_offset: u32,
+ counts_list: &mut [i32],
+ counts_offset: u32,
+ instance_counts_list: &mut [i32],
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawArraysInstancedWEBGL)]
+ #[doc = "The `multiDrawArraysInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_arrays_instanced_webgl_with_i32_array_and_i32_sequence_and_i32_array(
+ this: &WebglMultiDraw,
+ mode: u32,
+ firsts_list: &mut [i32],
+ firsts_offset: u32,
+ counts_list: &::wasm_bindgen::JsValue,
+ counts_offset: u32,
+ instance_counts_list: &mut [i32],
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawArraysInstancedWEBGL)]
+ #[doc = "The `multiDrawArraysInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_arrays_instanced_webgl_with_i32_sequence_and_i32_sequence_and_i32_array(
+ this: &WebglMultiDraw,
+ mode: u32,
+ firsts_list: &::wasm_bindgen::JsValue,
+ firsts_offset: u32,
+ counts_list: &::wasm_bindgen::JsValue,
+ counts_offset: u32,
+ instance_counts_list: &mut [i32],
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawArraysInstancedWEBGL)]
+ #[doc = "The `multiDrawArraysInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_arrays_instanced_webgl_with_i32_array_and_i32_array_and_i32_sequence(
+ this: &WebglMultiDraw,
+ mode: u32,
+ firsts_list: &mut [i32],
+ firsts_offset: u32,
+ counts_list: &mut [i32],
+ counts_offset: u32,
+ instance_counts_list: &::wasm_bindgen::JsValue,
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawArraysInstancedWEBGL)]
+ #[doc = "The `multiDrawArraysInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_arrays_instanced_webgl_with_i32_sequence_and_i32_array_and_i32_sequence(
+ this: &WebglMultiDraw,
+ mode: u32,
+ firsts_list: &::wasm_bindgen::JsValue,
+ firsts_offset: u32,
+ counts_list: &mut [i32],
+ counts_offset: u32,
+ instance_counts_list: &::wasm_bindgen::JsValue,
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawArraysInstancedWEBGL)]
+ #[doc = "The `multiDrawArraysInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_arrays_instanced_webgl_with_i32_array_and_i32_sequence_and_i32_sequence(
+ this: &WebglMultiDraw,
+ mode: u32,
+ firsts_list: &mut [i32],
+ firsts_offset: u32,
+ counts_list: &::wasm_bindgen::JsValue,
+ counts_offset: u32,
+ instance_counts_list: &::wasm_bindgen::JsValue,
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawArraysInstancedWEBGL)]
+ #[doc = "The `multiDrawArraysInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_arrays_instanced_webgl_with_i32_sequence_and_i32_sequence_and_i32_sequence(
+ this: &WebglMultiDraw,
+ mode: u32,
+ firsts_list: &::wasm_bindgen::JsValue,
+ firsts_offset: u32,
+ counts_list: &::wasm_bindgen::JsValue,
+ counts_offset: u32,
+ instance_counts_list: &::wasm_bindgen::JsValue,
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawArraysWEBGL)]
+ #[doc = "The `multiDrawArraysWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_arrays_webgl_with_i32_array_and_i32_array(
+ this: &WebglMultiDraw,
+ mode: u32,
+ firsts_list: &mut [i32],
+ firsts_offset: u32,
+ counts_list: &mut [i32],
+ counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawArraysWEBGL)]
+ #[doc = "The `multiDrawArraysWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_arrays_webgl_with_i32_sequence_and_i32_array(
+ this: &WebglMultiDraw,
+ mode: u32,
+ firsts_list: &::wasm_bindgen::JsValue,
+ firsts_offset: u32,
+ counts_list: &mut [i32],
+ counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawArraysWEBGL)]
+ #[doc = "The `multiDrawArraysWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_arrays_webgl_with_i32_array_and_i32_sequence(
+ this: &WebglMultiDraw,
+ mode: u32,
+ firsts_list: &mut [i32],
+ firsts_offset: u32,
+ counts_list: &::wasm_bindgen::JsValue,
+ counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawArraysWEBGL)]
+ #[doc = "The `multiDrawArraysWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_arrays_webgl_with_i32_sequence_and_i32_sequence(
+ this: &WebglMultiDraw,
+ mode: u32,
+ firsts_list: &::wasm_bindgen::JsValue,
+ firsts_offset: u32,
+ counts_list: &::wasm_bindgen::JsValue,
+ counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawElementsInstancedWEBGL)]
+ #[doc = "The `multiDrawElementsInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_elements_instanced_webgl_with_i32_array_and_i32_array_and_i32_array(
+ this: &WebglMultiDraw,
+ mode: u32,
+ counts_list: &mut [i32],
+ counts_offset: u32,
+ type_: u32,
+ offsets_list: &mut [i32],
+ offsets_offset: u32,
+ instance_counts_list: &mut [i32],
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawElementsInstancedWEBGL)]
+ #[doc = "The `multiDrawElementsInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_elements_instanced_webgl_with_i32_sequence_and_i32_array_and_i32_array(
+ this: &WebglMultiDraw,
+ mode: u32,
+ counts_list: &::wasm_bindgen::JsValue,
+ counts_offset: u32,
+ type_: u32,
+ offsets_list: &mut [i32],
+ offsets_offset: u32,
+ instance_counts_list: &mut [i32],
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawElementsInstancedWEBGL)]
+ #[doc = "The `multiDrawElementsInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_elements_instanced_webgl_with_i32_array_and_i32_sequence_and_i32_array(
+ this: &WebglMultiDraw,
+ mode: u32,
+ counts_list: &mut [i32],
+ counts_offset: u32,
+ type_: u32,
+ offsets_list: &::wasm_bindgen::JsValue,
+ offsets_offset: u32,
+ instance_counts_list: &mut [i32],
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawElementsInstancedWEBGL)]
+ #[doc = "The `multiDrawElementsInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_elements_instanced_webgl_with_i32_sequence_and_i32_sequence_and_i32_array(
+ this: &WebglMultiDraw,
+ mode: u32,
+ counts_list: &::wasm_bindgen::JsValue,
+ counts_offset: u32,
+ type_: u32,
+ offsets_list: &::wasm_bindgen::JsValue,
+ offsets_offset: u32,
+ instance_counts_list: &mut [i32],
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawElementsInstancedWEBGL)]
+ #[doc = "The `multiDrawElementsInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_elements_instanced_webgl_with_i32_array_and_i32_array_and_i32_sequence(
+ this: &WebglMultiDraw,
+ mode: u32,
+ counts_list: &mut [i32],
+ counts_offset: u32,
+ type_: u32,
+ offsets_list: &mut [i32],
+ offsets_offset: u32,
+ instance_counts_list: &::wasm_bindgen::JsValue,
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawElementsInstancedWEBGL)]
+ #[doc = "The `multiDrawElementsInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_elements_instanced_webgl_with_i32_sequence_and_i32_array_and_i32_sequence(
+ this: &WebglMultiDraw,
+ mode: u32,
+ counts_list: &::wasm_bindgen::JsValue,
+ counts_offset: u32,
+ type_: u32,
+ offsets_list: &mut [i32],
+ offsets_offset: u32,
+ instance_counts_list: &::wasm_bindgen::JsValue,
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawElementsInstancedWEBGL)]
+ #[doc = "The `multiDrawElementsInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_elements_instanced_webgl_with_i32_array_and_i32_sequence_and_i32_sequence(
+ this: &WebglMultiDraw,
+ mode: u32,
+ counts_list: &mut [i32],
+ counts_offset: u32,
+ type_: u32,
+ offsets_list: &::wasm_bindgen::JsValue,
+ offsets_offset: u32,
+ instance_counts_list: &::wasm_bindgen::JsValue,
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawElementsInstancedWEBGL)]
+ #[doc = "The `multiDrawElementsInstancedWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_elements_instanced_webgl_with_i32_sequence_and_i32_sequence_and_i32_sequence(
+ this: &WebglMultiDraw,
+ mode: u32,
+ counts_list: &::wasm_bindgen::JsValue,
+ counts_offset: u32,
+ type_: u32,
+ offsets_list: &::wasm_bindgen::JsValue,
+ offsets_offset: u32,
+ instance_counts_list: &::wasm_bindgen::JsValue,
+ instance_counts_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawElementsWEBGL)]
+ #[doc = "The `multiDrawElementsWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_elements_webgl_with_i32_array_and_i32_array(
+ this: &WebglMultiDraw,
+ mode: u32,
+ counts_list: &mut [i32],
+ counts_offset: u32,
+ type_: u32,
+ offsets_list: &mut [i32],
+ offsets_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawElementsWEBGL)]
+ #[doc = "The `multiDrawElementsWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_elements_webgl_with_i32_sequence_and_i32_array(
+ this: &WebglMultiDraw,
+ mode: u32,
+ counts_list: &::wasm_bindgen::JsValue,
+ counts_offset: u32,
+ type_: u32,
+ offsets_list: &mut [i32],
+ offsets_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawElementsWEBGL)]
+ #[doc = "The `multiDrawElementsWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_elements_webgl_with_i32_array_and_i32_sequence(
+ this: &WebglMultiDraw,
+ mode: u32,
+ counts_list: &mut [i32],
+ counts_offset: u32,
+ type_: u32,
+ offsets_list: &::wasm_bindgen::JsValue,
+ offsets_offset: u32,
+ drawcount: i32,
+ );
+ # [wasm_bindgen (method , structural , js_class = "WEBGL_multi_draw" , js_name = multiDrawElementsWEBGL)]
+ #[doc = "The `multiDrawElementsWEBGL()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebglMultiDraw`*"]
+ pub fn multi_draw_elements_webgl_with_i32_sequence_and_i32_sequence(
+ this: &WebglMultiDraw,
+ mode: u32,
+ counts_list: &::wasm_bindgen::JsValue,
+ counts_offset: u32,
+ type_: u32,
+ offsets_list: &::wasm_bindgen::JsValue,
+ offsets_offset: u32,
+ drawcount: i32,
+ );
+}
diff --git a/vendor/web-sys/src/features/gen_WebrtcGlobalStatisticsReport.rs b/vendor/web-sys/src/features/gen_WebrtcGlobalStatisticsReport.rs
new file mode 100644
index 000000000..9a2e1991f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebrtcGlobalStatisticsReport.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebrtcGlobalStatisticsReport)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebrtcGlobalStatisticsReport` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebrtcGlobalStatisticsReport`*"]
+ pub type WebrtcGlobalStatisticsReport;
+}
+impl WebrtcGlobalStatisticsReport {
+ #[doc = "Construct a new `WebrtcGlobalStatisticsReport`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebrtcGlobalStatisticsReport`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `reports` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebrtcGlobalStatisticsReport`*"]
+ pub fn reports(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("reports"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for WebrtcGlobalStatisticsReport {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_WheelEvent.rs b/vendor/web-sys/src/features/gen_WheelEvent.rs
new file mode 100644
index 000000000..cbf9365d2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WheelEvent.rs
@@ -0,0 +1,74 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = MouseEvent , extends = UiEvent , extends = Event , extends = :: js_sys :: Object , js_name = WheelEvent , typescript_type = "WheelEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WheelEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEvent`*"]
+ pub type WheelEvent;
+ # [wasm_bindgen (structural , method , getter , js_class = "WheelEvent" , js_name = deltaX)]
+ #[doc = "Getter for the `deltaX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEvent`*"]
+ pub fn delta_x(this: &WheelEvent) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "WheelEvent" , js_name = deltaY)]
+ #[doc = "Getter for the `deltaY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEvent`*"]
+ pub fn delta_y(this: &WheelEvent) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "WheelEvent" , js_name = deltaZ)]
+ #[doc = "Getter for the `deltaZ` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaZ)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEvent`*"]
+ pub fn delta_z(this: &WheelEvent) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "WheelEvent" , js_name = deltaMode)]
+ #[doc = "Getter for the `deltaMode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaMode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEvent`*"]
+ pub fn delta_mode(this: &WheelEvent) -> u32;
+ #[wasm_bindgen(catch, constructor, js_class = "WheelEvent")]
+ #[doc = "The `new WheelEvent(..)` constructor, creating a new instance of `WheelEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/WheelEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEvent`*"]
+ pub fn new(type_: &str) -> Result<WheelEvent, JsValue>;
+ #[cfg(feature = "WheelEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "WheelEvent")]
+ #[doc = "The `new WheelEvent(..)` constructor, creating a new instance of `WheelEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/WheelEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEvent`, `WheelEventInit`*"]
+ pub fn new_with_event_init_dict(
+ type_: &str,
+ event_init_dict: &WheelEventInit,
+ ) -> Result<WheelEvent, JsValue>;
+}
+impl WheelEvent {
+ #[doc = "The `WheelEvent.DOM_DELTA_PIXEL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEvent`*"]
+ pub const DOM_DELTA_PIXEL: u32 = 0u64 as u32;
+ #[doc = "The `WheelEvent.DOM_DELTA_LINE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEvent`*"]
+ pub const DOM_DELTA_LINE: u32 = 1u64 as u32;
+ #[doc = "The `WheelEvent.DOM_DELTA_PAGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEvent`*"]
+ pub const DOM_DELTA_PAGE: u32 = 2u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_WheelEventInit.rs b/vendor/web-sys/src/features/gen_WheelEventInit.rs
new file mode 100644
index 000000000..2d65bee28
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WheelEventInit.rs
@@ -0,0 +1,534 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WheelEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WheelEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub type WheelEventInit;
+}
+impl WheelEventInit {
+ #[doc = "Construct a new `WheelEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `detail` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn detail(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("detail"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "Window")]
+ #[doc = "Change the `view` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`, `Window`*"]
+ pub fn view(&mut self, val: Option<&Window>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("view"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `altKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn alt_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("altKey"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `ctrlKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn ctrl_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ctrlKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `metaKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn meta_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("metaKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierAltGraph` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn modifier_alt_graph(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierAltGraph"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierCapsLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn modifier_caps_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierCapsLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFn` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn modifier_fn(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFn"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierFnLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn modifier_fn_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierFnLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierNumLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn modifier_num_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierNumLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierOS` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn modifier_os(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierOS"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierScrollLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn modifier_scroll_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierScrollLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbol` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn modifier_symbol(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbol"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `modifierSymbolLock` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn modifier_symbol_lock(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("modifierSymbolLock"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `shiftKey` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn shift_key(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("shiftKey"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `button` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn button(&mut self, val: i16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("button"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `buttons` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn buttons(&mut self, val: u16) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("buttons"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `clientX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn client_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `clientY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn client_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("clientY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `movementX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn movement_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("movementX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `movementY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn movement_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("movementY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "EventTarget")]
+ #[doc = "Change the `relatedTarget` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `EventTarget`, `WheelEventInit`*"]
+ pub fn related_target(&mut self, val: Option<&EventTarget>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("relatedTarget"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `screenX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn screen_x(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("screenX"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `screenY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn screen_y(&mut self, val: i32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("screenY"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `deltaMode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn delta_mode(&mut self, val: u32) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("deltaMode"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `deltaX` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn delta_x(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("deltaX"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `deltaY` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn delta_y(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("deltaY"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `deltaZ` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WheelEventInit`*"]
+ pub fn delta_z(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("deltaZ"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for WheelEventInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_WidevineCdmManifest.rs b/vendor/web-sys/src/features/gen_WidevineCdmManifest.rs
new file mode 100644
index 000000000..cd5e0cdaf
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WidevineCdmManifest.rs
@@ -0,0 +1,152 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WidevineCDMManifest)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WidevineCdmManifest` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WidevineCdmManifest`*"]
+ pub type WidevineCdmManifest;
+}
+impl WidevineCdmManifest {
+ #[doc = "Construct a new `WidevineCdmManifest`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WidevineCdmManifest`*"]
+ pub fn new(
+ description: &str,
+ name: &str,
+ version: &str,
+ x_cdm_codecs: &str,
+ x_cdm_host_versions: &str,
+ x_cdm_interface_versions: &str,
+ x_cdm_module_versions: &str,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.description(description);
+ ret.name(name);
+ ret.version(version);
+ ret.x_cdm_codecs(x_cdm_codecs);
+ ret.x_cdm_host_versions(x_cdm_host_versions);
+ ret.x_cdm_interface_versions(x_cdm_interface_versions);
+ ret.x_cdm_module_versions(x_cdm_module_versions);
+ ret
+ }
+ #[doc = "Change the `description` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WidevineCdmManifest`*"]
+ pub fn description(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("description"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WidevineCdmManifest`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `version` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WidevineCdmManifest`*"]
+ pub fn version(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("version"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `x-cdm-codecs` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WidevineCdmManifest`*"]
+ pub fn x_cdm_codecs(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("x-cdm-codecs"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `x-cdm-host-versions` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WidevineCdmManifest`*"]
+ pub fn x_cdm_host_versions(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("x-cdm-host-versions"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `x-cdm-interface-versions` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WidevineCdmManifest`*"]
+ pub fn x_cdm_interface_versions(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("x-cdm-interface-versions"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `x-cdm-module-versions` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WidevineCdmManifest`*"]
+ pub fn x_cdm_module_versions(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("x-cdm-module-versions"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_Window.rs b/vendor/web-sys/src/features/gen_Window.rs
new file mode 100644
index 000000000..724f293ba
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Window.rs
@@ -0,0 +1,3425 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Window , typescript_type = "Window")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Window` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub type Window;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = window)]
+ #[doc = "Getter for the `window` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/window)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn window(this: &Window) -> Window;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = self)]
+ #[doc = "Getter for the `self` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/self)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn self_(this: &Window) -> Window;
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = document)]
+ #[doc = "Getter for the `document` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/document)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Window`*"]
+ pub fn document(this: &Window) -> Option<Document>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn name(this: &Window) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_name(this: &Window, value: &str) -> Result<(), JsValue>;
+ #[cfg(feature = "Location")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = location)]
+ #[doc = "Getter for the `location` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/location)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Location`, `Window`*"]
+ pub fn location(this: &Window) -> Location;
+ #[cfg(feature = "History")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = history)]
+ #[doc = "Getter for the `history` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/history)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `History`, `Window`*"]
+ pub fn history(this: &Window) -> Result<History, JsValue>;
+ #[cfg(feature = "CustomElementRegistry")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = customElements)]
+ #[doc = "Getter for the `customElements` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/customElements)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CustomElementRegistry`, `Window`*"]
+ pub fn custom_elements(this: &Window) -> CustomElementRegistry;
+ #[cfg(feature = "BarProp")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = locationbar)]
+ #[doc = "Getter for the `locationbar` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/locationbar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
+ pub fn locationbar(this: &Window) -> Result<BarProp, JsValue>;
+ #[cfg(feature = "BarProp")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = menubar)]
+ #[doc = "Getter for the `menubar` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/menubar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
+ pub fn menubar(this: &Window) -> Result<BarProp, JsValue>;
+ #[cfg(feature = "BarProp")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = personalbar)]
+ #[doc = "Getter for the `personalbar` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/personalbar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
+ pub fn personalbar(this: &Window) -> Result<BarProp, JsValue>;
+ #[cfg(feature = "BarProp")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = scrollbars)]
+ #[doc = "Getter for the `scrollbars` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollbars)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
+ pub fn scrollbars(this: &Window) -> Result<BarProp, JsValue>;
+ #[cfg(feature = "BarProp")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = statusbar)]
+ #[doc = "Getter for the `statusbar` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/statusbar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
+ pub fn statusbar(this: &Window) -> Result<BarProp, JsValue>;
+ #[cfg(feature = "BarProp")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = toolbar)]
+ #[doc = "Getter for the `toolbar` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/toolbar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
+ pub fn toolbar(this: &Window) -> Result<BarProp, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = status)]
+ #[doc = "Getter for the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/status)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn status(this: &Window) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = status)]
+ #[doc = "Setter for the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/status)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_status(this: &Window, value: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = closed)]
+ #[doc = "Getter for the `closed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/closed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn closed(this: &Window) -> Result<bool, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = event)]
+ #[doc = "Getter for the `event` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/event)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn event(this: &Window) -> ::wasm_bindgen::JsValue;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = frames)]
+ #[doc = "Getter for the `frames` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/frames)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn frames(this: &Window) -> Result<Window, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn length(this: &Window) -> u32;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = top)]
+ #[doc = "Getter for the `top` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/top)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn top(this: &Window) -> Result<Option<Window>, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = opener)]
+ #[doc = "Getter for the `opener` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/opener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn opener(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = opener)]
+ #[doc = "Setter for the `opener` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/opener)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_opener(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = parent)]
+ #[doc = "Getter for the `parent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/parent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn parent(this: &Window) -> Result<Option<Window>, JsValue>;
+ #[cfg(feature = "Element")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = frameElement)]
+ #[doc = "Getter for the `frameElement` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/frameElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Element`, `Window`*"]
+ pub fn frame_element(this: &Window) -> Result<Option<Element>, JsValue>;
+ #[cfg(feature = "Navigator")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = navigator)]
+ #[doc = "Getter for the `navigator` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Navigator`, `Window`*"]
+ pub fn navigator(this: &Window) -> Navigator;
+ #[cfg(feature = "External")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = external)]
+ #[doc = "Getter for the `external` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/external)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `External`, `Window`*"]
+ pub fn external(this: &Window) -> Result<External, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onappinstalled)]
+ #[doc = "Getter for the `onappinstalled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onappinstalled(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onappinstalled)]
+ #[doc = "Setter for the `onappinstalled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onappinstalled(this: &Window, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "Screen")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = screen)]
+ #[doc = "Getter for the `screen` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screen)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Screen`, `Window`*"]
+ pub fn screen(this: &Window) -> Result<Screen, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = innerWidth)]
+ #[doc = "Getter for the `innerWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn inner_width(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = innerWidth)]
+ #[doc = "Setter for the `innerWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_inner_width(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = innerHeight)]
+ #[doc = "Getter for the `innerHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn inner_height(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = innerHeight)]
+ #[doc = "Setter for the `innerHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_inner_height(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = scrollX)]
+ #[doc = "Getter for the `scrollX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn scroll_x(this: &Window) -> Result<f64, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = pageXOffset)]
+ #[doc = "Getter for the `pageXOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/pageXOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn page_x_offset(this: &Window) -> Result<f64, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = scrollY)]
+ #[doc = "Getter for the `scrollY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn scroll_y(this: &Window) -> Result<f64, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = pageYOffset)]
+ #[doc = "Getter for the `pageYOffset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/pageYOffset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn page_y_offset(this: &Window) -> Result<f64, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = screenX)]
+ #[doc = "Getter for the `screenX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn screen_x(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = screenX)]
+ #[doc = "Setter for the `screenX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_screen_x(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = screenY)]
+ #[doc = "Getter for the `screenY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn screen_y(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = screenY)]
+ #[doc = "Setter for the `screenY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_screen_y(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = outerWidth)]
+ #[doc = "Getter for the `outerWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn outer_width(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = outerWidth)]
+ #[doc = "Setter for the `outerWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_outer_width(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = outerHeight)]
+ #[doc = "Getter for the `outerHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn outer_height(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = outerHeight)]
+ #[doc = "Setter for the `outerHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_outer_height(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = devicePixelRatio)]
+ #[doc = "Getter for the `devicePixelRatio` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn device_pixel_ratio(this: &Window) -> f64;
+ #[cfg(feature = "Performance")]
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = performance)]
+ #[doc = "Getter for the `performance` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/performance)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Performance`, `Window`*"]
+ pub fn performance(this: &Window) -> Option<Performance>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = orientation)]
+ #[doc = "Getter for the `orientation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/orientation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn orientation(this: &Window) -> i16;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onorientationchange)]
+ #[doc = "Getter for the `onorientationchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onorientationchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onorientationchange(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onorientationchange)]
+ #[doc = "Setter for the `onorientationchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onorientationchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onorientationchange(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onvrdisplayconnect)]
+ #[doc = "Getter for the `onvrdisplayconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onvrdisplayconnect(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onvrdisplayconnect)]
+ #[doc = "Setter for the `onvrdisplayconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onvrdisplayconnect(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onvrdisplaydisconnect)]
+ #[doc = "Getter for the `onvrdisplaydisconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onvrdisplaydisconnect(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onvrdisplaydisconnect)]
+ #[doc = "Setter for the `onvrdisplaydisconnect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onvrdisplaydisconnect(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onvrdisplayactivate)]
+ #[doc = "Getter for the `onvrdisplayactivate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onvrdisplayactivate(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onvrdisplayactivate)]
+ #[doc = "Setter for the `onvrdisplayactivate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onvrdisplayactivate(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onvrdisplaydeactivate)]
+ #[doc = "Getter for the `onvrdisplaydeactivate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onvrdisplaydeactivate(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onvrdisplaydeactivate)]
+ #[doc = "Setter for the `onvrdisplaydeactivate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onvrdisplaydeactivate(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onvrdisplaypresentchange)]
+ #[doc = "Getter for the `onvrdisplaypresentchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onvrdisplaypresentchange(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onvrdisplaypresentchange)]
+ #[doc = "Setter for the `onvrdisplaypresentchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onvrdisplaypresentchange(this: &Window, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "Worklet")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = paintWorklet)]
+ #[doc = "Getter for the `paintWorklet` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/paintWorklet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`, `Worklet`*"]
+ pub fn paint_worklet(this: &Window) -> Result<Worklet, JsValue>;
+ #[cfg(feature = "Crypto")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = crypto)]
+ #[doc = "Getter for the `crypto` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/crypto)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Crypto`, `Window`*"]
+ pub fn crypto(this: &Window) -> Result<Crypto, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onabort)]
+ #[doc = "Getter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onabort(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onabort)]
+ #[doc = "Setter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onabort(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onblur)]
+ #[doc = "Getter for the `onblur` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onblur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onblur(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onblur)]
+ #[doc = "Setter for the `onblur` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onblur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onblur(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onfocus)]
+ #[doc = "Getter for the `onfocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onfocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onfocus(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onfocus)]
+ #[doc = "Setter for the `onfocus` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onfocus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onfocus(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onauxclick)]
+ #[doc = "Getter for the `onauxclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onauxclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onauxclick(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onauxclick)]
+ #[doc = "Setter for the `onauxclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onauxclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onauxclick(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = oncanplay)]
+ #[doc = "Getter for the `oncanplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn oncanplay(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = oncanplay)]
+ #[doc = "Setter for the `oncanplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_oncanplay(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = oncanplaythrough)]
+ #[doc = "Getter for the `oncanplaythrough` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplaythrough)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn oncanplaythrough(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = oncanplaythrough)]
+ #[doc = "Setter for the `oncanplaythrough` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplaythrough)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_oncanplaythrough(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onchange)]
+ #[doc = "Getter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onchange(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onchange)]
+ #[doc = "Setter for the `onchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onchange(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onclick)]
+ #[doc = "Getter for the `onclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onclick(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onclick)]
+ #[doc = "Setter for the `onclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onclick(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onclose)]
+ #[doc = "Getter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onclose(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onclose)]
+ #[doc = "Setter for the `onclose` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onclose(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = oncontextmenu)]
+ #[doc = "Getter for the `oncontextmenu` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncontextmenu)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn oncontextmenu(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = oncontextmenu)]
+ #[doc = "Setter for the `oncontextmenu` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncontextmenu)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_oncontextmenu(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondblclick)]
+ #[doc = "Getter for the `ondblclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondblclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ondblclick(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondblclick)]
+ #[doc = "Setter for the `ondblclick` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondblclick)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ondblclick(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondrag)]
+ #[doc = "Getter for the `ondrag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ondrag(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondrag)]
+ #[doc = "Setter for the `ondrag` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrag)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ondrag(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondragend)]
+ #[doc = "Getter for the `ondragend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ondragend(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondragend)]
+ #[doc = "Setter for the `ondragend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ondragend(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondragenter)]
+ #[doc = "Getter for the `ondragenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ondragenter(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondragenter)]
+ #[doc = "Setter for the `ondragenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ondragenter(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondragexit)]
+ #[doc = "Getter for the `ondragexit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragexit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ondragexit(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondragexit)]
+ #[doc = "Setter for the `ondragexit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragexit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ondragexit(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondragleave)]
+ #[doc = "Getter for the `ondragleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ondragleave(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondragleave)]
+ #[doc = "Setter for the `ondragleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ondragleave(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondragover)]
+ #[doc = "Getter for the `ondragover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ondragover(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondragover)]
+ #[doc = "Setter for the `ondragover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ondragover(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondragstart)]
+ #[doc = "Getter for the `ondragstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ondragstart(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondragstart)]
+ #[doc = "Setter for the `ondragstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ondragstart(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondrop)]
+ #[doc = "Getter for the `ondrop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ondrop(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondrop)]
+ #[doc = "Setter for the `ondrop` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ondrop(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondurationchange)]
+ #[doc = "Getter for the `ondurationchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondurationchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ondurationchange(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondurationchange)]
+ #[doc = "Setter for the `ondurationchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondurationchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ondurationchange(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onemptied)]
+ #[doc = "Getter for the `onemptied` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onemptied)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onemptied(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onemptied)]
+ #[doc = "Setter for the `onemptied` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onemptied)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onemptied(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onended)]
+ #[doc = "Getter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onended(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onended)]
+ #[doc = "Setter for the `onended` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onended)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onended(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = oninput)]
+ #[doc = "Getter for the `oninput` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninput)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn oninput(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = oninput)]
+ #[doc = "Setter for the `oninput` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninput)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_oninput(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = oninvalid)]
+ #[doc = "Getter for the `oninvalid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninvalid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn oninvalid(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = oninvalid)]
+ #[doc = "Setter for the `oninvalid` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninvalid)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_oninvalid(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onkeydown)]
+ #[doc = "Getter for the `onkeydown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeydown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onkeydown(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onkeydown)]
+ #[doc = "Setter for the `onkeydown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeydown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onkeydown(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onkeypress)]
+ #[doc = "Getter for the `onkeypress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeypress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onkeypress(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onkeypress)]
+ #[doc = "Setter for the `onkeypress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeypress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onkeypress(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onkeyup)]
+ #[doc = "Getter for the `onkeyup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeyup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onkeyup(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onkeyup)]
+ #[doc = "Setter for the `onkeyup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeyup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onkeyup(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onload)]
+ #[doc = "Getter for the `onload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onload(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onload)]
+ #[doc = "Setter for the `onload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onload(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onloadeddata)]
+ #[doc = "Getter for the `onloadeddata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadeddata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onloadeddata(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onloadeddata)]
+ #[doc = "Setter for the `onloadeddata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadeddata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onloadeddata(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onloadedmetadata)]
+ #[doc = "Getter for the `onloadedmetadata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadedmetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onloadedmetadata(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onloadedmetadata)]
+ #[doc = "Setter for the `onloadedmetadata` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadedmetadata)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onloadedmetadata(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onloadend)]
+ #[doc = "Getter for the `onloadend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onloadend(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onloadend)]
+ #[doc = "Setter for the `onloadend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onloadend(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onloadstart)]
+ #[doc = "Getter for the `onloadstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onloadstart(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onloadstart)]
+ #[doc = "Setter for the `onloadstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onloadstart(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmousedown)]
+ #[doc = "Getter for the `onmousedown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousedown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onmousedown(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmousedown)]
+ #[doc = "Setter for the `onmousedown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousedown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onmousedown(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmouseenter)]
+ #[doc = "Getter for the `onmouseenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onmouseenter(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmouseenter)]
+ #[doc = "Setter for the `onmouseenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onmouseenter(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmouseleave)]
+ #[doc = "Getter for the `onmouseleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onmouseleave(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmouseleave)]
+ #[doc = "Setter for the `onmouseleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onmouseleave(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmousemove)]
+ #[doc = "Getter for the `onmousemove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousemove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onmousemove(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmousemove)]
+ #[doc = "Setter for the `onmousemove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousemove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onmousemove(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmouseout)]
+ #[doc = "Getter for the `onmouseout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onmouseout(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmouseout)]
+ #[doc = "Setter for the `onmouseout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onmouseout(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmouseover)]
+ #[doc = "Getter for the `onmouseover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onmouseover(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmouseover)]
+ #[doc = "Setter for the `onmouseover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onmouseover(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmouseup)]
+ #[doc = "Getter for the `onmouseup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onmouseup(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmouseup)]
+ #[doc = "Setter for the `onmouseup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onmouseup(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onwheel)]
+ #[doc = "Getter for the `onwheel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwheel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onwheel(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onwheel)]
+ #[doc = "Setter for the `onwheel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwheel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onwheel(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpause)]
+ #[doc = "Getter for the `onpause` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onpause(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpause)]
+ #[doc = "Setter for the `onpause` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpause)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onpause(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onplay)]
+ #[doc = "Getter for the `onplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onplay(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onplay)]
+ #[doc = "Setter for the `onplay` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onplay(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onplaying)]
+ #[doc = "Getter for the `onplaying` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplaying)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onplaying(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onplaying)]
+ #[doc = "Setter for the `onplaying` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplaying)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onplaying(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onprogress)]
+ #[doc = "Getter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onprogress(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onprogress)]
+ #[doc = "Setter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onprogress(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onratechange)]
+ #[doc = "Getter for the `onratechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onratechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onratechange(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onratechange)]
+ #[doc = "Setter for the `onratechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onratechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onratechange(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onreset)]
+ #[doc = "Getter for the `onreset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onreset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onreset(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onreset)]
+ #[doc = "Setter for the `onreset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onreset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onreset(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onresize)]
+ #[doc = "Getter for the `onresize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onresize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onresize(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onresize)]
+ #[doc = "Setter for the `onresize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onresize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onresize(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onscroll)]
+ #[doc = "Getter for the `onscroll` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onscroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onscroll(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onscroll)]
+ #[doc = "Setter for the `onscroll` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onscroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onscroll(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onseeked)]
+ #[doc = "Getter for the `onseeked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onseeked(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onseeked)]
+ #[doc = "Setter for the `onseeked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onseeked(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onseeking)]
+ #[doc = "Getter for the `onseeking` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeking)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onseeking(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onseeking)]
+ #[doc = "Setter for the `onseeking` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeking)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onseeking(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onselect)]
+ #[doc = "Getter for the `onselect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onselect(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onselect)]
+ #[doc = "Setter for the `onselect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onselect(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onshow)]
+ #[doc = "Getter for the `onshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onshow(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onshow)]
+ #[doc = "Setter for the `onshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onshow(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onstalled)]
+ #[doc = "Getter for the `onstalled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstalled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onstalled(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onstalled)]
+ #[doc = "Setter for the `onstalled` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstalled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onstalled(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onsubmit)]
+ #[doc = "Getter for the `onsubmit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsubmit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onsubmit(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onsubmit)]
+ #[doc = "Setter for the `onsubmit` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsubmit)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onsubmit(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onsuspend)]
+ #[doc = "Getter for the `onsuspend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsuspend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onsuspend(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onsuspend)]
+ #[doc = "Setter for the `onsuspend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsuspend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onsuspend(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontimeupdate)]
+ #[doc = "Getter for the `ontimeupdate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontimeupdate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ontimeupdate(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontimeupdate)]
+ #[doc = "Setter for the `ontimeupdate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontimeupdate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ontimeupdate(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onvolumechange)]
+ #[doc = "Getter for the `onvolumechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvolumechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onvolumechange(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onvolumechange)]
+ #[doc = "Setter for the `onvolumechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvolumechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onvolumechange(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onwaiting)]
+ #[doc = "Getter for the `onwaiting` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwaiting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onwaiting(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onwaiting)]
+ #[doc = "Setter for the `onwaiting` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwaiting)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onwaiting(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onselectstart)]
+ #[doc = "Getter for the `onselectstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselectstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onselectstart(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onselectstart)]
+ #[doc = "Setter for the `onselectstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselectstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onselectstart(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontoggle)]
+ #[doc = "Getter for the `ontoggle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontoggle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ontoggle(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontoggle)]
+ #[doc = "Setter for the `ontoggle` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontoggle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ontoggle(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointercancel)]
+ #[doc = "Getter for the `onpointercancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointercancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onpointercancel(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointercancel)]
+ #[doc = "Setter for the `onpointercancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointercancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onpointercancel(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointerdown)]
+ #[doc = "Getter for the `onpointerdown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerdown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onpointerdown(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointerdown)]
+ #[doc = "Setter for the `onpointerdown` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerdown)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onpointerdown(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointerup)]
+ #[doc = "Getter for the `onpointerup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onpointerup(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointerup)]
+ #[doc = "Setter for the `onpointerup` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerup)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onpointerup(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointermove)]
+ #[doc = "Getter for the `onpointermove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointermove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onpointermove(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointermove)]
+ #[doc = "Setter for the `onpointermove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointermove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onpointermove(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointerout)]
+ #[doc = "Getter for the `onpointerout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onpointerout(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointerout)]
+ #[doc = "Setter for the `onpointerout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onpointerout(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointerover)]
+ #[doc = "Getter for the `onpointerover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onpointerover(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointerover)]
+ #[doc = "Setter for the `onpointerover` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerover)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onpointerover(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointerenter)]
+ #[doc = "Getter for the `onpointerenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onpointerenter(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointerenter)]
+ #[doc = "Setter for the `onpointerenter` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerenter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onpointerenter(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointerleave)]
+ #[doc = "Getter for the `onpointerleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onpointerleave(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointerleave)]
+ #[doc = "Setter for the `onpointerleave` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerleave)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onpointerleave(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ongotpointercapture)]
+ #[doc = "Getter for the `ongotpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongotpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ongotpointercapture(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ongotpointercapture)]
+ #[doc = "Setter for the `ongotpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongotpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ongotpointercapture(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onlostpointercapture)]
+ #[doc = "Getter for the `onlostpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlostpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onlostpointercapture(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onlostpointercapture)]
+ #[doc = "Setter for the `onlostpointercapture` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlostpointercapture)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onlostpointercapture(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onanimationcancel)]
+ #[doc = "Getter for the `onanimationcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onanimationcancel(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onanimationcancel)]
+ #[doc = "Setter for the `onanimationcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onanimationcancel(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onanimationend)]
+ #[doc = "Getter for the `onanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onanimationend(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onanimationend)]
+ #[doc = "Setter for the `onanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onanimationend(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onanimationiteration)]
+ #[doc = "Getter for the `onanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onanimationiteration(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onanimationiteration)]
+ #[doc = "Setter for the `onanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onanimationiteration(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onanimationstart)]
+ #[doc = "Getter for the `onanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onanimationstart(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onanimationstart)]
+ #[doc = "Setter for the `onanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onanimationstart(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontransitioncancel)]
+ #[doc = "Getter for the `ontransitioncancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitioncancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ontransitioncancel(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontransitioncancel)]
+ #[doc = "Setter for the `ontransitioncancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitioncancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ontransitioncancel(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontransitionend)]
+ #[doc = "Getter for the `ontransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ontransitionend(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontransitionend)]
+ #[doc = "Setter for the `ontransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ontransitionend(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontransitionrun)]
+ #[doc = "Getter for the `ontransitionrun` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionrun)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ontransitionrun(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontransitionrun)]
+ #[doc = "Setter for the `ontransitionrun` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionrun)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ontransitionrun(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontransitionstart)]
+ #[doc = "Getter for the `ontransitionstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ontransitionstart(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontransitionstart)]
+ #[doc = "Setter for the `ontransitionstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ontransitionstart(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onwebkitanimationend)]
+ #[doc = "Getter for the `onwebkitanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onwebkitanimationend(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onwebkitanimationend)]
+ #[doc = "Setter for the `onwebkitanimationend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onwebkitanimationend(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onwebkitanimationiteration)]
+ #[doc = "Getter for the `onwebkitanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onwebkitanimationiteration(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onwebkitanimationiteration)]
+ #[doc = "Setter for the `onwebkitanimationiteration` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationiteration)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onwebkitanimationiteration(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onwebkitanimationstart)]
+ #[doc = "Getter for the `onwebkitanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onwebkitanimationstart(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onwebkitanimationstart)]
+ #[doc = "Setter for the `onwebkitanimationstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onwebkitanimationstart(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onwebkittransitionend)]
+ #[doc = "Getter for the `onwebkittransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkittransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onwebkittransitionend(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onwebkittransitionend)]
+ #[doc = "Setter for the `onwebkittransitionend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkittransitionend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onwebkittransitionend(this: &Window, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "U2f")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = u2f)]
+ #[doc = "Getter for the `u2f` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/u2f)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `U2f`, `Window`*"]
+ pub fn u2f(this: &Window) -> Result<U2f, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onerror(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onerror(this: &Window, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "SpeechSynthesis")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = speechSynthesis)]
+ #[doc = "Getter for the `speechSynthesis` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/speechSynthesis)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`, `Window`*"]
+ pub fn speech_synthesis(this: &Window) -> Result<SpeechSynthesis, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontouchstart)]
+ #[doc = "Getter for the `ontouchstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ontouchstart(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontouchstart)]
+ #[doc = "Setter for the `ontouchstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ontouchstart(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontouchend)]
+ #[doc = "Getter for the `ontouchend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ontouchend(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontouchend)]
+ #[doc = "Setter for the `ontouchend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ontouchend(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontouchmove)]
+ #[doc = "Getter for the `ontouchmove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchmove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ontouchmove(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontouchmove)]
+ #[doc = "Setter for the `ontouchmove` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchmove)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ontouchmove(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontouchcancel)]
+ #[doc = "Getter for the `ontouchcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ontouchcancel(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontouchcancel)]
+ #[doc = "Setter for the `ontouchcancel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchcancel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ontouchcancel(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onafterprint)]
+ #[doc = "Getter for the `onafterprint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onafterprint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onafterprint(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onafterprint)]
+ #[doc = "Setter for the `onafterprint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onafterprint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onafterprint(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onbeforeprint)]
+ #[doc = "Getter for the `onbeforeprint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeprint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onbeforeprint(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onbeforeprint)]
+ #[doc = "Setter for the `onbeforeprint` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeprint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onbeforeprint(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onbeforeunload)]
+ #[doc = "Getter for the `onbeforeunload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeunload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onbeforeunload(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onbeforeunload)]
+ #[doc = "Setter for the `onbeforeunload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeunload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onbeforeunload(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onhashchange)]
+ #[doc = "Getter for the `onhashchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onhashchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onhashchange(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onhashchange)]
+ #[doc = "Setter for the `onhashchange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onhashchange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onhashchange(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onlanguagechange)]
+ #[doc = "Getter for the `onlanguagechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlanguagechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onlanguagechange(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onlanguagechange)]
+ #[doc = "Setter for the `onlanguagechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlanguagechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onlanguagechange(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onmessage(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onmessage(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmessageerror)]
+ #[doc = "Getter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onmessageerror(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmessageerror)]
+ #[doc = "Setter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onmessageerror(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onoffline)]
+ #[doc = "Getter for the `onoffline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onoffline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onoffline(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onoffline)]
+ #[doc = "Setter for the `onoffline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onoffline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onoffline(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ononline)]
+ #[doc = "Getter for the `ononline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ononline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn ononline(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ononline)]
+ #[doc = "Setter for the `ononline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ononline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_ononline(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpagehide)]
+ #[doc = "Getter for the `onpagehide` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpagehide)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onpagehide(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpagehide)]
+ #[doc = "Setter for the `onpagehide` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpagehide)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onpagehide(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpageshow)]
+ #[doc = "Getter for the `onpageshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpageshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onpageshow(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpageshow)]
+ #[doc = "Setter for the `onpageshow` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpageshow)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onpageshow(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpopstate)]
+ #[doc = "Getter for the `onpopstate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpopstate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onpopstate(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpopstate)]
+ #[doc = "Setter for the `onpopstate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpopstate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onpopstate(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onstorage)]
+ #[doc = "Getter for the `onstorage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstorage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onstorage(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onstorage)]
+ #[doc = "Setter for the `onstorage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstorage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onstorage(this: &Window, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onunload)]
+ #[doc = "Getter for the `onunload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onunload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn onunload(this: &Window) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onunload)]
+ #[doc = "Setter for the `onunload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onunload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_onunload(this: &Window, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "Storage")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = localStorage)]
+ #[doc = "Getter for the `localStorage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`, `Window`*"]
+ pub fn local_storage(this: &Window) -> Result<Option<Storage>, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = origin)]
+ #[doc = "Getter for the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/origin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn origin(this: &Window) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = isSecureContext)]
+ #[doc = "Getter for the `isSecureContext` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/isSecureContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn is_secure_context(this: &Window) -> bool;
+ #[cfg(feature = "IdbFactory")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = indexedDB)]
+ #[doc = "Getter for the `indexedDB` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/indexedDB)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `Window`*"]
+ pub fn indexed_db(this: &Window) -> Result<Option<IdbFactory>, JsValue>;
+ #[cfg(feature = "CacheStorage")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = caches)]
+ #[doc = "Getter for the `caches` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/caches)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheStorage`, `Window`*"]
+ pub fn caches(this: &Window) -> Result<CacheStorage, JsValue>;
+ #[cfg(feature = "Storage")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = sessionStorage)]
+ #[doc = "Getter for the `sessionStorage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Storage`, `Window`*"]
+ pub fn session_storage(this: &Window) -> Result<Option<Storage>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = alert)]
+ #[doc = "The `alert()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/alert)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn alert(this: &Window) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = alert)]
+ #[doc = "The `alert()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/alert)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn alert_with_message(this: &Window, message: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = blur)]
+ #[doc = "The `blur()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/blur)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn blur(this: &Window) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = cancelAnimationFrame)]
+ #[doc = "The `cancelAnimationFrame()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelAnimationFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn cancel_animation_frame(this: &Window, handle: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = cancelIdleCallback)]
+ #[doc = "The `cancelIdleCallback()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelIdleCallback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn cancel_idle_callback(this: &Window, handle: u32);
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = captureEvents)]
+ #[doc = "The `captureEvents()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/captureEvents)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn capture_events(this: &Window);
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn close(this: &Window) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = confirm)]
+ #[doc = "The `confirm()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn confirm(this: &Window) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = confirm)]
+ #[doc = "The `confirm()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn confirm_with_message(this: &Window, message: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = focus)]
+ #[doc = "The `focus()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/focus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn focus(this: &Window) -> Result<(), JsValue>;
+ #[cfg(all(feature = "CssStyleDeclaration", feature = "Element",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = getComputedStyle)]
+ #[doc = "The `getComputedStyle()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`, `Element`, `Window`*"]
+ pub fn get_computed_style(
+ this: &Window,
+ elt: &Element,
+ ) -> Result<Option<CssStyleDeclaration>, JsValue>;
+ #[cfg(all(feature = "CssStyleDeclaration", feature = "Element",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = getComputedStyle)]
+ #[doc = "The `getComputedStyle()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`, `Element`, `Window`*"]
+ pub fn get_computed_style_with_pseudo_elt(
+ this: &Window,
+ elt: &Element,
+ pseudo_elt: &str,
+ ) -> Result<Option<CssStyleDeclaration>, JsValue>;
+ #[cfg(feature = "Selection")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = getSelection)]
+ #[doc = "The `getSelection()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Selection`, `Window`*"]
+ pub fn get_selection(this: &Window) -> Result<Option<Selection>, JsValue>;
+ #[cfg(feature = "MediaQueryList")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = matchMedia)]
+ #[doc = "The `matchMedia()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaQueryList`, `Window`*"]
+ pub fn match_media(this: &Window, query: &str) -> Result<Option<MediaQueryList>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = moveBy)]
+ #[doc = "The `moveBy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/moveBy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn move_by(this: &Window, x: i32, y: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = moveTo)]
+ #[doc = "The `moveTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/moveTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn move_to(this: &Window, x: i32, y: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn open(this: &Window) -> Result<Option<Window>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn open_with_url(this: &Window, url: &str) -> Result<Option<Window>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn open_with_url_and_target(
+ this: &Window,
+ url: &str,
+ target: &str,
+ ) -> Result<Option<Window>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn open_with_url_and_target_and_features(
+ this: &Window,
+ url: &str,
+ target: &str,
+ features: &str,
+ ) -> Result<Option<Window>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn post_message(
+ this: &Window,
+ message: &::wasm_bindgen::JsValue,
+ target_origin: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn post_message_with_transfer(
+ this: &Window,
+ message: &::wasm_bindgen::JsValue,
+ target_origin: &str,
+ transfer: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = print)]
+ #[doc = "The `print()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/print)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn print(this: &Window) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = prompt)]
+ #[doc = "The `prompt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn prompt(this: &Window) -> Result<Option<String>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = prompt)]
+ #[doc = "The `prompt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn prompt_with_message(this: &Window, message: &str) -> Result<Option<String>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = prompt)]
+ #[doc = "The `prompt()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn prompt_with_message_and_default(
+ this: &Window,
+ message: &str,
+ default: &str,
+ ) -> Result<Option<String>, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = releaseEvents)]
+ #[doc = "The `releaseEvents()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/releaseEvents)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn release_events(this: &Window);
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = requestAnimationFrame)]
+ #[doc = "The `requestAnimationFrame()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn request_animation_frame(
+ this: &Window,
+ callback: &::js_sys::Function,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = requestIdleCallback)]
+ #[doc = "The `requestIdleCallback()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn request_idle_callback(
+ this: &Window,
+ callback: &::js_sys::Function,
+ ) -> Result<u32, JsValue>;
+ #[cfg(feature = "IdleRequestOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = requestIdleCallback)]
+ #[doc = "The `requestIdleCallback()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdleRequestOptions`, `Window`*"]
+ pub fn request_idle_callback_with_options(
+ this: &Window,
+ callback: &::js_sys::Function,
+ options: &IdleRequestOptions,
+ ) -> Result<u32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = resizeBy)]
+ #[doc = "The `resizeBy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeBy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn resize_by(this: &Window, x: i32, y: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = resizeTo)]
+ #[doc = "The `resizeTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn resize_to(this: &Window, x: i32, y: i32) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scroll)]
+ #[doc = "The `scroll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn scroll_with_x_and_y(this: &Window, x: f64, y: f64);
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scroll)]
+ #[doc = "The `scroll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn scroll(this: &Window);
+ #[cfg(feature = "ScrollToOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scroll)]
+ #[doc = "The `scroll()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*"]
+ pub fn scroll_with_scroll_to_options(this: &Window, options: &ScrollToOptions);
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scrollBy)]
+ #[doc = "The `scrollBy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn scroll_by_with_x_and_y(this: &Window, x: f64, y: f64);
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scrollBy)]
+ #[doc = "The `scrollBy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn scroll_by(this: &Window);
+ #[cfg(feature = "ScrollToOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scrollBy)]
+ #[doc = "The `scrollBy()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*"]
+ pub fn scroll_by_with_scroll_to_options(this: &Window, options: &ScrollToOptions);
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scrollTo)]
+ #[doc = "The `scrollTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn scroll_to_with_x_and_y(this: &Window, x: f64, y: f64);
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scrollTo)]
+ #[doc = "The `scrollTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn scroll_to(this: &Window);
+ #[cfg(feature = "ScrollToOptions")]
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scrollTo)]
+ #[doc = "The `scrollTo()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*"]
+ pub fn scroll_to_with_scroll_to_options(this: &Window, options: &ScrollToOptions);
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = stop)]
+ #[doc = "The `stop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/stop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn stop(this: &Window) -> Result<(), JsValue>;
+ #[wasm_bindgen(method, structural, js_class = "Window", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn get(this: &Window, name: &str) -> Option<::js_sys::Object>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = atob)]
+ #[doc = "The `atob()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/atob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn atob(this: &Window, atob: &str) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = btoa)]
+ #[doc = "The `btoa()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/btoa)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn btoa(this: &Window, btoa: &str) -> Result<String, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = clearInterval)]
+ #[doc = "The `clearInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn clear_interval(this: &Window);
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = clearInterval)]
+ #[doc = "The `clearInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn clear_interval_with_handle(this: &Window, handle: i32);
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = clearTimeout)]
+ #[doc = "The `clearTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn clear_timeout(this: &Window);
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = clearTimeout)]
+ #[doc = "The `clearTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn clear_timeout_with_handle(this: &Window, handle: i32);
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `Window`*"]
+ pub fn create_image_bitmap_with_html_image_element(
+ this: &Window,
+ a_image: &HtmlImageElement,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "SvgImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`, `Window`*"]
+ pub fn create_image_bitmap_with_svg_image_element(
+ this: &Window,
+ a_image: &SvgImageElement,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `Window`*"]
+ pub fn create_image_bitmap_with_html_canvas_element(
+ this: &Window,
+ a_image: &HtmlCanvasElement,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `Window`*"]
+ pub fn create_image_bitmap_with_html_video_element(
+ this: &Window,
+ a_image: &HtmlVideoElement,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `Window`*"]
+ pub fn create_image_bitmap_with_image_bitmap(
+ this: &Window,
+ a_image: &ImageBitmap,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "OffscreenCanvas")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `Window`*"]
+ pub fn create_image_bitmap_with_offscreen_canvas(
+ this: &Window,
+ a_image: &OffscreenCanvas,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `Window`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_image_bitmap_with_video_frame(
+ this: &Window,
+ a_image: &VideoFrame,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `Window`*"]
+ pub fn create_image_bitmap_with_blob(
+ this: &Window,
+ a_image: &Blob,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`, `Window`*"]
+ pub fn create_image_bitmap_with_image_data(
+ this: &Window,
+ a_image: &ImageData,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlImageElement", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `ImageBitmapOptions`, `Window`*"]
+ pub fn create_image_bitmap_with_html_image_element_and_image_bitmap_options(
+ this: &Window,
+ a_image: &HtmlImageElement,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "SvgImageElement",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `SvgImageElement`, `Window`*"]
+ pub fn create_image_bitmap_with_svg_image_element_and_image_bitmap_options(
+ this: &Window,
+ a_image: &SvgImageElement,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlCanvasElement", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `ImageBitmapOptions`, `Window`*"]
+ pub fn create_image_bitmap_with_html_canvas_element_and_image_bitmap_options(
+ this: &Window,
+ a_image: &HtmlCanvasElement,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlVideoElement", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `ImageBitmapOptions`, `Window`*"]
+ pub fn create_image_bitmap_with_html_video_element_and_image_bitmap_options(
+ this: &Window,
+ a_image: &HtmlVideoElement,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmap", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapOptions`, `Window`*"]
+ pub fn create_image_bitmap_with_image_bitmap_and_image_bitmap_options(
+ this: &Window,
+ a_image: &ImageBitmap,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "OffscreenCanvas",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `OffscreenCanvas`, `Window`*"]
+ pub fn create_image_bitmap_with_offscreen_canvas_and_image_bitmap_options(
+ this: &Window,
+ a_image: &OffscreenCanvas,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "VideoFrame",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `VideoFrame`, `Window`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_image_bitmap_with_video_frame_and_image_bitmap_options(
+ this: &Window,
+ a_image: &VideoFrame,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "Blob", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `ImageBitmapOptions`, `Window`*"]
+ pub fn create_image_bitmap_with_blob_and_image_bitmap_options(
+ this: &Window,
+ a_image: &Blob,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "ImageData",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `ImageData`, `Window`*"]
+ pub fn create_image_bitmap_with_image_data_and_image_bitmap_options(
+ this: &Window,
+ a_image: &ImageData,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `Window`*"]
+ pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &Window,
+ a_image: &HtmlImageElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "SvgImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`, `Window`*"]
+ pub fn create_image_bitmap_with_svg_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &Window,
+ a_image: &SvgImageElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `Window`*"]
+ pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &Window,
+ a_image: &HtmlCanvasElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `Window`*"]
+ pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &Window,
+ a_image: &HtmlVideoElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `Window`*"]
+ pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &Window,
+ a_image: &ImageBitmap,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "OffscreenCanvas")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `Window`*"]
+ pub fn create_image_bitmap_with_offscreen_canvas_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &Window,
+ a_image: &OffscreenCanvas,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `Window`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_image_bitmap_with_video_frame_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &Window,
+ a_image: &VideoFrame,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `Window`*"]
+ pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &Window,
+ a_image: &Blob,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`, `Window`*"]
+ pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &Window,
+ a_image: &ImageData,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlImageElement", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `ImageBitmapOptions`, `Window`*"]
+ pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &Window,
+ a_image: &HtmlImageElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "SvgImageElement",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `SvgImageElement`, `Window`*"]
+ pub fn create_image_bitmap_with_svg_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &Window,
+ a_image: &SvgImageElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlCanvasElement", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `ImageBitmapOptions`, `Window`*"]
+ pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &Window,
+ a_image: &HtmlCanvasElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlVideoElement", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `ImageBitmapOptions`, `Window`*"]
+ pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &Window,
+ a_image: &HtmlVideoElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmap", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapOptions`, `Window`*"]
+ pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &Window,
+ a_image: &ImageBitmap,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "OffscreenCanvas",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `OffscreenCanvas`, `Window`*"]
+ pub fn create_image_bitmap_with_offscreen_canvas_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &Window,
+ a_image: &OffscreenCanvas,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "VideoFrame",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `VideoFrame`, `Window`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_image_bitmap_with_video_frame_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &Window,
+ a_image: &VideoFrame,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "Blob", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `ImageBitmapOptions`, `Window`*"]
+ pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &Window,
+ a_image: &Blob,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "ImageData",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `ImageData`, `Window`*"]
+ pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &Window,
+ a_image: &ImageData,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "Request")]
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = fetch)]
+ #[doc = "The `fetch()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`, `Window`*"]
+ pub fn fetch_with_request(this: &Window, input: &Request) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = fetch)]
+ #[doc = "The `fetch()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn fetch_with_str(this: &Window, input: &str) -> ::js_sys::Promise;
+ #[cfg(all(feature = "Request", feature = "RequestInit",))]
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = fetch)]
+ #[doc = "The `fetch()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestInit`, `Window`*"]
+ pub fn fetch_with_request_and_init(
+ this: &Window,
+ input: &Request,
+ init: &RequestInit,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "RequestInit")]
+ # [wasm_bindgen (method , structural , js_class = "Window" , js_name = fetch)]
+ #[doc = "The `fetch()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestInit`, `Window`*"]
+ pub fn fetch_with_str_and_init(
+ this: &Window,
+ input: &str,
+ init: &RequestInit,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_callback(
+ this: &Window,
+ handler: &::js_sys::Function,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments: &::js_sys::Array,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_0(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_1(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_2(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_3(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_4(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_5(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ arguments_5: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_6(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ arguments_5: &::wasm_bindgen::JsValue,
+ arguments_6: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_7(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ arguments_5: &::wasm_bindgen::JsValue,
+ arguments_6: &::wasm_bindgen::JsValue,
+ arguments_7: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_str(this: &Window, handler: &str) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused: &::js_sys::Array,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_0(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_1(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_2(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_3(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_4(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_5(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ unused_5: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_6(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ unused_5: &::wasm_bindgen::JsValue,
+ unused_6: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_7(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ unused_5: &::wasm_bindgen::JsValue,
+ unused_6: &::wasm_bindgen::JsValue,
+ unused_7: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_callback(
+ this: &Window,
+ handler: &::js_sys::Function,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments: &::js_sys::Array,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_0(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_1(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_2(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_3(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_4(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_5(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ arguments_5: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_6(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ arguments_5: &::wasm_bindgen::JsValue,
+ arguments_6: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_7(
+ this: &Window,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ arguments_5: &::wasm_bindgen::JsValue,
+ arguments_6: &::wasm_bindgen::JsValue,
+ arguments_7: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_str(this: &Window, handler: &str) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused: &::js_sys::Array,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_0(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_1(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_2(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_3(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_4(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_5(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ unused_5: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_6(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ unused_5: &::wasm_bindgen::JsValue,
+ unused_6: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Window`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_7(
+ this: &Window,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ unused_5: &::wasm_bindgen::JsValue,
+ unused_6: &::wasm_bindgen::JsValue,
+ unused_7: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_WindowClient.rs b/vendor/web-sys/src/features/gen_WindowClient.rs
new file mode 100644
index 000000000..883de35ed
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WindowClient.rs
@@ -0,0 +1,43 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Client , extends = :: js_sys :: Object , js_name = WindowClient , typescript_type = "WindowClient")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WindowClient` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WindowClient`*"]
+ pub type WindowClient;
+ #[cfg(feature = "VisibilityState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "WindowClient" , js_name = visibilityState)]
+ #[doc = "Getter for the `visibilityState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/visibilityState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VisibilityState`, `WindowClient`*"]
+ pub fn visibility_state(this: &WindowClient) -> VisibilityState;
+ # [wasm_bindgen (structural , method , getter , js_class = "WindowClient" , js_name = focused)]
+ #[doc = "Getter for the `focused` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/focused)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WindowClient`*"]
+ pub fn focused(this: &WindowClient) -> bool;
+ # [wasm_bindgen (catch , method , structural , js_class = "WindowClient" , js_name = focus)]
+ #[doc = "The `focus()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/focus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WindowClient`*"]
+ pub fn focus(this: &WindowClient) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WindowClient" , js_name = navigate)]
+ #[doc = "The `navigate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/navigate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WindowClient`*"]
+ pub fn navigate(this: &WindowClient, url: &str) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_Worker.rs b/vendor/web-sys/src/features/gen_Worker.rs
new file mode 100644
index 000000000..ba9139f70
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Worker.rs
@@ -0,0 +1,96 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Worker , typescript_type = "Worker")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Worker` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worker`*"]
+ pub type Worker;
+ # [wasm_bindgen (structural , method , getter , js_class = "Worker" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worker`*"]
+ pub fn onmessage(this: &Worker) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Worker" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worker`*"]
+ pub fn set_onmessage(this: &Worker, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Worker" , js_name = onmessageerror)]
+ #[doc = "Getter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worker`*"]
+ pub fn onmessageerror(this: &Worker) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Worker" , js_name = onmessageerror)]
+ #[doc = "Setter for the `onmessageerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onmessageerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worker`*"]
+ pub fn set_onmessageerror(this: &Worker, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "Worker" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worker`*"]
+ pub fn onerror(this: &Worker) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "Worker" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worker`*"]
+ pub fn set_onerror(this: &Worker, value: Option<&::js_sys::Function>);
+ #[wasm_bindgen(catch, constructor, js_class = "Worker")]
+ #[doc = "The `new Worker(..)` constructor, creating a new instance of `Worker`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worker`*"]
+ pub fn new(script_url: &str) -> Result<Worker, JsValue>;
+ #[cfg(feature = "WorkerOptions")]
+ #[wasm_bindgen(catch, constructor, js_class = "Worker")]
+ #[doc = "The `new Worker(..)` constructor, creating a new instance of `Worker`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worker`, `WorkerOptions`*"]
+ pub fn new_with_options(script_url: &str, options: &WorkerOptions) -> Result<Worker, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Worker" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worker`*"]
+ pub fn post_message(this: &Worker, message: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "Worker" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worker`*"]
+ pub fn post_message_with_transfer(
+ this: &Worker,
+ message: &::wasm_bindgen::JsValue,
+ transfer: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "Worker" , js_name = terminate)]
+ #[doc = "The `terminate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/terminate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worker`*"]
+ pub fn terminate(this: &Worker);
+}
diff --git a/vendor/web-sys/src/features/gen_WorkerDebuggerGlobalScope.rs b/vendor/web-sys/src/features/gen_WorkerDebuggerGlobalScope.rs
new file mode 100644
index 000000000..e2bd8ee54
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WorkerDebuggerGlobalScope.rs
@@ -0,0 +1,135 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = WorkerDebuggerGlobalScope , typescript_type = "WorkerDebuggerGlobalScope")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WorkerDebuggerGlobalScope` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub type WorkerDebuggerGlobalScope;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerDebuggerGlobalScope" , js_name = global)]
+ #[doc = "Getter for the `global` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/global)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn global(this: &WorkerDebuggerGlobalScope) -> Result<::js_sys::Object, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerDebuggerGlobalScope" , js_name = onmessage)]
+ #[doc = "Getter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn onmessage(this: &WorkerDebuggerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "WorkerDebuggerGlobalScope" , js_name = onmessage)]
+ #[doc = "Setter for the `onmessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/onmessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn set_onmessage(this: &WorkerDebuggerGlobalScope, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = createSandbox)]
+ #[doc = "The `createSandbox()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/createSandbox)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn create_sandbox(
+ this: &WorkerDebuggerGlobalScope,
+ name: &str,
+ prototype: &::js_sys::Object,
+ ) -> Result<::js_sys::Object, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = dump)]
+ #[doc = "The `dump()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/dump)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn dump(this: &WorkerDebuggerGlobalScope);
+ # [wasm_bindgen (method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = dump)]
+ #[doc = "The `dump()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/dump)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn dump_with_string(this: &WorkerDebuggerGlobalScope, string: &str);
+ # [wasm_bindgen (method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = enterEventLoop)]
+ #[doc = "The `enterEventLoop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/enterEventLoop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn enter_event_loop(this: &WorkerDebuggerGlobalScope);
+ # [wasm_bindgen (method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = leaveEventLoop)]
+ #[doc = "The `leaveEventLoop()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/leaveEventLoop)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn leave_event_loop(this: &WorkerDebuggerGlobalScope);
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = loadSubScript)]
+ #[doc = "The `loadSubScript()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/loadSubScript)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn load_sub_script(this: &WorkerDebuggerGlobalScope, url: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = loadSubScript)]
+ #[doc = "The `loadSubScript()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/loadSubScript)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn load_sub_script_with_sandbox(
+ this: &WorkerDebuggerGlobalScope,
+ url: &str,
+ sandbox: &::js_sys::Object,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = postMessage)]
+ #[doc = "The `postMessage()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/postMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn post_message(this: &WorkerDebuggerGlobalScope, message: &str);
+ # [wasm_bindgen (method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = reportError)]
+ #[doc = "The `reportError()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/reportError)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn report_error(this: &WorkerDebuggerGlobalScope, message: &str);
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = retrieveConsoleEvents)]
+ #[doc = "The `retrieveConsoleEvents()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/retrieveConsoleEvents)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn retrieve_console_events(
+ this: &WorkerDebuggerGlobalScope,
+ ) -> Result<::js_sys::Array, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = setConsoleEventHandler)]
+ #[doc = "The `setConsoleEventHandler()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/setConsoleEventHandler)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn set_console_event_handler(
+ this: &WorkerDebuggerGlobalScope,
+ handler: Option<&::js_sys::Function>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = setImmediate)]
+ #[doc = "The `setImmediate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/setImmediate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*"]
+ pub fn set_immediate(
+ this: &WorkerDebuggerGlobalScope,
+ handler: &::js_sys::Function,
+ ) -> Result<(), JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_WorkerGlobalScope.rs b/vendor/web-sys/src/features/gen_WorkerGlobalScope.rs
new file mode 100644
index 000000000..52e9a44c9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WorkerGlobalScope.rs
@@ -0,0 +1,1348 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = WorkerGlobalScope , typescript_type = "WorkerGlobalScope")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WorkerGlobalScope` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub type WorkerGlobalScope;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = self)]
+ #[doc = "Getter for the `self` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/self)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn self_(this: &WorkerGlobalScope) -> WorkerGlobalScope;
+ #[cfg(feature = "WorkerLocation")]
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = location)]
+ #[doc = "Getter for the `location` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/location)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`, `WorkerLocation`*"]
+ pub fn location(this: &WorkerGlobalScope) -> WorkerLocation;
+ #[cfg(feature = "WorkerNavigator")]
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = navigator)]
+ #[doc = "Getter for the `navigator` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/navigator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`, `WorkerNavigator`*"]
+ pub fn navigator(this: &WorkerGlobalScope) -> WorkerNavigator;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn onerror(this: &WorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "WorkerGlobalScope" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_onerror(this: &WorkerGlobalScope, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = onoffline)]
+ #[doc = "Getter for the `onoffline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onoffline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn onoffline(this: &WorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "WorkerGlobalScope" , js_name = onoffline)]
+ #[doc = "Setter for the `onoffline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onoffline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_onoffline(this: &WorkerGlobalScope, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = ononline)]
+ #[doc = "Getter for the `ononline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/ononline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn ononline(this: &WorkerGlobalScope) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "WorkerGlobalScope" , js_name = ononline)]
+ #[doc = "Setter for the `ononline` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/ononline)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_ononline(this: &WorkerGlobalScope, value: Option<&::js_sys::Function>);
+ #[cfg(feature = "Crypto")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerGlobalScope" , js_name = crypto)]
+ #[doc = "Getter for the `crypto` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/crypto)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Crypto`, `WorkerGlobalScope`*"]
+ pub fn crypto(this: &WorkerGlobalScope) -> Result<Crypto, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = origin)]
+ #[doc = "Getter for the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/origin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn origin(this: &WorkerGlobalScope) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = isSecureContext)]
+ #[doc = "Getter for the `isSecureContext` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/isSecureContext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn is_secure_context(this: &WorkerGlobalScope) -> bool;
+ #[cfg(feature = "IdbFactory")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerGlobalScope" , js_name = indexedDB)]
+ #[doc = "Getter for the `indexedDB` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/indexedDB)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `WorkerGlobalScope`*"]
+ pub fn indexed_db(this: &WorkerGlobalScope) -> Result<Option<IdbFactory>, JsValue>;
+ #[cfg(feature = "CacheStorage")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerGlobalScope" , js_name = caches)]
+ #[doc = "Getter for the `caches` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/caches)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `CacheStorage`, `WorkerGlobalScope`*"]
+ pub fn caches(this: &WorkerGlobalScope) -> Result<CacheStorage, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = importScripts)]
+ #[doc = "The `importScripts()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn import_scripts(this: &WorkerGlobalScope, urls: &::js_sys::Array) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)]
+ #[doc = "The `importScripts()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn import_scripts_0(this: &WorkerGlobalScope) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)]
+ #[doc = "The `importScripts()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn import_scripts_1(this: &WorkerGlobalScope, urls_1: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)]
+ #[doc = "The `importScripts()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn import_scripts_2(
+ this: &WorkerGlobalScope,
+ urls_1: &str,
+ urls_2: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)]
+ #[doc = "The `importScripts()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn import_scripts_3(
+ this: &WorkerGlobalScope,
+ urls_1: &str,
+ urls_2: &str,
+ urls_3: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)]
+ #[doc = "The `importScripts()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn import_scripts_4(
+ this: &WorkerGlobalScope,
+ urls_1: &str,
+ urls_2: &str,
+ urls_3: &str,
+ urls_4: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)]
+ #[doc = "The `importScripts()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn import_scripts_5(
+ this: &WorkerGlobalScope,
+ urls_1: &str,
+ urls_2: &str,
+ urls_3: &str,
+ urls_4: &str,
+ urls_5: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)]
+ #[doc = "The `importScripts()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn import_scripts_6(
+ this: &WorkerGlobalScope,
+ urls_1: &str,
+ urls_2: &str,
+ urls_3: &str,
+ urls_4: &str,
+ urls_5: &str,
+ urls_6: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)]
+ #[doc = "The `importScripts()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn import_scripts_7(
+ this: &WorkerGlobalScope,
+ urls_1: &str,
+ urls_2: &str,
+ urls_3: &str,
+ urls_4: &str,
+ urls_5: &str,
+ urls_6: &str,
+ urls_7: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = atob)]
+ #[doc = "The `atob()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/atob)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn atob(this: &WorkerGlobalScope, atob: &str) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = btoa)]
+ #[doc = "The `btoa()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/btoa)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn btoa(this: &WorkerGlobalScope, btoa: &str) -> Result<String, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = clearInterval)]
+ #[doc = "The `clearInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn clear_interval(this: &WorkerGlobalScope);
+ # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = clearInterval)]
+ #[doc = "The `clearInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn clear_interval_with_handle(this: &WorkerGlobalScope, handle: i32);
+ # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = clearTimeout)]
+ #[doc = "The `clearTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn clear_timeout(this: &WorkerGlobalScope);
+ # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = clearTimeout)]
+ #[doc = "The `clearTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn clear_timeout_with_handle(this: &WorkerGlobalScope, handle: i32);
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_html_image_element(
+ this: &WorkerGlobalScope,
+ a_image: &HtmlImageElement,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "SvgImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_svg_image_element(
+ this: &WorkerGlobalScope,
+ a_image: &SvgImageElement,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_html_canvas_element(
+ this: &WorkerGlobalScope,
+ a_image: &HtmlCanvasElement,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_html_video_element(
+ this: &WorkerGlobalScope,
+ a_image: &HtmlVideoElement,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_image_bitmap(
+ this: &WorkerGlobalScope,
+ a_image: &ImageBitmap,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "OffscreenCanvas")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_offscreen_canvas(
+ this: &WorkerGlobalScope,
+ a_image: &OffscreenCanvas,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WorkerGlobalScope`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_image_bitmap_with_video_frame(
+ this: &WorkerGlobalScope,
+ a_image: &VideoFrame,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_blob(
+ this: &WorkerGlobalScope,
+ a_image: &Blob,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_image_data(
+ this: &WorkerGlobalScope,
+ a_image: &ImageData,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlImageElement", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `ImageBitmapOptions`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_html_image_element_and_image_bitmap_options(
+ this: &WorkerGlobalScope,
+ a_image: &HtmlImageElement,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "SvgImageElement",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `SvgImageElement`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_svg_image_element_and_image_bitmap_options(
+ this: &WorkerGlobalScope,
+ a_image: &SvgImageElement,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlCanvasElement", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `ImageBitmapOptions`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_html_canvas_element_and_image_bitmap_options(
+ this: &WorkerGlobalScope,
+ a_image: &HtmlCanvasElement,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlVideoElement", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `ImageBitmapOptions`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_html_video_element_and_image_bitmap_options(
+ this: &WorkerGlobalScope,
+ a_image: &HtmlVideoElement,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmap", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapOptions`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_image_bitmap_and_image_bitmap_options(
+ this: &WorkerGlobalScope,
+ a_image: &ImageBitmap,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "OffscreenCanvas",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `OffscreenCanvas`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_offscreen_canvas_and_image_bitmap_options(
+ this: &WorkerGlobalScope,
+ a_image: &OffscreenCanvas,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "VideoFrame",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `VideoFrame`, `WorkerGlobalScope`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_image_bitmap_with_video_frame_and_image_bitmap_options(
+ this: &WorkerGlobalScope,
+ a_image: &VideoFrame,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "Blob", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `ImageBitmapOptions`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_blob_and_image_bitmap_options(
+ this: &WorkerGlobalScope,
+ a_image: &Blob,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "ImageData",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `ImageData`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_image_data_and_image_bitmap_options(
+ this: &WorkerGlobalScope,
+ a_image: &ImageData,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "HtmlImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &WorkerGlobalScope,
+ a_image: &HtmlImageElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "SvgImageElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_svg_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &WorkerGlobalScope,
+ a_image: &SvgImageElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "HtmlCanvasElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &WorkerGlobalScope,
+ a_image: &HtmlCanvasElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "HtmlVideoElement")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &WorkerGlobalScope,
+ a_image: &HtmlVideoElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "ImageBitmap")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &WorkerGlobalScope,
+ a_image: &ImageBitmap,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "OffscreenCanvas")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_offscreen_canvas_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &WorkerGlobalScope,
+ a_image: &OffscreenCanvas,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "VideoFrame")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WorkerGlobalScope`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_image_bitmap_with_video_frame_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &WorkerGlobalScope,
+ a_image: &VideoFrame,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &WorkerGlobalScope,
+ a_image: &Blob,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "ImageData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
+ this: &WorkerGlobalScope,
+ a_image: &ImageData,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlImageElement", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `ImageBitmapOptions`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &WorkerGlobalScope,
+ a_image: &HtmlImageElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "SvgImageElement",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `SvgImageElement`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_svg_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &WorkerGlobalScope,
+ a_image: &SvgImageElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlCanvasElement", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `ImageBitmapOptions`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &WorkerGlobalScope,
+ a_image: &HtmlCanvasElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "HtmlVideoElement", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `ImageBitmapOptions`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &WorkerGlobalScope,
+ a_image: &HtmlVideoElement,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmap", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapOptions`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &WorkerGlobalScope,
+ a_image: &ImageBitmap,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "OffscreenCanvas",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `OffscreenCanvas`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_offscreen_canvas_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &WorkerGlobalScope,
+ a_image: &OffscreenCanvas,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "VideoFrame",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `VideoFrame`, `WorkerGlobalScope`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn create_image_bitmap_with_video_frame_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &WorkerGlobalScope,
+ a_image: &VideoFrame,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "Blob", feature = "ImageBitmapOptions",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `ImageBitmapOptions`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &WorkerGlobalScope,
+ a_image: &Blob,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(all(feature = "ImageBitmapOptions", feature = "ImageData",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)]
+ #[doc = "The `createImageBitmap()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `ImageData`, `WorkerGlobalScope`*"]
+ pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
+ this: &WorkerGlobalScope,
+ a_image: &ImageData,
+ a_sx: i32,
+ a_sy: i32,
+ a_sw: i32,
+ a_sh: i32,
+ a_options: &ImageBitmapOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "Request")]
+ # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = fetch)]
+ #[doc = "The `fetch()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`, `WorkerGlobalScope`*"]
+ pub fn fetch_with_request(this: &WorkerGlobalScope, input: &Request) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = fetch)]
+ #[doc = "The `fetch()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn fetch_with_str(this: &WorkerGlobalScope, input: &str) -> ::js_sys::Promise;
+ #[cfg(all(feature = "Request", feature = "RequestInit",))]
+ # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = fetch)]
+ #[doc = "The `fetch()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestInit`, `WorkerGlobalScope`*"]
+ pub fn fetch_with_request_and_init(
+ this: &WorkerGlobalScope,
+ input: &Request,
+ init: &RequestInit,
+ ) -> ::js_sys::Promise;
+ #[cfg(feature = "RequestInit")]
+ # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = fetch)]
+ #[doc = "The `fetch()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestInit`, `WorkerGlobalScope`*"]
+ pub fn fetch_with_str_and_init(
+ this: &WorkerGlobalScope,
+ input: &str,
+ init: &RequestInit,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_callback(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments: &::js_sys::Array,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_0(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_1(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_2(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_3(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_4(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_5(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ arguments_5: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_6(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ arguments_5: &::wasm_bindgen::JsValue,
+ arguments_6: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_callback_and_timeout_and_arguments_7(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ arguments_5: &::wasm_bindgen::JsValue,
+ arguments_6: &::wasm_bindgen::JsValue,
+ arguments_7: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_str(this: &WorkerGlobalScope, handler: &str) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused: &::js_sys::Array,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_0(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_1(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_2(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_3(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_4(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_5(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ unused_5: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_6(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ unused_5: &::wasm_bindgen::JsValue,
+ unused_6: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)]
+ #[doc = "The `setInterval()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_interval_with_str_and_timeout_and_unused_7(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ unused_5: &::wasm_bindgen::JsValue,
+ unused_6: &::wasm_bindgen::JsValue,
+ unused_7: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_callback(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments: &::js_sys::Array,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_0(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_1(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_2(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_3(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_4(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_5(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ arguments_5: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_6(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ arguments_5: &::wasm_bindgen::JsValue,
+ arguments_6: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_callback_and_timeout_and_arguments_7(
+ this: &WorkerGlobalScope,
+ handler: &::js_sys::Function,
+ timeout: i32,
+ arguments_1: &::wasm_bindgen::JsValue,
+ arguments_2: &::wasm_bindgen::JsValue,
+ arguments_3: &::wasm_bindgen::JsValue,
+ arguments_4: &::wasm_bindgen::JsValue,
+ arguments_5: &::wasm_bindgen::JsValue,
+ arguments_6: &::wasm_bindgen::JsValue,
+ arguments_7: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_str(this: &WorkerGlobalScope, handler: &str) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused: &::js_sys::Array,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_0(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_1(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_2(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_3(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_4(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_5(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ unused_5: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_6(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ unused_5: &::wasm_bindgen::JsValue,
+ unused_6: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)]
+ #[doc = "The `setTimeout()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"]
+ pub fn set_timeout_with_str_and_timeout_and_unused_7(
+ this: &WorkerGlobalScope,
+ handler: &str,
+ timeout: i32,
+ unused_1: &::wasm_bindgen::JsValue,
+ unused_2: &::wasm_bindgen::JsValue,
+ unused_3: &::wasm_bindgen::JsValue,
+ unused_4: &::wasm_bindgen::JsValue,
+ unused_5: &::wasm_bindgen::JsValue,
+ unused_6: &::wasm_bindgen::JsValue,
+ unused_7: &::wasm_bindgen::JsValue,
+ ) -> Result<i32, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_WorkerLocation.rs b/vendor/web-sys/src/features/gen_WorkerLocation.rs
new file mode 100644
index 000000000..643fd1d36
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WorkerLocation.rs
@@ -0,0 +1,77 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WorkerLocation , typescript_type = "WorkerLocation")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WorkerLocation` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerLocation`*"]
+ pub type WorkerLocation;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerLocation" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerLocation`*"]
+ pub fn href(this: &WorkerLocation) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerLocation" , js_name = origin)]
+ #[doc = "Getter for the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/origin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerLocation`*"]
+ pub fn origin(this: &WorkerLocation) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerLocation" , js_name = protocol)]
+ #[doc = "Getter for the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/protocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerLocation`*"]
+ pub fn protocol(this: &WorkerLocation) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerLocation" , js_name = host)]
+ #[doc = "Getter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerLocation`*"]
+ pub fn host(this: &WorkerLocation) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerLocation" , js_name = hostname)]
+ #[doc = "Getter for the `hostname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/hostname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerLocation`*"]
+ pub fn hostname(this: &WorkerLocation) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerLocation" , js_name = port)]
+ #[doc = "Getter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerLocation`*"]
+ pub fn port(this: &WorkerLocation) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerLocation" , js_name = pathname)]
+ #[doc = "Getter for the `pathname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/pathname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerLocation`*"]
+ pub fn pathname(this: &WorkerLocation) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerLocation" , js_name = search)]
+ #[doc = "Getter for the `search` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/search)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerLocation`*"]
+ pub fn search(this: &WorkerLocation) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerLocation" , js_name = hash)]
+ #[doc = "Getter for the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/hash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerLocation`*"]
+ pub fn hash(this: &WorkerLocation) -> String;
+}
diff --git a/vendor/web-sys/src/features/gen_WorkerNavigator.rs b/vendor/web-sys/src/features/gen_WorkerNavigator.rs
new file mode 100644
index 000000000..b0eb70305
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WorkerNavigator.rs
@@ -0,0 +1,151 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WorkerNavigator , typescript_type = "WorkerNavigator")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WorkerNavigator` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerNavigator`*"]
+ pub type WorkerNavigator;
+ #[cfg(feature = "NetworkInformation")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerNavigator" , js_name = connection)]
+ #[doc = "Getter for the `connection` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/connection)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NetworkInformation`, `WorkerNavigator`*"]
+ pub fn connection(this: &WorkerNavigator) -> Result<NetworkInformation, JsValue>;
+ #[cfg(feature = "MediaCapabilities")]
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerNavigator" , js_name = mediaCapabilities)]
+ #[doc = "Getter for the `mediaCapabilities` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/mediaCapabilities)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `MediaCapabilities`, `WorkerNavigator`*"]
+ pub fn media_capabilities(this: &WorkerNavigator) -> MediaCapabilities;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Serial")]
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerNavigator" , js_name = serial)]
+ #[doc = "Getter for the `serial` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/serial)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Serial`, `WorkerNavigator`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn serial(this: &WorkerNavigator) -> Serial;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Usb")]
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerNavigator" , js_name = usb)]
+ #[doc = "Getter for the `usb` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/usb)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Usb`, `WorkerNavigator`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn usb(this: &WorkerNavigator) -> Usb;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerNavigator" , js_name = hardwareConcurrency)]
+ #[doc = "Getter for the `hardwareConcurrency` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/hardwareConcurrency)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerNavigator`*"]
+ pub fn hardware_concurrency(this: &WorkerNavigator) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Gpu")]
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerNavigator" , js_name = gpu)]
+ #[doc = "Getter for the `gpu` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/gpu)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gpu`, `WorkerNavigator`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn gpu(this: &WorkerNavigator) -> Gpu;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerNavigator" , js_name = appCodeName)]
+ #[doc = "Getter for the `appCodeName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/appCodeName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerNavigator`*"]
+ pub fn app_code_name(this: &WorkerNavigator) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerNavigator" , js_name = appName)]
+ #[doc = "Getter for the `appName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/appName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerNavigator`*"]
+ pub fn app_name(this: &WorkerNavigator) -> String;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerNavigator" , js_name = appVersion)]
+ #[doc = "Getter for the `appVersion` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/appVersion)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerNavigator`*"]
+ pub fn app_version(this: &WorkerNavigator) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerNavigator" , js_name = platform)]
+ #[doc = "Getter for the `platform` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/platform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerNavigator`*"]
+ pub fn platform(this: &WorkerNavigator) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerNavigator" , js_name = userAgent)]
+ #[doc = "Getter for the `userAgent` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/userAgent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerNavigator`*"]
+ pub fn user_agent(this: &WorkerNavigator) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerNavigator" , js_name = product)]
+ #[doc = "Getter for the `product` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/product)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerNavigator`*"]
+ pub fn product(this: &WorkerNavigator) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerNavigator" , js_name = language)]
+ #[doc = "Getter for the `language` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/language)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerNavigator`*"]
+ pub fn language(this: &WorkerNavigator) -> Option<String>;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerNavigator" , js_name = languages)]
+ #[doc = "Getter for the `languages` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/languages)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerNavigator`*"]
+ pub fn languages(this: &WorkerNavigator) -> ::js_sys::Array;
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerNavigator" , js_name = onLine)]
+ #[doc = "Getter for the `onLine` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/onLine)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerNavigator`*"]
+ pub fn on_line(this: &WorkerNavigator) -> bool;
+ #[cfg(feature = "StorageManager")]
+ # [wasm_bindgen (structural , method , getter , js_class = "WorkerNavigator" , js_name = storage)]
+ #[doc = "Getter for the `storage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/storage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `StorageManager`, `WorkerNavigator`*"]
+ pub fn storage(this: &WorkerNavigator) -> StorageManager;
+ # [wasm_bindgen (method , structural , js_class = "WorkerNavigator" , js_name = taintEnabled)]
+ #[doc = "The `taintEnabled()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/taintEnabled)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerNavigator`*"]
+ pub fn taint_enabled(this: &WorkerNavigator) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_WorkerOptions.rs b/vendor/web-sys/src/features/gen_WorkerOptions.rs
new file mode 100644
index 000000000..b4e679145
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WorkerOptions.rs
@@ -0,0 +1,72 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WorkerOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WorkerOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerOptions`*"]
+ pub type WorkerOptions;
+}
+impl WorkerOptions {
+ #[doc = "Construct a new `WorkerOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "RequestCredentials")]
+ #[doc = "Change the `credentials` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestCredentials`, `WorkerOptions`*"]
+ pub fn credentials(&mut self, val: RequestCredentials) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("credentials"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerOptions`*"]
+ pub fn name(&mut self, val: &str) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(feature = "WorkerType")]
+ #[doc = "Change the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkerOptions`, `WorkerType`*"]
+ pub fn type_(&mut self, val: WorkerType) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for WorkerOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_WorkerType.rs b/vendor/web-sys/src/features/gen_WorkerType.rs
new file mode 100644
index 000000000..3ae500156
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WorkerType.rs
@@ -0,0 +1,11 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `WorkerType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `WorkerType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum WorkerType {
+ Classic = "classic",
+ Module = "module",
+}
diff --git a/vendor/web-sys/src/features/gen_Worklet.rs b/vendor/web-sys/src/features/gen_Worklet.rs
new file mode 100644
index 000000000..fec6b6dcc
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Worklet.rs
@@ -0,0 +1,33 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Worklet , typescript_type = "Worklet")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `Worklet` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worklet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worklet`*"]
+ pub type Worklet;
+ # [wasm_bindgen (catch , method , structural , js_class = "Worklet" , js_name = addModule)]
+ #[doc = "The `addModule()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worklet/addModule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worklet`*"]
+ pub fn add_module(this: &Worklet, module_url: &str) -> Result<::js_sys::Promise, JsValue>;
+ #[cfg(feature = "WorkletOptions")]
+ # [wasm_bindgen (catch , method , structural , js_class = "Worklet" , js_name = addModule)]
+ #[doc = "The `addModule()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worklet/addModule)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Worklet`, `WorkletOptions`*"]
+ pub fn add_module_with_options(
+ this: &Worklet,
+ module_url: &str,
+ options: &WorkletOptions,
+ ) -> Result<::js_sys::Promise, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_WorkletGlobalScope.rs b/vendor/web-sys/src/features/gen_WorkletGlobalScope.rs
new file mode 100644
index 000000000..26931699c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WorkletGlobalScope.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WorkletGlobalScope , typescript_type = "WorkletGlobalScope")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WorkletGlobalScope` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkletGlobalScope)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkletGlobalScope`*"]
+ pub type WorkletGlobalScope;
+}
diff --git a/vendor/web-sys/src/features/gen_WorkletOptions.rs b/vendor/web-sys/src/features/gen_WorkletOptions.rs
new file mode 100644
index 000000000..d14e13b7a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WorkletOptions.rs
@@ -0,0 +1,45 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WorkletOptions)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WorkletOptions` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkletOptions`*"]
+ pub type WorkletOptions;
+}
+impl WorkletOptions {
+ #[doc = "Construct a new `WorkletOptions`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WorkletOptions`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(feature = "RequestCredentials")]
+ #[doc = "Change the `credentials` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `RequestCredentials`, `WorkletOptions`*"]
+ pub fn credentials(&mut self, val: RequestCredentials) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("credentials"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for WorkletOptions {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_WritableStream.rs b/vendor/web-sys/src/features/gen_WritableStream.rs
new file mode 100644
index 000000000..48124a3b8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WritableStream.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WritableStream , typescript_type = "WritableStream")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WritableStream` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStream`*"]
+ pub type WritableStream;
+ # [wasm_bindgen (structural , method , getter , js_class = "WritableStream" , js_name = locked)]
+ #[doc = "Getter for the `locked` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStream/locked)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStream`*"]
+ pub fn locked(this: &WritableStream) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "WritableStream")]
+ #[doc = "The `new WritableStream(..)` constructor, creating a new instance of `WritableStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStream/WritableStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Result<WritableStream, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "WritableStream")]
+ #[doc = "The `new WritableStream(..)` constructor, creating a new instance of `WritableStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStream/WritableStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_underlying_sink(
+ underlying_sink: &::js_sys::Object,
+ ) -> Result<WritableStream, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "QueuingStrategy")]
+ #[wasm_bindgen(catch, constructor, js_class = "WritableStream")]
+ #[doc = "The `new WritableStream(..)` constructor, creating a new instance of `WritableStream`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStream/WritableStream)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `QueuingStrategy`, `WritableStream`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_underlying_sink_and_strategy(
+ underlying_sink: &::js_sys::Object,
+ strategy: &QueuingStrategy,
+ ) -> Result<WritableStream, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "WritableStream" , js_name = abort)]
+ #[doc = "The `abort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStream/abort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStream`*"]
+ pub fn abort(this: &WritableStream) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "WritableStream" , js_name = abort)]
+ #[doc = "The `abort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStream/abort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStream`*"]
+ pub fn abort_with_reason(
+ this: &WritableStream,
+ reason: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "WritableStream" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStream/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStream`*"]
+ pub fn close(this: &WritableStream) -> ::js_sys::Promise;
+ #[cfg(feature = "WritableStreamDefaultWriter")]
+ # [wasm_bindgen (catch , method , structural , js_class = "WritableStream" , js_name = getWriter)]
+ #[doc = "The `getWriter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStream/getWriter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStream`, `WritableStreamDefaultWriter`*"]
+ pub fn get_writer(this: &WritableStream) -> Result<WritableStreamDefaultWriter, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_WritableStreamDefaultController.rs b/vendor/web-sys/src/features/gen_WritableStreamDefaultController.rs
new file mode 100644
index 000000000..424a635c9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WritableStreamDefaultController.rs
@@ -0,0 +1,36 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WritableStreamDefaultController , typescript_type = "WritableStreamDefaultController")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WritableStreamDefaultController` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultController)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultController`*"]
+ pub type WritableStreamDefaultController;
+ #[cfg(feature = "AbortSignal")]
+ # [wasm_bindgen (structural , method , getter , js_class = "WritableStreamDefaultController" , js_name = signal)]
+ #[doc = "Getter for the `signal` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultController/signal)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `AbortSignal`, `WritableStreamDefaultController`*"]
+ pub fn signal(this: &WritableStreamDefaultController) -> AbortSignal;
+ # [wasm_bindgen (method , structural , js_class = "WritableStreamDefaultController" , js_name = error)]
+ #[doc = "The `error()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultController/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultController`*"]
+ pub fn error(this: &WritableStreamDefaultController);
+ # [wasm_bindgen (method , structural , js_class = "WritableStreamDefaultController" , js_name = error)]
+ #[doc = "The `error()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultController/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultController`*"]
+ pub fn error_with_e(this: &WritableStreamDefaultController, e: &::wasm_bindgen::JsValue);
+}
diff --git a/vendor/web-sys/src/features/gen_WritableStreamDefaultWriter.rs b/vendor/web-sys/src/features/gen_WritableStreamDefaultWriter.rs
new file mode 100644
index 000000000..2cda53f95
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WritableStreamDefaultWriter.rs
@@ -0,0 +1,91 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WritableStreamDefaultWriter , typescript_type = "WritableStreamDefaultWriter")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WritableStreamDefaultWriter` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultWriter`*"]
+ pub type WritableStreamDefaultWriter;
+ # [wasm_bindgen (structural , method , getter , js_class = "WritableStreamDefaultWriter" , js_name = closed)]
+ #[doc = "Getter for the `closed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/closed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultWriter`*"]
+ pub fn closed(this: &WritableStreamDefaultWriter) -> ::js_sys::Promise;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "WritableStreamDefaultWriter" , js_name = desiredSize)]
+ #[doc = "Getter for the `desiredSize` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/desiredSize)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultWriter`*"]
+ pub fn desired_size(this: &WritableStreamDefaultWriter) -> Result<Option<f64>, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "WritableStreamDefaultWriter" , js_name = ready)]
+ #[doc = "Getter for the `ready` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/ready)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultWriter`*"]
+ pub fn ready(this: &WritableStreamDefaultWriter) -> ::js_sys::Promise;
+ #[cfg(feature = "WritableStream")]
+ #[wasm_bindgen(catch, constructor, js_class = "WritableStreamDefaultWriter")]
+ #[doc = "The `new WritableStreamDefaultWriter(..)` constructor, creating a new instance of `WritableStreamDefaultWriter`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/WritableStreamDefaultWriter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStream`, `WritableStreamDefaultWriter`*"]
+ pub fn new(stream: &WritableStream) -> Result<WritableStreamDefaultWriter, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "WritableStreamDefaultWriter" , js_name = abort)]
+ #[doc = "The `abort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/abort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultWriter`*"]
+ pub fn abort(this: &WritableStreamDefaultWriter) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "WritableStreamDefaultWriter" , js_name = abort)]
+ #[doc = "The `abort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/abort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultWriter`*"]
+ pub fn abort_with_reason(
+ this: &WritableStreamDefaultWriter,
+ reason: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "WritableStreamDefaultWriter" , js_name = close)]
+ #[doc = "The `close()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/close)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultWriter`*"]
+ pub fn close(this: &WritableStreamDefaultWriter) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "WritableStreamDefaultWriter" , js_name = releaseLock)]
+ #[doc = "The `releaseLock()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/releaseLock)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultWriter`*"]
+ pub fn release_lock(this: &WritableStreamDefaultWriter);
+ # [wasm_bindgen (method , structural , js_class = "WritableStreamDefaultWriter" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultWriter`*"]
+ pub fn write(this: &WritableStreamDefaultWriter) -> ::js_sys::Promise;
+ # [wasm_bindgen (method , structural , js_class = "WritableStreamDefaultWriter" , js_name = write)]
+ #[doc = "The `write()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/write)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WritableStreamDefaultWriter`*"]
+ pub fn write_with_chunk(
+ this: &WritableStreamDefaultWriter,
+ chunk: &::wasm_bindgen::JsValue,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_XPathExpression.rs b/vendor/web-sys/src/features/gen_XPathExpression.rs
new file mode 100644
index 000000000..6a09c700a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XPathExpression.rs
@@ -0,0 +1,47 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XPathExpression , typescript_type = "XPathExpression")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XPathExpression` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathExpression`*"]
+ pub type XPathExpression;
+ #[cfg(all(feature = "Node", feature = "XPathResult",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "XPathExpression" , js_name = evaluate)]
+ #[doc = "The `evaluate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression/evaluate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `XPathExpression`, `XPathResult`*"]
+ pub fn evaluate(this: &XPathExpression, context_node: &Node) -> Result<XPathResult, JsValue>;
+ #[cfg(all(feature = "Node", feature = "XPathResult",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "XPathExpression" , js_name = evaluate)]
+ #[doc = "The `evaluate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression/evaluate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `XPathExpression`, `XPathResult`*"]
+ pub fn evaluate_with_type(
+ this: &XPathExpression,
+ context_node: &Node,
+ type_: u16,
+ ) -> Result<XPathResult, JsValue>;
+ #[cfg(all(feature = "Node", feature = "XPathResult",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "XPathExpression" , js_name = evaluate)]
+ #[doc = "The `evaluate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression/evaluate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `XPathExpression`, `XPathResult`*"]
+ pub fn evaluate_with_type_and_result(
+ this: &XPathExpression,
+ context_node: &Node,
+ type_: u16,
+ result: Option<&::js_sys::Object>,
+ ) -> Result<XPathResult, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_XPathNsResolver.rs b/vendor/web-sys/src/features/gen_XPathNsResolver.rs
new file mode 100644
index 000000000..742082877
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XPathNsResolver.rs
@@ -0,0 +1,44 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XPathNSResolver)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XPathNsResolver` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathNsResolver`*"]
+ pub type XPathNsResolver;
+}
+impl XPathNsResolver {
+ #[doc = "Construct a new `XPathNsResolver`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathNsResolver`*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[doc = "Change the `lookupNamespaceURI` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathNsResolver`*"]
+ pub fn lookup_namespace_uri(&mut self, val: &::js_sys::Function) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("lookupNamespaceURI"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+impl Default for XPathNsResolver {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_XPathResult.rs b/vendor/web-sys/src/features/gen_XPathResult.rs
new file mode 100644
index 000000000..a006a893d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XPathResult.rs
@@ -0,0 +1,122 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XPathResult , typescript_type = "XPathResult")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XPathResult` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub type XPathResult;
+ # [wasm_bindgen (structural , method , getter , js_class = "XPathResult" , js_name = resultType)]
+ #[doc = "Getter for the `resultType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/resultType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub fn result_type(this: &XPathResult) -> u16;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "XPathResult" , js_name = numberValue)]
+ #[doc = "Getter for the `numberValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/numberValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub fn number_value(this: &XPathResult) -> Result<f64, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "XPathResult" , js_name = stringValue)]
+ #[doc = "Getter for the `stringValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/stringValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub fn string_value(this: &XPathResult) -> Result<String, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "XPathResult" , js_name = booleanValue)]
+ #[doc = "Getter for the `booleanValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/booleanValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub fn boolean_value(this: &XPathResult) -> Result<bool, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "XPathResult" , js_name = singleNodeValue)]
+ #[doc = "Getter for the `singleNodeValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/singleNodeValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `XPathResult`*"]
+ pub fn single_node_value(this: &XPathResult) -> Result<Option<Node>, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "XPathResult" , js_name = invalidIteratorState)]
+ #[doc = "Getter for the `invalidIteratorState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/invalidIteratorState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub fn invalid_iterator_state(this: &XPathResult) -> bool;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "XPathResult" , js_name = snapshotLength)]
+ #[doc = "Getter for the `snapshotLength` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotLength)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub fn snapshot_length(this: &XPathResult) -> Result<u32, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "XPathResult" , js_name = iterateNext)]
+ #[doc = "The `iterateNext()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/iterateNext)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `XPathResult`*"]
+ pub fn iterate_next(this: &XPathResult) -> Result<Option<Node>, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "XPathResult" , js_name = snapshotItem)]
+ #[doc = "The `snapshotItem()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotItem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `XPathResult`*"]
+ pub fn snapshot_item(this: &XPathResult, index: u32) -> Result<Option<Node>, JsValue>;
+}
+impl XPathResult {
+ #[doc = "The `XPathResult.ANY_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub const ANY_TYPE: u16 = 0i64 as u16;
+ #[doc = "The `XPathResult.NUMBER_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub const NUMBER_TYPE: u16 = 1u64 as u16;
+ #[doc = "The `XPathResult.STRING_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub const STRING_TYPE: u16 = 2u64 as u16;
+ #[doc = "The `XPathResult.BOOLEAN_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub const BOOLEAN_TYPE: u16 = 3u64 as u16;
+ #[doc = "The `XPathResult.UNORDERED_NODE_ITERATOR_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub const UNORDERED_NODE_ITERATOR_TYPE: u16 = 4u64 as u16;
+ #[doc = "The `XPathResult.ORDERED_NODE_ITERATOR_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub const ORDERED_NODE_ITERATOR_TYPE: u16 = 5u64 as u16;
+ #[doc = "The `XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub const UNORDERED_NODE_SNAPSHOT_TYPE: u16 = 6u64 as u16;
+ #[doc = "The `XPathResult.ORDERED_NODE_SNAPSHOT_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub const ORDERED_NODE_SNAPSHOT_TYPE: u16 = 7u64 as u16;
+ #[doc = "The `XPathResult.ANY_UNORDERED_NODE_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub const ANY_UNORDERED_NODE_TYPE: u16 = 8u64 as u16;
+ #[doc = "The `XPathResult.FIRST_ORDERED_NODE_TYPE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"]
+ pub const FIRST_ORDERED_NODE_TYPE: u16 = 9u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_XmlDocument.rs b/vendor/web-sys/src/features/gen_XmlDocument.rs
new file mode 100644
index 000000000..d1f2c8585
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XmlDocument.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Document , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = XMLDocument , typescript_type = "XMLDocument")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XmlDocument` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlDocument`*"]
+ pub type XmlDocument;
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLDocument" , js_name = async)]
+ #[doc = "Getter for the `async` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument/async)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlDocument`*"]
+ pub fn r#async(this: &XmlDocument) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "XMLDocument" , js_name = async)]
+ #[doc = "Setter for the `async` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument/async)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlDocument`*"]
+ pub fn set_async(this: &XmlDocument, value: bool);
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLDocument" , js_name = load)]
+ #[doc = "The `load()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument/load)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlDocument`*"]
+ pub fn load(this: &XmlDocument, url: &str) -> Result<bool, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_XmlHttpRequest.rs b/vendor/web-sys/src/features/gen_XmlHttpRequest.rs
new file mode 100644
index 000000000..06522f888
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XmlHttpRequest.rs
@@ -0,0 +1,340 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = XmlHttpRequestEventTarget , extends = EventTarget , extends = :: js_sys :: Object , js_name = XMLHttpRequest , typescript_type = "XMLHttpRequest")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XmlHttpRequest` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub type XmlHttpRequest;
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequest" , js_name = onreadystatechange)]
+ #[doc = "Getter for the `onreadystatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/onreadystatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn onreadystatechange(this: &XmlHttpRequest) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "XMLHttpRequest" , js_name = onreadystatechange)]
+ #[doc = "Setter for the `onreadystatechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/onreadystatechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn set_onreadystatechange(this: &XmlHttpRequest, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequest" , js_name = readyState)]
+ #[doc = "Getter for the `readyState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/readyState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn ready_state(this: &XmlHttpRequest) -> u16;
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequest" , js_name = timeout)]
+ #[doc = "Getter for the `timeout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn timeout(this: &XmlHttpRequest) -> u32;
+ # [wasm_bindgen (structural , method , setter , js_class = "XMLHttpRequest" , js_name = timeout)]
+ #[doc = "Setter for the `timeout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn set_timeout(this: &XmlHttpRequest, value: u32);
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequest" , js_name = withCredentials)]
+ #[doc = "Getter for the `withCredentials` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn with_credentials(this: &XmlHttpRequest) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "XMLHttpRequest" , js_name = withCredentials)]
+ #[doc = "Setter for the `withCredentials` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn set_with_credentials(this: &XmlHttpRequest, value: bool);
+ #[cfg(feature = "XmlHttpRequestUpload")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "XMLHttpRequest" , js_name = upload)]
+ #[doc = "Getter for the `upload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/upload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`, `XmlHttpRequestUpload`*"]
+ pub fn upload(this: &XmlHttpRequest) -> Result<XmlHttpRequestUpload, JsValue>;
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequest" , js_name = responseURL)]
+ #[doc = "Getter for the `responseURL` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseURL)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn response_url(this: &XmlHttpRequest) -> String;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "XMLHttpRequest" , js_name = status)]
+ #[doc = "Getter for the `status` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/status)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn status(this: &XmlHttpRequest) -> Result<u16, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "XMLHttpRequest" , js_name = statusText)]
+ #[doc = "Getter for the `statusText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/statusText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn status_text(this: &XmlHttpRequest) -> Result<String, JsValue>;
+ #[cfg(feature = "XmlHttpRequestResponseType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequest" , js_name = responseType)]
+ #[doc = "Getter for the `responseType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`, `XmlHttpRequestResponseType`*"]
+ pub fn response_type(this: &XmlHttpRequest) -> XmlHttpRequestResponseType;
+ #[cfg(feature = "XmlHttpRequestResponseType")]
+ # [wasm_bindgen (structural , method , setter , js_class = "XMLHttpRequest" , js_name = responseType)]
+ #[doc = "Setter for the `responseType` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`, `XmlHttpRequestResponseType`*"]
+ pub fn set_response_type(this: &XmlHttpRequest, value: XmlHttpRequestResponseType);
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "XMLHttpRequest" , js_name = response)]
+ #[doc = "Getter for the `response` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/response)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn response(this: &XmlHttpRequest) -> Result<::wasm_bindgen::JsValue, JsValue>;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "XMLHttpRequest" , js_name = responseText)]
+ #[doc = "Getter for the `responseText` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn response_text(this: &XmlHttpRequest) -> Result<Option<String>, JsValue>;
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "XMLHttpRequest" , js_name = responseXML)]
+ #[doc = "Getter for the `responseXML` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseXML)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `XmlHttpRequest`*"]
+ pub fn response_xml(this: &XmlHttpRequest) -> Result<Option<Document>, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "XMLHttpRequest")]
+ #[doc = "The `new XmlHttpRequest(..)` constructor, creating a new instance of `XmlHttpRequest`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/XMLHttpRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn new() -> Result<XmlHttpRequest, JsValue>;
+ #[wasm_bindgen(catch, constructor, js_class = "XMLHttpRequest")]
+ #[doc = "The `new XmlHttpRequest(..)` constructor, creating a new instance of `XmlHttpRequest`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/XMLHttpRequest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn new_with_ignored(ignored: &str) -> Result<XmlHttpRequest, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = abort)]
+ #[doc = "The `abort()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn abort(this: &XmlHttpRequest) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = getAllResponseHeaders)]
+ #[doc = "The `getAllResponseHeaders()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/getAllResponseHeaders)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn get_all_response_headers(this: &XmlHttpRequest) -> Result<String, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = getResponseHeader)]
+ #[doc = "The `getResponseHeader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/getResponseHeader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn get_response_header(
+ this: &XmlHttpRequest,
+ header: &str,
+ ) -> Result<Option<String>, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn open(this: &XmlHttpRequest, method: &str, url: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn open_with_async(
+ this: &XmlHttpRequest,
+ method: &str,
+ url: &str,
+ r#async: bool,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn open_with_async_and_user(
+ this: &XmlHttpRequest,
+ method: &str,
+ url: &str,
+ r#async: bool,
+ user: Option<&str>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = open)]
+ #[doc = "The `open()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn open_with_async_and_user_and_password(
+ this: &XmlHttpRequest,
+ method: &str,
+ url: &str,
+ r#async: bool,
+ user: Option<&str>,
+ password: Option<&str>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = overrideMimeType)]
+ #[doc = "The `overrideMimeType()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/overrideMimeType)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn override_mime_type(this: &XmlHttpRequest, mime: &str) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn send(this: &XmlHttpRequest) -> Result<(), JsValue>;
+ #[cfg(feature = "Document")]
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `XmlHttpRequest`*"]
+ pub fn send_with_opt_document(
+ this: &XmlHttpRequest,
+ body: Option<&Document>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "Blob")]
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Blob`, `XmlHttpRequest`*"]
+ pub fn send_with_opt_blob(this: &XmlHttpRequest, body: Option<&Blob>) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn send_with_opt_buffer_source(
+ this: &XmlHttpRequest,
+ body: Option<&::js_sys::Object>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn send_with_opt_u8_array(
+ this: &XmlHttpRequest,
+ body: Option<&[u8]>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "FormData")]
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `FormData`, `XmlHttpRequest`*"]
+ pub fn send_with_opt_form_data(
+ this: &XmlHttpRequest,
+ body: Option<&FormData>,
+ ) -> Result<(), JsValue>;
+ #[cfg(feature = "UrlSearchParams")]
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`, `XmlHttpRequest`*"]
+ pub fn send_with_opt_url_search_params(
+ this: &XmlHttpRequest,
+ body: Option<&UrlSearchParams>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn send_with_opt_str(this: &XmlHttpRequest, body: Option<&str>) -> Result<(), JsValue>;
+ #[cfg(feature = "ReadableStream")]
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = send)]
+ #[doc = "The `send()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `XmlHttpRequest`*"]
+ pub fn send_with_opt_readable_stream(
+ this: &XmlHttpRequest,
+ body: Option<&ReadableStream>,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLHttpRequest" , js_name = setRequestHeader)]
+ #[doc = "The `setRequestHeader()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/setRequestHeader)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub fn set_request_header(
+ this: &XmlHttpRequest,
+ header: &str,
+ value: &str,
+ ) -> Result<(), JsValue>;
+}
+impl XmlHttpRequest {
+ #[doc = "The `XMLHttpRequest.UNSENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub const UNSENT: u16 = 0i64 as u16;
+ #[doc = "The `XMLHttpRequest.OPENED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub const OPENED: u16 = 1u64 as u16;
+ #[doc = "The `XMLHttpRequest.HEADERS_RECEIVED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub const HEADERS_RECEIVED: u16 = 2u64 as u16;
+ #[doc = "The `XMLHttpRequest.LOADING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub const LOADING: u16 = 3u64 as u16;
+ #[doc = "The `XMLHttpRequest.DONE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"]
+ pub const DONE: u16 = 4u64 as u16;
+}
diff --git a/vendor/web-sys/src/features/gen_XmlHttpRequestEventTarget.rs b/vendor/web-sys/src/features/gen_XmlHttpRequestEventTarget.rs
new file mode 100644
index 000000000..f4e90fd6c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XmlHttpRequestEventTarget.rs
@@ -0,0 +1,112 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = XMLHttpRequestEventTarget , typescript_type = "XMLHttpRequestEventTarget")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XmlHttpRequestEventTarget` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub type XmlHttpRequestEventTarget;
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = onloadstart)]
+ #[doc = "Getter for the `onloadstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn onloadstart(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = onloadstart)]
+ #[doc = "Setter for the `onloadstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn set_onloadstart(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = onprogress)]
+ #[doc = "Getter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn onprogress(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = onprogress)]
+ #[doc = "Setter for the `onprogress` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onprogress)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn set_onprogress(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = onabort)]
+ #[doc = "Getter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn onabort(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = onabort)]
+ #[doc = "Setter for the `onabort` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onabort)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn set_onabort(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = onerror)]
+ #[doc = "Getter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn onerror(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = onerror)]
+ #[doc = "Setter for the `onerror` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onerror)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn set_onerror(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = onload)]
+ #[doc = "Getter for the `onload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn onload(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = onload)]
+ #[doc = "Setter for the `onload` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn set_onload(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = ontimeout)]
+ #[doc = "Getter for the `ontimeout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/ontimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn ontimeout(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = ontimeout)]
+ #[doc = "Setter for the `ontimeout` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/ontimeout)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn set_ontimeout(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
+ # [wasm_bindgen (structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = onloadend)]
+ #[doc = "Getter for the `onloadend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn onloadend(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
+ # [wasm_bindgen (structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = onloadend)]
+ #[doc = "Setter for the `onloadend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
+ pub fn set_onloadend(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
+}
diff --git a/vendor/web-sys/src/features/gen_XmlHttpRequestResponseType.rs b/vendor/web-sys/src/features/gen_XmlHttpRequestResponseType.rs
new file mode 100644
index 000000000..8144e3e07
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XmlHttpRequestResponseType.rs
@@ -0,0 +1,15 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+#[doc = "The `XmlHttpRequestResponseType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestResponseType`*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum XmlHttpRequestResponseType {
+ None = "",
+ Arraybuffer = "arraybuffer",
+ Blob = "blob",
+ Document = "document",
+ Json = "json",
+ Text = "text",
+}
diff --git a/vendor/web-sys/src/features/gen_XmlHttpRequestUpload.rs b/vendor/web-sys/src/features/gen_XmlHttpRequestUpload.rs
new file mode 100644
index 000000000..d21af9af4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XmlHttpRequestUpload.rs
@@ -0,0 +1,14 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = XmlHttpRequestEventTarget , extends = EventTarget , extends = :: js_sys :: Object , js_name = XMLHttpRequestUpload , typescript_type = "XMLHttpRequestUpload")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XmlHttpRequestUpload` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestUpload)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestUpload`*"]
+ pub type XmlHttpRequestUpload;
+}
diff --git a/vendor/web-sys/src/features/gen_XmlSerializer.rs b/vendor/web-sys/src/features/gen_XmlSerializer.rs
new file mode 100644
index 000000000..8243e9696
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XmlSerializer.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XMLSerializer , typescript_type = "XMLSerializer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XmlSerializer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLSerializer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlSerializer`*"]
+ pub type XmlSerializer;
+ #[wasm_bindgen(catch, constructor, js_class = "XMLSerializer")]
+ #[doc = "The `new XmlSerializer(..)` constructor, creating a new instance of `XmlSerializer`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLSerializer/XMLSerializer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XmlSerializer`*"]
+ pub fn new() -> Result<XmlSerializer, JsValue>;
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "XMLSerializer" , js_name = serializeToString)]
+ #[doc = "The `serializeToString()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLSerializer/serializeToString)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `XmlSerializer`*"]
+ pub fn serialize_to_string(this: &XmlSerializer, root: &Node) -> Result<String, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_XrBoundedReferenceSpace.rs b/vendor/web-sys/src/features/gen_XrBoundedReferenceSpace.rs
new file mode 100644
index 000000000..79b217a08
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrBoundedReferenceSpace.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = XrReferenceSpace , extends = XrSpace , extends = EventTarget , extends = :: js_sys :: Object , js_name = XRBoundedReferenceSpace , typescript_type = "XRBoundedReferenceSpace")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrBoundedReferenceSpace` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRBoundedReferenceSpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrBoundedReferenceSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrBoundedReferenceSpace;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRBoundedReferenceSpace" , js_name = boundsGeometry)]
+ #[doc = "Getter for the `boundsGeometry` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRBoundedReferenceSpace/boundsGeometry)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrBoundedReferenceSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bounds_geometry(this: &XrBoundedReferenceSpace) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_XrEye.rs b/vendor/web-sys/src/features/gen_XrEye.rs
new file mode 100644
index 000000000..a09d8100c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrEye.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `XrEye` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `XrEye`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum XrEye {
+ None = "none",
+ Left = "left",
+ Right = "right",
+}
diff --git a/vendor/web-sys/src/features/gen_XrFrame.rs b/vendor/web-sys/src/features/gen_XrFrame.rs
new file mode 100644
index 000000000..215202271
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrFrame.rs
@@ -0,0 +1,116 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRFrame , typescript_type = "XRFrame")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrFrame` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrFrame;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSession")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRFrame" , js_name = session)]
+ #[doc = "Getter for the `session` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRFrame/session)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrFrame`, `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn session(this: &XrFrame) -> XrSession;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRFrame" , js_name = predictedDisplayTime)]
+ #[doc = "Getter for the `predictedDisplayTime` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRFrame/predictedDisplayTime)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn predicted_display_time(this: &XrFrame) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "XRFrame" , js_name = fillJointRadii)]
+ #[doc = "The `fillJointRadii()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRFrame/fillJointRadii)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrFrame`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn fill_joint_radii(
+ this: &XrFrame,
+ joint_spaces: &::wasm_bindgen::JsValue,
+ radii: &mut [f32],
+ ) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSpace")]
+ # [wasm_bindgen (method , structural , js_class = "XRFrame" , js_name = fillPoses)]
+ #[doc = "The `fillPoses()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRFrame/fillPoses)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrFrame`, `XrSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn fill_poses(
+ this: &XrFrame,
+ spaces: &::wasm_bindgen::JsValue,
+ base_space: &XrSpace,
+ transforms: &mut [f32],
+ ) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "XrJointPose", feature = "XrJointSpace", feature = "XrSpace",))]
+ # [wasm_bindgen (method , structural , js_class = "XRFrame" , js_name = getJointPose)]
+ #[doc = "The `getJointPose()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRFrame/getJointPose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrFrame`, `XrJointPose`, `XrJointSpace`, `XrSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_joint_pose(
+ this: &XrFrame,
+ joint: &XrJointSpace,
+ base_space: &XrSpace,
+ ) -> Option<XrJointPose>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "XrPose", feature = "XrSpace",))]
+ # [wasm_bindgen (method , structural , js_class = "XRFrame" , js_name = getPose)]
+ #[doc = "The `getPose()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRFrame/getPose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrFrame`, `XrPose`, `XrSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_pose(this: &XrFrame, space: &XrSpace, base_space: &XrSpace) -> Option<XrPose>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "XrReferenceSpace", feature = "XrViewerPose",))]
+ # [wasm_bindgen (method , structural , js_class = "XRFrame" , js_name = getViewerPose)]
+ #[doc = "The `getViewerPose()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRFrame/getViewerPose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrFrame`, `XrReferenceSpace`, `XrViewerPose`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_viewer_pose(
+ this: &XrFrame,
+ reference_space: &XrReferenceSpace,
+ ) -> Option<XrViewerPose>;
+}
diff --git a/vendor/web-sys/src/features/gen_XrHand.rs b/vendor/web-sys/src/features/gen_XrHand.rs
new file mode 100644
index 000000000..c0484be8f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrHand.rs
@@ -0,0 +1,41 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRHand , typescript_type = "XRHand")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrHand` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRHand)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrHand`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrHand;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRHand" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRHand/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrHand`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn size(this: &XrHand) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "XrHandJoint", feature = "XrJointSpace",))]
+ # [wasm_bindgen (method , structural , js_class = "XRHand" , js_name = get)]
+ #[doc = "The `get()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRHand/get)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrHand`, `XrHandJoint`, `XrJointSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get(this: &XrHand, key: XrHandJoint) -> XrJointSpace;
+}
diff --git a/vendor/web-sys/src/features/gen_XrHandJoint.rs b/vendor/web-sys/src/features/gen_XrHandJoint.rs
new file mode 100644
index 000000000..85dd94563
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrHandJoint.rs
@@ -0,0 +1,38 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `XrHandJoint` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `XrHandJoint`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum XrHandJoint {
+ Wrist = "wrist",
+ ThumbMetacarpal = "thumb-metacarpal",
+ ThumbPhalanxProximal = "thumb-phalanx-proximal",
+ ThumbPhalanxDistal = "thumb-phalanx-distal",
+ ThumbTip = "thumb-tip",
+ IndexFingerMetacarpal = "index-finger-metacarpal",
+ IndexFingerPhalanxProximal = "index-finger-phalanx-proximal",
+ IndexFingerPhalanxIntermediate = "index-finger-phalanx-intermediate",
+ IndexFingerPhalanxDistal = "index-finger-phalanx-distal",
+ IndexFingerTip = "index-finger-tip",
+ MiddleFingerMetacarpal = "middle-finger-metacarpal",
+ MiddleFingerPhalanxProximal = "middle-finger-phalanx-proximal",
+ MiddleFingerPhalanxIntermediate = "middle-finger-phalanx-intermediate",
+ MiddleFingerPhalanxDistal = "middle-finger-phalanx-distal",
+ MiddleFingerTip = "middle-finger-tip",
+ RingFingerMetacarpal = "ring-finger-metacarpal",
+ RingFingerPhalanxProximal = "ring-finger-phalanx-proximal",
+ RingFingerPhalanxIntermediate = "ring-finger-phalanx-intermediate",
+ RingFingerPhalanxDistal = "ring-finger-phalanx-distal",
+ RingFingerTip = "ring-finger-tip",
+ PinkyFingerMetacarpal = "pinky-finger-metacarpal",
+ PinkyFingerPhalanxProximal = "pinky-finger-phalanx-proximal",
+ PinkyFingerPhalanxIntermediate = "pinky-finger-phalanx-intermediate",
+ PinkyFingerPhalanxDistal = "pinky-finger-phalanx-distal",
+ PinkyFingerTip = "pinky-finger-tip",
+}
diff --git a/vendor/web-sys/src/features/gen_XrHandedness.rs b/vendor/web-sys/src/features/gen_XrHandedness.rs
new file mode 100644
index 000000000..a3095d7b7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrHandedness.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `XrHandedness` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `XrHandedness`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum XrHandedness {
+ None = "none",
+ Left = "left",
+ Right = "right",
+}
diff --git a/vendor/web-sys/src/features/gen_XrInputSource.rs b/vendor/web-sys/src/features/gen_XrInputSource.rs
new file mode 100644
index 000000000..e02f1e927
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrInputSource.rs
@@ -0,0 +1,101 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRInputSource , typescript_type = "XRInputSource")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrInputSource` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSource`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrInputSource;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrHandedness")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSource" , js_name = handedness)]
+ #[doc = "Getter for the `handedness` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSource/handedness)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrHandedness`, `XrInputSource`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn handedness(this: &XrInputSource) -> XrHandedness;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrTargetRayMode")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSource" , js_name = targetRayMode)]
+ #[doc = "Getter for the `targetRayMode` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSource/targetRayMode)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSource`, `XrTargetRayMode`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn target_ray_mode(this: &XrInputSource) -> XrTargetRayMode;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSpace")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSource" , js_name = targetRaySpace)]
+ #[doc = "Getter for the `targetRaySpace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSource/targetRaySpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSource`, `XrSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn target_ray_space(this: &XrInputSource) -> XrSpace;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSpace")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSource" , js_name = gripSpace)]
+ #[doc = "Getter for the `gripSpace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSource/gripSpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSource`, `XrSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn grip_space(this: &XrInputSource) -> Option<XrSpace>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSource" , js_name = profiles)]
+ #[doc = "Getter for the `profiles` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSource/profiles)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSource`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn profiles(this: &XrInputSource) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "Gamepad")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSource" , js_name = gamepad)]
+ #[doc = "Getter for the `gamepad` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSource/gamepad)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Gamepad`, `XrInputSource`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn gamepad(this: &XrInputSource) -> Option<Gamepad>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrHand")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSource" , js_name = hand)]
+ #[doc = "Getter for the `hand` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSource/hand)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrHand`, `XrInputSource`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn hand(this: &XrInputSource) -> Option<XrHand>;
+}
diff --git a/vendor/web-sys/src/features/gen_XrInputSourceArray.rs b/vendor/web-sys/src/features/gen_XrInputSourceArray.rs
new file mode 100644
index 000000000..72c723b28
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrInputSourceArray.rs
@@ -0,0 +1,41 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRInputSourceArray , typescript_type = "XRInputSourceArray")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrInputSourceArray` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSourceArray)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourceArray`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrInputSourceArray;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSourceArray" , js_name = length)]
+ #[doc = "Getter for the `length` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSourceArray/length)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourceArray`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn length(this: &XrInputSourceArray) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrInputSource")]
+ #[wasm_bindgen(method, structural, js_class = "XRInputSourceArray", indexing_getter)]
+ #[doc = "Indexing getter."]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSource`, `XrInputSourceArray`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get(this: &XrInputSourceArray, index: u32) -> Option<XrInputSource>;
+}
diff --git a/vendor/web-sys/src/features/gen_XrInputSourceEvent.rs b/vendor/web-sys/src/features/gen_XrInputSourceEvent.rs
new file mode 100644
index 000000000..3efc22ae4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrInputSourceEvent.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = XRInputSourceEvent , typescript_type = "XRInputSourceEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrInputSourceEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSourceEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourceEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrInputSourceEvent;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrFrame")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSourceEvent" , js_name = frame)]
+ #[doc = "Getter for the `frame` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSourceEvent/frame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrFrame`, `XrInputSourceEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn frame(this: &XrInputSourceEvent) -> XrFrame;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrInputSource")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSourceEvent" , js_name = inputSource)]
+ #[doc = "Getter for the `inputSource` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSourceEvent/inputSource)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSource`, `XrInputSourceEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn input_source(this: &XrInputSourceEvent) -> XrInputSource;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrInputSourceEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "XRInputSourceEvent")]
+ #[doc = "The `new XrInputSourceEvent(..)` constructor, creating a new instance of `XrInputSourceEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSourceEvent/XRInputSourceEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourceEvent`, `XrInputSourceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &XrInputSourceEventInit,
+ ) -> Result<XrInputSourceEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_XrInputSourceEventInit.rs b/vendor/web-sys/src/features/gen_XrInputSourceEventInit.rs
new file mode 100644
index 000000000..64f9daf94
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrInputSourceEventInit.rs
@@ -0,0 +1,136 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRInputSourceEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrInputSourceEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrInputSourceEventInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl XrInputSourceEventInit {
+ #[cfg(all(feature = "XrFrame", feature = "XrInputSource",))]
+ #[doc = "Construct a new `XrInputSourceEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrFrame`, `XrInputSource`, `XrInputSourceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(frame: &XrFrame, input_source: &XrInputSource) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.frame(frame);
+ ret.input_source(input_source);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrFrame")]
+ #[doc = "Change the `frame` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrFrame`, `XrInputSourceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn frame(&mut self, val: &XrFrame) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("frame"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrInputSource")]
+ #[doc = "Change the `inputSource` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSource`, `XrInputSourceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn input_source(&mut self, val: &XrInputSource) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("inputSource"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_XrInputSourcesChangeEvent.rs b/vendor/web-sys/src/features/gen_XrInputSourcesChangeEvent.rs
new file mode 100644
index 000000000..e20a89cb8
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrInputSourcesChangeEvent.rs
@@ -0,0 +1,67 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = XRInputSourcesChangeEvent , typescript_type = "XRInputSourcesChangeEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrInputSourcesChangeEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSourcesChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrInputSourcesChangeEvent;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSession")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSourcesChangeEvent" , js_name = session)]
+ #[doc = "Getter for the `session` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSourcesChangeEvent/session)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEvent`, `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn session(this: &XrInputSourcesChangeEvent) -> XrSession;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSourcesChangeEvent" , js_name = added)]
+ #[doc = "Getter for the `added` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSourcesChangeEvent/added)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn added(this: &XrInputSourcesChangeEvent) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRInputSourcesChangeEvent" , js_name = removed)]
+ #[doc = "Getter for the `removed` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSourcesChangeEvent/removed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn removed(this: &XrInputSourcesChangeEvent) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrInputSourcesChangeEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "XRInputSourcesChangeEvent")]
+ #[doc = "The `new XrInputSourcesChangeEvent(..)` constructor, creating a new instance of `XrInputSourcesChangeEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRInputSourcesChangeEvent/XRInputSourcesChangeEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEvent`, `XrInputSourcesChangeEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &XrInputSourcesChangeEventInit,
+ ) -> Result<XrInputSourcesChangeEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_XrInputSourcesChangeEventInit.rs b/vendor/web-sys/src/features/gen_XrInputSourcesChangeEventInit.rs
new file mode 100644
index 000000000..e23c3df36
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrInputSourcesChangeEventInit.rs
@@ -0,0 +1,161 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRInputSourcesChangeEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrInputSourcesChangeEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrInputSourcesChangeEventInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl XrInputSourcesChangeEventInit {
+ #[cfg(feature = "XrSession")]
+ #[doc = "Construct a new `XrInputSourcesChangeEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEventInit`, `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ added: &::wasm_bindgen::JsValue,
+ removed: &::wasm_bindgen::JsValue,
+ session: &XrSession,
+ ) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.added(added);
+ ret.removed(removed);
+ ret.session(session);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `added` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn added(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("added"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `removed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn removed(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("removed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSession")]
+ #[doc = "Change the `session` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourcesChangeEventInit`, `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn session(&mut self, val: &XrSession) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("session"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_XrJointPose.rs b/vendor/web-sys/src/features/gen_XrJointPose.rs
new file mode 100644
index 000000000..0145afb57
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrJointPose.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = XrPose , extends = :: js_sys :: Object , js_name = XRJointPose , typescript_type = "XRJointPose")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrJointPose` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRJointPose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrJointPose`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrJointPose;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRJointPose" , js_name = radius)]
+ #[doc = "Getter for the `radius` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRJointPose/radius)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrJointPose`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn radius(this: &XrJointPose) -> f32;
+}
diff --git a/vendor/web-sys/src/features/gen_XrJointSpace.rs b/vendor/web-sys/src/features/gen_XrJointSpace.rs
new file mode 100644
index 000000000..68801e9c4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrJointSpace.rs
@@ -0,0 +1,30 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = XrSpace , extends = EventTarget , extends = :: js_sys :: Object , js_name = XRJointSpace , typescript_type = "XRJointSpace")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrJointSpace` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRJointSpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrJointSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrJointSpace;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrHandJoint")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRJointSpace" , js_name = jointName)]
+ #[doc = "Getter for the `jointName` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRJointSpace/jointName)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrHandJoint`, `XrJointSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn joint_name(this: &XrJointSpace) -> XrHandJoint;
+}
diff --git a/vendor/web-sys/src/features/gen_XrLayer.rs b/vendor/web-sys/src/features/gen_XrLayer.rs
new file mode 100644
index 000000000..a68ea54d3
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrLayer.rs
@@ -0,0 +1,18 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = XRLayer , typescript_type = "XRLayer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrLayer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRLayer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrLayer;
+}
diff --git a/vendor/web-sys/src/features/gen_XrPermissionDescriptor.rs b/vendor/web-sys/src/features/gen_XrPermissionDescriptor.rs
new file mode 100644
index 000000000..ce11f7579
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrPermissionDescriptor.rs
@@ -0,0 +1,110 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRPermissionDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrPermissionDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrPermissionDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl XrPermissionDescriptor {
+ #[cfg(feature = "PermissionName")]
+ #[doc = "Construct a new `XrPermissionDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionName`, `XrPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(name: PermissionName) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "PermissionName")]
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionName`, `XrPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn name(&mut self, val: PermissionName) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSessionMode")]
+ #[doc = "Change the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrPermissionDescriptor`, `XrSessionMode`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn mode(&mut self, val: XrSessionMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("mode"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `optionalFeatures` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn optional_features(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("optionalFeatures"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `requiredFeatures` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn required_features(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("requiredFeatures"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_XrPermissionStatus.rs b/vendor/web-sys/src/features/gen_XrPermissionStatus.rs
new file mode 100644
index 000000000..ec403387b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrPermissionStatus.rs
@@ -0,0 +1,40 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = PermissionStatus , extends = EventTarget , extends = :: js_sys :: Object , js_name = XRPermissionStatus , typescript_type = "XRPermissionStatus")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrPermissionStatus` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRPermissionStatus)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrPermissionStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrPermissionStatus;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRPermissionStatus" , js_name = granted)]
+ #[doc = "Getter for the `granted` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRPermissionStatus/granted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrPermissionStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn granted(this: &XrPermissionStatus) -> ::js_sys::Array;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRPermissionStatus" , js_name = granted)]
+ #[doc = "Setter for the `granted` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRPermissionStatus/granted)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrPermissionStatus`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_granted(this: &XrPermissionStatus, value: &::wasm_bindgen::JsValue);
+}
diff --git a/vendor/web-sys/src/features/gen_XrPose.rs b/vendor/web-sys/src/features/gen_XrPose.rs
new file mode 100644
index 000000000..bbdb63b33
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrPose.rs
@@ -0,0 +1,65 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRPose , typescript_type = "XRPose")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrPose` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRPose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrPose`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrPose;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrRigidTransform")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRPose" , js_name = transform)]
+ #[doc = "Getter for the `transform` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRPose/transform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrPose`, `XrRigidTransform`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn transform(this: &XrPose) -> XrRigidTransform;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DomPointReadOnly")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRPose" , js_name = linearVelocity)]
+ #[doc = "Getter for the `linearVelocity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRPose/linearVelocity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`, `XrPose`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn linear_velocity(this: &XrPose) -> Option<DomPointReadOnly>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DomPointReadOnly")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRPose" , js_name = angularVelocity)]
+ #[doc = "Getter for the `angularVelocity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRPose/angularVelocity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`, `XrPose`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn angular_velocity(this: &XrPose) -> Option<DomPointReadOnly>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRPose" , js_name = emulatedPosition)]
+ #[doc = "Getter for the `emulatedPosition` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRPose/emulatedPosition)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrPose`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn emulated_position(this: &XrPose) -> bool;
+}
diff --git a/vendor/web-sys/src/features/gen_XrReferenceSpace.rs b/vendor/web-sys/src/features/gen_XrReferenceSpace.rs
new file mode 100644
index 000000000..3ca6d5a12
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrReferenceSpace.rs
@@ -0,0 +1,55 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = XrSpace , extends = EventTarget , extends = :: js_sys :: Object , js_name = XRReferenceSpace , typescript_type = "XRReferenceSpace")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrReferenceSpace` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRReferenceSpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrReferenceSpace;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRReferenceSpace" , js_name = onreset)]
+ #[doc = "Getter for the `onreset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRReferenceSpace/onreset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onreset(this: &XrReferenceSpace) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRReferenceSpace" , js_name = onreset)]
+ #[doc = "Setter for the `onreset` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRReferenceSpace/onreset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onreset(this: &XrReferenceSpace, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrRigidTransform")]
+ # [wasm_bindgen (method , structural , js_class = "XRReferenceSpace" , js_name = getOffsetReferenceSpace)]
+ #[doc = "The `getOffsetReferenceSpace()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRReferenceSpace/getOffsetReferenceSpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpace`, `XrRigidTransform`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_offset_reference_space(
+ this: &XrReferenceSpace,
+ origin_offset: &XrRigidTransform,
+ ) -> XrReferenceSpace;
+}
diff --git a/vendor/web-sys/src/features/gen_XrReferenceSpaceEvent.rs b/vendor/web-sys/src/features/gen_XrReferenceSpaceEvent.rs
new file mode 100644
index 000000000..b67712713
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrReferenceSpaceEvent.rs
@@ -0,0 +1,57 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = XRReferenceSpaceEvent , typescript_type = "XRReferenceSpaceEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrReferenceSpaceEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRReferenceSpaceEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpaceEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrReferenceSpaceEvent;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrReferenceSpace")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRReferenceSpaceEvent" , js_name = referenceSpace)]
+ #[doc = "Getter for the `referenceSpace` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRReferenceSpaceEvent/referenceSpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpace`, `XrReferenceSpaceEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn reference_space(this: &XrReferenceSpaceEvent) -> XrReferenceSpace;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrRigidTransform")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRReferenceSpaceEvent" , js_name = transform)]
+ #[doc = "Getter for the `transform` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRReferenceSpaceEvent/transform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpaceEvent`, `XrRigidTransform`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn transform(this: &XrReferenceSpaceEvent) -> Option<XrRigidTransform>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrReferenceSpaceEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "XRReferenceSpaceEvent")]
+ #[doc = "The `new XrReferenceSpaceEvent(..)` constructor, creating a new instance of `XrReferenceSpaceEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRReferenceSpaceEvent/XRReferenceSpaceEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpaceEvent`, `XrReferenceSpaceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &XrReferenceSpaceEventInit,
+ ) -> Result<XrReferenceSpaceEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_XrReferenceSpaceEventInit.rs b/vendor/web-sys/src/features/gen_XrReferenceSpaceEventInit.rs
new file mode 100644
index 000000000..45b6efb64
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrReferenceSpaceEventInit.rs
@@ -0,0 +1,139 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRReferenceSpaceEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrReferenceSpaceEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpaceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrReferenceSpaceEventInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl XrReferenceSpaceEventInit {
+ #[cfg(feature = "XrReferenceSpace")]
+ #[doc = "Construct a new `XrReferenceSpaceEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpace`, `XrReferenceSpaceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(reference_space: &XrReferenceSpace) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.reference_space(reference_space);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpaceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpaceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpaceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrReferenceSpace")]
+ #[doc = "Change the `referenceSpace` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpace`, `XrReferenceSpaceEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn reference_space(&mut self, val: &XrReferenceSpace) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("referenceSpace"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrRigidTransform")]
+ #[doc = "Change the `transform` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpaceEventInit`, `XrRigidTransform`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn transform(&mut self, val: Option<&XrRigidTransform>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("transform"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_XrReferenceSpaceType.rs b/vendor/web-sys/src/features/gen_XrReferenceSpaceType.rs
new file mode 100644
index 000000000..6801e0f01
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrReferenceSpaceType.rs
@@ -0,0 +1,18 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `XrReferenceSpaceType` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `XrReferenceSpaceType`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum XrReferenceSpaceType {
+ Viewer = "viewer",
+ Local = "local",
+ LocalFloor = "local-floor",
+ BoundedFloor = "bounded-floor",
+ Unbounded = "unbounded",
+}
diff --git a/vendor/web-sys/src/features/gen_XrRenderState.rs b/vendor/web-sys/src/features/gen_XrRenderState.rs
new file mode 100644
index 000000000..98781adb7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrRenderState.rs
@@ -0,0 +1,63 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRRenderState , typescript_type = "XRRenderState")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrRenderState` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRenderState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrRenderState;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRRenderState" , js_name = depthNear)]
+ #[doc = "Getter for the `depthNear` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRenderState/depthNear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_near(this: &XrRenderState) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRRenderState" , js_name = depthFar)]
+ #[doc = "Getter for the `depthFar` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRenderState/depthFar)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_far(this: &XrRenderState) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRRenderState" , js_name = inlineVerticalFieldOfView)]
+ #[doc = "Getter for the `inlineVerticalFieldOfView` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRenderState/inlineVerticalFieldOfView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn inline_vertical_field_of_view(this: &XrRenderState) -> Option<f64>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrWebGlLayer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRRenderState" , js_name = baseLayer)]
+ #[doc = "Getter for the `baseLayer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRenderState/baseLayer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderState`, `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn base_layer(this: &XrRenderState) -> Option<XrWebGlLayer>;
+}
diff --git a/vendor/web-sys/src/features/gen_XrRenderStateInit.rs b/vendor/web-sys/src/features/gen_XrRenderStateInit.rs
new file mode 100644
index 000000000..b3d5821aa
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrRenderStateInit.rs
@@ -0,0 +1,139 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRRenderStateInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrRenderStateInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderStateInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrRenderStateInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl XrRenderStateInit {
+ #[doc = "Construct a new `XrRenderStateInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderStateInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrWebGlLayer")]
+ #[doc = "Change the `baseLayer` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderStateInit`, `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn base_layer(&mut self, val: Option<&XrWebGlLayer>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("baseLayer"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `depthFar` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderStateInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_far(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthFar"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `depthNear` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderStateInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth_near(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("depthNear"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `inlineVerticalFieldOfView` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderStateInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn inline_vertical_field_of_view(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("inlineVerticalFieldOfView"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `layers` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderStateInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn layers(&mut self, val: Option<&::wasm_bindgen::JsValue>) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r =
+ ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("layers"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for XrRenderStateInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_XrRigidTransform.rs b/vendor/web-sys/src/features/gen_XrRigidTransform.rs
new file mode 100644
index 000000000..a171e4e51
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrRigidTransform.rs
@@ -0,0 +1,102 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRRigidTransform , typescript_type = "XRRigidTransform")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrRigidTransform` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRigidTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRigidTransform`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrRigidTransform;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DomPointReadOnly")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRRigidTransform" , js_name = position)]
+ #[doc = "Getter for the `position` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRigidTransform/position)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`, `XrRigidTransform`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn position(this: &XrRigidTransform) -> DomPointReadOnly;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DomPointReadOnly")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRRigidTransform" , js_name = orientation)]
+ #[doc = "Getter for the `orientation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRigidTransform/orientation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`, `XrRigidTransform`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn orientation(this: &XrRigidTransform) -> DomPointReadOnly;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRRigidTransform" , js_name = matrix)]
+ #[doc = "Getter for the `matrix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRigidTransform/matrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRigidTransform`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn matrix(this: &XrRigidTransform) -> Vec<f32>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRRigidTransform" , js_name = inverse)]
+ #[doc = "Getter for the `inverse` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRigidTransform/inverse)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRigidTransform`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn inverse(this: &XrRigidTransform) -> XrRigidTransform;
+ #[cfg(web_sys_unstable_apis)]
+ #[wasm_bindgen(catch, constructor, js_class = "XRRigidTransform")]
+ #[doc = "The `new XrRigidTransform(..)` constructor, creating a new instance of `XrRigidTransform`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRigidTransform/XRRigidTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRigidTransform`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Result<XrRigidTransform, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DomPointInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "XRRigidTransform")]
+ #[doc = "The `new XrRigidTransform(..)` constructor, creating a new instance of `XrRigidTransform`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRigidTransform/XRRigidTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `XrRigidTransform`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_position(position: &DomPointInit) -> Result<XrRigidTransform, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "DomPointInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "XRRigidTransform")]
+ #[doc = "The `new XrRigidTransform(..)` constructor, creating a new instance of `XrRigidTransform`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRRigidTransform/XRRigidTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `XrRigidTransform`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_position_and_orientation(
+ position: &DomPointInit,
+ orientation: &DomPointInit,
+ ) -> Result<XrRigidTransform, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_XrSession.rs b/vendor/web-sys/src/features/gen_XrSession.rs
new file mode 100644
index 000000000..48e4bc34c
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrSession.rs
@@ -0,0 +1,378 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = XRSession , typescript_type = "XRSession")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrSession` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrSession;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrVisibilityState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = visibilityState)]
+ #[doc = "Getter for the `visibilityState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/visibilityState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`, `XrVisibilityState`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn visibility_state(this: &XrSession) -> XrVisibilityState;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = frameRate)]
+ #[doc = "Getter for the `frameRate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/frameRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn frame_rate(this: &XrSession) -> Option<f32>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = supportedFrameRates)]
+ #[doc = "Getter for the `supportedFrameRates` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/supportedFrameRates)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn supported_frame_rates(this: &XrSession) -> Option<Vec<f32>>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrRenderState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = renderState)]
+ #[doc = "Getter for the `renderState` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/renderState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderState`, `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn render_state(this: &XrSession) -> XrRenderState;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrInputSourceArray")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = inputSources)]
+ #[doc = "Getter for the `inputSources` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/inputSources)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrInputSourceArray`, `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn input_sources(this: &XrSession) -> XrInputSourceArray;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = onend)]
+ #[doc = "Getter for the `onend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onend(this: &XrSession) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRSession" , js_name = onend)]
+ #[doc = "Setter for the `onend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onend(this: &XrSession, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = oninputsourceschange)]
+ #[doc = "Getter for the `oninputsourceschange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/oninputsourceschange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn oninputsourceschange(this: &XrSession) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRSession" , js_name = oninputsourceschange)]
+ #[doc = "Setter for the `oninputsourceschange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/oninputsourceschange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_oninputsourceschange(this: &XrSession, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = onselect)]
+ #[doc = "Getter for the `onselect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onselect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onselect(this: &XrSession) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRSession" , js_name = onselect)]
+ #[doc = "Setter for the `onselect` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onselect)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onselect(this: &XrSession, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = onselectstart)]
+ #[doc = "Getter for the `onselectstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onselectstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onselectstart(this: &XrSession) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRSession" , js_name = onselectstart)]
+ #[doc = "Setter for the `onselectstart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onselectstart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onselectstart(this: &XrSession, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = onselectend)]
+ #[doc = "Getter for the `onselectend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onselectend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onselectend(this: &XrSession) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRSession" , js_name = onselectend)]
+ #[doc = "Setter for the `onselectend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onselectend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onselectend(this: &XrSession, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = onsqueeze)]
+ #[doc = "Getter for the `onsqueeze` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onsqueeze)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onsqueeze(this: &XrSession) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRSession" , js_name = onsqueeze)]
+ #[doc = "Setter for the `onsqueeze` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onsqueeze)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onsqueeze(this: &XrSession, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = onsqueezestart)]
+ #[doc = "Getter for the `onsqueezestart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onsqueezestart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onsqueezestart(this: &XrSession) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRSession" , js_name = onsqueezestart)]
+ #[doc = "Setter for the `onsqueezestart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onsqueezestart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onsqueezestart(this: &XrSession, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = onsqueezeend)]
+ #[doc = "Getter for the `onsqueezeend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onsqueezeend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onsqueezeend(this: &XrSession) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRSession" , js_name = onsqueezeend)]
+ #[doc = "Setter for the `onsqueezeend` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onsqueezeend)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onsqueezeend(this: &XrSession, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = onvisibilitychange)]
+ #[doc = "Getter for the `onvisibilitychange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onvisibilitychange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onvisibilitychange(this: &XrSession) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRSession" , js_name = onvisibilitychange)]
+ #[doc = "Setter for the `onvisibilitychange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onvisibilitychange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onvisibilitychange(this: &XrSession, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSession" , js_name = onframeratechange)]
+ #[doc = "Getter for the `onframeratechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onframeratechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn onframeratechange(this: &XrSession) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRSession" , js_name = onframeratechange)]
+ #[doc = "Setter for the `onframeratechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/onframeratechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_onframeratechange(this: &XrSession, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "XRSession" , js_name = cancelAnimationFrame)]
+ #[doc = "The `cancelAnimationFrame()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/cancelAnimationFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cancel_animation_frame(this: &XrSession, handle: u32);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "XRSession" , js_name = end)]
+ #[doc = "The `end()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/end)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn end(this: &XrSession) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "XRSession" , js_name = requestAnimationFrame)]
+ #[doc = "The `requestAnimationFrame()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/requestAnimationFrame)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_animation_frame(this: &XrSession, callback: &::js_sys::Function) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrReferenceSpaceType")]
+ # [wasm_bindgen (method , structural , js_class = "XRSession" , js_name = requestReferenceSpace)]
+ #[doc = "The `requestReferenceSpace()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/requestReferenceSpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrReferenceSpaceType`, `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_reference_space(
+ this: &XrSession,
+ type_: XrReferenceSpaceType,
+ ) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "XRSession" , js_name = updateRenderState)]
+ #[doc = "The `updateRenderState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/updateRenderState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn update_render_state(this: &XrSession);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrRenderStateInit")]
+ # [wasm_bindgen (method , structural , js_class = "XRSession" , js_name = updateRenderState)]
+ #[doc = "The `updateRenderState()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/updateRenderState)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRenderStateInit`, `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn update_render_state_with_state(this: &XrSession, state: &XrRenderStateInit);
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "XRSession" , js_name = updateTargetFrameRate)]
+ #[doc = "The `updateTargetFrameRate()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSession/updateTargetFrameRate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn update_target_frame_rate(this: &XrSession, rate: f32) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_XrSessionEvent.rs b/vendor/web-sys/src/features/gen_XrSessionEvent.rs
new file mode 100644
index 000000000..748df3513
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrSessionEvent.rs
@@ -0,0 +1,45 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = XRSessionEvent , typescript_type = "XRSessionEvent")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrSessionEvent` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSessionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrSessionEvent;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSession")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSessionEvent" , js_name = session)]
+ #[doc = "Getter for the `session` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSessionEvent/session)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`, `XrSessionEvent`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn session(this: &XrSessionEvent) -> XrSession;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSessionEventInit")]
+ #[wasm_bindgen(catch, constructor, js_class = "XRSessionEvent")]
+ #[doc = "The `new XrSessionEvent(..)` constructor, creating a new instance of `XrSessionEvent`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSessionEvent/XRSessionEvent)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionEvent`, `XrSessionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(
+ type_: &str,
+ event_init_dict: &XrSessionEventInit,
+ ) -> Result<XrSessionEvent, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_XrSessionEventInit.rs b/vendor/web-sys/src/features/gen_XrSessionEventInit.rs
new file mode 100644
index 000000000..fbe6cf283
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrSessionEventInit.rs
@@ -0,0 +1,117 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRSessionEventInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrSessionEventInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrSessionEventInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl XrSessionEventInit {
+ #[cfg(feature = "XrSession")]
+ #[doc = "Construct a new `XrSessionEventInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`, `XrSessionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(session: &XrSession) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.session(session);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `bubbles` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn bubbles(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("bubbles"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `cancelable` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn cancelable(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("cancelable"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `composed` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn composed(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("composed"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSession")]
+ #[doc = "Change the `session` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`, `XrSessionEventInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn session(&mut self, val: &XrSession) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("session"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_XrSessionInit.rs b/vendor/web-sys/src/features/gen_XrSessionInit.rs
new file mode 100644
index 000000000..999791d1f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrSessionInit.rs
@@ -0,0 +1,78 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRSessionInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrSessionInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrSessionInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl XrSessionInit {
+ #[doc = "Construct a new `XrSessionInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `optionalFeatures` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn optional_features(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("optionalFeatures"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `requiredFeatures` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn required_features(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("requiredFeatures"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for XrSessionInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_XrSessionMode.rs b/vendor/web-sys/src/features/gen_XrSessionMode.rs
new file mode 100644
index 000000000..d5a6803f2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrSessionMode.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `XrSessionMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `XrSessionMode`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum XrSessionMode {
+ Inline = "inline",
+ ImmersiveVr = "immersive-vr",
+ ImmersiveAr = "immersive-ar",
+}
diff --git a/vendor/web-sys/src/features/gen_XrSessionSupportedPermissionDescriptor.rs b/vendor/web-sys/src/features/gen_XrSessionSupportedPermissionDescriptor.rs
new file mode 100644
index 000000000..26a771f63
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrSessionSupportedPermissionDescriptor.rs
@@ -0,0 +1,68 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRSessionSupportedPermissionDescriptor)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrSessionSupportedPermissionDescriptor` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionSupportedPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrSessionSupportedPermissionDescriptor;
+}
+#[cfg(web_sys_unstable_apis)]
+impl XrSessionSupportedPermissionDescriptor {
+ #[cfg(feature = "PermissionName")]
+ #[doc = "Construct a new `XrSessionSupportedPermissionDescriptor`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionName`, `XrSessionSupportedPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new(name: PermissionName) -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret.name(name);
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "PermissionName")]
+ #[doc = "Change the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PermissionName`, `XrSessionSupportedPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn name(&mut self, val: PermissionName) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("name"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSessionMode")]
+ #[doc = "Change the `mode` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionMode`, `XrSessionSupportedPermissionDescriptor`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn mode(&mut self, val: XrSessionMode) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("mode"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_XrSpace.rs b/vendor/web-sys/src/features/gen_XrSpace.rs
new file mode 100644
index 000000000..e04941c05
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrSpace.rs
@@ -0,0 +1,18 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = XRSpace , typescript_type = "XRSpace")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrSpace` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSpace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSpace`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrSpace;
+}
diff --git a/vendor/web-sys/src/features/gen_XrSystem.rs b/vendor/web-sys/src/features/gen_XrSystem.rs
new file mode 100644
index 000000000..a035b3ef6
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrSystem.rs
@@ -0,0 +1,80 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = XRSystem , typescript_type = "XRSystem")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrSystem` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSystem)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSystem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrSystem;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRSystem" , js_name = ondevicechange)]
+ #[doc = "Getter for the `ondevicechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSystem/ondevicechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSystem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn ondevicechange(this: &XrSystem) -> Option<::js_sys::Function>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRSystem" , js_name = ondevicechange)]
+ #[doc = "Setter for the `ondevicechange` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSystem/ondevicechange)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSystem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_ondevicechange(this: &XrSystem, value: Option<&::js_sys::Function>);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSessionMode")]
+ # [wasm_bindgen (method , structural , js_class = "XRSystem" , js_name = isSessionSupported)]
+ #[doc = "The `isSessionSupported()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSystem/isSessionSupported)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionMode`, `XrSystem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn is_session_supported(this: &XrSystem, mode: XrSessionMode) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSessionMode")]
+ # [wasm_bindgen (method , structural , js_class = "XRSystem" , js_name = requestSession)]
+ #[doc = "The `requestSession()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSystem/requestSession)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionMode`, `XrSystem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_session(this: &XrSystem, mode: XrSessionMode) -> ::js_sys::Promise;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "XrSessionInit", feature = "XrSessionMode",))]
+ # [wasm_bindgen (method , structural , js_class = "XRSystem" , js_name = requestSession)]
+ #[doc = "The `requestSession()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRSystem/requestSession)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSessionInit`, `XrSessionMode`, `XrSystem`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_session_with_options(
+ this: &XrSystem,
+ mode: XrSessionMode,
+ options: &XrSessionInit,
+ ) -> ::js_sys::Promise;
+}
diff --git a/vendor/web-sys/src/features/gen_XrTargetRayMode.rs b/vendor/web-sys/src/features/gen_XrTargetRayMode.rs
new file mode 100644
index 000000000..94b59335f
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrTargetRayMode.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `XrTargetRayMode` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `XrTargetRayMode`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum XrTargetRayMode {
+ Gaze = "gaze",
+ TrackedPointer = "tracked-pointer",
+ Screen = "screen",
+}
diff --git a/vendor/web-sys/src/features/gen_XrView.rs b/vendor/web-sys/src/features/gen_XrView.rs
new file mode 100644
index 000000000..9f5781265
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrView.rs
@@ -0,0 +1,75 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRView , typescript_type = "XRView")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrView` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRView)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrView;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrEye")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRView" , js_name = eye)]
+ #[doc = "Getter for the `eye` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRView/eye)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrEye`, `XrView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn eye(this: &XrView) -> XrEye;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRView" , js_name = projectionMatrix)]
+ #[doc = "Getter for the `projectionMatrix` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRView/projectionMatrix)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn projection_matrix(this: &XrView) -> Vec<f32>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrRigidTransform")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRView" , js_name = transform)]
+ #[doc = "Getter for the `transform` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRView/transform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrRigidTransform`, `XrView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn transform(this: &XrView) -> XrRigidTransform;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRView" , js_name = recommendedViewportScale)]
+ #[doc = "Getter for the `recommendedViewportScale` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRView/recommendedViewportScale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn recommended_viewport_scale(this: &XrView) -> Option<f64>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (method , structural , js_class = "XRView" , js_name = requestViewportScale)]
+ #[doc = "The `requestViewportScale()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRView/requestViewportScale)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrView`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn request_viewport_scale(this: &XrView, scale: Option<f64>);
+}
diff --git a/vendor/web-sys/src/features/gen_XrViewerPose.rs b/vendor/web-sys/src/features/gen_XrViewerPose.rs
new file mode 100644
index 000000000..2e53ea6a4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrViewerPose.rs
@@ -0,0 +1,29 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = XrPose , extends = :: js_sys :: Object , js_name = XRViewerPose , typescript_type = "XRViewerPose")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrViewerPose` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRViewerPose)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrViewerPose`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrViewerPose;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRViewerPose" , js_name = views)]
+ #[doc = "Getter for the `views` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRViewerPose/views)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrViewerPose`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn views(this: &XrViewerPose) -> ::js_sys::Array;
+}
diff --git a/vendor/web-sys/src/features/gen_XrViewport.rs b/vendor/web-sys/src/features/gen_XrViewport.rs
new file mode 100644
index 000000000..7ffdabd83
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrViewport.rs
@@ -0,0 +1,62 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRViewport , typescript_type = "XRViewport")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrViewport` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRViewport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrViewport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrViewport;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRViewport" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRViewport/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrViewport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn x(this: &XrViewport) -> i32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRViewport" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRViewport/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrViewport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn y(this: &XrViewport) -> i32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRViewport" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRViewport/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrViewport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn width(this: &XrViewport) -> i32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRViewport" , js_name = height)]
+ #[doc = "Getter for the `height` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRViewport/height)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrViewport`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn height(this: &XrViewport) -> i32;
+}
diff --git a/vendor/web-sys/src/features/gen_XrVisibilityState.rs b/vendor/web-sys/src/features/gen_XrVisibilityState.rs
new file mode 100644
index 000000000..f82ab22a9
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrVisibilityState.rs
@@ -0,0 +1,16 @@
+#![allow(unused_imports)]
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+#[doc = "The `XrVisibilityState` enum."]
+#[doc = ""]
+#[doc = "*This API requires the following crate features to be activated: `XrVisibilityState`*"]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum XrVisibilityState {
+ Visible = "visible",
+ VisibleBlurred = "visible-blurred",
+ Hidden = "hidden",
+}
diff --git a/vendor/web-sys/src/features/gen_XrWebGlLayer.rs b/vendor/web-sys/src/features/gen_XrWebGlLayer.rs
new file mode 100644
index 000000000..96ef16db7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrWebGlLayer.rs
@@ -0,0 +1,190 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = XrLayer , extends = EventTarget , extends = :: js_sys :: Object , js_name = XRWebGLLayer , typescript_type = "XRWebGLLayer")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrWebGlLayer` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrWebGlLayer;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRWebGLLayer" , js_name = antialias)]
+ #[doc = "Getter for the `antialias` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/antialias)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn antialias(this: &XrWebGlLayer) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRWebGLLayer" , js_name = ignoreDepthValues)]
+ #[doc = "Getter for the `ignoreDepthValues` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/ignoreDepthValues)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn ignore_depth_values(this: &XrWebGlLayer) -> bool;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRWebGLLayer" , js_name = fixedFoveation)]
+ #[doc = "Getter for the `fixedFoveation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/fixedFoveation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn fixed_foveation(this: &XrWebGlLayer) -> Option<f32>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , setter , js_class = "XRWebGLLayer" , js_name = fixedFoveation)]
+ #[doc = "Setter for the `fixedFoveation` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/fixedFoveation)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn set_fixed_foveation(this: &XrWebGlLayer, value: Option<f32>);
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "WebGlFramebuffer")]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRWebGLLayer" , js_name = framebuffer)]
+ #[doc = "Getter for the `framebuffer` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/framebuffer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlFramebuffer`, `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn framebuffer(this: &XrWebGlLayer) -> Option<WebGlFramebuffer>;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRWebGLLayer" , js_name = framebufferWidth)]
+ #[doc = "Getter for the `framebufferWidth` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/framebufferWidth)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn framebuffer_width(this: &XrWebGlLayer) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ # [wasm_bindgen (structural , method , getter , js_class = "XRWebGLLayer" , js_name = framebufferHeight)]
+ #[doc = "Getter for the `framebufferHeight` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/framebufferHeight)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn framebuffer_height(this: &XrWebGlLayer) -> u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "WebGlRenderingContext", feature = "XrSession",))]
+ #[wasm_bindgen(catch, constructor, js_class = "XRWebGLLayer")]
+ #[doc = "The `new XrWebGlLayer(..)` constructor, creating a new instance of `XrWebGlLayer`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/XRWebGLLayer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `XrSession`, `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_web_gl_rendering_context(
+ session: &XrSession,
+ context: &WebGlRenderingContext,
+ ) -> Result<XrWebGlLayer, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "WebGl2RenderingContext", feature = "XrSession",))]
+ #[wasm_bindgen(catch, constructor, js_class = "XRWebGLLayer")]
+ #[doc = "The `new XrWebGlLayer(..)` constructor, creating a new instance of `XrWebGlLayer`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/XRWebGLLayer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `XrSession`, `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_web_gl2_rendering_context(
+ session: &XrSession,
+ context: &WebGl2RenderingContext,
+ ) -> Result<XrWebGlLayer, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "WebGlRenderingContext",
+ feature = "XrSession",
+ feature = "XrWebGlLayerInit",
+ ))]
+ #[wasm_bindgen(catch, constructor, js_class = "XRWebGLLayer")]
+ #[doc = "The `new XrWebGlLayer(..)` constructor, creating a new instance of `XrWebGlLayer`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/XRWebGLLayer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `XrSession`, `XrWebGlLayer`, `XrWebGlLayerInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_web_gl_rendering_context_and_layer_init(
+ session: &XrSession,
+ context: &WebGlRenderingContext,
+ layer_init: &XrWebGlLayerInit,
+ ) -> Result<XrWebGlLayer, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(
+ feature = "WebGl2RenderingContext",
+ feature = "XrSession",
+ feature = "XrWebGlLayerInit",
+ ))]
+ #[wasm_bindgen(catch, constructor, js_class = "XRWebGLLayer")]
+ #[doc = "The `new XrWebGlLayer(..)` constructor, creating a new instance of `XrWebGlLayer`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/XRWebGLLayer)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `XrSession`, `XrWebGlLayer`, `XrWebGlLayerInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new_with_web_gl2_rendering_context_and_layer_init(
+ session: &XrSession,
+ context: &WebGl2RenderingContext,
+ layer_init: &XrWebGlLayerInit,
+ ) -> Result<XrWebGlLayer, JsValue>;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(feature = "XrSession")]
+ # [wasm_bindgen (static_method_of = XrWebGlLayer , js_class = "XRWebGLLayer" , js_name = getNativeFramebufferScaleFactor)]
+ #[doc = "The `getNativeFramebufferScaleFactor()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/getNativeFramebufferScaleFactor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrSession`, `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_native_framebuffer_scale_factor(session: &XrSession) -> f64;
+ #[cfg(web_sys_unstable_apis)]
+ #[cfg(all(feature = "XrView", feature = "XrViewport",))]
+ # [wasm_bindgen (method , structural , js_class = "XRWebGLLayer" , js_name = getViewport)]
+ #[doc = "The `getViewport()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/getViewport)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrView`, `XrViewport`, `XrWebGlLayer`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn get_viewport(this: &XrWebGlLayer, view: &XrView) -> Option<XrViewport>;
+}
diff --git a/vendor/web-sys/src/features/gen_XrWebGlLayerInit.rs b/vendor/web-sys/src/features/gen_XrWebGlLayerInit.rs
new file mode 100644
index 000000000..f5233d6b1
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XrWebGlLayerInit.rs
@@ -0,0 +1,154 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[cfg(web_sys_unstable_apis)]
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRWebGLLayerInit)]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XrWebGlLayerInit` dictionary."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayerInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub type XrWebGlLayerInit;
+}
+#[cfg(web_sys_unstable_apis)]
+impl XrWebGlLayerInit {
+ #[doc = "Construct a new `XrWebGlLayerInit`."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayerInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn new() -> Self {
+ #[allow(unused_mut)]
+ let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
+ ret
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `alpha` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayerInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn alpha(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("alpha"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `antialias` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayerInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn antialias(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("antialias"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `depth` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayerInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn depth(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("depth"), &JsValue::from(val));
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `framebufferScaleFactor` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayerInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn framebuffer_scale_factor(&mut self, val: f64) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("framebufferScaleFactor"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `ignoreDepthValues` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayerInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn ignore_depth_values(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("ignoreDepthValues"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "Change the `stencil` field of this object."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XrWebGlLayerInit`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub fn stencil(&mut self, val: bool) -> &mut Self {
+ use wasm_bindgen::JsValue;
+ let r = ::js_sys::Reflect::set(
+ self.as_ref(),
+ &JsValue::from("stencil"),
+ &JsValue::from(val),
+ );
+ debug_assert!(
+ r.is_ok(),
+ "setting properties should never fail on our dictionary objects"
+ );
+ let _ = r;
+ self
+ }
+}
+#[cfg(web_sys_unstable_apis)]
+impl Default for XrWebGlLayerInit {
+ fn default() -> Self {
+ Self::new()
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_XsltProcessor.rs b/vendor/web-sys/src/features/gen_XsltProcessor.rs
new file mode 100644
index 000000000..c730032d4
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_XsltProcessor.rs
@@ -0,0 +1,86 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XSLTProcessor , typescript_type = "XSLTProcessor")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `XsltProcessor` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XsltProcessor`*"]
+ pub type XsltProcessor;
+ #[wasm_bindgen(catch, constructor, js_class = "XSLTProcessor")]
+ #[doc = "The `new XsltProcessor(..)` constructor, creating a new instance of `XsltProcessor`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/XSLTProcessor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XsltProcessor`*"]
+ pub fn new() -> Result<XsltProcessor, JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "XSLTProcessor" , js_name = clearParameters)]
+ #[doc = "The `clearParameters()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/clearParameters)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XsltProcessor`*"]
+ pub fn clear_parameters(this: &XsltProcessor);
+ #[cfg(feature = "Node")]
+ # [wasm_bindgen (catch , method , structural , js_class = "XSLTProcessor" , js_name = importStylesheet)]
+ #[doc = "The `importStylesheet()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/importStylesheet)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Node`, `XsltProcessor`*"]
+ pub fn import_stylesheet(this: &XsltProcessor, style: &Node) -> Result<(), JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "XSLTProcessor" , js_name = removeParameter)]
+ #[doc = "The `removeParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/removeParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XsltProcessor`*"]
+ pub fn remove_parameter(
+ this: &XsltProcessor,
+ namespace_uri: &str,
+ local_name: &str,
+ ) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , js_class = "XSLTProcessor" , js_name = reset)]
+ #[doc = "The `reset()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/reset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XsltProcessor`*"]
+ pub fn reset(this: &XsltProcessor);
+ # [wasm_bindgen (catch , method , structural , js_class = "XSLTProcessor" , js_name = setParameter)]
+ #[doc = "The `setParameter()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/setParameter)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `XsltProcessor`*"]
+ pub fn set_parameter(
+ this: &XsltProcessor,
+ namespace_uri: &str,
+ local_name: &str,
+ value: &::wasm_bindgen::JsValue,
+ ) -> Result<(), JsValue>;
+ #[cfg(all(feature = "Document", feature = "Node",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "XSLTProcessor" , js_name = transformToDocument)]
+ #[doc = "The `transformToDocument()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/transformToDocument)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `Node`, `XsltProcessor`*"]
+ pub fn transform_to_document(this: &XsltProcessor, source: &Node) -> Result<Document, JsValue>;
+ #[cfg(all(feature = "Document", feature = "DocumentFragment", feature = "Node",))]
+ # [wasm_bindgen (catch , method , structural , js_class = "XSLTProcessor" , js_name = transformToFragment)]
+ #[doc = "The `transformToFragment()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/transformToFragment)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`, `DocumentFragment`, `Node`, `XsltProcessor`*"]
+ pub fn transform_to_fragment(
+ this: &XsltProcessor,
+ source: &Node,
+ output: &Document,
+ ) -> Result<DocumentFragment, JsValue>;
+}
diff --git a/vendor/web-sys/src/features/gen_console.rs b/vendor/web-sys/src/features/gen_console.rs
new file mode 100644
index 000000000..a84ed2b4a
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_console.rs
@@ -0,0 +1,1615 @@
+pub mod console {
+ #![allow(unused_imports)]
+ use super::super::*;
+ use wasm_bindgen::prelude::*;
+ #[wasm_bindgen]
+ extern "C" {
+ # [wasm_bindgen (js_namespace = console , js_name = assert)]
+ #[doc = "The `console.assert()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn assert();
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = assert)]
+ #[doc = "The `console.assert()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn assert_with_condition_and_data(condition: bool, data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = assert)]
+ #[doc = "The `console.assert()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn assert_with_condition_and_data_0(condition: bool);
+ # [wasm_bindgen (js_namespace = console , js_name = assert)]
+ #[doc = "The `console.assert()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn assert_with_condition_and_data_1(condition: bool, data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = assert)]
+ #[doc = "The `console.assert()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn assert_with_condition_and_data_2(
+ condition: bool,
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = assert)]
+ #[doc = "The `console.assert()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn assert_with_condition_and_data_3(
+ condition: bool,
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = assert)]
+ #[doc = "The `console.assert()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn assert_with_condition_and_data_4(
+ condition: bool,
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = assert)]
+ #[doc = "The `console.assert()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn assert_with_condition_and_data_5(
+ condition: bool,
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = assert)]
+ #[doc = "The `console.assert()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn assert_with_condition_and_data_6(
+ condition: bool,
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = assert)]
+ #[doc = "The `console.assert()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn assert_with_condition_and_data_7(
+ condition: bool,
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = clear)]
+ #[doc = "The `console.clear()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/clear)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn clear();
+ # [wasm_bindgen (js_namespace = console , js_name = count)]
+ #[doc = "The `console.count()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/count)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn count();
+ # [wasm_bindgen (js_namespace = console , js_name = count)]
+ #[doc = "The `console.count()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/count)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn count_with_label(label: &str);
+ # [wasm_bindgen (js_namespace = console , js_name = countReset)]
+ #[doc = "The `console.countReset()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/countReset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn count_reset();
+ # [wasm_bindgen (js_namespace = console , js_name = countReset)]
+ #[doc = "The `console.countReset()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/countReset)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn count_reset_with_label(label: &str);
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = debug)]
+ #[doc = "The `console.debug()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn debug(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = debug)]
+ #[doc = "The `console.debug()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn debug_0();
+ # [wasm_bindgen (js_namespace = console , js_name = debug)]
+ #[doc = "The `console.debug()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn debug_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = debug)]
+ #[doc = "The `console.debug()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn debug_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = debug)]
+ #[doc = "The `console.debug()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn debug_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = debug)]
+ #[doc = "The `console.debug()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn debug_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = debug)]
+ #[doc = "The `console.debug()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn debug_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = debug)]
+ #[doc = "The `console.debug()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn debug_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = debug)]
+ #[doc = "The `console.debug()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn debug_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = dir)]
+ #[doc = "The `console.dir()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dir(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = dir)]
+ #[doc = "The `console.dir()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dir_0();
+ # [wasm_bindgen (js_namespace = console , js_name = dir)]
+ #[doc = "The `console.dir()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dir_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = dir)]
+ #[doc = "The `console.dir()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dir_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = dir)]
+ #[doc = "The `console.dir()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dir_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = dir)]
+ #[doc = "The `console.dir()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dir_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = dir)]
+ #[doc = "The `console.dir()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dir_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = dir)]
+ #[doc = "The `console.dir()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dir_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = dir)]
+ #[doc = "The `console.dir()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dir_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = dirxml)]
+ #[doc = "The `console.dirxml()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dirxml(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = dirxml)]
+ #[doc = "The `console.dirxml()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dirxml_0();
+ # [wasm_bindgen (js_namespace = console , js_name = dirxml)]
+ #[doc = "The `console.dirxml()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dirxml_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = dirxml)]
+ #[doc = "The `console.dirxml()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dirxml_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = dirxml)]
+ #[doc = "The `console.dirxml()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dirxml_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = dirxml)]
+ #[doc = "The `console.dirxml()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dirxml_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = dirxml)]
+ #[doc = "The `console.dirxml()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dirxml_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = dirxml)]
+ #[doc = "The `console.dirxml()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dirxml_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = dirxml)]
+ #[doc = "The `console.dirxml()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn dirxml_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = error)]
+ #[doc = "The `console.error()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn error(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = error)]
+ #[doc = "The `console.error()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn error_0();
+ # [wasm_bindgen (js_namespace = console , js_name = error)]
+ #[doc = "The `console.error()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn error_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = error)]
+ #[doc = "The `console.error()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn error_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = error)]
+ #[doc = "The `console.error()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn error_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = error)]
+ #[doc = "The `console.error()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn error_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = error)]
+ #[doc = "The `console.error()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn error_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = error)]
+ #[doc = "The `console.error()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn error_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = error)]
+ #[doc = "The `console.error()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn error_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = exception)]
+ #[doc = "The `console.exception()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn exception(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = exception)]
+ #[doc = "The `console.exception()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn exception_0();
+ # [wasm_bindgen (js_namespace = console , js_name = exception)]
+ #[doc = "The `console.exception()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn exception_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = exception)]
+ #[doc = "The `console.exception()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn exception_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = exception)]
+ #[doc = "The `console.exception()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn exception_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = exception)]
+ #[doc = "The `console.exception()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn exception_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = exception)]
+ #[doc = "The `console.exception()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn exception_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = exception)]
+ #[doc = "The `console.exception()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn exception_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = exception)]
+ #[doc = "The `console.exception()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn exception_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = group)]
+ #[doc = "The `console.group()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = group)]
+ #[doc = "The `console.group()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_0();
+ # [wasm_bindgen (js_namespace = console , js_name = group)]
+ #[doc = "The `console.group()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = group)]
+ #[doc = "The `console.group()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = group)]
+ #[doc = "The `console.group()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = group)]
+ #[doc = "The `console.group()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = group)]
+ #[doc = "The `console.group()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = group)]
+ #[doc = "The `console.group()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = group)]
+ #[doc = "The `console.group()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = groupCollapsed)]
+ #[doc = "The `console.groupCollapsed()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_collapsed(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = groupCollapsed)]
+ #[doc = "The `console.groupCollapsed()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_collapsed_0();
+ # [wasm_bindgen (js_namespace = console , js_name = groupCollapsed)]
+ #[doc = "The `console.groupCollapsed()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_collapsed_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = groupCollapsed)]
+ #[doc = "The `console.groupCollapsed()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_collapsed_2(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = groupCollapsed)]
+ #[doc = "The `console.groupCollapsed()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_collapsed_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = groupCollapsed)]
+ #[doc = "The `console.groupCollapsed()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_collapsed_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = groupCollapsed)]
+ #[doc = "The `console.groupCollapsed()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_collapsed_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = groupCollapsed)]
+ #[doc = "The `console.groupCollapsed()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_collapsed_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = groupCollapsed)]
+ #[doc = "The `console.groupCollapsed()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_collapsed_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = groupEnd)]
+ #[doc = "The `console.groupEnd()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn group_end();
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = info)]
+ #[doc = "The `console.info()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn info(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = info)]
+ #[doc = "The `console.info()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn info_0();
+ # [wasm_bindgen (js_namespace = console , js_name = info)]
+ #[doc = "The `console.info()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn info_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = info)]
+ #[doc = "The `console.info()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn info_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = info)]
+ #[doc = "The `console.info()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn info_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = info)]
+ #[doc = "The `console.info()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn info_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = info)]
+ #[doc = "The `console.info()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn info_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = info)]
+ #[doc = "The `console.info()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn info_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = info)]
+ #[doc = "The `console.info()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn info_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = log)]
+ #[doc = "The `console.log()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn log(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = log)]
+ #[doc = "The `console.log()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn log_0();
+ # [wasm_bindgen (js_namespace = console , js_name = log)]
+ #[doc = "The `console.log()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn log_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = log)]
+ #[doc = "The `console.log()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn log_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = log)]
+ #[doc = "The `console.log()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn log_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = log)]
+ #[doc = "The `console.log()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn log_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = log)]
+ #[doc = "The `console.log()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn log_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = log)]
+ #[doc = "The `console.log()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn log_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = log)]
+ #[doc = "The `console.log()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn log_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = profile)]
+ #[doc = "The `console.profile()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = profile)]
+ #[doc = "The `console.profile()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_0();
+ # [wasm_bindgen (js_namespace = console , js_name = profile)]
+ #[doc = "The `console.profile()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = profile)]
+ #[doc = "The `console.profile()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = profile)]
+ #[doc = "The `console.profile()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = profile)]
+ #[doc = "The `console.profile()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = profile)]
+ #[doc = "The `console.profile()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = profile)]
+ #[doc = "The `console.profile()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = profile)]
+ #[doc = "The `console.profile()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = profileEnd)]
+ #[doc = "The `console.profileEnd()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_end(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = profileEnd)]
+ #[doc = "The `console.profileEnd()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_end_0();
+ # [wasm_bindgen (js_namespace = console , js_name = profileEnd)]
+ #[doc = "The `console.profileEnd()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_end_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = profileEnd)]
+ #[doc = "The `console.profileEnd()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_end_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = profileEnd)]
+ #[doc = "The `console.profileEnd()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_end_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = profileEnd)]
+ #[doc = "The `console.profileEnd()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_end_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = profileEnd)]
+ #[doc = "The `console.profileEnd()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_end_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = profileEnd)]
+ #[doc = "The `console.profileEnd()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_end_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = profileEnd)]
+ #[doc = "The `console.profileEnd()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn profile_end_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = table)]
+ #[doc = "The `console.table()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn table(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = table)]
+ #[doc = "The `console.table()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn table_0();
+ # [wasm_bindgen (js_namespace = console , js_name = table)]
+ #[doc = "The `console.table()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn table_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = table)]
+ #[doc = "The `console.table()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn table_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = table)]
+ #[doc = "The `console.table()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn table_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = table)]
+ #[doc = "The `console.table()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn table_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = table)]
+ #[doc = "The `console.table()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn table_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = table)]
+ #[doc = "The `console.table()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn table_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = table)]
+ #[doc = "The `console.table()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn table_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = time)]
+ #[doc = "The `console.time()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/time)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time();
+ # [wasm_bindgen (js_namespace = console , js_name = time)]
+ #[doc = "The `console.time()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/time)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_with_label(label: &str);
+ # [wasm_bindgen (js_namespace = console , js_name = timeEnd)]
+ #[doc = "The `console.timeEnd()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_end();
+ # [wasm_bindgen (js_namespace = console , js_name = timeEnd)]
+ #[doc = "The `console.timeEnd()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_end_with_label(label: &str);
+ # [wasm_bindgen (js_namespace = console , js_name = timeLog)]
+ #[doc = "The `console.timeLog()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_log();
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = timeLog)]
+ #[doc = "The `console.timeLog()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_log_with_label_and_data(label: &str, data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = timeLog)]
+ #[doc = "The `console.timeLog()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_log_with_label_and_data_0(label: &str);
+ # [wasm_bindgen (js_namespace = console , js_name = timeLog)]
+ #[doc = "The `console.timeLog()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_log_with_label_and_data_1(label: &str, data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = timeLog)]
+ #[doc = "The `console.timeLog()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_log_with_label_and_data_2(
+ label: &str,
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = timeLog)]
+ #[doc = "The `console.timeLog()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_log_with_label_and_data_3(
+ label: &str,
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = timeLog)]
+ #[doc = "The `console.timeLog()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_log_with_label_and_data_4(
+ label: &str,
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = timeLog)]
+ #[doc = "The `console.timeLog()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_log_with_label_and_data_5(
+ label: &str,
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = timeLog)]
+ #[doc = "The `console.timeLog()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_log_with_label_and_data_6(
+ label: &str,
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = timeLog)]
+ #[doc = "The `console.timeLog()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_log_with_label_and_data_7(
+ label: &str,
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = timeStamp)]
+ #[doc = "The `console.timeStamp()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeStamp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_stamp();
+ # [wasm_bindgen (js_namespace = console , js_name = timeStamp)]
+ #[doc = "The `console.timeStamp()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeStamp)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn time_stamp_with_data(data: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = trace)]
+ #[doc = "The `console.trace()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn trace(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = trace)]
+ #[doc = "The `console.trace()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn trace_0();
+ # [wasm_bindgen (js_namespace = console , js_name = trace)]
+ #[doc = "The `console.trace()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn trace_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = trace)]
+ #[doc = "The `console.trace()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn trace_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = trace)]
+ #[doc = "The `console.trace()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn trace_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = trace)]
+ #[doc = "The `console.trace()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn trace_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = trace)]
+ #[doc = "The `console.trace()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn trace_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = trace)]
+ #[doc = "The `console.trace()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn trace_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = trace)]
+ #[doc = "The `console.trace()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn trace_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (variadic , js_namespace = console , js_name = warn)]
+ #[doc = "The `console.warn()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn warn(data: &::js_sys::Array);
+ # [wasm_bindgen (js_namespace = console , js_name = warn)]
+ #[doc = "The `console.warn()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn warn_0();
+ # [wasm_bindgen (js_namespace = console , js_name = warn)]
+ #[doc = "The `console.warn()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn warn_1(data_1: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = warn)]
+ #[doc = "The `console.warn()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn warn_2(data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue);
+ # [wasm_bindgen (js_namespace = console , js_name = warn)]
+ #[doc = "The `console.warn()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn warn_3(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = warn)]
+ #[doc = "The `console.warn()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn warn_4(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = warn)]
+ #[doc = "The `console.warn()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn warn_5(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = warn)]
+ #[doc = "The `console.warn()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn warn_6(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ );
+ # [wasm_bindgen (js_namespace = console , js_name = warn)]
+ #[doc = "The `console.warn()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `console`*"]
+ pub fn warn_7(
+ data_1: &::wasm_bindgen::JsValue,
+ data_2: &::wasm_bindgen::JsValue,
+ data_3: &::wasm_bindgen::JsValue,
+ data_4: &::wasm_bindgen::JsValue,
+ data_5: &::wasm_bindgen::JsValue,
+ data_6: &::wasm_bindgen::JsValue,
+ data_7: &::wasm_bindgen::JsValue,
+ );
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_css.rs b/vendor/web-sys/src/features/gen_css.rs
new file mode 100644
index 000000000..f18a5dad2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_css.rs
@@ -0,0 +1,29 @@
+pub mod css {
+ #![allow(unused_imports)]
+ use super::super::*;
+ use wasm_bindgen::prelude::*;
+ #[wasm_bindgen]
+ extern "C" {
+ # [wasm_bindgen (js_namespace = CSS , js_name = escape)]
+ #[doc = "The `CSS.escape()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `css`*"]
+ pub fn escape(ident: &str) -> String;
+ # [wasm_bindgen (catch , js_namespace = CSS , js_name = supports)]
+ #[doc = "The `CSS.supports()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `css`*"]
+ pub fn supports_with_value(property: &str, value: &str) -> Result<bool, JsValue>;
+ # [wasm_bindgen (catch , js_namespace = CSS , js_name = supports)]
+ #[doc = "The `CSS.supports()` function."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `css`*"]
+ pub fn supports(condition_text: &str) -> Result<bool, JsValue>;
+ }
+}
diff --git a/vendor/web-sys/src/features/gen_gpu_buffer_usage.rs b/vendor/web-sys/src/features/gen_gpu_buffer_usage.rs
new file mode 100644
index 000000000..39b90f05b
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_gpu_buffer_usage.rs
@@ -0,0 +1,89 @@
+#[cfg(web_sys_unstable_apis)]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+pub mod gpu_buffer_usage {
+ #![allow(unused_imports)]
+ use super::super::*;
+ use wasm_bindgen::prelude::*;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUBufferUsage.MAP_READ` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_buffer_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const MAP_READ: u32 = 1u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUBufferUsage.MAP_WRITE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_buffer_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const MAP_WRITE: u32 = 2u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUBufferUsage.COPY_SRC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_buffer_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const COPY_SRC: u32 = 4u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUBufferUsage.COPY_DST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_buffer_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const COPY_DST: u32 = 8u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUBufferUsage.INDEX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_buffer_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const INDEX: u32 = 16u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUBufferUsage.VERTEX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_buffer_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const VERTEX: u32 = 32u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUBufferUsage.UNIFORM` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_buffer_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const UNIFORM: u32 = 64u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUBufferUsage.STORAGE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_buffer_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const STORAGE: u32 = 128u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUBufferUsage.INDIRECT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_buffer_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const INDIRECT: u32 = 256u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUBufferUsage.QUERY_RESOLVE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_buffer_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const QUERY_RESOLVE: u32 = 512u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_gpu_color_write.rs b/vendor/web-sys/src/features/gen_gpu_color_write.rs
new file mode 100644
index 000000000..d037288e0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_gpu_color_write.rs
@@ -0,0 +1,49 @@
+#[cfg(web_sys_unstable_apis)]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+pub mod gpu_color_write {
+ #![allow(unused_imports)]
+ use super::super::*;
+ use wasm_bindgen::prelude::*;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUColorWrite.RED` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_color_write`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const RED: u32 = 1u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUColorWrite.GREEN` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_color_write`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const GREEN: u32 = 2u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUColorWrite.BLUE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_color_write`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const BLUE: u32 = 4u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUColorWrite.ALPHA` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_color_write`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const ALPHA: u32 = 8u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUColorWrite.ALL` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_color_write`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const ALL: u32 = 15u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_gpu_map_mode.rs b/vendor/web-sys/src/features/gen_gpu_map_mode.rs
new file mode 100644
index 000000000..272064e75
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_gpu_map_mode.rs
@@ -0,0 +1,25 @@
+#[cfg(web_sys_unstable_apis)]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+pub mod gpu_map_mode {
+ #![allow(unused_imports)]
+ use super::super::*;
+ use wasm_bindgen::prelude::*;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUMapMode.READ` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_map_mode`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const READ: u32 = 1u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUMapMode.WRITE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_map_mode`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const WRITE: u32 = 2u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_gpu_shader_stage.rs b/vendor/web-sys/src/features/gen_gpu_shader_stage.rs
new file mode 100644
index 000000000..563887538
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_gpu_shader_stage.rs
@@ -0,0 +1,33 @@
+#[cfg(web_sys_unstable_apis)]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+pub mod gpu_shader_stage {
+ #![allow(unused_imports)]
+ use super::super::*;
+ use wasm_bindgen::prelude::*;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUShaderStage.VERTEX` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_shader_stage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const VERTEX: u32 = 1u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUShaderStage.FRAGMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_shader_stage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const FRAGMENT: u32 = 2u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUShaderStage.COMPUTE` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_shader_stage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const COMPUTE: u32 = 4u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/gen_gpu_texture_usage.rs b/vendor/web-sys/src/features/gen_gpu_texture_usage.rs
new file mode 100644
index 000000000..4cc909049
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_gpu_texture_usage.rs
@@ -0,0 +1,49 @@
+#[cfg(web_sys_unstable_apis)]
+#[doc = ""]
+#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+pub mod gpu_texture_usage {
+ #![allow(unused_imports)]
+ use super::super::*;
+ use wasm_bindgen::prelude::*;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUTextureUsage.COPY_SRC` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_texture_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const COPY_SRC: u32 = 1u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUTextureUsage.COPY_DST` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_texture_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const COPY_DST: u32 = 2u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUTextureUsage.TEXTURE_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_texture_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const TEXTURE_BINDING: u32 = 4u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUTextureUsage.STORAGE_BINDING` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_texture_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const STORAGE_BINDING: u32 = 8u64 as u32;
+ #[cfg(web_sys_unstable_apis)]
+ #[doc = "The `GPUTextureUsage.RENDER_ATTACHMENT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `gpu_texture_usage`*"]
+ #[doc = ""]
+ #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
+ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
+ pub const RENDER_ATTACHMENT: u32 = 16u64 as u32;
+}
diff --git a/vendor/web-sys/src/features/mod.rs b/vendor/web-sys/src/features/mod.rs
new file mode 100644
index 000000000..680471c2f
--- /dev/null
+++ b/vendor/web-sys/src/features/mod.rs
@@ -0,0 +1,9131 @@
+#[cfg(feature = "AbortController")]
+#[allow(non_snake_case)]
+mod gen_AbortController;
+#[cfg(feature = "AbortController")]
+pub use gen_AbortController::*;
+
+#[cfg(feature = "AbortSignal")]
+#[allow(non_snake_case)]
+mod gen_AbortSignal;
+#[cfg(feature = "AbortSignal")]
+pub use gen_AbortSignal::*;
+
+#[cfg(feature = "AddEventListenerOptions")]
+#[allow(non_snake_case)]
+mod gen_AddEventListenerOptions;
+#[cfg(feature = "AddEventListenerOptions")]
+pub use gen_AddEventListenerOptions::*;
+
+#[cfg(feature = "AesCbcParams")]
+#[allow(non_snake_case)]
+mod gen_AesCbcParams;
+#[cfg(feature = "AesCbcParams")]
+pub use gen_AesCbcParams::*;
+
+#[cfg(feature = "AesCtrParams")]
+#[allow(non_snake_case)]
+mod gen_AesCtrParams;
+#[cfg(feature = "AesCtrParams")]
+pub use gen_AesCtrParams::*;
+
+#[cfg(feature = "AesDerivedKeyParams")]
+#[allow(non_snake_case)]
+mod gen_AesDerivedKeyParams;
+#[cfg(feature = "AesDerivedKeyParams")]
+pub use gen_AesDerivedKeyParams::*;
+
+#[cfg(feature = "AesGcmParams")]
+#[allow(non_snake_case)]
+mod gen_AesGcmParams;
+#[cfg(feature = "AesGcmParams")]
+pub use gen_AesGcmParams::*;
+
+#[cfg(feature = "AesKeyAlgorithm")]
+#[allow(non_snake_case)]
+mod gen_AesKeyAlgorithm;
+#[cfg(feature = "AesKeyAlgorithm")]
+pub use gen_AesKeyAlgorithm::*;
+
+#[cfg(feature = "AesKeyGenParams")]
+#[allow(non_snake_case)]
+mod gen_AesKeyGenParams;
+#[cfg(feature = "AesKeyGenParams")]
+pub use gen_AesKeyGenParams::*;
+
+#[cfg(feature = "Algorithm")]
+#[allow(non_snake_case)]
+mod gen_Algorithm;
+#[cfg(feature = "Algorithm")]
+pub use gen_Algorithm::*;
+
+#[cfg(feature = "AlignSetting")]
+#[allow(non_snake_case)]
+mod gen_AlignSetting;
+#[cfg(feature = "AlignSetting")]
+pub use gen_AlignSetting::*;
+
+#[cfg(feature = "AllowedBluetoothDevice")]
+#[allow(non_snake_case)]
+mod gen_AllowedBluetoothDevice;
+#[cfg(feature = "AllowedBluetoothDevice")]
+pub use gen_AllowedBluetoothDevice::*;
+
+#[cfg(feature = "AllowedUsbDevice")]
+#[allow(non_snake_case)]
+mod gen_AllowedUsbDevice;
+#[cfg(feature = "AllowedUsbDevice")]
+pub use gen_AllowedUsbDevice::*;
+
+#[cfg(feature = "AlphaOption")]
+#[allow(non_snake_case)]
+mod gen_AlphaOption;
+#[cfg(feature = "AlphaOption")]
+pub use gen_AlphaOption::*;
+
+#[cfg(feature = "AnalyserNode")]
+#[allow(non_snake_case)]
+mod gen_AnalyserNode;
+#[cfg(feature = "AnalyserNode")]
+pub use gen_AnalyserNode::*;
+
+#[cfg(feature = "AnalyserOptions")]
+#[allow(non_snake_case)]
+mod gen_AnalyserOptions;
+#[cfg(feature = "AnalyserOptions")]
+pub use gen_AnalyserOptions::*;
+
+#[cfg(feature = "AngleInstancedArrays")]
+#[allow(non_snake_case)]
+mod gen_AngleInstancedArrays;
+#[cfg(feature = "AngleInstancedArrays")]
+pub use gen_AngleInstancedArrays::*;
+
+#[cfg(feature = "Animation")]
+#[allow(non_snake_case)]
+mod gen_Animation;
+#[cfg(feature = "Animation")]
+pub use gen_Animation::*;
+
+#[cfg(feature = "AnimationEffect")]
+#[allow(non_snake_case)]
+mod gen_AnimationEffect;
+#[cfg(feature = "AnimationEffect")]
+pub use gen_AnimationEffect::*;
+
+#[cfg(feature = "AnimationEvent")]
+#[allow(non_snake_case)]
+mod gen_AnimationEvent;
+#[cfg(feature = "AnimationEvent")]
+pub use gen_AnimationEvent::*;
+
+#[cfg(feature = "AnimationEventInit")]
+#[allow(non_snake_case)]
+mod gen_AnimationEventInit;
+#[cfg(feature = "AnimationEventInit")]
+pub use gen_AnimationEventInit::*;
+
+#[cfg(feature = "AnimationPlayState")]
+#[allow(non_snake_case)]
+mod gen_AnimationPlayState;
+#[cfg(feature = "AnimationPlayState")]
+pub use gen_AnimationPlayState::*;
+
+#[cfg(feature = "AnimationPlaybackEvent")]
+#[allow(non_snake_case)]
+mod gen_AnimationPlaybackEvent;
+#[cfg(feature = "AnimationPlaybackEvent")]
+pub use gen_AnimationPlaybackEvent::*;
+
+#[cfg(feature = "AnimationPlaybackEventInit")]
+#[allow(non_snake_case)]
+mod gen_AnimationPlaybackEventInit;
+#[cfg(feature = "AnimationPlaybackEventInit")]
+pub use gen_AnimationPlaybackEventInit::*;
+
+#[cfg(feature = "AnimationPropertyDetails")]
+#[allow(non_snake_case)]
+mod gen_AnimationPropertyDetails;
+#[cfg(feature = "AnimationPropertyDetails")]
+pub use gen_AnimationPropertyDetails::*;
+
+#[cfg(feature = "AnimationPropertyValueDetails")]
+#[allow(non_snake_case)]
+mod gen_AnimationPropertyValueDetails;
+#[cfg(feature = "AnimationPropertyValueDetails")]
+pub use gen_AnimationPropertyValueDetails::*;
+
+#[cfg(feature = "AnimationTimeline")]
+#[allow(non_snake_case)]
+mod gen_AnimationTimeline;
+#[cfg(feature = "AnimationTimeline")]
+pub use gen_AnimationTimeline::*;
+
+#[cfg(feature = "AssignedNodesOptions")]
+#[allow(non_snake_case)]
+mod gen_AssignedNodesOptions;
+#[cfg(feature = "AssignedNodesOptions")]
+pub use gen_AssignedNodesOptions::*;
+
+#[cfg(feature = "AttestationConveyancePreference")]
+#[allow(non_snake_case)]
+mod gen_AttestationConveyancePreference;
+#[cfg(feature = "AttestationConveyancePreference")]
+pub use gen_AttestationConveyancePreference::*;
+
+#[cfg(feature = "Attr")]
+#[allow(non_snake_case)]
+mod gen_Attr;
+#[cfg(feature = "Attr")]
+pub use gen_Attr::*;
+
+#[cfg(feature = "AttributeNameValue")]
+#[allow(non_snake_case)]
+mod gen_AttributeNameValue;
+#[cfg(feature = "AttributeNameValue")]
+pub use gen_AttributeNameValue::*;
+
+#[cfg(feature = "AudioBuffer")]
+#[allow(non_snake_case)]
+mod gen_AudioBuffer;
+#[cfg(feature = "AudioBuffer")]
+pub use gen_AudioBuffer::*;
+
+#[cfg(feature = "AudioBufferOptions")]
+#[allow(non_snake_case)]
+mod gen_AudioBufferOptions;
+#[cfg(feature = "AudioBufferOptions")]
+pub use gen_AudioBufferOptions::*;
+
+#[cfg(feature = "AudioBufferSourceNode")]
+#[allow(non_snake_case)]
+mod gen_AudioBufferSourceNode;
+#[cfg(feature = "AudioBufferSourceNode")]
+pub use gen_AudioBufferSourceNode::*;
+
+#[cfg(feature = "AudioBufferSourceOptions")]
+#[allow(non_snake_case)]
+mod gen_AudioBufferSourceOptions;
+#[cfg(feature = "AudioBufferSourceOptions")]
+pub use gen_AudioBufferSourceOptions::*;
+
+#[cfg(feature = "AudioConfiguration")]
+#[allow(non_snake_case)]
+mod gen_AudioConfiguration;
+#[cfg(feature = "AudioConfiguration")]
+pub use gen_AudioConfiguration::*;
+
+#[cfg(feature = "AudioContext")]
+#[allow(non_snake_case)]
+mod gen_AudioContext;
+#[cfg(feature = "AudioContext")]
+pub use gen_AudioContext::*;
+
+#[cfg(feature = "AudioContextOptions")]
+#[allow(non_snake_case)]
+mod gen_AudioContextOptions;
+#[cfg(feature = "AudioContextOptions")]
+pub use gen_AudioContextOptions::*;
+
+#[cfg(feature = "AudioContextState")]
+#[allow(non_snake_case)]
+mod gen_AudioContextState;
+#[cfg(feature = "AudioContextState")]
+pub use gen_AudioContextState::*;
+
+#[cfg(feature = "AudioData")]
+#[allow(non_snake_case)]
+mod gen_AudioData;
+#[cfg(feature = "AudioData")]
+pub use gen_AudioData::*;
+
+#[cfg(feature = "AudioDataCopyToOptions")]
+#[allow(non_snake_case)]
+mod gen_AudioDataCopyToOptions;
+#[cfg(feature = "AudioDataCopyToOptions")]
+pub use gen_AudioDataCopyToOptions::*;
+
+#[cfg(feature = "AudioDataInit")]
+#[allow(non_snake_case)]
+mod gen_AudioDataInit;
+#[cfg(feature = "AudioDataInit")]
+pub use gen_AudioDataInit::*;
+
+#[cfg(feature = "AudioDecoder")]
+#[allow(non_snake_case)]
+mod gen_AudioDecoder;
+#[cfg(feature = "AudioDecoder")]
+pub use gen_AudioDecoder::*;
+
+#[cfg(feature = "AudioDecoderConfig")]
+#[allow(non_snake_case)]
+mod gen_AudioDecoderConfig;
+#[cfg(feature = "AudioDecoderConfig")]
+pub use gen_AudioDecoderConfig::*;
+
+#[cfg(feature = "AudioDecoderInit")]
+#[allow(non_snake_case)]
+mod gen_AudioDecoderInit;
+#[cfg(feature = "AudioDecoderInit")]
+pub use gen_AudioDecoderInit::*;
+
+#[cfg(feature = "AudioDecoderSupport")]
+#[allow(non_snake_case)]
+mod gen_AudioDecoderSupport;
+#[cfg(feature = "AudioDecoderSupport")]
+pub use gen_AudioDecoderSupport::*;
+
+#[cfg(feature = "AudioDestinationNode")]
+#[allow(non_snake_case)]
+mod gen_AudioDestinationNode;
+#[cfg(feature = "AudioDestinationNode")]
+pub use gen_AudioDestinationNode::*;
+
+#[cfg(feature = "AudioEncoder")]
+#[allow(non_snake_case)]
+mod gen_AudioEncoder;
+#[cfg(feature = "AudioEncoder")]
+pub use gen_AudioEncoder::*;
+
+#[cfg(feature = "AudioEncoderConfig")]
+#[allow(non_snake_case)]
+mod gen_AudioEncoderConfig;
+#[cfg(feature = "AudioEncoderConfig")]
+pub use gen_AudioEncoderConfig::*;
+
+#[cfg(feature = "AudioEncoderInit")]
+#[allow(non_snake_case)]
+mod gen_AudioEncoderInit;
+#[cfg(feature = "AudioEncoderInit")]
+pub use gen_AudioEncoderInit::*;
+
+#[cfg(feature = "AudioEncoderSupport")]
+#[allow(non_snake_case)]
+mod gen_AudioEncoderSupport;
+#[cfg(feature = "AudioEncoderSupport")]
+pub use gen_AudioEncoderSupport::*;
+
+#[cfg(feature = "AudioListener")]
+#[allow(non_snake_case)]
+mod gen_AudioListener;
+#[cfg(feature = "AudioListener")]
+pub use gen_AudioListener::*;
+
+#[cfg(feature = "AudioNode")]
+#[allow(non_snake_case)]
+mod gen_AudioNode;
+#[cfg(feature = "AudioNode")]
+pub use gen_AudioNode::*;
+
+#[cfg(feature = "AudioNodeOptions")]
+#[allow(non_snake_case)]
+mod gen_AudioNodeOptions;
+#[cfg(feature = "AudioNodeOptions")]
+pub use gen_AudioNodeOptions::*;
+
+#[cfg(feature = "AudioParam")]
+#[allow(non_snake_case)]
+mod gen_AudioParam;
+#[cfg(feature = "AudioParam")]
+pub use gen_AudioParam::*;
+
+#[cfg(feature = "AudioParamMap")]
+#[allow(non_snake_case)]
+mod gen_AudioParamMap;
+#[cfg(feature = "AudioParamMap")]
+pub use gen_AudioParamMap::*;
+
+#[cfg(feature = "AudioProcessingEvent")]
+#[allow(non_snake_case)]
+mod gen_AudioProcessingEvent;
+#[cfg(feature = "AudioProcessingEvent")]
+pub use gen_AudioProcessingEvent::*;
+
+#[cfg(feature = "AudioSampleFormat")]
+#[allow(non_snake_case)]
+mod gen_AudioSampleFormat;
+#[cfg(feature = "AudioSampleFormat")]
+pub use gen_AudioSampleFormat::*;
+
+#[cfg(feature = "AudioScheduledSourceNode")]
+#[allow(non_snake_case)]
+mod gen_AudioScheduledSourceNode;
+#[cfg(feature = "AudioScheduledSourceNode")]
+pub use gen_AudioScheduledSourceNode::*;
+
+#[cfg(feature = "AudioStreamTrack")]
+#[allow(non_snake_case)]
+mod gen_AudioStreamTrack;
+#[cfg(feature = "AudioStreamTrack")]
+pub use gen_AudioStreamTrack::*;
+
+#[cfg(feature = "AudioTrack")]
+#[allow(non_snake_case)]
+mod gen_AudioTrack;
+#[cfg(feature = "AudioTrack")]
+pub use gen_AudioTrack::*;
+
+#[cfg(feature = "AudioTrackList")]
+#[allow(non_snake_case)]
+mod gen_AudioTrackList;
+#[cfg(feature = "AudioTrackList")]
+pub use gen_AudioTrackList::*;
+
+#[cfg(feature = "AudioWorklet")]
+#[allow(non_snake_case)]
+mod gen_AudioWorklet;
+#[cfg(feature = "AudioWorklet")]
+pub use gen_AudioWorklet::*;
+
+#[cfg(feature = "AudioWorkletGlobalScope")]
+#[allow(non_snake_case)]
+mod gen_AudioWorkletGlobalScope;
+#[cfg(feature = "AudioWorkletGlobalScope")]
+pub use gen_AudioWorkletGlobalScope::*;
+
+#[cfg(feature = "AudioWorkletNode")]
+#[allow(non_snake_case)]
+mod gen_AudioWorkletNode;
+#[cfg(feature = "AudioWorkletNode")]
+pub use gen_AudioWorkletNode::*;
+
+#[cfg(feature = "AudioWorkletNodeOptions")]
+#[allow(non_snake_case)]
+mod gen_AudioWorkletNodeOptions;
+#[cfg(feature = "AudioWorkletNodeOptions")]
+pub use gen_AudioWorkletNodeOptions::*;
+
+#[cfg(feature = "AudioWorkletProcessor")]
+#[allow(non_snake_case)]
+mod gen_AudioWorkletProcessor;
+#[cfg(feature = "AudioWorkletProcessor")]
+pub use gen_AudioWorkletProcessor::*;
+
+#[cfg(feature = "AuthenticationExtensionsClientInputs")]
+#[allow(non_snake_case)]
+mod gen_AuthenticationExtensionsClientInputs;
+#[cfg(feature = "AuthenticationExtensionsClientInputs")]
+pub use gen_AuthenticationExtensionsClientInputs::*;
+
+#[cfg(feature = "AuthenticationExtensionsClientOutputs")]
+#[allow(non_snake_case)]
+mod gen_AuthenticationExtensionsClientOutputs;
+#[cfg(feature = "AuthenticationExtensionsClientOutputs")]
+pub use gen_AuthenticationExtensionsClientOutputs::*;
+
+#[cfg(feature = "AuthenticatorAssertionResponse")]
+#[allow(non_snake_case)]
+mod gen_AuthenticatorAssertionResponse;
+#[cfg(feature = "AuthenticatorAssertionResponse")]
+pub use gen_AuthenticatorAssertionResponse::*;
+
+#[cfg(feature = "AuthenticatorAttachment")]
+#[allow(non_snake_case)]
+mod gen_AuthenticatorAttachment;
+#[cfg(feature = "AuthenticatorAttachment")]
+pub use gen_AuthenticatorAttachment::*;
+
+#[cfg(feature = "AuthenticatorAttestationResponse")]
+#[allow(non_snake_case)]
+mod gen_AuthenticatorAttestationResponse;
+#[cfg(feature = "AuthenticatorAttestationResponse")]
+pub use gen_AuthenticatorAttestationResponse::*;
+
+#[cfg(feature = "AuthenticatorResponse")]
+#[allow(non_snake_case)]
+mod gen_AuthenticatorResponse;
+#[cfg(feature = "AuthenticatorResponse")]
+pub use gen_AuthenticatorResponse::*;
+
+#[cfg(feature = "AuthenticatorSelectionCriteria")]
+#[allow(non_snake_case)]
+mod gen_AuthenticatorSelectionCriteria;
+#[cfg(feature = "AuthenticatorSelectionCriteria")]
+pub use gen_AuthenticatorSelectionCriteria::*;
+
+#[cfg(feature = "AuthenticatorTransport")]
+#[allow(non_snake_case)]
+mod gen_AuthenticatorTransport;
+#[cfg(feature = "AuthenticatorTransport")]
+pub use gen_AuthenticatorTransport::*;
+
+#[cfg(feature = "AutoKeyword")]
+#[allow(non_snake_case)]
+mod gen_AutoKeyword;
+#[cfg(feature = "AutoKeyword")]
+pub use gen_AutoKeyword::*;
+
+#[cfg(feature = "AutocompleteInfo")]
+#[allow(non_snake_case)]
+mod gen_AutocompleteInfo;
+#[cfg(feature = "AutocompleteInfo")]
+pub use gen_AutocompleteInfo::*;
+
+#[cfg(feature = "BarProp")]
+#[allow(non_snake_case)]
+mod gen_BarProp;
+#[cfg(feature = "BarProp")]
+pub use gen_BarProp::*;
+
+#[cfg(feature = "BaseAudioContext")]
+#[allow(non_snake_case)]
+mod gen_BaseAudioContext;
+#[cfg(feature = "BaseAudioContext")]
+pub use gen_BaseAudioContext::*;
+
+#[cfg(feature = "BaseComputedKeyframe")]
+#[allow(non_snake_case)]
+mod gen_BaseComputedKeyframe;
+#[cfg(feature = "BaseComputedKeyframe")]
+pub use gen_BaseComputedKeyframe::*;
+
+#[cfg(feature = "BaseKeyframe")]
+#[allow(non_snake_case)]
+mod gen_BaseKeyframe;
+#[cfg(feature = "BaseKeyframe")]
+pub use gen_BaseKeyframe::*;
+
+#[cfg(feature = "BasePropertyIndexedKeyframe")]
+#[allow(non_snake_case)]
+mod gen_BasePropertyIndexedKeyframe;
+#[cfg(feature = "BasePropertyIndexedKeyframe")]
+pub use gen_BasePropertyIndexedKeyframe::*;
+
+#[cfg(feature = "BasicCardRequest")]
+#[allow(non_snake_case)]
+mod gen_BasicCardRequest;
+#[cfg(feature = "BasicCardRequest")]
+pub use gen_BasicCardRequest::*;
+
+#[cfg(feature = "BasicCardResponse")]
+#[allow(non_snake_case)]
+mod gen_BasicCardResponse;
+#[cfg(feature = "BasicCardResponse")]
+pub use gen_BasicCardResponse::*;
+
+#[cfg(feature = "BasicCardType")]
+#[allow(non_snake_case)]
+mod gen_BasicCardType;
+#[cfg(feature = "BasicCardType")]
+pub use gen_BasicCardType::*;
+
+#[cfg(feature = "BatteryManager")]
+#[allow(non_snake_case)]
+mod gen_BatteryManager;
+#[cfg(feature = "BatteryManager")]
+pub use gen_BatteryManager::*;
+
+#[cfg(feature = "BeforeUnloadEvent")]
+#[allow(non_snake_case)]
+mod gen_BeforeUnloadEvent;
+#[cfg(feature = "BeforeUnloadEvent")]
+pub use gen_BeforeUnloadEvent::*;
+
+#[cfg(feature = "BinaryType")]
+#[allow(non_snake_case)]
+mod gen_BinaryType;
+#[cfg(feature = "BinaryType")]
+pub use gen_BinaryType::*;
+
+#[cfg(feature = "BiquadFilterNode")]
+#[allow(non_snake_case)]
+mod gen_BiquadFilterNode;
+#[cfg(feature = "BiquadFilterNode")]
+pub use gen_BiquadFilterNode::*;
+
+#[cfg(feature = "BiquadFilterOptions")]
+#[allow(non_snake_case)]
+mod gen_BiquadFilterOptions;
+#[cfg(feature = "BiquadFilterOptions")]
+pub use gen_BiquadFilterOptions::*;
+
+#[cfg(feature = "BiquadFilterType")]
+#[allow(non_snake_case)]
+mod gen_BiquadFilterType;
+#[cfg(feature = "BiquadFilterType")]
+pub use gen_BiquadFilterType::*;
+
+#[cfg(feature = "Blob")]
+#[allow(non_snake_case)]
+mod gen_Blob;
+#[cfg(feature = "Blob")]
+pub use gen_Blob::*;
+
+#[cfg(feature = "BlobEvent")]
+#[allow(non_snake_case)]
+mod gen_BlobEvent;
+#[cfg(feature = "BlobEvent")]
+pub use gen_BlobEvent::*;
+
+#[cfg(feature = "BlobEventInit")]
+#[allow(non_snake_case)]
+mod gen_BlobEventInit;
+#[cfg(feature = "BlobEventInit")]
+pub use gen_BlobEventInit::*;
+
+#[cfg(feature = "BlobPropertyBag")]
+#[allow(non_snake_case)]
+mod gen_BlobPropertyBag;
+#[cfg(feature = "BlobPropertyBag")]
+pub use gen_BlobPropertyBag::*;
+
+#[cfg(feature = "BlockParsingOptions")]
+#[allow(non_snake_case)]
+mod gen_BlockParsingOptions;
+#[cfg(feature = "BlockParsingOptions")]
+pub use gen_BlockParsingOptions::*;
+
+#[cfg(feature = "Bluetooth")]
+#[allow(non_snake_case)]
+mod gen_Bluetooth;
+#[cfg(feature = "Bluetooth")]
+pub use gen_Bluetooth::*;
+
+#[cfg(feature = "BluetoothAdvertisingEvent")]
+#[allow(non_snake_case)]
+mod gen_BluetoothAdvertisingEvent;
+#[cfg(feature = "BluetoothAdvertisingEvent")]
+pub use gen_BluetoothAdvertisingEvent::*;
+
+#[cfg(feature = "BluetoothAdvertisingEventInit")]
+#[allow(non_snake_case)]
+mod gen_BluetoothAdvertisingEventInit;
+#[cfg(feature = "BluetoothAdvertisingEventInit")]
+pub use gen_BluetoothAdvertisingEventInit::*;
+
+#[cfg(feature = "BluetoothCharacteristicProperties")]
+#[allow(non_snake_case)]
+mod gen_BluetoothCharacteristicProperties;
+#[cfg(feature = "BluetoothCharacteristicProperties")]
+pub use gen_BluetoothCharacteristicProperties::*;
+
+#[cfg(feature = "BluetoothDataFilterInit")]
+#[allow(non_snake_case)]
+mod gen_BluetoothDataFilterInit;
+#[cfg(feature = "BluetoothDataFilterInit")]
+pub use gen_BluetoothDataFilterInit::*;
+
+#[cfg(feature = "BluetoothDevice")]
+#[allow(non_snake_case)]
+mod gen_BluetoothDevice;
+#[cfg(feature = "BluetoothDevice")]
+pub use gen_BluetoothDevice::*;
+
+#[cfg(feature = "BluetoothLeScanFilterInit")]
+#[allow(non_snake_case)]
+mod gen_BluetoothLeScanFilterInit;
+#[cfg(feature = "BluetoothLeScanFilterInit")]
+pub use gen_BluetoothLeScanFilterInit::*;
+
+#[cfg(feature = "BluetoothManufacturerDataMap")]
+#[allow(non_snake_case)]
+mod gen_BluetoothManufacturerDataMap;
+#[cfg(feature = "BluetoothManufacturerDataMap")]
+pub use gen_BluetoothManufacturerDataMap::*;
+
+#[cfg(feature = "BluetoothPermissionDescriptor")]
+#[allow(non_snake_case)]
+mod gen_BluetoothPermissionDescriptor;
+#[cfg(feature = "BluetoothPermissionDescriptor")]
+pub use gen_BluetoothPermissionDescriptor::*;
+
+#[cfg(feature = "BluetoothPermissionResult")]
+#[allow(non_snake_case)]
+mod gen_BluetoothPermissionResult;
+#[cfg(feature = "BluetoothPermissionResult")]
+pub use gen_BluetoothPermissionResult::*;
+
+#[cfg(feature = "BluetoothPermissionStorage")]
+#[allow(non_snake_case)]
+mod gen_BluetoothPermissionStorage;
+#[cfg(feature = "BluetoothPermissionStorage")]
+pub use gen_BluetoothPermissionStorage::*;
+
+#[cfg(feature = "BluetoothRemoteGattCharacteristic")]
+#[allow(non_snake_case)]
+mod gen_BluetoothRemoteGattCharacteristic;
+#[cfg(feature = "BluetoothRemoteGattCharacteristic")]
+pub use gen_BluetoothRemoteGattCharacteristic::*;
+
+#[cfg(feature = "BluetoothRemoteGattDescriptor")]
+#[allow(non_snake_case)]
+mod gen_BluetoothRemoteGattDescriptor;
+#[cfg(feature = "BluetoothRemoteGattDescriptor")]
+pub use gen_BluetoothRemoteGattDescriptor::*;
+
+#[cfg(feature = "BluetoothRemoteGattServer")]
+#[allow(non_snake_case)]
+mod gen_BluetoothRemoteGattServer;
+#[cfg(feature = "BluetoothRemoteGattServer")]
+pub use gen_BluetoothRemoteGattServer::*;
+
+#[cfg(feature = "BluetoothRemoteGattService")]
+#[allow(non_snake_case)]
+mod gen_BluetoothRemoteGattService;
+#[cfg(feature = "BluetoothRemoteGattService")]
+pub use gen_BluetoothRemoteGattService::*;
+
+#[cfg(feature = "BluetoothServiceDataMap")]
+#[allow(non_snake_case)]
+mod gen_BluetoothServiceDataMap;
+#[cfg(feature = "BluetoothServiceDataMap")]
+pub use gen_BluetoothServiceDataMap::*;
+
+#[cfg(feature = "BluetoothUuid")]
+#[allow(non_snake_case)]
+mod gen_BluetoothUuid;
+#[cfg(feature = "BluetoothUuid")]
+pub use gen_BluetoothUuid::*;
+
+#[cfg(feature = "BoxQuadOptions")]
+#[allow(non_snake_case)]
+mod gen_BoxQuadOptions;
+#[cfg(feature = "BoxQuadOptions")]
+pub use gen_BoxQuadOptions::*;
+
+#[cfg(feature = "BroadcastChannel")]
+#[allow(non_snake_case)]
+mod gen_BroadcastChannel;
+#[cfg(feature = "BroadcastChannel")]
+pub use gen_BroadcastChannel::*;
+
+#[cfg(feature = "BrowserElementDownloadOptions")]
+#[allow(non_snake_case)]
+mod gen_BrowserElementDownloadOptions;
+#[cfg(feature = "BrowserElementDownloadOptions")]
+pub use gen_BrowserElementDownloadOptions::*;
+
+#[cfg(feature = "BrowserElementExecuteScriptOptions")]
+#[allow(non_snake_case)]
+mod gen_BrowserElementExecuteScriptOptions;
+#[cfg(feature = "BrowserElementExecuteScriptOptions")]
+pub use gen_BrowserElementExecuteScriptOptions::*;
+
+#[cfg(feature = "BrowserFeedWriter")]
+#[allow(non_snake_case)]
+mod gen_BrowserFeedWriter;
+#[cfg(feature = "BrowserFeedWriter")]
+pub use gen_BrowserFeedWriter::*;
+
+#[cfg(feature = "BrowserFindCaseSensitivity")]
+#[allow(non_snake_case)]
+mod gen_BrowserFindCaseSensitivity;
+#[cfg(feature = "BrowserFindCaseSensitivity")]
+pub use gen_BrowserFindCaseSensitivity::*;
+
+#[cfg(feature = "BrowserFindDirection")]
+#[allow(non_snake_case)]
+mod gen_BrowserFindDirection;
+#[cfg(feature = "BrowserFindDirection")]
+pub use gen_BrowserFindDirection::*;
+
+#[cfg(feature = "ByteLengthQueuingStrategy")]
+#[allow(non_snake_case)]
+mod gen_ByteLengthQueuingStrategy;
+#[cfg(feature = "ByteLengthQueuingStrategy")]
+pub use gen_ByteLengthQueuingStrategy::*;
+
+#[cfg(feature = "Cache")]
+#[allow(non_snake_case)]
+mod gen_Cache;
+#[cfg(feature = "Cache")]
+pub use gen_Cache::*;
+
+#[cfg(feature = "CacheBatchOperation")]
+#[allow(non_snake_case)]
+mod gen_CacheBatchOperation;
+#[cfg(feature = "CacheBatchOperation")]
+pub use gen_CacheBatchOperation::*;
+
+#[cfg(feature = "CacheQueryOptions")]
+#[allow(non_snake_case)]
+mod gen_CacheQueryOptions;
+#[cfg(feature = "CacheQueryOptions")]
+pub use gen_CacheQueryOptions::*;
+
+#[cfg(feature = "CacheStorage")]
+#[allow(non_snake_case)]
+mod gen_CacheStorage;
+#[cfg(feature = "CacheStorage")]
+pub use gen_CacheStorage::*;
+
+#[cfg(feature = "CacheStorageNamespace")]
+#[allow(non_snake_case)]
+mod gen_CacheStorageNamespace;
+#[cfg(feature = "CacheStorageNamespace")]
+pub use gen_CacheStorageNamespace::*;
+
+#[cfg(feature = "CanvasCaptureMediaStream")]
+#[allow(non_snake_case)]
+mod gen_CanvasCaptureMediaStream;
+#[cfg(feature = "CanvasCaptureMediaStream")]
+pub use gen_CanvasCaptureMediaStream::*;
+
+#[cfg(feature = "CanvasGradient")]
+#[allow(non_snake_case)]
+mod gen_CanvasGradient;
+#[cfg(feature = "CanvasGradient")]
+pub use gen_CanvasGradient::*;
+
+#[cfg(feature = "CanvasPattern")]
+#[allow(non_snake_case)]
+mod gen_CanvasPattern;
+#[cfg(feature = "CanvasPattern")]
+pub use gen_CanvasPattern::*;
+
+#[cfg(feature = "CanvasRenderingContext2d")]
+#[allow(non_snake_case)]
+mod gen_CanvasRenderingContext2d;
+#[cfg(feature = "CanvasRenderingContext2d")]
+pub use gen_CanvasRenderingContext2d::*;
+
+#[cfg(feature = "CanvasWindingRule")]
+#[allow(non_snake_case)]
+mod gen_CanvasWindingRule;
+#[cfg(feature = "CanvasWindingRule")]
+pub use gen_CanvasWindingRule::*;
+
+#[cfg(feature = "CaretChangedReason")]
+#[allow(non_snake_case)]
+mod gen_CaretChangedReason;
+#[cfg(feature = "CaretChangedReason")]
+pub use gen_CaretChangedReason::*;
+
+#[cfg(feature = "CaretPosition")]
+#[allow(non_snake_case)]
+mod gen_CaretPosition;
+#[cfg(feature = "CaretPosition")]
+pub use gen_CaretPosition::*;
+
+#[cfg(feature = "CaretStateChangedEventInit")]
+#[allow(non_snake_case)]
+mod gen_CaretStateChangedEventInit;
+#[cfg(feature = "CaretStateChangedEventInit")]
+pub use gen_CaretStateChangedEventInit::*;
+
+#[cfg(feature = "CdataSection")]
+#[allow(non_snake_case)]
+mod gen_CdataSection;
+#[cfg(feature = "CdataSection")]
+pub use gen_CdataSection::*;
+
+#[cfg(feature = "ChannelCountMode")]
+#[allow(non_snake_case)]
+mod gen_ChannelCountMode;
+#[cfg(feature = "ChannelCountMode")]
+pub use gen_ChannelCountMode::*;
+
+#[cfg(feature = "ChannelInterpretation")]
+#[allow(non_snake_case)]
+mod gen_ChannelInterpretation;
+#[cfg(feature = "ChannelInterpretation")]
+pub use gen_ChannelInterpretation::*;
+
+#[cfg(feature = "ChannelMergerNode")]
+#[allow(non_snake_case)]
+mod gen_ChannelMergerNode;
+#[cfg(feature = "ChannelMergerNode")]
+pub use gen_ChannelMergerNode::*;
+
+#[cfg(feature = "ChannelMergerOptions")]
+#[allow(non_snake_case)]
+mod gen_ChannelMergerOptions;
+#[cfg(feature = "ChannelMergerOptions")]
+pub use gen_ChannelMergerOptions::*;
+
+#[cfg(feature = "ChannelSplitterNode")]
+#[allow(non_snake_case)]
+mod gen_ChannelSplitterNode;
+#[cfg(feature = "ChannelSplitterNode")]
+pub use gen_ChannelSplitterNode::*;
+
+#[cfg(feature = "ChannelSplitterOptions")]
+#[allow(non_snake_case)]
+mod gen_ChannelSplitterOptions;
+#[cfg(feature = "ChannelSplitterOptions")]
+pub use gen_ChannelSplitterOptions::*;
+
+#[cfg(feature = "CharacterData")]
+#[allow(non_snake_case)]
+mod gen_CharacterData;
+#[cfg(feature = "CharacterData")]
+pub use gen_CharacterData::*;
+
+#[cfg(feature = "CheckerboardReason")]
+#[allow(non_snake_case)]
+mod gen_CheckerboardReason;
+#[cfg(feature = "CheckerboardReason")]
+pub use gen_CheckerboardReason::*;
+
+#[cfg(feature = "CheckerboardReport")]
+#[allow(non_snake_case)]
+mod gen_CheckerboardReport;
+#[cfg(feature = "CheckerboardReport")]
+pub use gen_CheckerboardReport::*;
+
+#[cfg(feature = "CheckerboardReportService")]
+#[allow(non_snake_case)]
+mod gen_CheckerboardReportService;
+#[cfg(feature = "CheckerboardReportService")]
+pub use gen_CheckerboardReportService::*;
+
+#[cfg(feature = "ChromeFilePropertyBag")]
+#[allow(non_snake_case)]
+mod gen_ChromeFilePropertyBag;
+#[cfg(feature = "ChromeFilePropertyBag")]
+pub use gen_ChromeFilePropertyBag::*;
+
+#[cfg(feature = "ChromeWorker")]
+#[allow(non_snake_case)]
+mod gen_ChromeWorker;
+#[cfg(feature = "ChromeWorker")]
+pub use gen_ChromeWorker::*;
+
+#[cfg(feature = "Client")]
+#[allow(non_snake_case)]
+mod gen_Client;
+#[cfg(feature = "Client")]
+pub use gen_Client::*;
+
+#[cfg(feature = "ClientQueryOptions")]
+#[allow(non_snake_case)]
+mod gen_ClientQueryOptions;
+#[cfg(feature = "ClientQueryOptions")]
+pub use gen_ClientQueryOptions::*;
+
+#[cfg(feature = "ClientRectsAndTexts")]
+#[allow(non_snake_case)]
+mod gen_ClientRectsAndTexts;
+#[cfg(feature = "ClientRectsAndTexts")]
+pub use gen_ClientRectsAndTexts::*;
+
+#[cfg(feature = "ClientType")]
+#[allow(non_snake_case)]
+mod gen_ClientType;
+#[cfg(feature = "ClientType")]
+pub use gen_ClientType::*;
+
+#[cfg(feature = "Clients")]
+#[allow(non_snake_case)]
+mod gen_Clients;
+#[cfg(feature = "Clients")]
+pub use gen_Clients::*;
+
+#[cfg(feature = "Clipboard")]
+#[allow(non_snake_case)]
+mod gen_Clipboard;
+#[cfg(feature = "Clipboard")]
+pub use gen_Clipboard::*;
+
+#[cfg(feature = "ClipboardEvent")]
+#[allow(non_snake_case)]
+mod gen_ClipboardEvent;
+#[cfg(feature = "ClipboardEvent")]
+pub use gen_ClipboardEvent::*;
+
+#[cfg(feature = "ClipboardEventInit")]
+#[allow(non_snake_case)]
+mod gen_ClipboardEventInit;
+#[cfg(feature = "ClipboardEventInit")]
+pub use gen_ClipboardEventInit::*;
+
+#[cfg(feature = "ClipboardItem")]
+#[allow(non_snake_case)]
+mod gen_ClipboardItem;
+#[cfg(feature = "ClipboardItem")]
+pub use gen_ClipboardItem::*;
+
+#[cfg(feature = "ClipboardItemOptions")]
+#[allow(non_snake_case)]
+mod gen_ClipboardItemOptions;
+#[cfg(feature = "ClipboardItemOptions")]
+pub use gen_ClipboardItemOptions::*;
+
+#[cfg(feature = "ClipboardPermissionDescriptor")]
+#[allow(non_snake_case)]
+mod gen_ClipboardPermissionDescriptor;
+#[cfg(feature = "ClipboardPermissionDescriptor")]
+pub use gen_ClipboardPermissionDescriptor::*;
+
+#[cfg(feature = "CloseEvent")]
+#[allow(non_snake_case)]
+mod gen_CloseEvent;
+#[cfg(feature = "CloseEvent")]
+pub use gen_CloseEvent::*;
+
+#[cfg(feature = "CloseEventInit")]
+#[allow(non_snake_case)]
+mod gen_CloseEventInit;
+#[cfg(feature = "CloseEventInit")]
+pub use gen_CloseEventInit::*;
+
+#[cfg(feature = "CodecState")]
+#[allow(non_snake_case)]
+mod gen_CodecState;
+#[cfg(feature = "CodecState")]
+pub use gen_CodecState::*;
+
+#[cfg(feature = "CollectedClientData")]
+#[allow(non_snake_case)]
+mod gen_CollectedClientData;
+#[cfg(feature = "CollectedClientData")]
+pub use gen_CollectedClientData::*;
+
+#[cfg(feature = "ColorSpaceConversion")]
+#[allow(non_snake_case)]
+mod gen_ColorSpaceConversion;
+#[cfg(feature = "ColorSpaceConversion")]
+pub use gen_ColorSpaceConversion::*;
+
+#[cfg(feature = "Comment")]
+#[allow(non_snake_case)]
+mod gen_Comment;
+#[cfg(feature = "Comment")]
+pub use gen_Comment::*;
+
+#[cfg(feature = "CompositeOperation")]
+#[allow(non_snake_case)]
+mod gen_CompositeOperation;
+#[cfg(feature = "CompositeOperation")]
+pub use gen_CompositeOperation::*;
+
+#[cfg(feature = "CompositionEvent")]
+#[allow(non_snake_case)]
+mod gen_CompositionEvent;
+#[cfg(feature = "CompositionEvent")]
+pub use gen_CompositionEvent::*;
+
+#[cfg(feature = "CompositionEventInit")]
+#[allow(non_snake_case)]
+mod gen_CompositionEventInit;
+#[cfg(feature = "CompositionEventInit")]
+pub use gen_CompositionEventInit::*;
+
+#[cfg(feature = "ComputedEffectTiming")]
+#[allow(non_snake_case)]
+mod gen_ComputedEffectTiming;
+#[cfg(feature = "ComputedEffectTiming")]
+pub use gen_ComputedEffectTiming::*;
+
+#[cfg(feature = "ConnStatusDict")]
+#[allow(non_snake_case)]
+mod gen_ConnStatusDict;
+#[cfg(feature = "ConnStatusDict")]
+pub use gen_ConnStatusDict::*;
+
+#[cfg(feature = "ConnectionType")]
+#[allow(non_snake_case)]
+mod gen_ConnectionType;
+#[cfg(feature = "ConnectionType")]
+pub use gen_ConnectionType::*;
+
+#[cfg(feature = "ConsoleCounter")]
+#[allow(non_snake_case)]
+mod gen_ConsoleCounter;
+#[cfg(feature = "ConsoleCounter")]
+pub use gen_ConsoleCounter::*;
+
+#[cfg(feature = "ConsoleCounterError")]
+#[allow(non_snake_case)]
+mod gen_ConsoleCounterError;
+#[cfg(feature = "ConsoleCounterError")]
+pub use gen_ConsoleCounterError::*;
+
+#[cfg(feature = "ConsoleEvent")]
+#[allow(non_snake_case)]
+mod gen_ConsoleEvent;
+#[cfg(feature = "ConsoleEvent")]
+pub use gen_ConsoleEvent::*;
+
+#[cfg(feature = "ConsoleInstance")]
+#[allow(non_snake_case)]
+mod gen_ConsoleInstance;
+#[cfg(feature = "ConsoleInstance")]
+pub use gen_ConsoleInstance::*;
+
+#[cfg(feature = "ConsoleInstanceOptions")]
+#[allow(non_snake_case)]
+mod gen_ConsoleInstanceOptions;
+#[cfg(feature = "ConsoleInstanceOptions")]
+pub use gen_ConsoleInstanceOptions::*;
+
+#[cfg(feature = "ConsoleLevel")]
+#[allow(non_snake_case)]
+mod gen_ConsoleLevel;
+#[cfg(feature = "ConsoleLevel")]
+pub use gen_ConsoleLevel::*;
+
+#[cfg(feature = "ConsoleLogLevel")]
+#[allow(non_snake_case)]
+mod gen_ConsoleLogLevel;
+#[cfg(feature = "ConsoleLogLevel")]
+pub use gen_ConsoleLogLevel::*;
+
+#[cfg(feature = "ConsoleProfileEvent")]
+#[allow(non_snake_case)]
+mod gen_ConsoleProfileEvent;
+#[cfg(feature = "ConsoleProfileEvent")]
+pub use gen_ConsoleProfileEvent::*;
+
+#[cfg(feature = "ConsoleStackEntry")]
+#[allow(non_snake_case)]
+mod gen_ConsoleStackEntry;
+#[cfg(feature = "ConsoleStackEntry")]
+pub use gen_ConsoleStackEntry::*;
+
+#[cfg(feature = "ConsoleTimerError")]
+#[allow(non_snake_case)]
+mod gen_ConsoleTimerError;
+#[cfg(feature = "ConsoleTimerError")]
+pub use gen_ConsoleTimerError::*;
+
+#[cfg(feature = "ConsoleTimerLogOrEnd")]
+#[allow(non_snake_case)]
+mod gen_ConsoleTimerLogOrEnd;
+#[cfg(feature = "ConsoleTimerLogOrEnd")]
+pub use gen_ConsoleTimerLogOrEnd::*;
+
+#[cfg(feature = "ConsoleTimerStart")]
+#[allow(non_snake_case)]
+mod gen_ConsoleTimerStart;
+#[cfg(feature = "ConsoleTimerStart")]
+pub use gen_ConsoleTimerStart::*;
+
+#[cfg(feature = "ConstantSourceNode")]
+#[allow(non_snake_case)]
+mod gen_ConstantSourceNode;
+#[cfg(feature = "ConstantSourceNode")]
+pub use gen_ConstantSourceNode::*;
+
+#[cfg(feature = "ConstantSourceOptions")]
+#[allow(non_snake_case)]
+mod gen_ConstantSourceOptions;
+#[cfg(feature = "ConstantSourceOptions")]
+pub use gen_ConstantSourceOptions::*;
+
+#[cfg(feature = "ConstrainBooleanParameters")]
+#[allow(non_snake_case)]
+mod gen_ConstrainBooleanParameters;
+#[cfg(feature = "ConstrainBooleanParameters")]
+pub use gen_ConstrainBooleanParameters::*;
+
+#[cfg(feature = "ConstrainDomStringParameters")]
+#[allow(non_snake_case)]
+mod gen_ConstrainDomStringParameters;
+#[cfg(feature = "ConstrainDomStringParameters")]
+pub use gen_ConstrainDomStringParameters::*;
+
+#[cfg(feature = "ConstrainDoubleRange")]
+#[allow(non_snake_case)]
+mod gen_ConstrainDoubleRange;
+#[cfg(feature = "ConstrainDoubleRange")]
+pub use gen_ConstrainDoubleRange::*;
+
+#[cfg(feature = "ConstrainLongRange")]
+#[allow(non_snake_case)]
+mod gen_ConstrainLongRange;
+#[cfg(feature = "ConstrainLongRange")]
+pub use gen_ConstrainLongRange::*;
+
+#[cfg(feature = "ContextAttributes2d")]
+#[allow(non_snake_case)]
+mod gen_ContextAttributes2d;
+#[cfg(feature = "ContextAttributes2d")]
+pub use gen_ContextAttributes2d::*;
+
+#[cfg(feature = "ConvertCoordinateOptions")]
+#[allow(non_snake_case)]
+mod gen_ConvertCoordinateOptions;
+#[cfg(feature = "ConvertCoordinateOptions")]
+pub use gen_ConvertCoordinateOptions::*;
+
+#[cfg(feature = "ConvolverNode")]
+#[allow(non_snake_case)]
+mod gen_ConvolverNode;
+#[cfg(feature = "ConvolverNode")]
+pub use gen_ConvolverNode::*;
+
+#[cfg(feature = "ConvolverOptions")]
+#[allow(non_snake_case)]
+mod gen_ConvolverOptions;
+#[cfg(feature = "ConvolverOptions")]
+pub use gen_ConvolverOptions::*;
+
+#[cfg(feature = "Coordinates")]
+#[allow(non_snake_case)]
+mod gen_Coordinates;
+#[cfg(feature = "Coordinates")]
+pub use gen_Coordinates::*;
+
+#[cfg(feature = "CountQueuingStrategy")]
+#[allow(non_snake_case)]
+mod gen_CountQueuingStrategy;
+#[cfg(feature = "CountQueuingStrategy")]
+pub use gen_CountQueuingStrategy::*;
+
+#[cfg(feature = "Credential")]
+#[allow(non_snake_case)]
+mod gen_Credential;
+#[cfg(feature = "Credential")]
+pub use gen_Credential::*;
+
+#[cfg(feature = "CredentialCreationOptions")]
+#[allow(non_snake_case)]
+mod gen_CredentialCreationOptions;
+#[cfg(feature = "CredentialCreationOptions")]
+pub use gen_CredentialCreationOptions::*;
+
+#[cfg(feature = "CredentialRequestOptions")]
+#[allow(non_snake_case)]
+mod gen_CredentialRequestOptions;
+#[cfg(feature = "CredentialRequestOptions")]
+pub use gen_CredentialRequestOptions::*;
+
+#[cfg(feature = "CredentialsContainer")]
+#[allow(non_snake_case)]
+mod gen_CredentialsContainer;
+#[cfg(feature = "CredentialsContainer")]
+pub use gen_CredentialsContainer::*;
+
+#[cfg(feature = "Crypto")]
+#[allow(non_snake_case)]
+mod gen_Crypto;
+#[cfg(feature = "Crypto")]
+pub use gen_Crypto::*;
+
+#[cfg(feature = "CryptoKey")]
+#[allow(non_snake_case)]
+mod gen_CryptoKey;
+#[cfg(feature = "CryptoKey")]
+pub use gen_CryptoKey::*;
+
+#[cfg(feature = "CryptoKeyPair")]
+#[allow(non_snake_case)]
+mod gen_CryptoKeyPair;
+#[cfg(feature = "CryptoKeyPair")]
+pub use gen_CryptoKeyPair::*;
+
+#[cfg(feature = "Csp")]
+#[allow(non_snake_case)]
+mod gen_Csp;
+#[cfg(feature = "Csp")]
+pub use gen_Csp::*;
+
+#[cfg(feature = "CspPolicies")]
+#[allow(non_snake_case)]
+mod gen_CspPolicies;
+#[cfg(feature = "CspPolicies")]
+pub use gen_CspPolicies::*;
+
+#[cfg(feature = "CspReport")]
+#[allow(non_snake_case)]
+mod gen_CspReport;
+#[cfg(feature = "CspReport")]
+pub use gen_CspReport::*;
+
+#[cfg(feature = "CspReportProperties")]
+#[allow(non_snake_case)]
+mod gen_CspReportProperties;
+#[cfg(feature = "CspReportProperties")]
+pub use gen_CspReportProperties::*;
+
+#[cfg(feature = "CssAnimation")]
+#[allow(non_snake_case)]
+mod gen_CssAnimation;
+#[cfg(feature = "CssAnimation")]
+pub use gen_CssAnimation::*;
+
+#[cfg(feature = "CssBoxType")]
+#[allow(non_snake_case)]
+mod gen_CssBoxType;
+#[cfg(feature = "CssBoxType")]
+pub use gen_CssBoxType::*;
+
+#[cfg(feature = "CssConditionRule")]
+#[allow(non_snake_case)]
+mod gen_CssConditionRule;
+#[cfg(feature = "CssConditionRule")]
+pub use gen_CssConditionRule::*;
+
+#[cfg(feature = "CssCounterStyleRule")]
+#[allow(non_snake_case)]
+mod gen_CssCounterStyleRule;
+#[cfg(feature = "CssCounterStyleRule")]
+pub use gen_CssCounterStyleRule::*;
+
+#[cfg(feature = "CssFontFaceRule")]
+#[allow(non_snake_case)]
+mod gen_CssFontFaceRule;
+#[cfg(feature = "CssFontFaceRule")]
+pub use gen_CssFontFaceRule::*;
+
+#[cfg(feature = "CssFontFeatureValuesRule")]
+#[allow(non_snake_case)]
+mod gen_CssFontFeatureValuesRule;
+#[cfg(feature = "CssFontFeatureValuesRule")]
+pub use gen_CssFontFeatureValuesRule::*;
+
+#[cfg(feature = "CssGroupingRule")]
+#[allow(non_snake_case)]
+mod gen_CssGroupingRule;
+#[cfg(feature = "CssGroupingRule")]
+pub use gen_CssGroupingRule::*;
+
+#[cfg(feature = "CssImportRule")]
+#[allow(non_snake_case)]
+mod gen_CssImportRule;
+#[cfg(feature = "CssImportRule")]
+pub use gen_CssImportRule::*;
+
+#[cfg(feature = "CssKeyframeRule")]
+#[allow(non_snake_case)]
+mod gen_CssKeyframeRule;
+#[cfg(feature = "CssKeyframeRule")]
+pub use gen_CssKeyframeRule::*;
+
+#[cfg(feature = "CssKeyframesRule")]
+#[allow(non_snake_case)]
+mod gen_CssKeyframesRule;
+#[cfg(feature = "CssKeyframesRule")]
+pub use gen_CssKeyframesRule::*;
+
+#[cfg(feature = "CssMediaRule")]
+#[allow(non_snake_case)]
+mod gen_CssMediaRule;
+#[cfg(feature = "CssMediaRule")]
+pub use gen_CssMediaRule::*;
+
+#[cfg(feature = "CssNamespaceRule")]
+#[allow(non_snake_case)]
+mod gen_CssNamespaceRule;
+#[cfg(feature = "CssNamespaceRule")]
+pub use gen_CssNamespaceRule::*;
+
+#[cfg(feature = "CssPageRule")]
+#[allow(non_snake_case)]
+mod gen_CssPageRule;
+#[cfg(feature = "CssPageRule")]
+pub use gen_CssPageRule::*;
+
+#[cfg(feature = "CssPseudoElement")]
+#[allow(non_snake_case)]
+mod gen_CssPseudoElement;
+#[cfg(feature = "CssPseudoElement")]
+pub use gen_CssPseudoElement::*;
+
+#[cfg(feature = "CssRule")]
+#[allow(non_snake_case)]
+mod gen_CssRule;
+#[cfg(feature = "CssRule")]
+pub use gen_CssRule::*;
+
+#[cfg(feature = "CssRuleList")]
+#[allow(non_snake_case)]
+mod gen_CssRuleList;
+#[cfg(feature = "CssRuleList")]
+pub use gen_CssRuleList::*;
+
+#[cfg(feature = "CssStyleDeclaration")]
+#[allow(non_snake_case)]
+mod gen_CssStyleDeclaration;
+#[cfg(feature = "CssStyleDeclaration")]
+pub use gen_CssStyleDeclaration::*;
+
+#[cfg(feature = "CssStyleRule")]
+#[allow(non_snake_case)]
+mod gen_CssStyleRule;
+#[cfg(feature = "CssStyleRule")]
+pub use gen_CssStyleRule::*;
+
+#[cfg(feature = "CssStyleSheet")]
+#[allow(non_snake_case)]
+mod gen_CssStyleSheet;
+#[cfg(feature = "CssStyleSheet")]
+pub use gen_CssStyleSheet::*;
+
+#[cfg(feature = "CssStyleSheetParsingMode")]
+#[allow(non_snake_case)]
+mod gen_CssStyleSheetParsingMode;
+#[cfg(feature = "CssStyleSheetParsingMode")]
+pub use gen_CssStyleSheetParsingMode::*;
+
+#[cfg(feature = "CssSupportsRule")]
+#[allow(non_snake_case)]
+mod gen_CssSupportsRule;
+#[cfg(feature = "CssSupportsRule")]
+pub use gen_CssSupportsRule::*;
+
+#[cfg(feature = "CssTransition")]
+#[allow(non_snake_case)]
+mod gen_CssTransition;
+#[cfg(feature = "CssTransition")]
+pub use gen_CssTransition::*;
+
+#[cfg(feature = "CustomElementRegistry")]
+#[allow(non_snake_case)]
+mod gen_CustomElementRegistry;
+#[cfg(feature = "CustomElementRegistry")]
+pub use gen_CustomElementRegistry::*;
+
+#[cfg(feature = "CustomEvent")]
+#[allow(non_snake_case)]
+mod gen_CustomEvent;
+#[cfg(feature = "CustomEvent")]
+pub use gen_CustomEvent::*;
+
+#[cfg(feature = "CustomEventInit")]
+#[allow(non_snake_case)]
+mod gen_CustomEventInit;
+#[cfg(feature = "CustomEventInit")]
+pub use gen_CustomEventInit::*;
+
+#[cfg(feature = "DataTransfer")]
+#[allow(non_snake_case)]
+mod gen_DataTransfer;
+#[cfg(feature = "DataTransfer")]
+pub use gen_DataTransfer::*;
+
+#[cfg(feature = "DataTransferItem")]
+#[allow(non_snake_case)]
+mod gen_DataTransferItem;
+#[cfg(feature = "DataTransferItem")]
+pub use gen_DataTransferItem::*;
+
+#[cfg(feature = "DataTransferItemList")]
+#[allow(non_snake_case)]
+mod gen_DataTransferItemList;
+#[cfg(feature = "DataTransferItemList")]
+pub use gen_DataTransferItemList::*;
+
+#[cfg(feature = "DateTimeValue")]
+#[allow(non_snake_case)]
+mod gen_DateTimeValue;
+#[cfg(feature = "DateTimeValue")]
+pub use gen_DateTimeValue::*;
+
+#[cfg(feature = "DecoderDoctorNotification")]
+#[allow(non_snake_case)]
+mod gen_DecoderDoctorNotification;
+#[cfg(feature = "DecoderDoctorNotification")]
+pub use gen_DecoderDoctorNotification::*;
+
+#[cfg(feature = "DecoderDoctorNotificationType")]
+#[allow(non_snake_case)]
+mod gen_DecoderDoctorNotificationType;
+#[cfg(feature = "DecoderDoctorNotificationType")]
+pub use gen_DecoderDoctorNotificationType::*;
+
+#[cfg(feature = "DedicatedWorkerGlobalScope")]
+#[allow(non_snake_case)]
+mod gen_DedicatedWorkerGlobalScope;
+#[cfg(feature = "DedicatedWorkerGlobalScope")]
+pub use gen_DedicatedWorkerGlobalScope::*;
+
+#[cfg(feature = "DelayNode")]
+#[allow(non_snake_case)]
+mod gen_DelayNode;
+#[cfg(feature = "DelayNode")]
+pub use gen_DelayNode::*;
+
+#[cfg(feature = "DelayOptions")]
+#[allow(non_snake_case)]
+mod gen_DelayOptions;
+#[cfg(feature = "DelayOptions")]
+pub use gen_DelayOptions::*;
+
+#[cfg(feature = "DeviceAcceleration")]
+#[allow(non_snake_case)]
+mod gen_DeviceAcceleration;
+#[cfg(feature = "DeviceAcceleration")]
+pub use gen_DeviceAcceleration::*;
+
+#[cfg(feature = "DeviceAccelerationInit")]
+#[allow(non_snake_case)]
+mod gen_DeviceAccelerationInit;
+#[cfg(feature = "DeviceAccelerationInit")]
+pub use gen_DeviceAccelerationInit::*;
+
+#[cfg(feature = "DeviceLightEvent")]
+#[allow(non_snake_case)]
+mod gen_DeviceLightEvent;
+#[cfg(feature = "DeviceLightEvent")]
+pub use gen_DeviceLightEvent::*;
+
+#[cfg(feature = "DeviceLightEventInit")]
+#[allow(non_snake_case)]
+mod gen_DeviceLightEventInit;
+#[cfg(feature = "DeviceLightEventInit")]
+pub use gen_DeviceLightEventInit::*;
+
+#[cfg(feature = "DeviceMotionEvent")]
+#[allow(non_snake_case)]
+mod gen_DeviceMotionEvent;
+#[cfg(feature = "DeviceMotionEvent")]
+pub use gen_DeviceMotionEvent::*;
+
+#[cfg(feature = "DeviceMotionEventInit")]
+#[allow(non_snake_case)]
+mod gen_DeviceMotionEventInit;
+#[cfg(feature = "DeviceMotionEventInit")]
+pub use gen_DeviceMotionEventInit::*;
+
+#[cfg(feature = "DeviceOrientationEvent")]
+#[allow(non_snake_case)]
+mod gen_DeviceOrientationEvent;
+#[cfg(feature = "DeviceOrientationEvent")]
+pub use gen_DeviceOrientationEvent::*;
+
+#[cfg(feature = "DeviceOrientationEventInit")]
+#[allow(non_snake_case)]
+mod gen_DeviceOrientationEventInit;
+#[cfg(feature = "DeviceOrientationEventInit")]
+pub use gen_DeviceOrientationEventInit::*;
+
+#[cfg(feature = "DeviceProximityEvent")]
+#[allow(non_snake_case)]
+mod gen_DeviceProximityEvent;
+#[cfg(feature = "DeviceProximityEvent")]
+pub use gen_DeviceProximityEvent::*;
+
+#[cfg(feature = "DeviceProximityEventInit")]
+#[allow(non_snake_case)]
+mod gen_DeviceProximityEventInit;
+#[cfg(feature = "DeviceProximityEventInit")]
+pub use gen_DeviceProximityEventInit::*;
+
+#[cfg(feature = "DeviceRotationRate")]
+#[allow(non_snake_case)]
+mod gen_DeviceRotationRate;
+#[cfg(feature = "DeviceRotationRate")]
+pub use gen_DeviceRotationRate::*;
+
+#[cfg(feature = "DeviceRotationRateInit")]
+#[allow(non_snake_case)]
+mod gen_DeviceRotationRateInit;
+#[cfg(feature = "DeviceRotationRateInit")]
+pub use gen_DeviceRotationRateInit::*;
+
+#[cfg(feature = "DhKeyDeriveParams")]
+#[allow(non_snake_case)]
+mod gen_DhKeyDeriveParams;
+#[cfg(feature = "DhKeyDeriveParams")]
+pub use gen_DhKeyDeriveParams::*;
+
+#[cfg(feature = "DirectionSetting")]
+#[allow(non_snake_case)]
+mod gen_DirectionSetting;
+#[cfg(feature = "DirectionSetting")]
+pub use gen_DirectionSetting::*;
+
+#[cfg(feature = "Directory")]
+#[allow(non_snake_case)]
+mod gen_Directory;
+#[cfg(feature = "Directory")]
+pub use gen_Directory::*;
+
+#[cfg(feature = "DisplayMediaStreamConstraints")]
+#[allow(non_snake_case)]
+mod gen_DisplayMediaStreamConstraints;
+#[cfg(feature = "DisplayMediaStreamConstraints")]
+pub use gen_DisplayMediaStreamConstraints::*;
+
+#[cfg(feature = "DisplayNameOptions")]
+#[allow(non_snake_case)]
+mod gen_DisplayNameOptions;
+#[cfg(feature = "DisplayNameOptions")]
+pub use gen_DisplayNameOptions::*;
+
+#[cfg(feature = "DisplayNameResult")]
+#[allow(non_snake_case)]
+mod gen_DisplayNameResult;
+#[cfg(feature = "DisplayNameResult")]
+pub use gen_DisplayNameResult::*;
+
+#[cfg(feature = "DistanceModelType")]
+#[allow(non_snake_case)]
+mod gen_DistanceModelType;
+#[cfg(feature = "DistanceModelType")]
+pub use gen_DistanceModelType::*;
+
+#[cfg(feature = "DnsCacheDict")]
+#[allow(non_snake_case)]
+mod gen_DnsCacheDict;
+#[cfg(feature = "DnsCacheDict")]
+pub use gen_DnsCacheDict::*;
+
+#[cfg(feature = "DnsCacheEntry")]
+#[allow(non_snake_case)]
+mod gen_DnsCacheEntry;
+#[cfg(feature = "DnsCacheEntry")]
+pub use gen_DnsCacheEntry::*;
+
+#[cfg(feature = "DnsLookupDict")]
+#[allow(non_snake_case)]
+mod gen_DnsLookupDict;
+#[cfg(feature = "DnsLookupDict")]
+pub use gen_DnsLookupDict::*;
+
+#[cfg(feature = "Document")]
+#[allow(non_snake_case)]
+mod gen_Document;
+#[cfg(feature = "Document")]
+pub use gen_Document::*;
+
+#[cfg(feature = "DocumentFragment")]
+#[allow(non_snake_case)]
+mod gen_DocumentFragment;
+#[cfg(feature = "DocumentFragment")]
+pub use gen_DocumentFragment::*;
+
+#[cfg(feature = "DocumentTimeline")]
+#[allow(non_snake_case)]
+mod gen_DocumentTimeline;
+#[cfg(feature = "DocumentTimeline")]
+pub use gen_DocumentTimeline::*;
+
+#[cfg(feature = "DocumentTimelineOptions")]
+#[allow(non_snake_case)]
+mod gen_DocumentTimelineOptions;
+#[cfg(feature = "DocumentTimelineOptions")]
+pub use gen_DocumentTimelineOptions::*;
+
+#[cfg(feature = "DocumentType")]
+#[allow(non_snake_case)]
+mod gen_DocumentType;
+#[cfg(feature = "DocumentType")]
+pub use gen_DocumentType::*;
+
+#[cfg(feature = "DomError")]
+#[allow(non_snake_case)]
+mod gen_DomError;
+#[cfg(feature = "DomError")]
+pub use gen_DomError::*;
+
+#[cfg(feature = "DomException")]
+#[allow(non_snake_case)]
+mod gen_DomException;
+#[cfg(feature = "DomException")]
+pub use gen_DomException::*;
+
+#[cfg(feature = "DomImplementation")]
+#[allow(non_snake_case)]
+mod gen_DomImplementation;
+#[cfg(feature = "DomImplementation")]
+pub use gen_DomImplementation::*;
+
+#[cfg(feature = "DomMatrix")]
+#[allow(non_snake_case)]
+mod gen_DomMatrix;
+#[cfg(feature = "DomMatrix")]
+pub use gen_DomMatrix::*;
+
+#[cfg(feature = "DomMatrixReadOnly")]
+#[allow(non_snake_case)]
+mod gen_DomMatrixReadOnly;
+#[cfg(feature = "DomMatrixReadOnly")]
+pub use gen_DomMatrixReadOnly::*;
+
+#[cfg(feature = "DomParser")]
+#[allow(non_snake_case)]
+mod gen_DomParser;
+#[cfg(feature = "DomParser")]
+pub use gen_DomParser::*;
+
+#[cfg(feature = "DomPoint")]
+#[allow(non_snake_case)]
+mod gen_DomPoint;
+#[cfg(feature = "DomPoint")]
+pub use gen_DomPoint::*;
+
+#[cfg(feature = "DomPointInit")]
+#[allow(non_snake_case)]
+mod gen_DomPointInit;
+#[cfg(feature = "DomPointInit")]
+pub use gen_DomPointInit::*;
+
+#[cfg(feature = "DomPointReadOnly")]
+#[allow(non_snake_case)]
+mod gen_DomPointReadOnly;
+#[cfg(feature = "DomPointReadOnly")]
+pub use gen_DomPointReadOnly::*;
+
+#[cfg(feature = "DomQuad")]
+#[allow(non_snake_case)]
+mod gen_DomQuad;
+#[cfg(feature = "DomQuad")]
+pub use gen_DomQuad::*;
+
+#[cfg(feature = "DomQuadInit")]
+#[allow(non_snake_case)]
+mod gen_DomQuadInit;
+#[cfg(feature = "DomQuadInit")]
+pub use gen_DomQuadInit::*;
+
+#[cfg(feature = "DomQuadJson")]
+#[allow(non_snake_case)]
+mod gen_DomQuadJson;
+#[cfg(feature = "DomQuadJson")]
+pub use gen_DomQuadJson::*;
+
+#[cfg(feature = "DomRect")]
+#[allow(non_snake_case)]
+mod gen_DomRect;
+#[cfg(feature = "DomRect")]
+pub use gen_DomRect::*;
+
+#[cfg(feature = "DomRectInit")]
+#[allow(non_snake_case)]
+mod gen_DomRectInit;
+#[cfg(feature = "DomRectInit")]
+pub use gen_DomRectInit::*;
+
+#[cfg(feature = "DomRectList")]
+#[allow(non_snake_case)]
+mod gen_DomRectList;
+#[cfg(feature = "DomRectList")]
+pub use gen_DomRectList::*;
+
+#[cfg(feature = "DomRectReadOnly")]
+#[allow(non_snake_case)]
+mod gen_DomRectReadOnly;
+#[cfg(feature = "DomRectReadOnly")]
+pub use gen_DomRectReadOnly::*;
+
+#[cfg(feature = "DomRequest")]
+#[allow(non_snake_case)]
+mod gen_DomRequest;
+#[cfg(feature = "DomRequest")]
+pub use gen_DomRequest::*;
+
+#[cfg(feature = "DomRequestReadyState")]
+#[allow(non_snake_case)]
+mod gen_DomRequestReadyState;
+#[cfg(feature = "DomRequestReadyState")]
+pub use gen_DomRequestReadyState::*;
+
+#[cfg(feature = "DomStringList")]
+#[allow(non_snake_case)]
+mod gen_DomStringList;
+#[cfg(feature = "DomStringList")]
+pub use gen_DomStringList::*;
+
+#[cfg(feature = "DomStringMap")]
+#[allow(non_snake_case)]
+mod gen_DomStringMap;
+#[cfg(feature = "DomStringMap")]
+pub use gen_DomStringMap::*;
+
+#[cfg(feature = "DomTokenList")]
+#[allow(non_snake_case)]
+mod gen_DomTokenList;
+#[cfg(feature = "DomTokenList")]
+pub use gen_DomTokenList::*;
+
+#[cfg(feature = "DomWindowResizeEventDetail")]
+#[allow(non_snake_case)]
+mod gen_DomWindowResizeEventDetail;
+#[cfg(feature = "DomWindowResizeEventDetail")]
+pub use gen_DomWindowResizeEventDetail::*;
+
+#[cfg(feature = "DragEvent")]
+#[allow(non_snake_case)]
+mod gen_DragEvent;
+#[cfg(feature = "DragEvent")]
+pub use gen_DragEvent::*;
+
+#[cfg(feature = "DragEventInit")]
+#[allow(non_snake_case)]
+mod gen_DragEventInit;
+#[cfg(feature = "DragEventInit")]
+pub use gen_DragEventInit::*;
+
+#[cfg(feature = "DynamicsCompressorNode")]
+#[allow(non_snake_case)]
+mod gen_DynamicsCompressorNode;
+#[cfg(feature = "DynamicsCompressorNode")]
+pub use gen_DynamicsCompressorNode::*;
+
+#[cfg(feature = "DynamicsCompressorOptions")]
+#[allow(non_snake_case)]
+mod gen_DynamicsCompressorOptions;
+#[cfg(feature = "DynamicsCompressorOptions")]
+pub use gen_DynamicsCompressorOptions::*;
+
+#[cfg(feature = "EcKeyAlgorithm")]
+#[allow(non_snake_case)]
+mod gen_EcKeyAlgorithm;
+#[cfg(feature = "EcKeyAlgorithm")]
+pub use gen_EcKeyAlgorithm::*;
+
+#[cfg(feature = "EcKeyGenParams")]
+#[allow(non_snake_case)]
+mod gen_EcKeyGenParams;
+#[cfg(feature = "EcKeyGenParams")]
+pub use gen_EcKeyGenParams::*;
+
+#[cfg(feature = "EcKeyImportParams")]
+#[allow(non_snake_case)]
+mod gen_EcKeyImportParams;
+#[cfg(feature = "EcKeyImportParams")]
+pub use gen_EcKeyImportParams::*;
+
+#[cfg(feature = "EcdhKeyDeriveParams")]
+#[allow(non_snake_case)]
+mod gen_EcdhKeyDeriveParams;
+#[cfg(feature = "EcdhKeyDeriveParams")]
+pub use gen_EcdhKeyDeriveParams::*;
+
+#[cfg(feature = "EcdsaParams")]
+#[allow(non_snake_case)]
+mod gen_EcdsaParams;
+#[cfg(feature = "EcdsaParams")]
+pub use gen_EcdsaParams::*;
+
+#[cfg(feature = "EffectTiming")]
+#[allow(non_snake_case)]
+mod gen_EffectTiming;
+#[cfg(feature = "EffectTiming")]
+pub use gen_EffectTiming::*;
+
+#[cfg(feature = "Element")]
+#[allow(non_snake_case)]
+mod gen_Element;
+#[cfg(feature = "Element")]
+pub use gen_Element::*;
+
+#[cfg(feature = "ElementCreationOptions")]
+#[allow(non_snake_case)]
+mod gen_ElementCreationOptions;
+#[cfg(feature = "ElementCreationOptions")]
+pub use gen_ElementCreationOptions::*;
+
+#[cfg(feature = "ElementDefinitionOptions")]
+#[allow(non_snake_case)]
+mod gen_ElementDefinitionOptions;
+#[cfg(feature = "ElementDefinitionOptions")]
+pub use gen_ElementDefinitionOptions::*;
+
+#[cfg(feature = "EncodedAudioChunk")]
+#[allow(non_snake_case)]
+mod gen_EncodedAudioChunk;
+#[cfg(feature = "EncodedAudioChunk")]
+pub use gen_EncodedAudioChunk::*;
+
+#[cfg(feature = "EncodedAudioChunkInit")]
+#[allow(non_snake_case)]
+mod gen_EncodedAudioChunkInit;
+#[cfg(feature = "EncodedAudioChunkInit")]
+pub use gen_EncodedAudioChunkInit::*;
+
+#[cfg(feature = "EncodedAudioChunkMetadata")]
+#[allow(non_snake_case)]
+mod gen_EncodedAudioChunkMetadata;
+#[cfg(feature = "EncodedAudioChunkMetadata")]
+pub use gen_EncodedAudioChunkMetadata::*;
+
+#[cfg(feature = "EncodedAudioChunkType")]
+#[allow(non_snake_case)]
+mod gen_EncodedAudioChunkType;
+#[cfg(feature = "EncodedAudioChunkType")]
+pub use gen_EncodedAudioChunkType::*;
+
+#[cfg(feature = "EncodedVideoChunk")]
+#[allow(non_snake_case)]
+mod gen_EncodedVideoChunk;
+#[cfg(feature = "EncodedVideoChunk")]
+pub use gen_EncodedVideoChunk::*;
+
+#[cfg(feature = "EncodedVideoChunkInit")]
+#[allow(non_snake_case)]
+mod gen_EncodedVideoChunkInit;
+#[cfg(feature = "EncodedVideoChunkInit")]
+pub use gen_EncodedVideoChunkInit::*;
+
+#[cfg(feature = "EncodedVideoChunkMetadata")]
+#[allow(non_snake_case)]
+mod gen_EncodedVideoChunkMetadata;
+#[cfg(feature = "EncodedVideoChunkMetadata")]
+pub use gen_EncodedVideoChunkMetadata::*;
+
+#[cfg(feature = "EncodedVideoChunkType")]
+#[allow(non_snake_case)]
+mod gen_EncodedVideoChunkType;
+#[cfg(feature = "EncodedVideoChunkType")]
+pub use gen_EncodedVideoChunkType::*;
+
+#[cfg(feature = "EndingTypes")]
+#[allow(non_snake_case)]
+mod gen_EndingTypes;
+#[cfg(feature = "EndingTypes")]
+pub use gen_EndingTypes::*;
+
+#[cfg(feature = "ErrorCallback")]
+#[allow(non_snake_case)]
+mod gen_ErrorCallback;
+#[cfg(feature = "ErrorCallback")]
+pub use gen_ErrorCallback::*;
+
+#[cfg(feature = "ErrorEvent")]
+#[allow(non_snake_case)]
+mod gen_ErrorEvent;
+#[cfg(feature = "ErrorEvent")]
+pub use gen_ErrorEvent::*;
+
+#[cfg(feature = "ErrorEventInit")]
+#[allow(non_snake_case)]
+mod gen_ErrorEventInit;
+#[cfg(feature = "ErrorEventInit")]
+pub use gen_ErrorEventInit::*;
+
+#[cfg(feature = "Event")]
+#[allow(non_snake_case)]
+mod gen_Event;
+#[cfg(feature = "Event")]
+pub use gen_Event::*;
+
+#[cfg(feature = "EventInit")]
+#[allow(non_snake_case)]
+mod gen_EventInit;
+#[cfg(feature = "EventInit")]
+pub use gen_EventInit::*;
+
+#[cfg(feature = "EventListener")]
+#[allow(non_snake_case)]
+mod gen_EventListener;
+#[cfg(feature = "EventListener")]
+pub use gen_EventListener::*;
+
+#[cfg(feature = "EventListenerOptions")]
+#[allow(non_snake_case)]
+mod gen_EventListenerOptions;
+#[cfg(feature = "EventListenerOptions")]
+pub use gen_EventListenerOptions::*;
+
+#[cfg(feature = "EventModifierInit")]
+#[allow(non_snake_case)]
+mod gen_EventModifierInit;
+#[cfg(feature = "EventModifierInit")]
+pub use gen_EventModifierInit::*;
+
+#[cfg(feature = "EventSource")]
+#[allow(non_snake_case)]
+mod gen_EventSource;
+#[cfg(feature = "EventSource")]
+pub use gen_EventSource::*;
+
+#[cfg(feature = "EventSourceInit")]
+#[allow(non_snake_case)]
+mod gen_EventSourceInit;
+#[cfg(feature = "EventSourceInit")]
+pub use gen_EventSourceInit::*;
+
+#[cfg(feature = "EventTarget")]
+#[allow(non_snake_case)]
+mod gen_EventTarget;
+#[cfg(feature = "EventTarget")]
+pub use gen_EventTarget::*;
+
+#[cfg(feature = "Exception")]
+#[allow(non_snake_case)]
+mod gen_Exception;
+#[cfg(feature = "Exception")]
+pub use gen_Exception::*;
+
+#[cfg(feature = "ExtBlendMinmax")]
+#[allow(non_snake_case)]
+mod gen_ExtBlendMinmax;
+#[cfg(feature = "ExtBlendMinmax")]
+pub use gen_ExtBlendMinmax::*;
+
+#[cfg(feature = "ExtColorBufferFloat")]
+#[allow(non_snake_case)]
+mod gen_ExtColorBufferFloat;
+#[cfg(feature = "ExtColorBufferFloat")]
+pub use gen_ExtColorBufferFloat::*;
+
+#[cfg(feature = "ExtColorBufferHalfFloat")]
+#[allow(non_snake_case)]
+mod gen_ExtColorBufferHalfFloat;
+#[cfg(feature = "ExtColorBufferHalfFloat")]
+pub use gen_ExtColorBufferHalfFloat::*;
+
+#[cfg(feature = "ExtDisjointTimerQuery")]
+#[allow(non_snake_case)]
+mod gen_ExtDisjointTimerQuery;
+#[cfg(feature = "ExtDisjointTimerQuery")]
+pub use gen_ExtDisjointTimerQuery::*;
+
+#[cfg(feature = "ExtFragDepth")]
+#[allow(non_snake_case)]
+mod gen_ExtFragDepth;
+#[cfg(feature = "ExtFragDepth")]
+pub use gen_ExtFragDepth::*;
+
+#[cfg(feature = "ExtSRgb")]
+#[allow(non_snake_case)]
+mod gen_ExtSRgb;
+#[cfg(feature = "ExtSRgb")]
+pub use gen_ExtSRgb::*;
+
+#[cfg(feature = "ExtShaderTextureLod")]
+#[allow(non_snake_case)]
+mod gen_ExtShaderTextureLod;
+#[cfg(feature = "ExtShaderTextureLod")]
+pub use gen_ExtShaderTextureLod::*;
+
+#[cfg(feature = "ExtTextureFilterAnisotropic")]
+#[allow(non_snake_case)]
+mod gen_ExtTextureFilterAnisotropic;
+#[cfg(feature = "ExtTextureFilterAnisotropic")]
+pub use gen_ExtTextureFilterAnisotropic::*;
+
+#[cfg(feature = "ExtTextureNorm16")]
+#[allow(non_snake_case)]
+mod gen_ExtTextureNorm16;
+#[cfg(feature = "ExtTextureNorm16")]
+pub use gen_ExtTextureNorm16::*;
+
+#[cfg(feature = "ExtendableEvent")]
+#[allow(non_snake_case)]
+mod gen_ExtendableEvent;
+#[cfg(feature = "ExtendableEvent")]
+pub use gen_ExtendableEvent::*;
+
+#[cfg(feature = "ExtendableEventInit")]
+#[allow(non_snake_case)]
+mod gen_ExtendableEventInit;
+#[cfg(feature = "ExtendableEventInit")]
+pub use gen_ExtendableEventInit::*;
+
+#[cfg(feature = "ExtendableMessageEvent")]
+#[allow(non_snake_case)]
+mod gen_ExtendableMessageEvent;
+#[cfg(feature = "ExtendableMessageEvent")]
+pub use gen_ExtendableMessageEvent::*;
+
+#[cfg(feature = "ExtendableMessageEventInit")]
+#[allow(non_snake_case)]
+mod gen_ExtendableMessageEventInit;
+#[cfg(feature = "ExtendableMessageEventInit")]
+pub use gen_ExtendableMessageEventInit::*;
+
+#[cfg(feature = "External")]
+#[allow(non_snake_case)]
+mod gen_External;
+#[cfg(feature = "External")]
+pub use gen_External::*;
+
+#[cfg(feature = "FakePluginMimeEntry")]
+#[allow(non_snake_case)]
+mod gen_FakePluginMimeEntry;
+#[cfg(feature = "FakePluginMimeEntry")]
+pub use gen_FakePluginMimeEntry::*;
+
+#[cfg(feature = "FakePluginTagInit")]
+#[allow(non_snake_case)]
+mod gen_FakePluginTagInit;
+#[cfg(feature = "FakePluginTagInit")]
+pub use gen_FakePluginTagInit::*;
+
+#[cfg(feature = "FetchEvent")]
+#[allow(non_snake_case)]
+mod gen_FetchEvent;
+#[cfg(feature = "FetchEvent")]
+pub use gen_FetchEvent::*;
+
+#[cfg(feature = "FetchEventInit")]
+#[allow(non_snake_case)]
+mod gen_FetchEventInit;
+#[cfg(feature = "FetchEventInit")]
+pub use gen_FetchEventInit::*;
+
+#[cfg(feature = "FetchObserver")]
+#[allow(non_snake_case)]
+mod gen_FetchObserver;
+#[cfg(feature = "FetchObserver")]
+pub use gen_FetchObserver::*;
+
+#[cfg(feature = "FetchReadableStreamReadDataArray")]
+#[allow(non_snake_case)]
+mod gen_FetchReadableStreamReadDataArray;
+#[cfg(feature = "FetchReadableStreamReadDataArray")]
+pub use gen_FetchReadableStreamReadDataArray::*;
+
+#[cfg(feature = "FetchReadableStreamReadDataDone")]
+#[allow(non_snake_case)]
+mod gen_FetchReadableStreamReadDataDone;
+#[cfg(feature = "FetchReadableStreamReadDataDone")]
+pub use gen_FetchReadableStreamReadDataDone::*;
+
+#[cfg(feature = "FetchState")]
+#[allow(non_snake_case)]
+mod gen_FetchState;
+#[cfg(feature = "FetchState")]
+pub use gen_FetchState::*;
+
+#[cfg(feature = "File")]
+#[allow(non_snake_case)]
+mod gen_File;
+#[cfg(feature = "File")]
+pub use gen_File::*;
+
+#[cfg(feature = "FileCallback")]
+#[allow(non_snake_case)]
+mod gen_FileCallback;
+#[cfg(feature = "FileCallback")]
+pub use gen_FileCallback::*;
+
+#[cfg(feature = "FileList")]
+#[allow(non_snake_case)]
+mod gen_FileList;
+#[cfg(feature = "FileList")]
+pub use gen_FileList::*;
+
+#[cfg(feature = "FilePropertyBag")]
+#[allow(non_snake_case)]
+mod gen_FilePropertyBag;
+#[cfg(feature = "FilePropertyBag")]
+pub use gen_FilePropertyBag::*;
+
+#[cfg(feature = "FileReader")]
+#[allow(non_snake_case)]
+mod gen_FileReader;
+#[cfg(feature = "FileReader")]
+pub use gen_FileReader::*;
+
+#[cfg(feature = "FileReaderSync")]
+#[allow(non_snake_case)]
+mod gen_FileReaderSync;
+#[cfg(feature = "FileReaderSync")]
+pub use gen_FileReaderSync::*;
+
+#[cfg(feature = "FileSystem")]
+#[allow(non_snake_case)]
+mod gen_FileSystem;
+#[cfg(feature = "FileSystem")]
+pub use gen_FileSystem::*;
+
+#[cfg(feature = "FileSystemDirectoryEntry")]
+#[allow(non_snake_case)]
+mod gen_FileSystemDirectoryEntry;
+#[cfg(feature = "FileSystemDirectoryEntry")]
+pub use gen_FileSystemDirectoryEntry::*;
+
+#[cfg(feature = "FileSystemDirectoryReader")]
+#[allow(non_snake_case)]
+mod gen_FileSystemDirectoryReader;
+#[cfg(feature = "FileSystemDirectoryReader")]
+pub use gen_FileSystemDirectoryReader::*;
+
+#[cfg(feature = "FileSystemEntriesCallback")]
+#[allow(non_snake_case)]
+mod gen_FileSystemEntriesCallback;
+#[cfg(feature = "FileSystemEntriesCallback")]
+pub use gen_FileSystemEntriesCallback::*;
+
+#[cfg(feature = "FileSystemEntry")]
+#[allow(non_snake_case)]
+mod gen_FileSystemEntry;
+#[cfg(feature = "FileSystemEntry")]
+pub use gen_FileSystemEntry::*;
+
+#[cfg(feature = "FileSystemEntryCallback")]
+#[allow(non_snake_case)]
+mod gen_FileSystemEntryCallback;
+#[cfg(feature = "FileSystemEntryCallback")]
+pub use gen_FileSystemEntryCallback::*;
+
+#[cfg(feature = "FileSystemFileEntry")]
+#[allow(non_snake_case)]
+mod gen_FileSystemFileEntry;
+#[cfg(feature = "FileSystemFileEntry")]
+pub use gen_FileSystemFileEntry::*;
+
+#[cfg(feature = "FileSystemFlags")]
+#[allow(non_snake_case)]
+mod gen_FileSystemFlags;
+#[cfg(feature = "FileSystemFlags")]
+pub use gen_FileSystemFlags::*;
+
+#[cfg(feature = "FillMode")]
+#[allow(non_snake_case)]
+mod gen_FillMode;
+#[cfg(feature = "FillMode")]
+pub use gen_FillMode::*;
+
+#[cfg(feature = "FlashClassification")]
+#[allow(non_snake_case)]
+mod gen_FlashClassification;
+#[cfg(feature = "FlashClassification")]
+pub use gen_FlashClassification::*;
+
+#[cfg(feature = "FlexLineGrowthState")]
+#[allow(non_snake_case)]
+mod gen_FlexLineGrowthState;
+#[cfg(feature = "FlexLineGrowthState")]
+pub use gen_FlexLineGrowthState::*;
+
+#[cfg(feature = "FlowControlType")]
+#[allow(non_snake_case)]
+mod gen_FlowControlType;
+#[cfg(feature = "FlowControlType")]
+pub use gen_FlowControlType::*;
+
+#[cfg(feature = "FocusEvent")]
+#[allow(non_snake_case)]
+mod gen_FocusEvent;
+#[cfg(feature = "FocusEvent")]
+pub use gen_FocusEvent::*;
+
+#[cfg(feature = "FocusEventInit")]
+#[allow(non_snake_case)]
+mod gen_FocusEventInit;
+#[cfg(feature = "FocusEventInit")]
+pub use gen_FocusEventInit::*;
+
+#[cfg(feature = "FontFace")]
+#[allow(non_snake_case)]
+mod gen_FontFace;
+#[cfg(feature = "FontFace")]
+pub use gen_FontFace::*;
+
+#[cfg(feature = "FontFaceDescriptors")]
+#[allow(non_snake_case)]
+mod gen_FontFaceDescriptors;
+#[cfg(feature = "FontFaceDescriptors")]
+pub use gen_FontFaceDescriptors::*;
+
+#[cfg(feature = "FontFaceLoadStatus")]
+#[allow(non_snake_case)]
+mod gen_FontFaceLoadStatus;
+#[cfg(feature = "FontFaceLoadStatus")]
+pub use gen_FontFaceLoadStatus::*;
+
+#[cfg(feature = "FontFaceSet")]
+#[allow(non_snake_case)]
+mod gen_FontFaceSet;
+#[cfg(feature = "FontFaceSet")]
+pub use gen_FontFaceSet::*;
+
+#[cfg(feature = "FontFaceSetIterator")]
+#[allow(non_snake_case)]
+mod gen_FontFaceSetIterator;
+#[cfg(feature = "FontFaceSetIterator")]
+pub use gen_FontFaceSetIterator::*;
+
+#[cfg(feature = "FontFaceSetIteratorResult")]
+#[allow(non_snake_case)]
+mod gen_FontFaceSetIteratorResult;
+#[cfg(feature = "FontFaceSetIteratorResult")]
+pub use gen_FontFaceSetIteratorResult::*;
+
+#[cfg(feature = "FontFaceSetLoadEvent")]
+#[allow(non_snake_case)]
+mod gen_FontFaceSetLoadEvent;
+#[cfg(feature = "FontFaceSetLoadEvent")]
+pub use gen_FontFaceSetLoadEvent::*;
+
+#[cfg(feature = "FontFaceSetLoadEventInit")]
+#[allow(non_snake_case)]
+mod gen_FontFaceSetLoadEventInit;
+#[cfg(feature = "FontFaceSetLoadEventInit")]
+pub use gen_FontFaceSetLoadEventInit::*;
+
+#[cfg(feature = "FontFaceSetLoadStatus")]
+#[allow(non_snake_case)]
+mod gen_FontFaceSetLoadStatus;
+#[cfg(feature = "FontFaceSetLoadStatus")]
+pub use gen_FontFaceSetLoadStatus::*;
+
+#[cfg(feature = "FormData")]
+#[allow(non_snake_case)]
+mod gen_FormData;
+#[cfg(feature = "FormData")]
+pub use gen_FormData::*;
+
+#[cfg(feature = "FrameType")]
+#[allow(non_snake_case)]
+mod gen_FrameType;
+#[cfg(feature = "FrameType")]
+pub use gen_FrameType::*;
+
+#[cfg(feature = "FuzzingFunctions")]
+#[allow(non_snake_case)]
+mod gen_FuzzingFunctions;
+#[cfg(feature = "FuzzingFunctions")]
+pub use gen_FuzzingFunctions::*;
+
+#[cfg(feature = "GainNode")]
+#[allow(non_snake_case)]
+mod gen_GainNode;
+#[cfg(feature = "GainNode")]
+pub use gen_GainNode::*;
+
+#[cfg(feature = "GainOptions")]
+#[allow(non_snake_case)]
+mod gen_GainOptions;
+#[cfg(feature = "GainOptions")]
+pub use gen_GainOptions::*;
+
+#[cfg(feature = "Gamepad")]
+#[allow(non_snake_case)]
+mod gen_Gamepad;
+#[cfg(feature = "Gamepad")]
+pub use gen_Gamepad::*;
+
+#[cfg(feature = "GamepadAxisMoveEvent")]
+#[allow(non_snake_case)]
+mod gen_GamepadAxisMoveEvent;
+#[cfg(feature = "GamepadAxisMoveEvent")]
+pub use gen_GamepadAxisMoveEvent::*;
+
+#[cfg(feature = "GamepadAxisMoveEventInit")]
+#[allow(non_snake_case)]
+mod gen_GamepadAxisMoveEventInit;
+#[cfg(feature = "GamepadAxisMoveEventInit")]
+pub use gen_GamepadAxisMoveEventInit::*;
+
+#[cfg(feature = "GamepadButton")]
+#[allow(non_snake_case)]
+mod gen_GamepadButton;
+#[cfg(feature = "GamepadButton")]
+pub use gen_GamepadButton::*;
+
+#[cfg(feature = "GamepadButtonEvent")]
+#[allow(non_snake_case)]
+mod gen_GamepadButtonEvent;
+#[cfg(feature = "GamepadButtonEvent")]
+pub use gen_GamepadButtonEvent::*;
+
+#[cfg(feature = "GamepadButtonEventInit")]
+#[allow(non_snake_case)]
+mod gen_GamepadButtonEventInit;
+#[cfg(feature = "GamepadButtonEventInit")]
+pub use gen_GamepadButtonEventInit::*;
+
+#[cfg(feature = "GamepadEvent")]
+#[allow(non_snake_case)]
+mod gen_GamepadEvent;
+#[cfg(feature = "GamepadEvent")]
+pub use gen_GamepadEvent::*;
+
+#[cfg(feature = "GamepadEventInit")]
+#[allow(non_snake_case)]
+mod gen_GamepadEventInit;
+#[cfg(feature = "GamepadEventInit")]
+pub use gen_GamepadEventInit::*;
+
+#[cfg(feature = "GamepadHand")]
+#[allow(non_snake_case)]
+mod gen_GamepadHand;
+#[cfg(feature = "GamepadHand")]
+pub use gen_GamepadHand::*;
+
+#[cfg(feature = "GamepadHapticActuator")]
+#[allow(non_snake_case)]
+mod gen_GamepadHapticActuator;
+#[cfg(feature = "GamepadHapticActuator")]
+pub use gen_GamepadHapticActuator::*;
+
+#[cfg(feature = "GamepadHapticActuatorType")]
+#[allow(non_snake_case)]
+mod gen_GamepadHapticActuatorType;
+#[cfg(feature = "GamepadHapticActuatorType")]
+pub use gen_GamepadHapticActuatorType::*;
+
+#[cfg(feature = "GamepadMappingType")]
+#[allow(non_snake_case)]
+mod gen_GamepadMappingType;
+#[cfg(feature = "GamepadMappingType")]
+pub use gen_GamepadMappingType::*;
+
+#[cfg(feature = "GamepadPose")]
+#[allow(non_snake_case)]
+mod gen_GamepadPose;
+#[cfg(feature = "GamepadPose")]
+pub use gen_GamepadPose::*;
+
+#[cfg(feature = "GamepadServiceTest")]
+#[allow(non_snake_case)]
+mod gen_GamepadServiceTest;
+#[cfg(feature = "GamepadServiceTest")]
+pub use gen_GamepadServiceTest::*;
+
+#[cfg(feature = "Geolocation")]
+#[allow(non_snake_case)]
+mod gen_Geolocation;
+#[cfg(feature = "Geolocation")]
+pub use gen_Geolocation::*;
+
+#[cfg(feature = "GetNotificationOptions")]
+#[allow(non_snake_case)]
+mod gen_GetNotificationOptions;
+#[cfg(feature = "GetNotificationOptions")]
+pub use gen_GetNotificationOptions::*;
+
+#[cfg(feature = "GetRootNodeOptions")]
+#[allow(non_snake_case)]
+mod gen_GetRootNodeOptions;
+#[cfg(feature = "GetRootNodeOptions")]
+pub use gen_GetRootNodeOptions::*;
+
+#[cfg(feature = "GetUserMediaRequest")]
+#[allow(non_snake_case)]
+mod gen_GetUserMediaRequest;
+#[cfg(feature = "GetUserMediaRequest")]
+pub use gen_GetUserMediaRequest::*;
+
+#[cfg(feature = "Gpu")]
+#[allow(non_snake_case)]
+mod gen_Gpu;
+#[cfg(feature = "Gpu")]
+pub use gen_Gpu::*;
+
+#[cfg(feature = "GpuAdapter")]
+#[allow(non_snake_case)]
+mod gen_GpuAdapter;
+#[cfg(feature = "GpuAdapter")]
+pub use gen_GpuAdapter::*;
+
+#[cfg(feature = "GpuAdapterInfo")]
+#[allow(non_snake_case)]
+mod gen_GpuAdapterInfo;
+#[cfg(feature = "GpuAdapterInfo")]
+pub use gen_GpuAdapterInfo::*;
+
+#[cfg(feature = "GpuAddressMode")]
+#[allow(non_snake_case)]
+mod gen_GpuAddressMode;
+#[cfg(feature = "GpuAddressMode")]
+pub use gen_GpuAddressMode::*;
+
+#[cfg(feature = "GpuAutoLayoutMode")]
+#[allow(non_snake_case)]
+mod gen_GpuAutoLayoutMode;
+#[cfg(feature = "GpuAutoLayoutMode")]
+pub use gen_GpuAutoLayoutMode::*;
+
+#[cfg(feature = "GpuBindGroup")]
+#[allow(non_snake_case)]
+mod gen_GpuBindGroup;
+#[cfg(feature = "GpuBindGroup")]
+pub use gen_GpuBindGroup::*;
+
+#[cfg(feature = "GpuBindGroupDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuBindGroupDescriptor;
+#[cfg(feature = "GpuBindGroupDescriptor")]
+pub use gen_GpuBindGroupDescriptor::*;
+
+#[cfg(feature = "GpuBindGroupEntry")]
+#[allow(non_snake_case)]
+mod gen_GpuBindGroupEntry;
+#[cfg(feature = "GpuBindGroupEntry")]
+pub use gen_GpuBindGroupEntry::*;
+
+#[cfg(feature = "GpuBindGroupLayout")]
+#[allow(non_snake_case)]
+mod gen_GpuBindGroupLayout;
+#[cfg(feature = "GpuBindGroupLayout")]
+pub use gen_GpuBindGroupLayout::*;
+
+#[cfg(feature = "GpuBindGroupLayoutDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuBindGroupLayoutDescriptor;
+#[cfg(feature = "GpuBindGroupLayoutDescriptor")]
+pub use gen_GpuBindGroupLayoutDescriptor::*;
+
+#[cfg(feature = "GpuBindGroupLayoutEntry")]
+#[allow(non_snake_case)]
+mod gen_GpuBindGroupLayoutEntry;
+#[cfg(feature = "GpuBindGroupLayoutEntry")]
+pub use gen_GpuBindGroupLayoutEntry::*;
+
+#[cfg(feature = "GpuBlendComponent")]
+#[allow(non_snake_case)]
+mod gen_GpuBlendComponent;
+#[cfg(feature = "GpuBlendComponent")]
+pub use gen_GpuBlendComponent::*;
+
+#[cfg(feature = "GpuBlendFactor")]
+#[allow(non_snake_case)]
+mod gen_GpuBlendFactor;
+#[cfg(feature = "GpuBlendFactor")]
+pub use gen_GpuBlendFactor::*;
+
+#[cfg(feature = "GpuBlendOperation")]
+#[allow(non_snake_case)]
+mod gen_GpuBlendOperation;
+#[cfg(feature = "GpuBlendOperation")]
+pub use gen_GpuBlendOperation::*;
+
+#[cfg(feature = "GpuBlendState")]
+#[allow(non_snake_case)]
+mod gen_GpuBlendState;
+#[cfg(feature = "GpuBlendState")]
+pub use gen_GpuBlendState::*;
+
+#[cfg(feature = "GpuBuffer")]
+#[allow(non_snake_case)]
+mod gen_GpuBuffer;
+#[cfg(feature = "GpuBuffer")]
+pub use gen_GpuBuffer::*;
+
+#[cfg(feature = "GpuBufferBinding")]
+#[allow(non_snake_case)]
+mod gen_GpuBufferBinding;
+#[cfg(feature = "GpuBufferBinding")]
+pub use gen_GpuBufferBinding::*;
+
+#[cfg(feature = "GpuBufferBindingLayout")]
+#[allow(non_snake_case)]
+mod gen_GpuBufferBindingLayout;
+#[cfg(feature = "GpuBufferBindingLayout")]
+pub use gen_GpuBufferBindingLayout::*;
+
+#[cfg(feature = "GpuBufferBindingType")]
+#[allow(non_snake_case)]
+mod gen_GpuBufferBindingType;
+#[cfg(feature = "GpuBufferBindingType")]
+pub use gen_GpuBufferBindingType::*;
+
+#[cfg(feature = "GpuBufferDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuBufferDescriptor;
+#[cfg(feature = "GpuBufferDescriptor")]
+pub use gen_GpuBufferDescriptor::*;
+
+#[cfg(feature = "GpuBufferMapState")]
+#[allow(non_snake_case)]
+mod gen_GpuBufferMapState;
+#[cfg(feature = "GpuBufferMapState")]
+pub use gen_GpuBufferMapState::*;
+
+#[cfg(feature = "GpuCanvasAlphaMode")]
+#[allow(non_snake_case)]
+mod gen_GpuCanvasAlphaMode;
+#[cfg(feature = "GpuCanvasAlphaMode")]
+pub use gen_GpuCanvasAlphaMode::*;
+
+#[cfg(feature = "GpuCanvasConfiguration")]
+#[allow(non_snake_case)]
+mod gen_GpuCanvasConfiguration;
+#[cfg(feature = "GpuCanvasConfiguration")]
+pub use gen_GpuCanvasConfiguration::*;
+
+#[cfg(feature = "GpuCanvasContext")]
+#[allow(non_snake_case)]
+mod gen_GpuCanvasContext;
+#[cfg(feature = "GpuCanvasContext")]
+pub use gen_GpuCanvasContext::*;
+
+#[cfg(feature = "GpuColorDict")]
+#[allow(non_snake_case)]
+mod gen_GpuColorDict;
+#[cfg(feature = "GpuColorDict")]
+pub use gen_GpuColorDict::*;
+
+#[cfg(feature = "GpuColorTargetState")]
+#[allow(non_snake_case)]
+mod gen_GpuColorTargetState;
+#[cfg(feature = "GpuColorTargetState")]
+pub use gen_GpuColorTargetState::*;
+
+#[cfg(feature = "GpuCommandBuffer")]
+#[allow(non_snake_case)]
+mod gen_GpuCommandBuffer;
+#[cfg(feature = "GpuCommandBuffer")]
+pub use gen_GpuCommandBuffer::*;
+
+#[cfg(feature = "GpuCommandBufferDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuCommandBufferDescriptor;
+#[cfg(feature = "GpuCommandBufferDescriptor")]
+pub use gen_GpuCommandBufferDescriptor::*;
+
+#[cfg(feature = "GpuCommandEncoder")]
+#[allow(non_snake_case)]
+mod gen_GpuCommandEncoder;
+#[cfg(feature = "GpuCommandEncoder")]
+pub use gen_GpuCommandEncoder::*;
+
+#[cfg(feature = "GpuCommandEncoderDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuCommandEncoderDescriptor;
+#[cfg(feature = "GpuCommandEncoderDescriptor")]
+pub use gen_GpuCommandEncoderDescriptor::*;
+
+#[cfg(feature = "GpuCompareFunction")]
+#[allow(non_snake_case)]
+mod gen_GpuCompareFunction;
+#[cfg(feature = "GpuCompareFunction")]
+pub use gen_GpuCompareFunction::*;
+
+#[cfg(feature = "GpuCompilationInfo")]
+#[allow(non_snake_case)]
+mod gen_GpuCompilationInfo;
+#[cfg(feature = "GpuCompilationInfo")]
+pub use gen_GpuCompilationInfo::*;
+
+#[cfg(feature = "GpuCompilationMessage")]
+#[allow(non_snake_case)]
+mod gen_GpuCompilationMessage;
+#[cfg(feature = "GpuCompilationMessage")]
+pub use gen_GpuCompilationMessage::*;
+
+#[cfg(feature = "GpuCompilationMessageType")]
+#[allow(non_snake_case)]
+mod gen_GpuCompilationMessageType;
+#[cfg(feature = "GpuCompilationMessageType")]
+pub use gen_GpuCompilationMessageType::*;
+
+#[cfg(feature = "GpuComputePassDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuComputePassDescriptor;
+#[cfg(feature = "GpuComputePassDescriptor")]
+pub use gen_GpuComputePassDescriptor::*;
+
+#[cfg(feature = "GpuComputePassEncoder")]
+#[allow(non_snake_case)]
+mod gen_GpuComputePassEncoder;
+#[cfg(feature = "GpuComputePassEncoder")]
+pub use gen_GpuComputePassEncoder::*;
+
+#[cfg(feature = "GpuComputePassTimestampLocation")]
+#[allow(non_snake_case)]
+mod gen_GpuComputePassTimestampLocation;
+#[cfg(feature = "GpuComputePassTimestampLocation")]
+pub use gen_GpuComputePassTimestampLocation::*;
+
+#[cfg(feature = "GpuComputePassTimestampWrite")]
+#[allow(non_snake_case)]
+mod gen_GpuComputePassTimestampWrite;
+#[cfg(feature = "GpuComputePassTimestampWrite")]
+pub use gen_GpuComputePassTimestampWrite::*;
+
+#[cfg(feature = "GpuComputePipeline")]
+#[allow(non_snake_case)]
+mod gen_GpuComputePipeline;
+#[cfg(feature = "GpuComputePipeline")]
+pub use gen_GpuComputePipeline::*;
+
+#[cfg(feature = "GpuComputePipelineDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuComputePipelineDescriptor;
+#[cfg(feature = "GpuComputePipelineDescriptor")]
+pub use gen_GpuComputePipelineDescriptor::*;
+
+#[cfg(feature = "GpuCullMode")]
+#[allow(non_snake_case)]
+mod gen_GpuCullMode;
+#[cfg(feature = "GpuCullMode")]
+pub use gen_GpuCullMode::*;
+
+#[cfg(feature = "GpuDepthStencilState")]
+#[allow(non_snake_case)]
+mod gen_GpuDepthStencilState;
+#[cfg(feature = "GpuDepthStencilState")]
+pub use gen_GpuDepthStencilState::*;
+
+#[cfg(feature = "GpuDevice")]
+#[allow(non_snake_case)]
+mod gen_GpuDevice;
+#[cfg(feature = "GpuDevice")]
+pub use gen_GpuDevice::*;
+
+#[cfg(feature = "GpuDeviceDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuDeviceDescriptor;
+#[cfg(feature = "GpuDeviceDescriptor")]
+pub use gen_GpuDeviceDescriptor::*;
+
+#[cfg(feature = "GpuDeviceLostInfo")]
+#[allow(non_snake_case)]
+mod gen_GpuDeviceLostInfo;
+#[cfg(feature = "GpuDeviceLostInfo")]
+pub use gen_GpuDeviceLostInfo::*;
+
+#[cfg(feature = "GpuDeviceLostReason")]
+#[allow(non_snake_case)]
+mod gen_GpuDeviceLostReason;
+#[cfg(feature = "GpuDeviceLostReason")]
+pub use gen_GpuDeviceLostReason::*;
+
+#[cfg(feature = "GpuError")]
+#[allow(non_snake_case)]
+mod gen_GpuError;
+#[cfg(feature = "GpuError")]
+pub use gen_GpuError::*;
+
+#[cfg(feature = "GpuErrorFilter")]
+#[allow(non_snake_case)]
+mod gen_GpuErrorFilter;
+#[cfg(feature = "GpuErrorFilter")]
+pub use gen_GpuErrorFilter::*;
+
+#[cfg(feature = "GpuExtent3dDict")]
+#[allow(non_snake_case)]
+mod gen_GpuExtent3dDict;
+#[cfg(feature = "GpuExtent3dDict")]
+pub use gen_GpuExtent3dDict::*;
+
+#[cfg(feature = "GpuExternalTexture")]
+#[allow(non_snake_case)]
+mod gen_GpuExternalTexture;
+#[cfg(feature = "GpuExternalTexture")]
+pub use gen_GpuExternalTexture::*;
+
+#[cfg(feature = "GpuExternalTextureBindingLayout")]
+#[allow(non_snake_case)]
+mod gen_GpuExternalTextureBindingLayout;
+#[cfg(feature = "GpuExternalTextureBindingLayout")]
+pub use gen_GpuExternalTextureBindingLayout::*;
+
+#[cfg(feature = "GpuExternalTextureDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuExternalTextureDescriptor;
+#[cfg(feature = "GpuExternalTextureDescriptor")]
+pub use gen_GpuExternalTextureDescriptor::*;
+
+#[cfg(feature = "GpuFeatureName")]
+#[allow(non_snake_case)]
+mod gen_GpuFeatureName;
+#[cfg(feature = "GpuFeatureName")]
+pub use gen_GpuFeatureName::*;
+
+#[cfg(feature = "GpuFilterMode")]
+#[allow(non_snake_case)]
+mod gen_GpuFilterMode;
+#[cfg(feature = "GpuFilterMode")]
+pub use gen_GpuFilterMode::*;
+
+#[cfg(feature = "GpuFragmentState")]
+#[allow(non_snake_case)]
+mod gen_GpuFragmentState;
+#[cfg(feature = "GpuFragmentState")]
+pub use gen_GpuFragmentState::*;
+
+#[cfg(feature = "GpuFrontFace")]
+#[allow(non_snake_case)]
+mod gen_GpuFrontFace;
+#[cfg(feature = "GpuFrontFace")]
+pub use gen_GpuFrontFace::*;
+
+#[cfg(feature = "GpuImageCopyBuffer")]
+#[allow(non_snake_case)]
+mod gen_GpuImageCopyBuffer;
+#[cfg(feature = "GpuImageCopyBuffer")]
+pub use gen_GpuImageCopyBuffer::*;
+
+#[cfg(feature = "GpuImageCopyExternalImage")]
+#[allow(non_snake_case)]
+mod gen_GpuImageCopyExternalImage;
+#[cfg(feature = "GpuImageCopyExternalImage")]
+pub use gen_GpuImageCopyExternalImage::*;
+
+#[cfg(feature = "GpuImageCopyTexture")]
+#[allow(non_snake_case)]
+mod gen_GpuImageCopyTexture;
+#[cfg(feature = "GpuImageCopyTexture")]
+pub use gen_GpuImageCopyTexture::*;
+
+#[cfg(feature = "GpuImageCopyTextureTagged")]
+#[allow(non_snake_case)]
+mod gen_GpuImageCopyTextureTagged;
+#[cfg(feature = "GpuImageCopyTextureTagged")]
+pub use gen_GpuImageCopyTextureTagged::*;
+
+#[cfg(feature = "GpuImageDataLayout")]
+#[allow(non_snake_case)]
+mod gen_GpuImageDataLayout;
+#[cfg(feature = "GpuImageDataLayout")]
+pub use gen_GpuImageDataLayout::*;
+
+#[cfg(feature = "GpuIndexFormat")]
+#[allow(non_snake_case)]
+mod gen_GpuIndexFormat;
+#[cfg(feature = "GpuIndexFormat")]
+pub use gen_GpuIndexFormat::*;
+
+#[cfg(feature = "GpuInternalError")]
+#[allow(non_snake_case)]
+mod gen_GpuInternalError;
+#[cfg(feature = "GpuInternalError")]
+pub use gen_GpuInternalError::*;
+
+#[cfg(feature = "GpuLoadOp")]
+#[allow(non_snake_case)]
+mod gen_GpuLoadOp;
+#[cfg(feature = "GpuLoadOp")]
+pub use gen_GpuLoadOp::*;
+
+#[cfg(feature = "GpuMipmapFilterMode")]
+#[allow(non_snake_case)]
+mod gen_GpuMipmapFilterMode;
+#[cfg(feature = "GpuMipmapFilterMode")]
+pub use gen_GpuMipmapFilterMode::*;
+
+#[cfg(feature = "GpuMultisampleState")]
+#[allow(non_snake_case)]
+mod gen_GpuMultisampleState;
+#[cfg(feature = "GpuMultisampleState")]
+pub use gen_GpuMultisampleState::*;
+
+#[cfg(feature = "GpuObjectDescriptorBase")]
+#[allow(non_snake_case)]
+mod gen_GpuObjectDescriptorBase;
+#[cfg(feature = "GpuObjectDescriptorBase")]
+pub use gen_GpuObjectDescriptorBase::*;
+
+#[cfg(feature = "GpuOrigin2dDict")]
+#[allow(non_snake_case)]
+mod gen_GpuOrigin2dDict;
+#[cfg(feature = "GpuOrigin2dDict")]
+pub use gen_GpuOrigin2dDict::*;
+
+#[cfg(feature = "GpuOrigin3dDict")]
+#[allow(non_snake_case)]
+mod gen_GpuOrigin3dDict;
+#[cfg(feature = "GpuOrigin3dDict")]
+pub use gen_GpuOrigin3dDict::*;
+
+#[cfg(feature = "GpuOutOfMemoryError")]
+#[allow(non_snake_case)]
+mod gen_GpuOutOfMemoryError;
+#[cfg(feature = "GpuOutOfMemoryError")]
+pub use gen_GpuOutOfMemoryError::*;
+
+#[cfg(feature = "GpuPipelineDescriptorBase")]
+#[allow(non_snake_case)]
+mod gen_GpuPipelineDescriptorBase;
+#[cfg(feature = "GpuPipelineDescriptorBase")]
+pub use gen_GpuPipelineDescriptorBase::*;
+
+#[cfg(feature = "GpuPipelineLayout")]
+#[allow(non_snake_case)]
+mod gen_GpuPipelineLayout;
+#[cfg(feature = "GpuPipelineLayout")]
+pub use gen_GpuPipelineLayout::*;
+
+#[cfg(feature = "GpuPipelineLayoutDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuPipelineLayoutDescriptor;
+#[cfg(feature = "GpuPipelineLayoutDescriptor")]
+pub use gen_GpuPipelineLayoutDescriptor::*;
+
+#[cfg(feature = "GpuPowerPreference")]
+#[allow(non_snake_case)]
+mod gen_GpuPowerPreference;
+#[cfg(feature = "GpuPowerPreference")]
+pub use gen_GpuPowerPreference::*;
+
+#[cfg(feature = "GpuPrimitiveState")]
+#[allow(non_snake_case)]
+mod gen_GpuPrimitiveState;
+#[cfg(feature = "GpuPrimitiveState")]
+pub use gen_GpuPrimitiveState::*;
+
+#[cfg(feature = "GpuPrimitiveTopology")]
+#[allow(non_snake_case)]
+mod gen_GpuPrimitiveTopology;
+#[cfg(feature = "GpuPrimitiveTopology")]
+pub use gen_GpuPrimitiveTopology::*;
+
+#[cfg(feature = "GpuProgrammableStage")]
+#[allow(non_snake_case)]
+mod gen_GpuProgrammableStage;
+#[cfg(feature = "GpuProgrammableStage")]
+pub use gen_GpuProgrammableStage::*;
+
+#[cfg(feature = "GpuQuerySet")]
+#[allow(non_snake_case)]
+mod gen_GpuQuerySet;
+#[cfg(feature = "GpuQuerySet")]
+pub use gen_GpuQuerySet::*;
+
+#[cfg(feature = "GpuQuerySetDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuQuerySetDescriptor;
+#[cfg(feature = "GpuQuerySetDescriptor")]
+pub use gen_GpuQuerySetDescriptor::*;
+
+#[cfg(feature = "GpuQueryType")]
+#[allow(non_snake_case)]
+mod gen_GpuQueryType;
+#[cfg(feature = "GpuQueryType")]
+pub use gen_GpuQueryType::*;
+
+#[cfg(feature = "GpuQueue")]
+#[allow(non_snake_case)]
+mod gen_GpuQueue;
+#[cfg(feature = "GpuQueue")]
+pub use gen_GpuQueue::*;
+
+#[cfg(feature = "GpuQueueDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuQueueDescriptor;
+#[cfg(feature = "GpuQueueDescriptor")]
+pub use gen_GpuQueueDescriptor::*;
+
+#[cfg(feature = "GpuRenderBundle")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderBundle;
+#[cfg(feature = "GpuRenderBundle")]
+pub use gen_GpuRenderBundle::*;
+
+#[cfg(feature = "GpuRenderBundleDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderBundleDescriptor;
+#[cfg(feature = "GpuRenderBundleDescriptor")]
+pub use gen_GpuRenderBundleDescriptor::*;
+
+#[cfg(feature = "GpuRenderBundleEncoder")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderBundleEncoder;
+#[cfg(feature = "GpuRenderBundleEncoder")]
+pub use gen_GpuRenderBundleEncoder::*;
+
+#[cfg(feature = "GpuRenderBundleEncoderDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderBundleEncoderDescriptor;
+#[cfg(feature = "GpuRenderBundleEncoderDescriptor")]
+pub use gen_GpuRenderBundleEncoderDescriptor::*;
+
+#[cfg(feature = "GpuRenderPassColorAttachment")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderPassColorAttachment;
+#[cfg(feature = "GpuRenderPassColorAttachment")]
+pub use gen_GpuRenderPassColorAttachment::*;
+
+#[cfg(feature = "GpuRenderPassDepthStencilAttachment")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderPassDepthStencilAttachment;
+#[cfg(feature = "GpuRenderPassDepthStencilAttachment")]
+pub use gen_GpuRenderPassDepthStencilAttachment::*;
+
+#[cfg(feature = "GpuRenderPassDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderPassDescriptor;
+#[cfg(feature = "GpuRenderPassDescriptor")]
+pub use gen_GpuRenderPassDescriptor::*;
+
+#[cfg(feature = "GpuRenderPassEncoder")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderPassEncoder;
+#[cfg(feature = "GpuRenderPassEncoder")]
+pub use gen_GpuRenderPassEncoder::*;
+
+#[cfg(feature = "GpuRenderPassLayout")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderPassLayout;
+#[cfg(feature = "GpuRenderPassLayout")]
+pub use gen_GpuRenderPassLayout::*;
+
+#[cfg(feature = "GpuRenderPassTimestampLocation")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderPassTimestampLocation;
+#[cfg(feature = "GpuRenderPassTimestampLocation")]
+pub use gen_GpuRenderPassTimestampLocation::*;
+
+#[cfg(feature = "GpuRenderPassTimestampWrite")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderPassTimestampWrite;
+#[cfg(feature = "GpuRenderPassTimestampWrite")]
+pub use gen_GpuRenderPassTimestampWrite::*;
+
+#[cfg(feature = "GpuRenderPipeline")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderPipeline;
+#[cfg(feature = "GpuRenderPipeline")]
+pub use gen_GpuRenderPipeline::*;
+
+#[cfg(feature = "GpuRenderPipelineDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuRenderPipelineDescriptor;
+#[cfg(feature = "GpuRenderPipelineDescriptor")]
+pub use gen_GpuRenderPipelineDescriptor::*;
+
+#[cfg(feature = "GpuRequestAdapterOptions")]
+#[allow(non_snake_case)]
+mod gen_GpuRequestAdapterOptions;
+#[cfg(feature = "GpuRequestAdapterOptions")]
+pub use gen_GpuRequestAdapterOptions::*;
+
+#[cfg(feature = "GpuSampler")]
+#[allow(non_snake_case)]
+mod gen_GpuSampler;
+#[cfg(feature = "GpuSampler")]
+pub use gen_GpuSampler::*;
+
+#[cfg(feature = "GpuSamplerBindingLayout")]
+#[allow(non_snake_case)]
+mod gen_GpuSamplerBindingLayout;
+#[cfg(feature = "GpuSamplerBindingLayout")]
+pub use gen_GpuSamplerBindingLayout::*;
+
+#[cfg(feature = "GpuSamplerBindingType")]
+#[allow(non_snake_case)]
+mod gen_GpuSamplerBindingType;
+#[cfg(feature = "GpuSamplerBindingType")]
+pub use gen_GpuSamplerBindingType::*;
+
+#[cfg(feature = "GpuSamplerDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuSamplerDescriptor;
+#[cfg(feature = "GpuSamplerDescriptor")]
+pub use gen_GpuSamplerDescriptor::*;
+
+#[cfg(feature = "GpuShaderModule")]
+#[allow(non_snake_case)]
+mod gen_GpuShaderModule;
+#[cfg(feature = "GpuShaderModule")]
+pub use gen_GpuShaderModule::*;
+
+#[cfg(feature = "GpuShaderModuleCompilationHint")]
+#[allow(non_snake_case)]
+mod gen_GpuShaderModuleCompilationHint;
+#[cfg(feature = "GpuShaderModuleCompilationHint")]
+pub use gen_GpuShaderModuleCompilationHint::*;
+
+#[cfg(feature = "GpuShaderModuleDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuShaderModuleDescriptor;
+#[cfg(feature = "GpuShaderModuleDescriptor")]
+pub use gen_GpuShaderModuleDescriptor::*;
+
+#[cfg(feature = "GpuStencilFaceState")]
+#[allow(non_snake_case)]
+mod gen_GpuStencilFaceState;
+#[cfg(feature = "GpuStencilFaceState")]
+pub use gen_GpuStencilFaceState::*;
+
+#[cfg(feature = "GpuStencilOperation")]
+#[allow(non_snake_case)]
+mod gen_GpuStencilOperation;
+#[cfg(feature = "GpuStencilOperation")]
+pub use gen_GpuStencilOperation::*;
+
+#[cfg(feature = "GpuStorageTextureAccess")]
+#[allow(non_snake_case)]
+mod gen_GpuStorageTextureAccess;
+#[cfg(feature = "GpuStorageTextureAccess")]
+pub use gen_GpuStorageTextureAccess::*;
+
+#[cfg(feature = "GpuStorageTextureBindingLayout")]
+#[allow(non_snake_case)]
+mod gen_GpuStorageTextureBindingLayout;
+#[cfg(feature = "GpuStorageTextureBindingLayout")]
+pub use gen_GpuStorageTextureBindingLayout::*;
+
+#[cfg(feature = "GpuStoreOp")]
+#[allow(non_snake_case)]
+mod gen_GpuStoreOp;
+#[cfg(feature = "GpuStoreOp")]
+pub use gen_GpuStoreOp::*;
+
+#[cfg(feature = "GpuSupportedFeatures")]
+#[allow(non_snake_case)]
+mod gen_GpuSupportedFeatures;
+#[cfg(feature = "GpuSupportedFeatures")]
+pub use gen_GpuSupportedFeatures::*;
+
+#[cfg(feature = "GpuSupportedLimits")]
+#[allow(non_snake_case)]
+mod gen_GpuSupportedLimits;
+#[cfg(feature = "GpuSupportedLimits")]
+pub use gen_GpuSupportedLimits::*;
+
+#[cfg(feature = "GpuTexture")]
+#[allow(non_snake_case)]
+mod gen_GpuTexture;
+#[cfg(feature = "GpuTexture")]
+pub use gen_GpuTexture::*;
+
+#[cfg(feature = "GpuTextureAspect")]
+#[allow(non_snake_case)]
+mod gen_GpuTextureAspect;
+#[cfg(feature = "GpuTextureAspect")]
+pub use gen_GpuTextureAspect::*;
+
+#[cfg(feature = "GpuTextureBindingLayout")]
+#[allow(non_snake_case)]
+mod gen_GpuTextureBindingLayout;
+#[cfg(feature = "GpuTextureBindingLayout")]
+pub use gen_GpuTextureBindingLayout::*;
+
+#[cfg(feature = "GpuTextureDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuTextureDescriptor;
+#[cfg(feature = "GpuTextureDescriptor")]
+pub use gen_GpuTextureDescriptor::*;
+
+#[cfg(feature = "GpuTextureDimension")]
+#[allow(non_snake_case)]
+mod gen_GpuTextureDimension;
+#[cfg(feature = "GpuTextureDimension")]
+pub use gen_GpuTextureDimension::*;
+
+#[cfg(feature = "GpuTextureFormat")]
+#[allow(non_snake_case)]
+mod gen_GpuTextureFormat;
+#[cfg(feature = "GpuTextureFormat")]
+pub use gen_GpuTextureFormat::*;
+
+#[cfg(feature = "GpuTextureSampleType")]
+#[allow(non_snake_case)]
+mod gen_GpuTextureSampleType;
+#[cfg(feature = "GpuTextureSampleType")]
+pub use gen_GpuTextureSampleType::*;
+
+#[cfg(feature = "GpuTextureView")]
+#[allow(non_snake_case)]
+mod gen_GpuTextureView;
+#[cfg(feature = "GpuTextureView")]
+pub use gen_GpuTextureView::*;
+
+#[cfg(feature = "GpuTextureViewDescriptor")]
+#[allow(non_snake_case)]
+mod gen_GpuTextureViewDescriptor;
+#[cfg(feature = "GpuTextureViewDescriptor")]
+pub use gen_GpuTextureViewDescriptor::*;
+
+#[cfg(feature = "GpuTextureViewDimension")]
+#[allow(non_snake_case)]
+mod gen_GpuTextureViewDimension;
+#[cfg(feature = "GpuTextureViewDimension")]
+pub use gen_GpuTextureViewDimension::*;
+
+#[cfg(feature = "GpuUncapturedErrorEvent")]
+#[allow(non_snake_case)]
+mod gen_GpuUncapturedErrorEvent;
+#[cfg(feature = "GpuUncapturedErrorEvent")]
+pub use gen_GpuUncapturedErrorEvent::*;
+
+#[cfg(feature = "GpuUncapturedErrorEventInit")]
+#[allow(non_snake_case)]
+mod gen_GpuUncapturedErrorEventInit;
+#[cfg(feature = "GpuUncapturedErrorEventInit")]
+pub use gen_GpuUncapturedErrorEventInit::*;
+
+#[cfg(feature = "GpuValidationError")]
+#[allow(non_snake_case)]
+mod gen_GpuValidationError;
+#[cfg(feature = "GpuValidationError")]
+pub use gen_GpuValidationError::*;
+
+#[cfg(feature = "GpuVertexAttribute")]
+#[allow(non_snake_case)]
+mod gen_GpuVertexAttribute;
+#[cfg(feature = "GpuVertexAttribute")]
+pub use gen_GpuVertexAttribute::*;
+
+#[cfg(feature = "GpuVertexBufferLayout")]
+#[allow(non_snake_case)]
+mod gen_GpuVertexBufferLayout;
+#[cfg(feature = "GpuVertexBufferLayout")]
+pub use gen_GpuVertexBufferLayout::*;
+
+#[cfg(feature = "GpuVertexFormat")]
+#[allow(non_snake_case)]
+mod gen_GpuVertexFormat;
+#[cfg(feature = "GpuVertexFormat")]
+pub use gen_GpuVertexFormat::*;
+
+#[cfg(feature = "GpuVertexState")]
+#[allow(non_snake_case)]
+mod gen_GpuVertexState;
+#[cfg(feature = "GpuVertexState")]
+pub use gen_GpuVertexState::*;
+
+#[cfg(feature = "GpuVertexStepMode")]
+#[allow(non_snake_case)]
+mod gen_GpuVertexStepMode;
+#[cfg(feature = "GpuVertexStepMode")]
+pub use gen_GpuVertexStepMode::*;
+
+#[cfg(feature = "GridDeclaration")]
+#[allow(non_snake_case)]
+mod gen_GridDeclaration;
+#[cfg(feature = "GridDeclaration")]
+pub use gen_GridDeclaration::*;
+
+#[cfg(feature = "GridTrackState")]
+#[allow(non_snake_case)]
+mod gen_GridTrackState;
+#[cfg(feature = "GridTrackState")]
+pub use gen_GridTrackState::*;
+
+#[cfg(feature = "GroupedHistoryEventInit")]
+#[allow(non_snake_case)]
+mod gen_GroupedHistoryEventInit;
+#[cfg(feature = "GroupedHistoryEventInit")]
+pub use gen_GroupedHistoryEventInit::*;
+
+#[cfg(feature = "HalfOpenInfoDict")]
+#[allow(non_snake_case)]
+mod gen_HalfOpenInfoDict;
+#[cfg(feature = "HalfOpenInfoDict")]
+pub use gen_HalfOpenInfoDict::*;
+
+#[cfg(feature = "HardwareAcceleration")]
+#[allow(non_snake_case)]
+mod gen_HardwareAcceleration;
+#[cfg(feature = "HardwareAcceleration")]
+pub use gen_HardwareAcceleration::*;
+
+#[cfg(feature = "HashChangeEvent")]
+#[allow(non_snake_case)]
+mod gen_HashChangeEvent;
+#[cfg(feature = "HashChangeEvent")]
+pub use gen_HashChangeEvent::*;
+
+#[cfg(feature = "HashChangeEventInit")]
+#[allow(non_snake_case)]
+mod gen_HashChangeEventInit;
+#[cfg(feature = "HashChangeEventInit")]
+pub use gen_HashChangeEventInit::*;
+
+#[cfg(feature = "Headers")]
+#[allow(non_snake_case)]
+mod gen_Headers;
+#[cfg(feature = "Headers")]
+pub use gen_Headers::*;
+
+#[cfg(feature = "HeadersGuardEnum")]
+#[allow(non_snake_case)]
+mod gen_HeadersGuardEnum;
+#[cfg(feature = "HeadersGuardEnum")]
+pub use gen_HeadersGuardEnum::*;
+
+#[cfg(feature = "Hid")]
+#[allow(non_snake_case)]
+mod gen_Hid;
+#[cfg(feature = "Hid")]
+pub use gen_Hid::*;
+
+#[cfg(feature = "HidCollectionInfo")]
+#[allow(non_snake_case)]
+mod gen_HidCollectionInfo;
+#[cfg(feature = "HidCollectionInfo")]
+pub use gen_HidCollectionInfo::*;
+
+#[cfg(feature = "HidConnectionEvent")]
+#[allow(non_snake_case)]
+mod gen_HidConnectionEvent;
+#[cfg(feature = "HidConnectionEvent")]
+pub use gen_HidConnectionEvent::*;
+
+#[cfg(feature = "HidConnectionEventInit")]
+#[allow(non_snake_case)]
+mod gen_HidConnectionEventInit;
+#[cfg(feature = "HidConnectionEventInit")]
+pub use gen_HidConnectionEventInit::*;
+
+#[cfg(feature = "HidDevice")]
+#[allow(non_snake_case)]
+mod gen_HidDevice;
+#[cfg(feature = "HidDevice")]
+pub use gen_HidDevice::*;
+
+#[cfg(feature = "HidDeviceFilter")]
+#[allow(non_snake_case)]
+mod gen_HidDeviceFilter;
+#[cfg(feature = "HidDeviceFilter")]
+pub use gen_HidDeviceFilter::*;
+
+#[cfg(feature = "HidDeviceRequestOptions")]
+#[allow(non_snake_case)]
+mod gen_HidDeviceRequestOptions;
+#[cfg(feature = "HidDeviceRequestOptions")]
+pub use gen_HidDeviceRequestOptions::*;
+
+#[cfg(feature = "HidInputReportEvent")]
+#[allow(non_snake_case)]
+mod gen_HidInputReportEvent;
+#[cfg(feature = "HidInputReportEvent")]
+pub use gen_HidInputReportEvent::*;
+
+#[cfg(feature = "HidInputReportEventInit")]
+#[allow(non_snake_case)]
+mod gen_HidInputReportEventInit;
+#[cfg(feature = "HidInputReportEventInit")]
+pub use gen_HidInputReportEventInit::*;
+
+#[cfg(feature = "HidReportInfo")]
+#[allow(non_snake_case)]
+mod gen_HidReportInfo;
+#[cfg(feature = "HidReportInfo")]
+pub use gen_HidReportInfo::*;
+
+#[cfg(feature = "HidReportItem")]
+#[allow(non_snake_case)]
+mod gen_HidReportItem;
+#[cfg(feature = "HidReportItem")]
+pub use gen_HidReportItem::*;
+
+#[cfg(feature = "HidUnitSystem")]
+#[allow(non_snake_case)]
+mod gen_HidUnitSystem;
+#[cfg(feature = "HidUnitSystem")]
+pub use gen_HidUnitSystem::*;
+
+#[cfg(feature = "HiddenPluginEventInit")]
+#[allow(non_snake_case)]
+mod gen_HiddenPluginEventInit;
+#[cfg(feature = "HiddenPluginEventInit")]
+pub use gen_HiddenPluginEventInit::*;
+
+#[cfg(feature = "History")]
+#[allow(non_snake_case)]
+mod gen_History;
+#[cfg(feature = "History")]
+pub use gen_History::*;
+
+#[cfg(feature = "HitRegionOptions")]
+#[allow(non_snake_case)]
+mod gen_HitRegionOptions;
+#[cfg(feature = "HitRegionOptions")]
+pub use gen_HitRegionOptions::*;
+
+#[cfg(feature = "HkdfParams")]
+#[allow(non_snake_case)]
+mod gen_HkdfParams;
+#[cfg(feature = "HkdfParams")]
+pub use gen_HkdfParams::*;
+
+#[cfg(feature = "HmacDerivedKeyParams")]
+#[allow(non_snake_case)]
+mod gen_HmacDerivedKeyParams;
+#[cfg(feature = "HmacDerivedKeyParams")]
+pub use gen_HmacDerivedKeyParams::*;
+
+#[cfg(feature = "HmacImportParams")]
+#[allow(non_snake_case)]
+mod gen_HmacImportParams;
+#[cfg(feature = "HmacImportParams")]
+pub use gen_HmacImportParams::*;
+
+#[cfg(feature = "HmacKeyAlgorithm")]
+#[allow(non_snake_case)]
+mod gen_HmacKeyAlgorithm;
+#[cfg(feature = "HmacKeyAlgorithm")]
+pub use gen_HmacKeyAlgorithm::*;
+
+#[cfg(feature = "HmacKeyGenParams")]
+#[allow(non_snake_case)]
+mod gen_HmacKeyGenParams;
+#[cfg(feature = "HmacKeyGenParams")]
+pub use gen_HmacKeyGenParams::*;
+
+#[cfg(feature = "HtmlAllCollection")]
+#[allow(non_snake_case)]
+mod gen_HtmlAllCollection;
+#[cfg(feature = "HtmlAllCollection")]
+pub use gen_HtmlAllCollection::*;
+
+#[cfg(feature = "HtmlAnchorElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlAnchorElement;
+#[cfg(feature = "HtmlAnchorElement")]
+pub use gen_HtmlAnchorElement::*;
+
+#[cfg(feature = "HtmlAreaElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlAreaElement;
+#[cfg(feature = "HtmlAreaElement")]
+pub use gen_HtmlAreaElement::*;
+
+#[cfg(feature = "HtmlAudioElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlAudioElement;
+#[cfg(feature = "HtmlAudioElement")]
+pub use gen_HtmlAudioElement::*;
+
+#[cfg(feature = "HtmlBaseElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlBaseElement;
+#[cfg(feature = "HtmlBaseElement")]
+pub use gen_HtmlBaseElement::*;
+
+#[cfg(feature = "HtmlBodyElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlBodyElement;
+#[cfg(feature = "HtmlBodyElement")]
+pub use gen_HtmlBodyElement::*;
+
+#[cfg(feature = "HtmlBrElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlBrElement;
+#[cfg(feature = "HtmlBrElement")]
+pub use gen_HtmlBrElement::*;
+
+#[cfg(feature = "HtmlButtonElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlButtonElement;
+#[cfg(feature = "HtmlButtonElement")]
+pub use gen_HtmlButtonElement::*;
+
+#[cfg(feature = "HtmlCanvasElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlCanvasElement;
+#[cfg(feature = "HtmlCanvasElement")]
+pub use gen_HtmlCanvasElement::*;
+
+#[cfg(feature = "HtmlCollection")]
+#[allow(non_snake_case)]
+mod gen_HtmlCollection;
+#[cfg(feature = "HtmlCollection")]
+pub use gen_HtmlCollection::*;
+
+#[cfg(feature = "HtmlDListElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlDListElement;
+#[cfg(feature = "HtmlDListElement")]
+pub use gen_HtmlDListElement::*;
+
+#[cfg(feature = "HtmlDataElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlDataElement;
+#[cfg(feature = "HtmlDataElement")]
+pub use gen_HtmlDataElement::*;
+
+#[cfg(feature = "HtmlDataListElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlDataListElement;
+#[cfg(feature = "HtmlDataListElement")]
+pub use gen_HtmlDataListElement::*;
+
+#[cfg(feature = "HtmlDetailsElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlDetailsElement;
+#[cfg(feature = "HtmlDetailsElement")]
+pub use gen_HtmlDetailsElement::*;
+
+#[cfg(feature = "HtmlDialogElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlDialogElement;
+#[cfg(feature = "HtmlDialogElement")]
+pub use gen_HtmlDialogElement::*;
+
+#[cfg(feature = "HtmlDirectoryElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlDirectoryElement;
+#[cfg(feature = "HtmlDirectoryElement")]
+pub use gen_HtmlDirectoryElement::*;
+
+#[cfg(feature = "HtmlDivElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlDivElement;
+#[cfg(feature = "HtmlDivElement")]
+pub use gen_HtmlDivElement::*;
+
+#[cfg(feature = "HtmlDocument")]
+#[allow(non_snake_case)]
+mod gen_HtmlDocument;
+#[cfg(feature = "HtmlDocument")]
+pub use gen_HtmlDocument::*;
+
+#[cfg(feature = "HtmlElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlElement;
+#[cfg(feature = "HtmlElement")]
+pub use gen_HtmlElement::*;
+
+#[cfg(feature = "HtmlEmbedElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlEmbedElement;
+#[cfg(feature = "HtmlEmbedElement")]
+pub use gen_HtmlEmbedElement::*;
+
+#[cfg(feature = "HtmlFieldSetElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlFieldSetElement;
+#[cfg(feature = "HtmlFieldSetElement")]
+pub use gen_HtmlFieldSetElement::*;
+
+#[cfg(feature = "HtmlFontElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlFontElement;
+#[cfg(feature = "HtmlFontElement")]
+pub use gen_HtmlFontElement::*;
+
+#[cfg(feature = "HtmlFormControlsCollection")]
+#[allow(non_snake_case)]
+mod gen_HtmlFormControlsCollection;
+#[cfg(feature = "HtmlFormControlsCollection")]
+pub use gen_HtmlFormControlsCollection::*;
+
+#[cfg(feature = "HtmlFormElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlFormElement;
+#[cfg(feature = "HtmlFormElement")]
+pub use gen_HtmlFormElement::*;
+
+#[cfg(feature = "HtmlFrameElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlFrameElement;
+#[cfg(feature = "HtmlFrameElement")]
+pub use gen_HtmlFrameElement::*;
+
+#[cfg(feature = "HtmlFrameSetElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlFrameSetElement;
+#[cfg(feature = "HtmlFrameSetElement")]
+pub use gen_HtmlFrameSetElement::*;
+
+#[cfg(feature = "HtmlHeadElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlHeadElement;
+#[cfg(feature = "HtmlHeadElement")]
+pub use gen_HtmlHeadElement::*;
+
+#[cfg(feature = "HtmlHeadingElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlHeadingElement;
+#[cfg(feature = "HtmlHeadingElement")]
+pub use gen_HtmlHeadingElement::*;
+
+#[cfg(feature = "HtmlHrElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlHrElement;
+#[cfg(feature = "HtmlHrElement")]
+pub use gen_HtmlHrElement::*;
+
+#[cfg(feature = "HtmlHtmlElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlHtmlElement;
+#[cfg(feature = "HtmlHtmlElement")]
+pub use gen_HtmlHtmlElement::*;
+
+#[cfg(feature = "HtmlIFrameElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlIFrameElement;
+#[cfg(feature = "HtmlIFrameElement")]
+pub use gen_HtmlIFrameElement::*;
+
+#[cfg(feature = "HtmlImageElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlImageElement;
+#[cfg(feature = "HtmlImageElement")]
+pub use gen_HtmlImageElement::*;
+
+#[cfg(feature = "HtmlInputElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlInputElement;
+#[cfg(feature = "HtmlInputElement")]
+pub use gen_HtmlInputElement::*;
+
+#[cfg(feature = "HtmlLabelElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlLabelElement;
+#[cfg(feature = "HtmlLabelElement")]
+pub use gen_HtmlLabelElement::*;
+
+#[cfg(feature = "HtmlLegendElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlLegendElement;
+#[cfg(feature = "HtmlLegendElement")]
+pub use gen_HtmlLegendElement::*;
+
+#[cfg(feature = "HtmlLiElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlLiElement;
+#[cfg(feature = "HtmlLiElement")]
+pub use gen_HtmlLiElement::*;
+
+#[cfg(feature = "HtmlLinkElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlLinkElement;
+#[cfg(feature = "HtmlLinkElement")]
+pub use gen_HtmlLinkElement::*;
+
+#[cfg(feature = "HtmlMapElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlMapElement;
+#[cfg(feature = "HtmlMapElement")]
+pub use gen_HtmlMapElement::*;
+
+#[cfg(feature = "HtmlMediaElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlMediaElement;
+#[cfg(feature = "HtmlMediaElement")]
+pub use gen_HtmlMediaElement::*;
+
+#[cfg(feature = "HtmlMenuElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlMenuElement;
+#[cfg(feature = "HtmlMenuElement")]
+pub use gen_HtmlMenuElement::*;
+
+#[cfg(feature = "HtmlMenuItemElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlMenuItemElement;
+#[cfg(feature = "HtmlMenuItemElement")]
+pub use gen_HtmlMenuItemElement::*;
+
+#[cfg(feature = "HtmlMetaElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlMetaElement;
+#[cfg(feature = "HtmlMetaElement")]
+pub use gen_HtmlMetaElement::*;
+
+#[cfg(feature = "HtmlMeterElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlMeterElement;
+#[cfg(feature = "HtmlMeterElement")]
+pub use gen_HtmlMeterElement::*;
+
+#[cfg(feature = "HtmlModElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlModElement;
+#[cfg(feature = "HtmlModElement")]
+pub use gen_HtmlModElement::*;
+
+#[cfg(feature = "HtmlOListElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlOListElement;
+#[cfg(feature = "HtmlOListElement")]
+pub use gen_HtmlOListElement::*;
+
+#[cfg(feature = "HtmlObjectElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlObjectElement;
+#[cfg(feature = "HtmlObjectElement")]
+pub use gen_HtmlObjectElement::*;
+
+#[cfg(feature = "HtmlOptGroupElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlOptGroupElement;
+#[cfg(feature = "HtmlOptGroupElement")]
+pub use gen_HtmlOptGroupElement::*;
+
+#[cfg(feature = "HtmlOptionElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlOptionElement;
+#[cfg(feature = "HtmlOptionElement")]
+pub use gen_HtmlOptionElement::*;
+
+#[cfg(feature = "HtmlOptionsCollection")]
+#[allow(non_snake_case)]
+mod gen_HtmlOptionsCollection;
+#[cfg(feature = "HtmlOptionsCollection")]
+pub use gen_HtmlOptionsCollection::*;
+
+#[cfg(feature = "HtmlOutputElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlOutputElement;
+#[cfg(feature = "HtmlOutputElement")]
+pub use gen_HtmlOutputElement::*;
+
+#[cfg(feature = "HtmlParagraphElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlParagraphElement;
+#[cfg(feature = "HtmlParagraphElement")]
+pub use gen_HtmlParagraphElement::*;
+
+#[cfg(feature = "HtmlParamElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlParamElement;
+#[cfg(feature = "HtmlParamElement")]
+pub use gen_HtmlParamElement::*;
+
+#[cfg(feature = "HtmlPictureElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlPictureElement;
+#[cfg(feature = "HtmlPictureElement")]
+pub use gen_HtmlPictureElement::*;
+
+#[cfg(feature = "HtmlPreElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlPreElement;
+#[cfg(feature = "HtmlPreElement")]
+pub use gen_HtmlPreElement::*;
+
+#[cfg(feature = "HtmlProgressElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlProgressElement;
+#[cfg(feature = "HtmlProgressElement")]
+pub use gen_HtmlProgressElement::*;
+
+#[cfg(feature = "HtmlQuoteElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlQuoteElement;
+#[cfg(feature = "HtmlQuoteElement")]
+pub use gen_HtmlQuoteElement::*;
+
+#[cfg(feature = "HtmlScriptElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlScriptElement;
+#[cfg(feature = "HtmlScriptElement")]
+pub use gen_HtmlScriptElement::*;
+
+#[cfg(feature = "HtmlSelectElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlSelectElement;
+#[cfg(feature = "HtmlSelectElement")]
+pub use gen_HtmlSelectElement::*;
+
+#[cfg(feature = "HtmlSlotElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlSlotElement;
+#[cfg(feature = "HtmlSlotElement")]
+pub use gen_HtmlSlotElement::*;
+
+#[cfg(feature = "HtmlSourceElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlSourceElement;
+#[cfg(feature = "HtmlSourceElement")]
+pub use gen_HtmlSourceElement::*;
+
+#[cfg(feature = "HtmlSpanElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlSpanElement;
+#[cfg(feature = "HtmlSpanElement")]
+pub use gen_HtmlSpanElement::*;
+
+#[cfg(feature = "HtmlStyleElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlStyleElement;
+#[cfg(feature = "HtmlStyleElement")]
+pub use gen_HtmlStyleElement::*;
+
+#[cfg(feature = "HtmlTableCaptionElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlTableCaptionElement;
+#[cfg(feature = "HtmlTableCaptionElement")]
+pub use gen_HtmlTableCaptionElement::*;
+
+#[cfg(feature = "HtmlTableCellElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlTableCellElement;
+#[cfg(feature = "HtmlTableCellElement")]
+pub use gen_HtmlTableCellElement::*;
+
+#[cfg(feature = "HtmlTableColElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlTableColElement;
+#[cfg(feature = "HtmlTableColElement")]
+pub use gen_HtmlTableColElement::*;
+
+#[cfg(feature = "HtmlTableElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlTableElement;
+#[cfg(feature = "HtmlTableElement")]
+pub use gen_HtmlTableElement::*;
+
+#[cfg(feature = "HtmlTableRowElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlTableRowElement;
+#[cfg(feature = "HtmlTableRowElement")]
+pub use gen_HtmlTableRowElement::*;
+
+#[cfg(feature = "HtmlTableSectionElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlTableSectionElement;
+#[cfg(feature = "HtmlTableSectionElement")]
+pub use gen_HtmlTableSectionElement::*;
+
+#[cfg(feature = "HtmlTemplateElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlTemplateElement;
+#[cfg(feature = "HtmlTemplateElement")]
+pub use gen_HtmlTemplateElement::*;
+
+#[cfg(feature = "HtmlTextAreaElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlTextAreaElement;
+#[cfg(feature = "HtmlTextAreaElement")]
+pub use gen_HtmlTextAreaElement::*;
+
+#[cfg(feature = "HtmlTimeElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlTimeElement;
+#[cfg(feature = "HtmlTimeElement")]
+pub use gen_HtmlTimeElement::*;
+
+#[cfg(feature = "HtmlTitleElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlTitleElement;
+#[cfg(feature = "HtmlTitleElement")]
+pub use gen_HtmlTitleElement::*;
+
+#[cfg(feature = "HtmlTrackElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlTrackElement;
+#[cfg(feature = "HtmlTrackElement")]
+pub use gen_HtmlTrackElement::*;
+
+#[cfg(feature = "HtmlUListElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlUListElement;
+#[cfg(feature = "HtmlUListElement")]
+pub use gen_HtmlUListElement::*;
+
+#[cfg(feature = "HtmlUnknownElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlUnknownElement;
+#[cfg(feature = "HtmlUnknownElement")]
+pub use gen_HtmlUnknownElement::*;
+
+#[cfg(feature = "HtmlVideoElement")]
+#[allow(non_snake_case)]
+mod gen_HtmlVideoElement;
+#[cfg(feature = "HtmlVideoElement")]
+pub use gen_HtmlVideoElement::*;
+
+#[cfg(feature = "HttpConnDict")]
+#[allow(non_snake_case)]
+mod gen_HttpConnDict;
+#[cfg(feature = "HttpConnDict")]
+pub use gen_HttpConnDict::*;
+
+#[cfg(feature = "HttpConnInfo")]
+#[allow(non_snake_case)]
+mod gen_HttpConnInfo;
+#[cfg(feature = "HttpConnInfo")]
+pub use gen_HttpConnInfo::*;
+
+#[cfg(feature = "HttpConnectionElement")]
+#[allow(non_snake_case)]
+mod gen_HttpConnectionElement;
+#[cfg(feature = "HttpConnectionElement")]
+pub use gen_HttpConnectionElement::*;
+
+#[cfg(feature = "IdbCursor")]
+#[allow(non_snake_case)]
+mod gen_IdbCursor;
+#[cfg(feature = "IdbCursor")]
+pub use gen_IdbCursor::*;
+
+#[cfg(feature = "IdbCursorDirection")]
+#[allow(non_snake_case)]
+mod gen_IdbCursorDirection;
+#[cfg(feature = "IdbCursorDirection")]
+pub use gen_IdbCursorDirection::*;
+
+#[cfg(feature = "IdbCursorWithValue")]
+#[allow(non_snake_case)]
+mod gen_IdbCursorWithValue;
+#[cfg(feature = "IdbCursorWithValue")]
+pub use gen_IdbCursorWithValue::*;
+
+#[cfg(feature = "IdbDatabase")]
+#[allow(non_snake_case)]
+mod gen_IdbDatabase;
+#[cfg(feature = "IdbDatabase")]
+pub use gen_IdbDatabase::*;
+
+#[cfg(feature = "IdbFactory")]
+#[allow(non_snake_case)]
+mod gen_IdbFactory;
+#[cfg(feature = "IdbFactory")]
+pub use gen_IdbFactory::*;
+
+#[cfg(feature = "IdbFileHandle")]
+#[allow(non_snake_case)]
+mod gen_IdbFileHandle;
+#[cfg(feature = "IdbFileHandle")]
+pub use gen_IdbFileHandle::*;
+
+#[cfg(feature = "IdbFileMetadataParameters")]
+#[allow(non_snake_case)]
+mod gen_IdbFileMetadataParameters;
+#[cfg(feature = "IdbFileMetadataParameters")]
+pub use gen_IdbFileMetadataParameters::*;
+
+#[cfg(feature = "IdbFileRequest")]
+#[allow(non_snake_case)]
+mod gen_IdbFileRequest;
+#[cfg(feature = "IdbFileRequest")]
+pub use gen_IdbFileRequest::*;
+
+#[cfg(feature = "IdbIndex")]
+#[allow(non_snake_case)]
+mod gen_IdbIndex;
+#[cfg(feature = "IdbIndex")]
+pub use gen_IdbIndex::*;
+
+#[cfg(feature = "IdbIndexParameters")]
+#[allow(non_snake_case)]
+mod gen_IdbIndexParameters;
+#[cfg(feature = "IdbIndexParameters")]
+pub use gen_IdbIndexParameters::*;
+
+#[cfg(feature = "IdbKeyRange")]
+#[allow(non_snake_case)]
+mod gen_IdbKeyRange;
+#[cfg(feature = "IdbKeyRange")]
+pub use gen_IdbKeyRange::*;
+
+#[cfg(feature = "IdbLocaleAwareKeyRange")]
+#[allow(non_snake_case)]
+mod gen_IdbLocaleAwareKeyRange;
+#[cfg(feature = "IdbLocaleAwareKeyRange")]
+pub use gen_IdbLocaleAwareKeyRange::*;
+
+#[cfg(feature = "IdbMutableFile")]
+#[allow(non_snake_case)]
+mod gen_IdbMutableFile;
+#[cfg(feature = "IdbMutableFile")]
+pub use gen_IdbMutableFile::*;
+
+#[cfg(feature = "IdbObjectStore")]
+#[allow(non_snake_case)]
+mod gen_IdbObjectStore;
+#[cfg(feature = "IdbObjectStore")]
+pub use gen_IdbObjectStore::*;
+
+#[cfg(feature = "IdbObjectStoreParameters")]
+#[allow(non_snake_case)]
+mod gen_IdbObjectStoreParameters;
+#[cfg(feature = "IdbObjectStoreParameters")]
+pub use gen_IdbObjectStoreParameters::*;
+
+#[cfg(feature = "IdbOpenDbOptions")]
+#[allow(non_snake_case)]
+mod gen_IdbOpenDbOptions;
+#[cfg(feature = "IdbOpenDbOptions")]
+pub use gen_IdbOpenDbOptions::*;
+
+#[cfg(feature = "IdbOpenDbRequest")]
+#[allow(non_snake_case)]
+mod gen_IdbOpenDbRequest;
+#[cfg(feature = "IdbOpenDbRequest")]
+pub use gen_IdbOpenDbRequest::*;
+
+#[cfg(feature = "IdbRequest")]
+#[allow(non_snake_case)]
+mod gen_IdbRequest;
+#[cfg(feature = "IdbRequest")]
+pub use gen_IdbRequest::*;
+
+#[cfg(feature = "IdbRequestReadyState")]
+#[allow(non_snake_case)]
+mod gen_IdbRequestReadyState;
+#[cfg(feature = "IdbRequestReadyState")]
+pub use gen_IdbRequestReadyState::*;
+
+#[cfg(feature = "IdbTransaction")]
+#[allow(non_snake_case)]
+mod gen_IdbTransaction;
+#[cfg(feature = "IdbTransaction")]
+pub use gen_IdbTransaction::*;
+
+#[cfg(feature = "IdbTransactionMode")]
+#[allow(non_snake_case)]
+mod gen_IdbTransactionMode;
+#[cfg(feature = "IdbTransactionMode")]
+pub use gen_IdbTransactionMode::*;
+
+#[cfg(feature = "IdbVersionChangeEvent")]
+#[allow(non_snake_case)]
+mod gen_IdbVersionChangeEvent;
+#[cfg(feature = "IdbVersionChangeEvent")]
+pub use gen_IdbVersionChangeEvent::*;
+
+#[cfg(feature = "IdbVersionChangeEventInit")]
+#[allow(non_snake_case)]
+mod gen_IdbVersionChangeEventInit;
+#[cfg(feature = "IdbVersionChangeEventInit")]
+pub use gen_IdbVersionChangeEventInit::*;
+
+#[cfg(feature = "IdleDeadline")]
+#[allow(non_snake_case)]
+mod gen_IdleDeadline;
+#[cfg(feature = "IdleDeadline")]
+pub use gen_IdleDeadline::*;
+
+#[cfg(feature = "IdleRequestOptions")]
+#[allow(non_snake_case)]
+mod gen_IdleRequestOptions;
+#[cfg(feature = "IdleRequestOptions")]
+pub use gen_IdleRequestOptions::*;
+
+#[cfg(feature = "IirFilterNode")]
+#[allow(non_snake_case)]
+mod gen_IirFilterNode;
+#[cfg(feature = "IirFilterNode")]
+pub use gen_IirFilterNode::*;
+
+#[cfg(feature = "IirFilterOptions")]
+#[allow(non_snake_case)]
+mod gen_IirFilterOptions;
+#[cfg(feature = "IirFilterOptions")]
+pub use gen_IirFilterOptions::*;
+
+#[cfg(feature = "ImageBitmap")]
+#[allow(non_snake_case)]
+mod gen_ImageBitmap;
+#[cfg(feature = "ImageBitmap")]
+pub use gen_ImageBitmap::*;
+
+#[cfg(feature = "ImageBitmapOptions")]
+#[allow(non_snake_case)]
+mod gen_ImageBitmapOptions;
+#[cfg(feature = "ImageBitmapOptions")]
+pub use gen_ImageBitmapOptions::*;
+
+#[cfg(feature = "ImageBitmapRenderingContext")]
+#[allow(non_snake_case)]
+mod gen_ImageBitmapRenderingContext;
+#[cfg(feature = "ImageBitmapRenderingContext")]
+pub use gen_ImageBitmapRenderingContext::*;
+
+#[cfg(feature = "ImageCapture")]
+#[allow(non_snake_case)]
+mod gen_ImageCapture;
+#[cfg(feature = "ImageCapture")]
+pub use gen_ImageCapture::*;
+
+#[cfg(feature = "ImageCaptureError")]
+#[allow(non_snake_case)]
+mod gen_ImageCaptureError;
+#[cfg(feature = "ImageCaptureError")]
+pub use gen_ImageCaptureError::*;
+
+#[cfg(feature = "ImageCaptureErrorEvent")]
+#[allow(non_snake_case)]
+mod gen_ImageCaptureErrorEvent;
+#[cfg(feature = "ImageCaptureErrorEvent")]
+pub use gen_ImageCaptureErrorEvent::*;
+
+#[cfg(feature = "ImageCaptureErrorEventInit")]
+#[allow(non_snake_case)]
+mod gen_ImageCaptureErrorEventInit;
+#[cfg(feature = "ImageCaptureErrorEventInit")]
+pub use gen_ImageCaptureErrorEventInit::*;
+
+#[cfg(feature = "ImageData")]
+#[allow(non_snake_case)]
+mod gen_ImageData;
+#[cfg(feature = "ImageData")]
+pub use gen_ImageData::*;
+
+#[cfg(feature = "ImageDecodeOptions")]
+#[allow(non_snake_case)]
+mod gen_ImageDecodeOptions;
+#[cfg(feature = "ImageDecodeOptions")]
+pub use gen_ImageDecodeOptions::*;
+
+#[cfg(feature = "ImageDecodeResult")]
+#[allow(non_snake_case)]
+mod gen_ImageDecodeResult;
+#[cfg(feature = "ImageDecodeResult")]
+pub use gen_ImageDecodeResult::*;
+
+#[cfg(feature = "ImageDecoder")]
+#[allow(non_snake_case)]
+mod gen_ImageDecoder;
+#[cfg(feature = "ImageDecoder")]
+pub use gen_ImageDecoder::*;
+
+#[cfg(feature = "ImageDecoderInit")]
+#[allow(non_snake_case)]
+mod gen_ImageDecoderInit;
+#[cfg(feature = "ImageDecoderInit")]
+pub use gen_ImageDecoderInit::*;
+
+#[cfg(feature = "ImageOrientation")]
+#[allow(non_snake_case)]
+mod gen_ImageOrientation;
+#[cfg(feature = "ImageOrientation")]
+pub use gen_ImageOrientation::*;
+
+#[cfg(feature = "ImageTrack")]
+#[allow(non_snake_case)]
+mod gen_ImageTrack;
+#[cfg(feature = "ImageTrack")]
+pub use gen_ImageTrack::*;
+
+#[cfg(feature = "ImageTrackList")]
+#[allow(non_snake_case)]
+mod gen_ImageTrackList;
+#[cfg(feature = "ImageTrackList")]
+pub use gen_ImageTrackList::*;
+
+#[cfg(feature = "InputEvent")]
+#[allow(non_snake_case)]
+mod gen_InputEvent;
+#[cfg(feature = "InputEvent")]
+pub use gen_InputEvent::*;
+
+#[cfg(feature = "InputEventInit")]
+#[allow(non_snake_case)]
+mod gen_InputEventInit;
+#[cfg(feature = "InputEventInit")]
+pub use gen_InputEventInit::*;
+
+#[cfg(feature = "InstallTriggerData")]
+#[allow(non_snake_case)]
+mod gen_InstallTriggerData;
+#[cfg(feature = "InstallTriggerData")]
+pub use gen_InstallTriggerData::*;
+
+#[cfg(feature = "IntersectionObserver")]
+#[allow(non_snake_case)]
+mod gen_IntersectionObserver;
+#[cfg(feature = "IntersectionObserver")]
+pub use gen_IntersectionObserver::*;
+
+#[cfg(feature = "IntersectionObserverEntry")]
+#[allow(non_snake_case)]
+mod gen_IntersectionObserverEntry;
+#[cfg(feature = "IntersectionObserverEntry")]
+pub use gen_IntersectionObserverEntry::*;
+
+#[cfg(feature = "IntersectionObserverEntryInit")]
+#[allow(non_snake_case)]
+mod gen_IntersectionObserverEntryInit;
+#[cfg(feature = "IntersectionObserverEntryInit")]
+pub use gen_IntersectionObserverEntryInit::*;
+
+#[cfg(feature = "IntersectionObserverInit")]
+#[allow(non_snake_case)]
+mod gen_IntersectionObserverInit;
+#[cfg(feature = "IntersectionObserverInit")]
+pub use gen_IntersectionObserverInit::*;
+
+#[cfg(feature = "IntlUtils")]
+#[allow(non_snake_case)]
+mod gen_IntlUtils;
+#[cfg(feature = "IntlUtils")]
+pub use gen_IntlUtils::*;
+
+#[cfg(feature = "IterableKeyAndValueResult")]
+#[allow(non_snake_case)]
+mod gen_IterableKeyAndValueResult;
+#[cfg(feature = "IterableKeyAndValueResult")]
+pub use gen_IterableKeyAndValueResult::*;
+
+#[cfg(feature = "IterableKeyOrValueResult")]
+#[allow(non_snake_case)]
+mod gen_IterableKeyOrValueResult;
+#[cfg(feature = "IterableKeyOrValueResult")]
+pub use gen_IterableKeyOrValueResult::*;
+
+#[cfg(feature = "IterationCompositeOperation")]
+#[allow(non_snake_case)]
+mod gen_IterationCompositeOperation;
+#[cfg(feature = "IterationCompositeOperation")]
+pub use gen_IterationCompositeOperation::*;
+
+#[cfg(feature = "JsonWebKey")]
+#[allow(non_snake_case)]
+mod gen_JsonWebKey;
+#[cfg(feature = "JsonWebKey")]
+pub use gen_JsonWebKey::*;
+
+#[cfg(feature = "KeyAlgorithm")]
+#[allow(non_snake_case)]
+mod gen_KeyAlgorithm;
+#[cfg(feature = "KeyAlgorithm")]
+pub use gen_KeyAlgorithm::*;
+
+#[cfg(feature = "KeyEvent")]
+#[allow(non_snake_case)]
+mod gen_KeyEvent;
+#[cfg(feature = "KeyEvent")]
+pub use gen_KeyEvent::*;
+
+#[cfg(feature = "KeyIdsInitData")]
+#[allow(non_snake_case)]
+mod gen_KeyIdsInitData;
+#[cfg(feature = "KeyIdsInitData")]
+pub use gen_KeyIdsInitData::*;
+
+#[cfg(feature = "KeyboardEvent")]
+#[allow(non_snake_case)]
+mod gen_KeyboardEvent;
+#[cfg(feature = "KeyboardEvent")]
+pub use gen_KeyboardEvent::*;
+
+#[cfg(feature = "KeyboardEventInit")]
+#[allow(non_snake_case)]
+mod gen_KeyboardEventInit;
+#[cfg(feature = "KeyboardEventInit")]
+pub use gen_KeyboardEventInit::*;
+
+#[cfg(feature = "KeyframeEffect")]
+#[allow(non_snake_case)]
+mod gen_KeyframeEffect;
+#[cfg(feature = "KeyframeEffect")]
+pub use gen_KeyframeEffect::*;
+
+#[cfg(feature = "KeyframeEffectOptions")]
+#[allow(non_snake_case)]
+mod gen_KeyframeEffectOptions;
+#[cfg(feature = "KeyframeEffectOptions")]
+pub use gen_KeyframeEffectOptions::*;
+
+#[cfg(feature = "L10nElement")]
+#[allow(non_snake_case)]
+mod gen_L10nElement;
+#[cfg(feature = "L10nElement")]
+pub use gen_L10nElement::*;
+
+#[cfg(feature = "L10nValue")]
+#[allow(non_snake_case)]
+mod gen_L10nValue;
+#[cfg(feature = "L10nValue")]
+pub use gen_L10nValue::*;
+
+#[cfg(feature = "LatencyMode")]
+#[allow(non_snake_case)]
+mod gen_LatencyMode;
+#[cfg(feature = "LatencyMode")]
+pub use gen_LatencyMode::*;
+
+#[cfg(feature = "LifecycleCallbacks")]
+#[allow(non_snake_case)]
+mod gen_LifecycleCallbacks;
+#[cfg(feature = "LifecycleCallbacks")]
+pub use gen_LifecycleCallbacks::*;
+
+#[cfg(feature = "LineAlignSetting")]
+#[allow(non_snake_case)]
+mod gen_LineAlignSetting;
+#[cfg(feature = "LineAlignSetting")]
+pub use gen_LineAlignSetting::*;
+
+#[cfg(feature = "ListBoxObject")]
+#[allow(non_snake_case)]
+mod gen_ListBoxObject;
+#[cfg(feature = "ListBoxObject")]
+pub use gen_ListBoxObject::*;
+
+#[cfg(feature = "LocalMediaStream")]
+#[allow(non_snake_case)]
+mod gen_LocalMediaStream;
+#[cfg(feature = "LocalMediaStream")]
+pub use gen_LocalMediaStream::*;
+
+#[cfg(feature = "LocaleInfo")]
+#[allow(non_snake_case)]
+mod gen_LocaleInfo;
+#[cfg(feature = "LocaleInfo")]
+pub use gen_LocaleInfo::*;
+
+#[cfg(feature = "Location")]
+#[allow(non_snake_case)]
+mod gen_Location;
+#[cfg(feature = "Location")]
+pub use gen_Location::*;
+
+#[cfg(feature = "MediaCapabilities")]
+#[allow(non_snake_case)]
+mod gen_MediaCapabilities;
+#[cfg(feature = "MediaCapabilities")]
+pub use gen_MediaCapabilities::*;
+
+#[cfg(feature = "MediaCapabilitiesInfo")]
+#[allow(non_snake_case)]
+mod gen_MediaCapabilitiesInfo;
+#[cfg(feature = "MediaCapabilitiesInfo")]
+pub use gen_MediaCapabilitiesInfo::*;
+
+#[cfg(feature = "MediaConfiguration")]
+#[allow(non_snake_case)]
+mod gen_MediaConfiguration;
+#[cfg(feature = "MediaConfiguration")]
+pub use gen_MediaConfiguration::*;
+
+#[cfg(feature = "MediaDecodingConfiguration")]
+#[allow(non_snake_case)]
+mod gen_MediaDecodingConfiguration;
+#[cfg(feature = "MediaDecodingConfiguration")]
+pub use gen_MediaDecodingConfiguration::*;
+
+#[cfg(feature = "MediaDecodingType")]
+#[allow(non_snake_case)]
+mod gen_MediaDecodingType;
+#[cfg(feature = "MediaDecodingType")]
+pub use gen_MediaDecodingType::*;
+
+#[cfg(feature = "MediaDeviceInfo")]
+#[allow(non_snake_case)]
+mod gen_MediaDeviceInfo;
+#[cfg(feature = "MediaDeviceInfo")]
+pub use gen_MediaDeviceInfo::*;
+
+#[cfg(feature = "MediaDeviceKind")]
+#[allow(non_snake_case)]
+mod gen_MediaDeviceKind;
+#[cfg(feature = "MediaDeviceKind")]
+pub use gen_MediaDeviceKind::*;
+
+#[cfg(feature = "MediaDevices")]
+#[allow(non_snake_case)]
+mod gen_MediaDevices;
+#[cfg(feature = "MediaDevices")]
+pub use gen_MediaDevices::*;
+
+#[cfg(feature = "MediaElementAudioSourceNode")]
+#[allow(non_snake_case)]
+mod gen_MediaElementAudioSourceNode;
+#[cfg(feature = "MediaElementAudioSourceNode")]
+pub use gen_MediaElementAudioSourceNode::*;
+
+#[cfg(feature = "MediaElementAudioSourceOptions")]
+#[allow(non_snake_case)]
+mod gen_MediaElementAudioSourceOptions;
+#[cfg(feature = "MediaElementAudioSourceOptions")]
+pub use gen_MediaElementAudioSourceOptions::*;
+
+#[cfg(feature = "MediaEncodingConfiguration")]
+#[allow(non_snake_case)]
+mod gen_MediaEncodingConfiguration;
+#[cfg(feature = "MediaEncodingConfiguration")]
+pub use gen_MediaEncodingConfiguration::*;
+
+#[cfg(feature = "MediaEncodingType")]
+#[allow(non_snake_case)]
+mod gen_MediaEncodingType;
+#[cfg(feature = "MediaEncodingType")]
+pub use gen_MediaEncodingType::*;
+
+#[cfg(feature = "MediaEncryptedEvent")]
+#[allow(non_snake_case)]
+mod gen_MediaEncryptedEvent;
+#[cfg(feature = "MediaEncryptedEvent")]
+pub use gen_MediaEncryptedEvent::*;
+
+#[cfg(feature = "MediaError")]
+#[allow(non_snake_case)]
+mod gen_MediaError;
+#[cfg(feature = "MediaError")]
+pub use gen_MediaError::*;
+
+#[cfg(feature = "MediaImage")]
+#[allow(non_snake_case)]
+mod gen_MediaImage;
+#[cfg(feature = "MediaImage")]
+pub use gen_MediaImage::*;
+
+#[cfg(feature = "MediaKeyError")]
+#[allow(non_snake_case)]
+mod gen_MediaKeyError;
+#[cfg(feature = "MediaKeyError")]
+pub use gen_MediaKeyError::*;
+
+#[cfg(feature = "MediaKeyMessageEvent")]
+#[allow(non_snake_case)]
+mod gen_MediaKeyMessageEvent;
+#[cfg(feature = "MediaKeyMessageEvent")]
+pub use gen_MediaKeyMessageEvent::*;
+
+#[cfg(feature = "MediaKeyMessageEventInit")]
+#[allow(non_snake_case)]
+mod gen_MediaKeyMessageEventInit;
+#[cfg(feature = "MediaKeyMessageEventInit")]
+pub use gen_MediaKeyMessageEventInit::*;
+
+#[cfg(feature = "MediaKeyMessageType")]
+#[allow(non_snake_case)]
+mod gen_MediaKeyMessageType;
+#[cfg(feature = "MediaKeyMessageType")]
+pub use gen_MediaKeyMessageType::*;
+
+#[cfg(feature = "MediaKeyNeededEventInit")]
+#[allow(non_snake_case)]
+mod gen_MediaKeyNeededEventInit;
+#[cfg(feature = "MediaKeyNeededEventInit")]
+pub use gen_MediaKeyNeededEventInit::*;
+
+#[cfg(feature = "MediaKeySession")]
+#[allow(non_snake_case)]
+mod gen_MediaKeySession;
+#[cfg(feature = "MediaKeySession")]
+pub use gen_MediaKeySession::*;
+
+#[cfg(feature = "MediaKeySessionType")]
+#[allow(non_snake_case)]
+mod gen_MediaKeySessionType;
+#[cfg(feature = "MediaKeySessionType")]
+pub use gen_MediaKeySessionType::*;
+
+#[cfg(feature = "MediaKeyStatus")]
+#[allow(non_snake_case)]
+mod gen_MediaKeyStatus;
+#[cfg(feature = "MediaKeyStatus")]
+pub use gen_MediaKeyStatus::*;
+
+#[cfg(feature = "MediaKeyStatusMap")]
+#[allow(non_snake_case)]
+mod gen_MediaKeyStatusMap;
+#[cfg(feature = "MediaKeyStatusMap")]
+pub use gen_MediaKeyStatusMap::*;
+
+#[cfg(feature = "MediaKeySystemAccess")]
+#[allow(non_snake_case)]
+mod gen_MediaKeySystemAccess;
+#[cfg(feature = "MediaKeySystemAccess")]
+pub use gen_MediaKeySystemAccess::*;
+
+#[cfg(feature = "MediaKeySystemConfiguration")]
+#[allow(non_snake_case)]
+mod gen_MediaKeySystemConfiguration;
+#[cfg(feature = "MediaKeySystemConfiguration")]
+pub use gen_MediaKeySystemConfiguration::*;
+
+#[cfg(feature = "MediaKeySystemMediaCapability")]
+#[allow(non_snake_case)]
+mod gen_MediaKeySystemMediaCapability;
+#[cfg(feature = "MediaKeySystemMediaCapability")]
+pub use gen_MediaKeySystemMediaCapability::*;
+
+#[cfg(feature = "MediaKeySystemStatus")]
+#[allow(non_snake_case)]
+mod gen_MediaKeySystemStatus;
+#[cfg(feature = "MediaKeySystemStatus")]
+pub use gen_MediaKeySystemStatus::*;
+
+#[cfg(feature = "MediaKeys")]
+#[allow(non_snake_case)]
+mod gen_MediaKeys;
+#[cfg(feature = "MediaKeys")]
+pub use gen_MediaKeys::*;
+
+#[cfg(feature = "MediaKeysPolicy")]
+#[allow(non_snake_case)]
+mod gen_MediaKeysPolicy;
+#[cfg(feature = "MediaKeysPolicy")]
+pub use gen_MediaKeysPolicy::*;
+
+#[cfg(feature = "MediaKeysRequirement")]
+#[allow(non_snake_case)]
+mod gen_MediaKeysRequirement;
+#[cfg(feature = "MediaKeysRequirement")]
+pub use gen_MediaKeysRequirement::*;
+
+#[cfg(feature = "MediaList")]
+#[allow(non_snake_case)]
+mod gen_MediaList;
+#[cfg(feature = "MediaList")]
+pub use gen_MediaList::*;
+
+#[cfg(feature = "MediaMetadata")]
+#[allow(non_snake_case)]
+mod gen_MediaMetadata;
+#[cfg(feature = "MediaMetadata")]
+pub use gen_MediaMetadata::*;
+
+#[cfg(feature = "MediaMetadataInit")]
+#[allow(non_snake_case)]
+mod gen_MediaMetadataInit;
+#[cfg(feature = "MediaMetadataInit")]
+pub use gen_MediaMetadataInit::*;
+
+#[cfg(feature = "MediaPositionState")]
+#[allow(non_snake_case)]
+mod gen_MediaPositionState;
+#[cfg(feature = "MediaPositionState")]
+pub use gen_MediaPositionState::*;
+
+#[cfg(feature = "MediaQueryList")]
+#[allow(non_snake_case)]
+mod gen_MediaQueryList;
+#[cfg(feature = "MediaQueryList")]
+pub use gen_MediaQueryList::*;
+
+#[cfg(feature = "MediaQueryListEvent")]
+#[allow(non_snake_case)]
+mod gen_MediaQueryListEvent;
+#[cfg(feature = "MediaQueryListEvent")]
+pub use gen_MediaQueryListEvent::*;
+
+#[cfg(feature = "MediaQueryListEventInit")]
+#[allow(non_snake_case)]
+mod gen_MediaQueryListEventInit;
+#[cfg(feature = "MediaQueryListEventInit")]
+pub use gen_MediaQueryListEventInit::*;
+
+#[cfg(feature = "MediaRecorder")]
+#[allow(non_snake_case)]
+mod gen_MediaRecorder;
+#[cfg(feature = "MediaRecorder")]
+pub use gen_MediaRecorder::*;
+
+#[cfg(feature = "MediaRecorderErrorEvent")]
+#[allow(non_snake_case)]
+mod gen_MediaRecorderErrorEvent;
+#[cfg(feature = "MediaRecorderErrorEvent")]
+pub use gen_MediaRecorderErrorEvent::*;
+
+#[cfg(feature = "MediaRecorderErrorEventInit")]
+#[allow(non_snake_case)]
+mod gen_MediaRecorderErrorEventInit;
+#[cfg(feature = "MediaRecorderErrorEventInit")]
+pub use gen_MediaRecorderErrorEventInit::*;
+
+#[cfg(feature = "MediaRecorderOptions")]
+#[allow(non_snake_case)]
+mod gen_MediaRecorderOptions;
+#[cfg(feature = "MediaRecorderOptions")]
+pub use gen_MediaRecorderOptions::*;
+
+#[cfg(feature = "MediaSession")]
+#[allow(non_snake_case)]
+mod gen_MediaSession;
+#[cfg(feature = "MediaSession")]
+pub use gen_MediaSession::*;
+
+#[cfg(feature = "MediaSessionAction")]
+#[allow(non_snake_case)]
+mod gen_MediaSessionAction;
+#[cfg(feature = "MediaSessionAction")]
+pub use gen_MediaSessionAction::*;
+
+#[cfg(feature = "MediaSessionActionDetails")]
+#[allow(non_snake_case)]
+mod gen_MediaSessionActionDetails;
+#[cfg(feature = "MediaSessionActionDetails")]
+pub use gen_MediaSessionActionDetails::*;
+
+#[cfg(feature = "MediaSessionPlaybackState")]
+#[allow(non_snake_case)]
+mod gen_MediaSessionPlaybackState;
+#[cfg(feature = "MediaSessionPlaybackState")]
+pub use gen_MediaSessionPlaybackState::*;
+
+#[cfg(feature = "MediaSource")]
+#[allow(non_snake_case)]
+mod gen_MediaSource;
+#[cfg(feature = "MediaSource")]
+pub use gen_MediaSource::*;
+
+#[cfg(feature = "MediaSourceEndOfStreamError")]
+#[allow(non_snake_case)]
+mod gen_MediaSourceEndOfStreamError;
+#[cfg(feature = "MediaSourceEndOfStreamError")]
+pub use gen_MediaSourceEndOfStreamError::*;
+
+#[cfg(feature = "MediaSourceEnum")]
+#[allow(non_snake_case)]
+mod gen_MediaSourceEnum;
+#[cfg(feature = "MediaSourceEnum")]
+pub use gen_MediaSourceEnum::*;
+
+#[cfg(feature = "MediaSourceReadyState")]
+#[allow(non_snake_case)]
+mod gen_MediaSourceReadyState;
+#[cfg(feature = "MediaSourceReadyState")]
+pub use gen_MediaSourceReadyState::*;
+
+#[cfg(feature = "MediaStream")]
+#[allow(non_snake_case)]
+mod gen_MediaStream;
+#[cfg(feature = "MediaStream")]
+pub use gen_MediaStream::*;
+
+#[cfg(feature = "MediaStreamAudioDestinationNode")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamAudioDestinationNode;
+#[cfg(feature = "MediaStreamAudioDestinationNode")]
+pub use gen_MediaStreamAudioDestinationNode::*;
+
+#[cfg(feature = "MediaStreamAudioSourceNode")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamAudioSourceNode;
+#[cfg(feature = "MediaStreamAudioSourceNode")]
+pub use gen_MediaStreamAudioSourceNode::*;
+
+#[cfg(feature = "MediaStreamAudioSourceOptions")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamAudioSourceOptions;
+#[cfg(feature = "MediaStreamAudioSourceOptions")]
+pub use gen_MediaStreamAudioSourceOptions::*;
+
+#[cfg(feature = "MediaStreamConstraints")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamConstraints;
+#[cfg(feature = "MediaStreamConstraints")]
+pub use gen_MediaStreamConstraints::*;
+
+#[cfg(feature = "MediaStreamError")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamError;
+#[cfg(feature = "MediaStreamError")]
+pub use gen_MediaStreamError::*;
+
+#[cfg(feature = "MediaStreamEvent")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamEvent;
+#[cfg(feature = "MediaStreamEvent")]
+pub use gen_MediaStreamEvent::*;
+
+#[cfg(feature = "MediaStreamEventInit")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamEventInit;
+#[cfg(feature = "MediaStreamEventInit")]
+pub use gen_MediaStreamEventInit::*;
+
+#[cfg(feature = "MediaStreamTrack")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamTrack;
+#[cfg(feature = "MediaStreamTrack")]
+pub use gen_MediaStreamTrack::*;
+
+#[cfg(feature = "MediaStreamTrackEvent")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamTrackEvent;
+#[cfg(feature = "MediaStreamTrackEvent")]
+pub use gen_MediaStreamTrackEvent::*;
+
+#[cfg(feature = "MediaStreamTrackEventInit")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamTrackEventInit;
+#[cfg(feature = "MediaStreamTrackEventInit")]
+pub use gen_MediaStreamTrackEventInit::*;
+
+#[cfg(feature = "MediaStreamTrackGenerator")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamTrackGenerator;
+#[cfg(feature = "MediaStreamTrackGenerator")]
+pub use gen_MediaStreamTrackGenerator::*;
+
+#[cfg(feature = "MediaStreamTrackGeneratorInit")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamTrackGeneratorInit;
+#[cfg(feature = "MediaStreamTrackGeneratorInit")]
+pub use gen_MediaStreamTrackGeneratorInit::*;
+
+#[cfg(feature = "MediaStreamTrackProcessor")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamTrackProcessor;
+#[cfg(feature = "MediaStreamTrackProcessor")]
+pub use gen_MediaStreamTrackProcessor::*;
+
+#[cfg(feature = "MediaStreamTrackProcessorInit")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamTrackProcessorInit;
+#[cfg(feature = "MediaStreamTrackProcessorInit")]
+pub use gen_MediaStreamTrackProcessorInit::*;
+
+#[cfg(feature = "MediaStreamTrackState")]
+#[allow(non_snake_case)]
+mod gen_MediaStreamTrackState;
+#[cfg(feature = "MediaStreamTrackState")]
+pub use gen_MediaStreamTrackState::*;
+
+#[cfg(feature = "MediaTrackConstraintSet")]
+#[allow(non_snake_case)]
+mod gen_MediaTrackConstraintSet;
+#[cfg(feature = "MediaTrackConstraintSet")]
+pub use gen_MediaTrackConstraintSet::*;
+
+#[cfg(feature = "MediaTrackConstraints")]
+#[allow(non_snake_case)]
+mod gen_MediaTrackConstraints;
+#[cfg(feature = "MediaTrackConstraints")]
+pub use gen_MediaTrackConstraints::*;
+
+#[cfg(feature = "MediaTrackSettings")]
+#[allow(non_snake_case)]
+mod gen_MediaTrackSettings;
+#[cfg(feature = "MediaTrackSettings")]
+pub use gen_MediaTrackSettings::*;
+
+#[cfg(feature = "MediaTrackSupportedConstraints")]
+#[allow(non_snake_case)]
+mod gen_MediaTrackSupportedConstraints;
+#[cfg(feature = "MediaTrackSupportedConstraints")]
+pub use gen_MediaTrackSupportedConstraints::*;
+
+#[cfg(feature = "MessageChannel")]
+#[allow(non_snake_case)]
+mod gen_MessageChannel;
+#[cfg(feature = "MessageChannel")]
+pub use gen_MessageChannel::*;
+
+#[cfg(feature = "MessageEvent")]
+#[allow(non_snake_case)]
+mod gen_MessageEvent;
+#[cfg(feature = "MessageEvent")]
+pub use gen_MessageEvent::*;
+
+#[cfg(feature = "MessageEventInit")]
+#[allow(non_snake_case)]
+mod gen_MessageEventInit;
+#[cfg(feature = "MessageEventInit")]
+pub use gen_MessageEventInit::*;
+
+#[cfg(feature = "MessagePort")]
+#[allow(non_snake_case)]
+mod gen_MessagePort;
+#[cfg(feature = "MessagePort")]
+pub use gen_MessagePort::*;
+
+#[cfg(feature = "MidiAccess")]
+#[allow(non_snake_case)]
+mod gen_MidiAccess;
+#[cfg(feature = "MidiAccess")]
+pub use gen_MidiAccess::*;
+
+#[cfg(feature = "MidiConnectionEvent")]
+#[allow(non_snake_case)]
+mod gen_MidiConnectionEvent;
+#[cfg(feature = "MidiConnectionEvent")]
+pub use gen_MidiConnectionEvent::*;
+
+#[cfg(feature = "MidiConnectionEventInit")]
+#[allow(non_snake_case)]
+mod gen_MidiConnectionEventInit;
+#[cfg(feature = "MidiConnectionEventInit")]
+pub use gen_MidiConnectionEventInit::*;
+
+#[cfg(feature = "MidiInput")]
+#[allow(non_snake_case)]
+mod gen_MidiInput;
+#[cfg(feature = "MidiInput")]
+pub use gen_MidiInput::*;
+
+#[cfg(feature = "MidiInputMap")]
+#[allow(non_snake_case)]
+mod gen_MidiInputMap;
+#[cfg(feature = "MidiInputMap")]
+pub use gen_MidiInputMap::*;
+
+#[cfg(feature = "MidiMessageEvent")]
+#[allow(non_snake_case)]
+mod gen_MidiMessageEvent;
+#[cfg(feature = "MidiMessageEvent")]
+pub use gen_MidiMessageEvent::*;
+
+#[cfg(feature = "MidiMessageEventInit")]
+#[allow(non_snake_case)]
+mod gen_MidiMessageEventInit;
+#[cfg(feature = "MidiMessageEventInit")]
+pub use gen_MidiMessageEventInit::*;
+
+#[cfg(feature = "MidiOptions")]
+#[allow(non_snake_case)]
+mod gen_MidiOptions;
+#[cfg(feature = "MidiOptions")]
+pub use gen_MidiOptions::*;
+
+#[cfg(feature = "MidiOutput")]
+#[allow(non_snake_case)]
+mod gen_MidiOutput;
+#[cfg(feature = "MidiOutput")]
+pub use gen_MidiOutput::*;
+
+#[cfg(feature = "MidiOutputMap")]
+#[allow(non_snake_case)]
+mod gen_MidiOutputMap;
+#[cfg(feature = "MidiOutputMap")]
+pub use gen_MidiOutputMap::*;
+
+#[cfg(feature = "MidiPort")]
+#[allow(non_snake_case)]
+mod gen_MidiPort;
+#[cfg(feature = "MidiPort")]
+pub use gen_MidiPort::*;
+
+#[cfg(feature = "MidiPortConnectionState")]
+#[allow(non_snake_case)]
+mod gen_MidiPortConnectionState;
+#[cfg(feature = "MidiPortConnectionState")]
+pub use gen_MidiPortConnectionState::*;
+
+#[cfg(feature = "MidiPortDeviceState")]
+#[allow(non_snake_case)]
+mod gen_MidiPortDeviceState;
+#[cfg(feature = "MidiPortDeviceState")]
+pub use gen_MidiPortDeviceState::*;
+
+#[cfg(feature = "MidiPortType")]
+#[allow(non_snake_case)]
+mod gen_MidiPortType;
+#[cfg(feature = "MidiPortType")]
+pub use gen_MidiPortType::*;
+
+#[cfg(feature = "MimeType")]
+#[allow(non_snake_case)]
+mod gen_MimeType;
+#[cfg(feature = "MimeType")]
+pub use gen_MimeType::*;
+
+#[cfg(feature = "MimeTypeArray")]
+#[allow(non_snake_case)]
+mod gen_MimeTypeArray;
+#[cfg(feature = "MimeTypeArray")]
+pub use gen_MimeTypeArray::*;
+
+#[cfg(feature = "MouseEvent")]
+#[allow(non_snake_case)]
+mod gen_MouseEvent;
+#[cfg(feature = "MouseEvent")]
+pub use gen_MouseEvent::*;
+
+#[cfg(feature = "MouseEventInit")]
+#[allow(non_snake_case)]
+mod gen_MouseEventInit;
+#[cfg(feature = "MouseEventInit")]
+pub use gen_MouseEventInit::*;
+
+#[cfg(feature = "MouseScrollEvent")]
+#[allow(non_snake_case)]
+mod gen_MouseScrollEvent;
+#[cfg(feature = "MouseScrollEvent")]
+pub use gen_MouseScrollEvent::*;
+
+#[cfg(feature = "MozDebug")]
+#[allow(non_snake_case)]
+mod gen_MozDebug;
+#[cfg(feature = "MozDebug")]
+pub use gen_MozDebug::*;
+
+#[cfg(feature = "MutationEvent")]
+#[allow(non_snake_case)]
+mod gen_MutationEvent;
+#[cfg(feature = "MutationEvent")]
+pub use gen_MutationEvent::*;
+
+#[cfg(feature = "MutationObserver")]
+#[allow(non_snake_case)]
+mod gen_MutationObserver;
+#[cfg(feature = "MutationObserver")]
+pub use gen_MutationObserver::*;
+
+#[cfg(feature = "MutationObserverInit")]
+#[allow(non_snake_case)]
+mod gen_MutationObserverInit;
+#[cfg(feature = "MutationObserverInit")]
+pub use gen_MutationObserverInit::*;
+
+#[cfg(feature = "MutationObservingInfo")]
+#[allow(non_snake_case)]
+mod gen_MutationObservingInfo;
+#[cfg(feature = "MutationObservingInfo")]
+pub use gen_MutationObservingInfo::*;
+
+#[cfg(feature = "MutationRecord")]
+#[allow(non_snake_case)]
+mod gen_MutationRecord;
+#[cfg(feature = "MutationRecord")]
+pub use gen_MutationRecord::*;
+
+#[cfg(feature = "NamedNodeMap")]
+#[allow(non_snake_case)]
+mod gen_NamedNodeMap;
+#[cfg(feature = "NamedNodeMap")]
+pub use gen_NamedNodeMap::*;
+
+#[cfg(feature = "NativeOsFileReadOptions")]
+#[allow(non_snake_case)]
+mod gen_NativeOsFileReadOptions;
+#[cfg(feature = "NativeOsFileReadOptions")]
+pub use gen_NativeOsFileReadOptions::*;
+
+#[cfg(feature = "NativeOsFileWriteAtomicOptions")]
+#[allow(non_snake_case)]
+mod gen_NativeOsFileWriteAtomicOptions;
+#[cfg(feature = "NativeOsFileWriteAtomicOptions")]
+pub use gen_NativeOsFileWriteAtomicOptions::*;
+
+#[cfg(feature = "NavigationType")]
+#[allow(non_snake_case)]
+mod gen_NavigationType;
+#[cfg(feature = "NavigationType")]
+pub use gen_NavigationType::*;
+
+#[cfg(feature = "Navigator")]
+#[allow(non_snake_case)]
+mod gen_Navigator;
+#[cfg(feature = "Navigator")]
+pub use gen_Navigator::*;
+
+#[cfg(feature = "NavigatorAutomationInformation")]
+#[allow(non_snake_case)]
+mod gen_NavigatorAutomationInformation;
+#[cfg(feature = "NavigatorAutomationInformation")]
+pub use gen_NavigatorAutomationInformation::*;
+
+#[cfg(feature = "NetworkCommandOptions")]
+#[allow(non_snake_case)]
+mod gen_NetworkCommandOptions;
+#[cfg(feature = "NetworkCommandOptions")]
+pub use gen_NetworkCommandOptions::*;
+
+#[cfg(feature = "NetworkInformation")]
+#[allow(non_snake_case)]
+mod gen_NetworkInformation;
+#[cfg(feature = "NetworkInformation")]
+pub use gen_NetworkInformation::*;
+
+#[cfg(feature = "NetworkResultOptions")]
+#[allow(non_snake_case)]
+mod gen_NetworkResultOptions;
+#[cfg(feature = "NetworkResultOptions")]
+pub use gen_NetworkResultOptions::*;
+
+#[cfg(feature = "Node")]
+#[allow(non_snake_case)]
+mod gen_Node;
+#[cfg(feature = "Node")]
+pub use gen_Node::*;
+
+#[cfg(feature = "NodeFilter")]
+#[allow(non_snake_case)]
+mod gen_NodeFilter;
+#[cfg(feature = "NodeFilter")]
+pub use gen_NodeFilter::*;
+
+#[cfg(feature = "NodeIterator")]
+#[allow(non_snake_case)]
+mod gen_NodeIterator;
+#[cfg(feature = "NodeIterator")]
+pub use gen_NodeIterator::*;
+
+#[cfg(feature = "NodeList")]
+#[allow(non_snake_case)]
+mod gen_NodeList;
+#[cfg(feature = "NodeList")]
+pub use gen_NodeList::*;
+
+#[cfg(feature = "Notification")]
+#[allow(non_snake_case)]
+mod gen_Notification;
+#[cfg(feature = "Notification")]
+pub use gen_Notification::*;
+
+#[cfg(feature = "NotificationBehavior")]
+#[allow(non_snake_case)]
+mod gen_NotificationBehavior;
+#[cfg(feature = "NotificationBehavior")]
+pub use gen_NotificationBehavior::*;
+
+#[cfg(feature = "NotificationDirection")]
+#[allow(non_snake_case)]
+mod gen_NotificationDirection;
+#[cfg(feature = "NotificationDirection")]
+pub use gen_NotificationDirection::*;
+
+#[cfg(feature = "NotificationEvent")]
+#[allow(non_snake_case)]
+mod gen_NotificationEvent;
+#[cfg(feature = "NotificationEvent")]
+pub use gen_NotificationEvent::*;
+
+#[cfg(feature = "NotificationEventInit")]
+#[allow(non_snake_case)]
+mod gen_NotificationEventInit;
+#[cfg(feature = "NotificationEventInit")]
+pub use gen_NotificationEventInit::*;
+
+#[cfg(feature = "NotificationOptions")]
+#[allow(non_snake_case)]
+mod gen_NotificationOptions;
+#[cfg(feature = "NotificationOptions")]
+pub use gen_NotificationOptions::*;
+
+#[cfg(feature = "NotificationPermission")]
+#[allow(non_snake_case)]
+mod gen_NotificationPermission;
+#[cfg(feature = "NotificationPermission")]
+pub use gen_NotificationPermission::*;
+
+#[cfg(feature = "ObserverCallback")]
+#[allow(non_snake_case)]
+mod gen_ObserverCallback;
+#[cfg(feature = "ObserverCallback")]
+pub use gen_ObserverCallback::*;
+
+#[cfg(feature = "OesElementIndexUint")]
+#[allow(non_snake_case)]
+mod gen_OesElementIndexUint;
+#[cfg(feature = "OesElementIndexUint")]
+pub use gen_OesElementIndexUint::*;
+
+#[cfg(feature = "OesStandardDerivatives")]
+#[allow(non_snake_case)]
+mod gen_OesStandardDerivatives;
+#[cfg(feature = "OesStandardDerivatives")]
+pub use gen_OesStandardDerivatives::*;
+
+#[cfg(feature = "OesTextureFloat")]
+#[allow(non_snake_case)]
+mod gen_OesTextureFloat;
+#[cfg(feature = "OesTextureFloat")]
+pub use gen_OesTextureFloat::*;
+
+#[cfg(feature = "OesTextureFloatLinear")]
+#[allow(non_snake_case)]
+mod gen_OesTextureFloatLinear;
+#[cfg(feature = "OesTextureFloatLinear")]
+pub use gen_OesTextureFloatLinear::*;
+
+#[cfg(feature = "OesTextureHalfFloat")]
+#[allow(non_snake_case)]
+mod gen_OesTextureHalfFloat;
+#[cfg(feature = "OesTextureHalfFloat")]
+pub use gen_OesTextureHalfFloat::*;
+
+#[cfg(feature = "OesTextureHalfFloatLinear")]
+#[allow(non_snake_case)]
+mod gen_OesTextureHalfFloatLinear;
+#[cfg(feature = "OesTextureHalfFloatLinear")]
+pub use gen_OesTextureHalfFloatLinear::*;
+
+#[cfg(feature = "OesVertexArrayObject")]
+#[allow(non_snake_case)]
+mod gen_OesVertexArrayObject;
+#[cfg(feature = "OesVertexArrayObject")]
+pub use gen_OesVertexArrayObject::*;
+
+#[cfg(feature = "OfflineAudioCompletionEvent")]
+#[allow(non_snake_case)]
+mod gen_OfflineAudioCompletionEvent;
+#[cfg(feature = "OfflineAudioCompletionEvent")]
+pub use gen_OfflineAudioCompletionEvent::*;
+
+#[cfg(feature = "OfflineAudioCompletionEventInit")]
+#[allow(non_snake_case)]
+mod gen_OfflineAudioCompletionEventInit;
+#[cfg(feature = "OfflineAudioCompletionEventInit")]
+pub use gen_OfflineAudioCompletionEventInit::*;
+
+#[cfg(feature = "OfflineAudioContext")]
+#[allow(non_snake_case)]
+mod gen_OfflineAudioContext;
+#[cfg(feature = "OfflineAudioContext")]
+pub use gen_OfflineAudioContext::*;
+
+#[cfg(feature = "OfflineAudioContextOptions")]
+#[allow(non_snake_case)]
+mod gen_OfflineAudioContextOptions;
+#[cfg(feature = "OfflineAudioContextOptions")]
+pub use gen_OfflineAudioContextOptions::*;
+
+#[cfg(feature = "OfflineResourceList")]
+#[allow(non_snake_case)]
+mod gen_OfflineResourceList;
+#[cfg(feature = "OfflineResourceList")]
+pub use gen_OfflineResourceList::*;
+
+#[cfg(feature = "OffscreenCanvas")]
+#[allow(non_snake_case)]
+mod gen_OffscreenCanvas;
+#[cfg(feature = "OffscreenCanvas")]
+pub use gen_OffscreenCanvas::*;
+
+#[cfg(feature = "OpenWindowEventDetail")]
+#[allow(non_snake_case)]
+mod gen_OpenWindowEventDetail;
+#[cfg(feature = "OpenWindowEventDetail")]
+pub use gen_OpenWindowEventDetail::*;
+
+#[cfg(feature = "OptionalEffectTiming")]
+#[allow(non_snake_case)]
+mod gen_OptionalEffectTiming;
+#[cfg(feature = "OptionalEffectTiming")]
+pub use gen_OptionalEffectTiming::*;
+
+#[cfg(feature = "OrientationLockType")]
+#[allow(non_snake_case)]
+mod gen_OrientationLockType;
+#[cfg(feature = "OrientationLockType")]
+pub use gen_OrientationLockType::*;
+
+#[cfg(feature = "OrientationType")]
+#[allow(non_snake_case)]
+mod gen_OrientationType;
+#[cfg(feature = "OrientationType")]
+pub use gen_OrientationType::*;
+
+#[cfg(feature = "OscillatorNode")]
+#[allow(non_snake_case)]
+mod gen_OscillatorNode;
+#[cfg(feature = "OscillatorNode")]
+pub use gen_OscillatorNode::*;
+
+#[cfg(feature = "OscillatorOptions")]
+#[allow(non_snake_case)]
+mod gen_OscillatorOptions;
+#[cfg(feature = "OscillatorOptions")]
+pub use gen_OscillatorOptions::*;
+
+#[cfg(feature = "OscillatorType")]
+#[allow(non_snake_case)]
+mod gen_OscillatorType;
+#[cfg(feature = "OscillatorType")]
+pub use gen_OscillatorType::*;
+
+#[cfg(feature = "OverSampleType")]
+#[allow(non_snake_case)]
+mod gen_OverSampleType;
+#[cfg(feature = "OverSampleType")]
+pub use gen_OverSampleType::*;
+
+#[cfg(feature = "OvrMultiview2")]
+#[allow(non_snake_case)]
+mod gen_OvrMultiview2;
+#[cfg(feature = "OvrMultiview2")]
+pub use gen_OvrMultiview2::*;
+
+#[cfg(feature = "PageTransitionEvent")]
+#[allow(non_snake_case)]
+mod gen_PageTransitionEvent;
+#[cfg(feature = "PageTransitionEvent")]
+pub use gen_PageTransitionEvent::*;
+
+#[cfg(feature = "PageTransitionEventInit")]
+#[allow(non_snake_case)]
+mod gen_PageTransitionEventInit;
+#[cfg(feature = "PageTransitionEventInit")]
+pub use gen_PageTransitionEventInit::*;
+
+#[cfg(feature = "PaintRequest")]
+#[allow(non_snake_case)]
+mod gen_PaintRequest;
+#[cfg(feature = "PaintRequest")]
+pub use gen_PaintRequest::*;
+
+#[cfg(feature = "PaintRequestList")]
+#[allow(non_snake_case)]
+mod gen_PaintRequestList;
+#[cfg(feature = "PaintRequestList")]
+pub use gen_PaintRequestList::*;
+
+#[cfg(feature = "PaintWorkletGlobalScope")]
+#[allow(non_snake_case)]
+mod gen_PaintWorkletGlobalScope;
+#[cfg(feature = "PaintWorkletGlobalScope")]
+pub use gen_PaintWorkletGlobalScope::*;
+
+#[cfg(feature = "PannerNode")]
+#[allow(non_snake_case)]
+mod gen_PannerNode;
+#[cfg(feature = "PannerNode")]
+pub use gen_PannerNode::*;
+
+#[cfg(feature = "PannerOptions")]
+#[allow(non_snake_case)]
+mod gen_PannerOptions;
+#[cfg(feature = "PannerOptions")]
+pub use gen_PannerOptions::*;
+
+#[cfg(feature = "PanningModelType")]
+#[allow(non_snake_case)]
+mod gen_PanningModelType;
+#[cfg(feature = "PanningModelType")]
+pub use gen_PanningModelType::*;
+
+#[cfg(feature = "ParityType")]
+#[allow(non_snake_case)]
+mod gen_ParityType;
+#[cfg(feature = "ParityType")]
+pub use gen_ParityType::*;
+
+#[cfg(feature = "Path2d")]
+#[allow(non_snake_case)]
+mod gen_Path2d;
+#[cfg(feature = "Path2d")]
+pub use gen_Path2d::*;
+
+#[cfg(feature = "PaymentAddress")]
+#[allow(non_snake_case)]
+mod gen_PaymentAddress;
+#[cfg(feature = "PaymentAddress")]
+pub use gen_PaymentAddress::*;
+
+#[cfg(feature = "PaymentComplete")]
+#[allow(non_snake_case)]
+mod gen_PaymentComplete;
+#[cfg(feature = "PaymentComplete")]
+pub use gen_PaymentComplete::*;
+
+#[cfg(feature = "PaymentMethodChangeEvent")]
+#[allow(non_snake_case)]
+mod gen_PaymentMethodChangeEvent;
+#[cfg(feature = "PaymentMethodChangeEvent")]
+pub use gen_PaymentMethodChangeEvent::*;
+
+#[cfg(feature = "PaymentMethodChangeEventInit")]
+#[allow(non_snake_case)]
+mod gen_PaymentMethodChangeEventInit;
+#[cfg(feature = "PaymentMethodChangeEventInit")]
+pub use gen_PaymentMethodChangeEventInit::*;
+
+#[cfg(feature = "PaymentRequestUpdateEvent")]
+#[allow(non_snake_case)]
+mod gen_PaymentRequestUpdateEvent;
+#[cfg(feature = "PaymentRequestUpdateEvent")]
+pub use gen_PaymentRequestUpdateEvent::*;
+
+#[cfg(feature = "PaymentRequestUpdateEventInit")]
+#[allow(non_snake_case)]
+mod gen_PaymentRequestUpdateEventInit;
+#[cfg(feature = "PaymentRequestUpdateEventInit")]
+pub use gen_PaymentRequestUpdateEventInit::*;
+
+#[cfg(feature = "PaymentResponse")]
+#[allow(non_snake_case)]
+mod gen_PaymentResponse;
+#[cfg(feature = "PaymentResponse")]
+pub use gen_PaymentResponse::*;
+
+#[cfg(feature = "Pbkdf2Params")]
+#[allow(non_snake_case)]
+mod gen_Pbkdf2Params;
+#[cfg(feature = "Pbkdf2Params")]
+pub use gen_Pbkdf2Params::*;
+
+#[cfg(feature = "PcImplIceConnectionState")]
+#[allow(non_snake_case)]
+mod gen_PcImplIceConnectionState;
+#[cfg(feature = "PcImplIceConnectionState")]
+pub use gen_PcImplIceConnectionState::*;
+
+#[cfg(feature = "PcImplIceGatheringState")]
+#[allow(non_snake_case)]
+mod gen_PcImplIceGatheringState;
+#[cfg(feature = "PcImplIceGatheringState")]
+pub use gen_PcImplIceGatheringState::*;
+
+#[cfg(feature = "PcImplSignalingState")]
+#[allow(non_snake_case)]
+mod gen_PcImplSignalingState;
+#[cfg(feature = "PcImplSignalingState")]
+pub use gen_PcImplSignalingState::*;
+
+#[cfg(feature = "PcObserverStateType")]
+#[allow(non_snake_case)]
+mod gen_PcObserverStateType;
+#[cfg(feature = "PcObserverStateType")]
+pub use gen_PcObserverStateType::*;
+
+#[cfg(feature = "Performance")]
+#[allow(non_snake_case)]
+mod gen_Performance;
+#[cfg(feature = "Performance")]
+pub use gen_Performance::*;
+
+#[cfg(feature = "PerformanceEntry")]
+#[allow(non_snake_case)]
+mod gen_PerformanceEntry;
+#[cfg(feature = "PerformanceEntry")]
+pub use gen_PerformanceEntry::*;
+
+#[cfg(feature = "PerformanceEntryEventInit")]
+#[allow(non_snake_case)]
+mod gen_PerformanceEntryEventInit;
+#[cfg(feature = "PerformanceEntryEventInit")]
+pub use gen_PerformanceEntryEventInit::*;
+
+#[cfg(feature = "PerformanceEntryFilterOptions")]
+#[allow(non_snake_case)]
+mod gen_PerformanceEntryFilterOptions;
+#[cfg(feature = "PerformanceEntryFilterOptions")]
+pub use gen_PerformanceEntryFilterOptions::*;
+
+#[cfg(feature = "PerformanceMark")]
+#[allow(non_snake_case)]
+mod gen_PerformanceMark;
+#[cfg(feature = "PerformanceMark")]
+pub use gen_PerformanceMark::*;
+
+#[cfg(feature = "PerformanceMeasure")]
+#[allow(non_snake_case)]
+mod gen_PerformanceMeasure;
+#[cfg(feature = "PerformanceMeasure")]
+pub use gen_PerformanceMeasure::*;
+
+#[cfg(feature = "PerformanceNavigation")]
+#[allow(non_snake_case)]
+mod gen_PerformanceNavigation;
+#[cfg(feature = "PerformanceNavigation")]
+pub use gen_PerformanceNavigation::*;
+
+#[cfg(feature = "PerformanceNavigationTiming")]
+#[allow(non_snake_case)]
+mod gen_PerformanceNavigationTiming;
+#[cfg(feature = "PerformanceNavigationTiming")]
+pub use gen_PerformanceNavigationTiming::*;
+
+#[cfg(feature = "PerformanceObserver")]
+#[allow(non_snake_case)]
+mod gen_PerformanceObserver;
+#[cfg(feature = "PerformanceObserver")]
+pub use gen_PerformanceObserver::*;
+
+#[cfg(feature = "PerformanceObserverEntryList")]
+#[allow(non_snake_case)]
+mod gen_PerformanceObserverEntryList;
+#[cfg(feature = "PerformanceObserverEntryList")]
+pub use gen_PerformanceObserverEntryList::*;
+
+#[cfg(feature = "PerformanceObserverInit")]
+#[allow(non_snake_case)]
+mod gen_PerformanceObserverInit;
+#[cfg(feature = "PerformanceObserverInit")]
+pub use gen_PerformanceObserverInit::*;
+
+#[cfg(feature = "PerformanceResourceTiming")]
+#[allow(non_snake_case)]
+mod gen_PerformanceResourceTiming;
+#[cfg(feature = "PerformanceResourceTiming")]
+pub use gen_PerformanceResourceTiming::*;
+
+#[cfg(feature = "PerformanceServerTiming")]
+#[allow(non_snake_case)]
+mod gen_PerformanceServerTiming;
+#[cfg(feature = "PerformanceServerTiming")]
+pub use gen_PerformanceServerTiming::*;
+
+#[cfg(feature = "PerformanceTiming")]
+#[allow(non_snake_case)]
+mod gen_PerformanceTiming;
+#[cfg(feature = "PerformanceTiming")]
+pub use gen_PerformanceTiming::*;
+
+#[cfg(feature = "PeriodicWave")]
+#[allow(non_snake_case)]
+mod gen_PeriodicWave;
+#[cfg(feature = "PeriodicWave")]
+pub use gen_PeriodicWave::*;
+
+#[cfg(feature = "PeriodicWaveConstraints")]
+#[allow(non_snake_case)]
+mod gen_PeriodicWaveConstraints;
+#[cfg(feature = "PeriodicWaveConstraints")]
+pub use gen_PeriodicWaveConstraints::*;
+
+#[cfg(feature = "PeriodicWaveOptions")]
+#[allow(non_snake_case)]
+mod gen_PeriodicWaveOptions;
+#[cfg(feature = "PeriodicWaveOptions")]
+pub use gen_PeriodicWaveOptions::*;
+
+#[cfg(feature = "PermissionDescriptor")]
+#[allow(non_snake_case)]
+mod gen_PermissionDescriptor;
+#[cfg(feature = "PermissionDescriptor")]
+pub use gen_PermissionDescriptor::*;
+
+#[cfg(feature = "PermissionName")]
+#[allow(non_snake_case)]
+mod gen_PermissionName;
+#[cfg(feature = "PermissionName")]
+pub use gen_PermissionName::*;
+
+#[cfg(feature = "PermissionState")]
+#[allow(non_snake_case)]
+mod gen_PermissionState;
+#[cfg(feature = "PermissionState")]
+pub use gen_PermissionState::*;
+
+#[cfg(feature = "PermissionStatus")]
+#[allow(non_snake_case)]
+mod gen_PermissionStatus;
+#[cfg(feature = "PermissionStatus")]
+pub use gen_PermissionStatus::*;
+
+#[cfg(feature = "Permissions")]
+#[allow(non_snake_case)]
+mod gen_Permissions;
+#[cfg(feature = "Permissions")]
+pub use gen_Permissions::*;
+
+#[cfg(feature = "PlaneLayout")]
+#[allow(non_snake_case)]
+mod gen_PlaneLayout;
+#[cfg(feature = "PlaneLayout")]
+pub use gen_PlaneLayout::*;
+
+#[cfg(feature = "PlaybackDirection")]
+#[allow(non_snake_case)]
+mod gen_PlaybackDirection;
+#[cfg(feature = "PlaybackDirection")]
+pub use gen_PlaybackDirection::*;
+
+#[cfg(feature = "Plugin")]
+#[allow(non_snake_case)]
+mod gen_Plugin;
+#[cfg(feature = "Plugin")]
+pub use gen_Plugin::*;
+
+#[cfg(feature = "PluginArray")]
+#[allow(non_snake_case)]
+mod gen_PluginArray;
+#[cfg(feature = "PluginArray")]
+pub use gen_PluginArray::*;
+
+#[cfg(feature = "PluginCrashedEventInit")]
+#[allow(non_snake_case)]
+mod gen_PluginCrashedEventInit;
+#[cfg(feature = "PluginCrashedEventInit")]
+pub use gen_PluginCrashedEventInit::*;
+
+#[cfg(feature = "PointerEvent")]
+#[allow(non_snake_case)]
+mod gen_PointerEvent;
+#[cfg(feature = "PointerEvent")]
+pub use gen_PointerEvent::*;
+
+#[cfg(feature = "PointerEventInit")]
+#[allow(non_snake_case)]
+mod gen_PointerEventInit;
+#[cfg(feature = "PointerEventInit")]
+pub use gen_PointerEventInit::*;
+
+#[cfg(feature = "PopStateEvent")]
+#[allow(non_snake_case)]
+mod gen_PopStateEvent;
+#[cfg(feature = "PopStateEvent")]
+pub use gen_PopStateEvent::*;
+
+#[cfg(feature = "PopStateEventInit")]
+#[allow(non_snake_case)]
+mod gen_PopStateEventInit;
+#[cfg(feature = "PopStateEventInit")]
+pub use gen_PopStateEventInit::*;
+
+#[cfg(feature = "PopupBlockedEvent")]
+#[allow(non_snake_case)]
+mod gen_PopupBlockedEvent;
+#[cfg(feature = "PopupBlockedEvent")]
+pub use gen_PopupBlockedEvent::*;
+
+#[cfg(feature = "PopupBlockedEventInit")]
+#[allow(non_snake_case)]
+mod gen_PopupBlockedEventInit;
+#[cfg(feature = "PopupBlockedEventInit")]
+pub use gen_PopupBlockedEventInit::*;
+
+#[cfg(feature = "Position")]
+#[allow(non_snake_case)]
+mod gen_Position;
+#[cfg(feature = "Position")]
+pub use gen_Position::*;
+
+#[cfg(feature = "PositionAlignSetting")]
+#[allow(non_snake_case)]
+mod gen_PositionAlignSetting;
+#[cfg(feature = "PositionAlignSetting")]
+pub use gen_PositionAlignSetting::*;
+
+#[cfg(feature = "PositionError")]
+#[allow(non_snake_case)]
+mod gen_PositionError;
+#[cfg(feature = "PositionError")]
+pub use gen_PositionError::*;
+
+#[cfg(feature = "PositionOptions")]
+#[allow(non_snake_case)]
+mod gen_PositionOptions;
+#[cfg(feature = "PositionOptions")]
+pub use gen_PositionOptions::*;
+
+#[cfg(feature = "PremultiplyAlpha")]
+#[allow(non_snake_case)]
+mod gen_PremultiplyAlpha;
+#[cfg(feature = "PremultiplyAlpha")]
+pub use gen_PremultiplyAlpha::*;
+
+#[cfg(feature = "Presentation")]
+#[allow(non_snake_case)]
+mod gen_Presentation;
+#[cfg(feature = "Presentation")]
+pub use gen_Presentation::*;
+
+#[cfg(feature = "PresentationAvailability")]
+#[allow(non_snake_case)]
+mod gen_PresentationAvailability;
+#[cfg(feature = "PresentationAvailability")]
+pub use gen_PresentationAvailability::*;
+
+#[cfg(feature = "PresentationConnection")]
+#[allow(non_snake_case)]
+mod gen_PresentationConnection;
+#[cfg(feature = "PresentationConnection")]
+pub use gen_PresentationConnection::*;
+
+#[cfg(feature = "PresentationConnectionAvailableEvent")]
+#[allow(non_snake_case)]
+mod gen_PresentationConnectionAvailableEvent;
+#[cfg(feature = "PresentationConnectionAvailableEvent")]
+pub use gen_PresentationConnectionAvailableEvent::*;
+
+#[cfg(feature = "PresentationConnectionAvailableEventInit")]
+#[allow(non_snake_case)]
+mod gen_PresentationConnectionAvailableEventInit;
+#[cfg(feature = "PresentationConnectionAvailableEventInit")]
+pub use gen_PresentationConnectionAvailableEventInit::*;
+
+#[cfg(feature = "PresentationConnectionBinaryType")]
+#[allow(non_snake_case)]
+mod gen_PresentationConnectionBinaryType;
+#[cfg(feature = "PresentationConnectionBinaryType")]
+pub use gen_PresentationConnectionBinaryType::*;
+
+#[cfg(feature = "PresentationConnectionCloseEvent")]
+#[allow(non_snake_case)]
+mod gen_PresentationConnectionCloseEvent;
+#[cfg(feature = "PresentationConnectionCloseEvent")]
+pub use gen_PresentationConnectionCloseEvent::*;
+
+#[cfg(feature = "PresentationConnectionCloseEventInit")]
+#[allow(non_snake_case)]
+mod gen_PresentationConnectionCloseEventInit;
+#[cfg(feature = "PresentationConnectionCloseEventInit")]
+pub use gen_PresentationConnectionCloseEventInit::*;
+
+#[cfg(feature = "PresentationConnectionClosedReason")]
+#[allow(non_snake_case)]
+mod gen_PresentationConnectionClosedReason;
+#[cfg(feature = "PresentationConnectionClosedReason")]
+pub use gen_PresentationConnectionClosedReason::*;
+
+#[cfg(feature = "PresentationConnectionList")]
+#[allow(non_snake_case)]
+mod gen_PresentationConnectionList;
+#[cfg(feature = "PresentationConnectionList")]
+pub use gen_PresentationConnectionList::*;
+
+#[cfg(feature = "PresentationConnectionState")]
+#[allow(non_snake_case)]
+mod gen_PresentationConnectionState;
+#[cfg(feature = "PresentationConnectionState")]
+pub use gen_PresentationConnectionState::*;
+
+#[cfg(feature = "PresentationReceiver")]
+#[allow(non_snake_case)]
+mod gen_PresentationReceiver;
+#[cfg(feature = "PresentationReceiver")]
+pub use gen_PresentationReceiver::*;
+
+#[cfg(feature = "PresentationRequest")]
+#[allow(non_snake_case)]
+mod gen_PresentationRequest;
+#[cfg(feature = "PresentationRequest")]
+pub use gen_PresentationRequest::*;
+
+#[cfg(feature = "PresentationStyle")]
+#[allow(non_snake_case)]
+mod gen_PresentationStyle;
+#[cfg(feature = "PresentationStyle")]
+pub use gen_PresentationStyle::*;
+
+#[cfg(feature = "ProcessingInstruction")]
+#[allow(non_snake_case)]
+mod gen_ProcessingInstruction;
+#[cfg(feature = "ProcessingInstruction")]
+pub use gen_ProcessingInstruction::*;
+
+#[cfg(feature = "ProfileTimelineLayerRect")]
+#[allow(non_snake_case)]
+mod gen_ProfileTimelineLayerRect;
+#[cfg(feature = "ProfileTimelineLayerRect")]
+pub use gen_ProfileTimelineLayerRect::*;
+
+#[cfg(feature = "ProfileTimelineMarker")]
+#[allow(non_snake_case)]
+mod gen_ProfileTimelineMarker;
+#[cfg(feature = "ProfileTimelineMarker")]
+pub use gen_ProfileTimelineMarker::*;
+
+#[cfg(feature = "ProfileTimelineMessagePortOperationType")]
+#[allow(non_snake_case)]
+mod gen_ProfileTimelineMessagePortOperationType;
+#[cfg(feature = "ProfileTimelineMessagePortOperationType")]
+pub use gen_ProfileTimelineMessagePortOperationType::*;
+
+#[cfg(feature = "ProfileTimelineStackFrame")]
+#[allow(non_snake_case)]
+mod gen_ProfileTimelineStackFrame;
+#[cfg(feature = "ProfileTimelineStackFrame")]
+pub use gen_ProfileTimelineStackFrame::*;
+
+#[cfg(feature = "ProfileTimelineWorkerOperationType")]
+#[allow(non_snake_case)]
+mod gen_ProfileTimelineWorkerOperationType;
+#[cfg(feature = "ProfileTimelineWorkerOperationType")]
+pub use gen_ProfileTimelineWorkerOperationType::*;
+
+#[cfg(feature = "ProgressEvent")]
+#[allow(non_snake_case)]
+mod gen_ProgressEvent;
+#[cfg(feature = "ProgressEvent")]
+pub use gen_ProgressEvent::*;
+
+#[cfg(feature = "ProgressEventInit")]
+#[allow(non_snake_case)]
+mod gen_ProgressEventInit;
+#[cfg(feature = "ProgressEventInit")]
+pub use gen_ProgressEventInit::*;
+
+#[cfg(feature = "PromiseNativeHandler")]
+#[allow(non_snake_case)]
+mod gen_PromiseNativeHandler;
+#[cfg(feature = "PromiseNativeHandler")]
+pub use gen_PromiseNativeHandler::*;
+
+#[cfg(feature = "PromiseRejectionEvent")]
+#[allow(non_snake_case)]
+mod gen_PromiseRejectionEvent;
+#[cfg(feature = "PromiseRejectionEvent")]
+pub use gen_PromiseRejectionEvent::*;
+
+#[cfg(feature = "PromiseRejectionEventInit")]
+#[allow(non_snake_case)]
+mod gen_PromiseRejectionEventInit;
+#[cfg(feature = "PromiseRejectionEventInit")]
+pub use gen_PromiseRejectionEventInit::*;
+
+#[cfg(feature = "PublicKeyCredential")]
+#[allow(non_snake_case)]
+mod gen_PublicKeyCredential;
+#[cfg(feature = "PublicKeyCredential")]
+pub use gen_PublicKeyCredential::*;
+
+#[cfg(feature = "PublicKeyCredentialCreationOptions")]
+#[allow(non_snake_case)]
+mod gen_PublicKeyCredentialCreationOptions;
+#[cfg(feature = "PublicKeyCredentialCreationOptions")]
+pub use gen_PublicKeyCredentialCreationOptions::*;
+
+#[cfg(feature = "PublicKeyCredentialDescriptor")]
+#[allow(non_snake_case)]
+mod gen_PublicKeyCredentialDescriptor;
+#[cfg(feature = "PublicKeyCredentialDescriptor")]
+pub use gen_PublicKeyCredentialDescriptor::*;
+
+#[cfg(feature = "PublicKeyCredentialEntity")]
+#[allow(non_snake_case)]
+mod gen_PublicKeyCredentialEntity;
+#[cfg(feature = "PublicKeyCredentialEntity")]
+pub use gen_PublicKeyCredentialEntity::*;
+
+#[cfg(feature = "PublicKeyCredentialParameters")]
+#[allow(non_snake_case)]
+mod gen_PublicKeyCredentialParameters;
+#[cfg(feature = "PublicKeyCredentialParameters")]
+pub use gen_PublicKeyCredentialParameters::*;
+
+#[cfg(feature = "PublicKeyCredentialRequestOptions")]
+#[allow(non_snake_case)]
+mod gen_PublicKeyCredentialRequestOptions;
+#[cfg(feature = "PublicKeyCredentialRequestOptions")]
+pub use gen_PublicKeyCredentialRequestOptions::*;
+
+#[cfg(feature = "PublicKeyCredentialRpEntity")]
+#[allow(non_snake_case)]
+mod gen_PublicKeyCredentialRpEntity;
+#[cfg(feature = "PublicKeyCredentialRpEntity")]
+pub use gen_PublicKeyCredentialRpEntity::*;
+
+#[cfg(feature = "PublicKeyCredentialType")]
+#[allow(non_snake_case)]
+mod gen_PublicKeyCredentialType;
+#[cfg(feature = "PublicKeyCredentialType")]
+pub use gen_PublicKeyCredentialType::*;
+
+#[cfg(feature = "PublicKeyCredentialUserEntity")]
+#[allow(non_snake_case)]
+mod gen_PublicKeyCredentialUserEntity;
+#[cfg(feature = "PublicKeyCredentialUserEntity")]
+pub use gen_PublicKeyCredentialUserEntity::*;
+
+#[cfg(feature = "PushEncryptionKeyName")]
+#[allow(non_snake_case)]
+mod gen_PushEncryptionKeyName;
+#[cfg(feature = "PushEncryptionKeyName")]
+pub use gen_PushEncryptionKeyName::*;
+
+#[cfg(feature = "PushEvent")]
+#[allow(non_snake_case)]
+mod gen_PushEvent;
+#[cfg(feature = "PushEvent")]
+pub use gen_PushEvent::*;
+
+#[cfg(feature = "PushEventInit")]
+#[allow(non_snake_case)]
+mod gen_PushEventInit;
+#[cfg(feature = "PushEventInit")]
+pub use gen_PushEventInit::*;
+
+#[cfg(feature = "PushManager")]
+#[allow(non_snake_case)]
+mod gen_PushManager;
+#[cfg(feature = "PushManager")]
+pub use gen_PushManager::*;
+
+#[cfg(feature = "PushMessageData")]
+#[allow(non_snake_case)]
+mod gen_PushMessageData;
+#[cfg(feature = "PushMessageData")]
+pub use gen_PushMessageData::*;
+
+#[cfg(feature = "PushPermissionState")]
+#[allow(non_snake_case)]
+mod gen_PushPermissionState;
+#[cfg(feature = "PushPermissionState")]
+pub use gen_PushPermissionState::*;
+
+#[cfg(feature = "PushSubscription")]
+#[allow(non_snake_case)]
+mod gen_PushSubscription;
+#[cfg(feature = "PushSubscription")]
+pub use gen_PushSubscription::*;
+
+#[cfg(feature = "PushSubscriptionInit")]
+#[allow(non_snake_case)]
+mod gen_PushSubscriptionInit;
+#[cfg(feature = "PushSubscriptionInit")]
+pub use gen_PushSubscriptionInit::*;
+
+#[cfg(feature = "PushSubscriptionJson")]
+#[allow(non_snake_case)]
+mod gen_PushSubscriptionJson;
+#[cfg(feature = "PushSubscriptionJson")]
+pub use gen_PushSubscriptionJson::*;
+
+#[cfg(feature = "PushSubscriptionKeys")]
+#[allow(non_snake_case)]
+mod gen_PushSubscriptionKeys;
+#[cfg(feature = "PushSubscriptionKeys")]
+pub use gen_PushSubscriptionKeys::*;
+
+#[cfg(feature = "PushSubscriptionOptions")]
+#[allow(non_snake_case)]
+mod gen_PushSubscriptionOptions;
+#[cfg(feature = "PushSubscriptionOptions")]
+pub use gen_PushSubscriptionOptions::*;
+
+#[cfg(feature = "PushSubscriptionOptionsInit")]
+#[allow(non_snake_case)]
+mod gen_PushSubscriptionOptionsInit;
+#[cfg(feature = "PushSubscriptionOptionsInit")]
+pub use gen_PushSubscriptionOptionsInit::*;
+
+#[cfg(feature = "QueuingStrategy")]
+#[allow(non_snake_case)]
+mod gen_QueuingStrategy;
+#[cfg(feature = "QueuingStrategy")]
+pub use gen_QueuingStrategy::*;
+
+#[cfg(feature = "QueuingStrategyInit")]
+#[allow(non_snake_case)]
+mod gen_QueuingStrategyInit;
+#[cfg(feature = "QueuingStrategyInit")]
+pub use gen_QueuingStrategyInit::*;
+
+#[cfg(feature = "RadioNodeList")]
+#[allow(non_snake_case)]
+mod gen_RadioNodeList;
+#[cfg(feature = "RadioNodeList")]
+pub use gen_RadioNodeList::*;
+
+#[cfg(feature = "Range")]
+#[allow(non_snake_case)]
+mod gen_Range;
+#[cfg(feature = "Range")]
+pub use gen_Range::*;
+
+#[cfg(feature = "RcwnPerfStats")]
+#[allow(non_snake_case)]
+mod gen_RcwnPerfStats;
+#[cfg(feature = "RcwnPerfStats")]
+pub use gen_RcwnPerfStats::*;
+
+#[cfg(feature = "RcwnStatus")]
+#[allow(non_snake_case)]
+mod gen_RcwnStatus;
+#[cfg(feature = "RcwnStatus")]
+pub use gen_RcwnStatus::*;
+
+#[cfg(feature = "ReadableByteStreamController")]
+#[allow(non_snake_case)]
+mod gen_ReadableByteStreamController;
+#[cfg(feature = "ReadableByteStreamController")]
+pub use gen_ReadableByteStreamController::*;
+
+#[cfg(feature = "ReadableStream")]
+#[allow(non_snake_case)]
+mod gen_ReadableStream;
+#[cfg(feature = "ReadableStream")]
+pub use gen_ReadableStream::*;
+
+#[cfg(feature = "ReadableStreamByobReader")]
+#[allow(non_snake_case)]
+mod gen_ReadableStreamByobReader;
+#[cfg(feature = "ReadableStreamByobReader")]
+pub use gen_ReadableStreamByobReader::*;
+
+#[cfg(feature = "ReadableStreamByobRequest")]
+#[allow(non_snake_case)]
+mod gen_ReadableStreamByobRequest;
+#[cfg(feature = "ReadableStreamByobRequest")]
+pub use gen_ReadableStreamByobRequest::*;
+
+#[cfg(feature = "ReadableStreamDefaultController")]
+#[allow(non_snake_case)]
+mod gen_ReadableStreamDefaultController;
+#[cfg(feature = "ReadableStreamDefaultController")]
+pub use gen_ReadableStreamDefaultController::*;
+
+#[cfg(feature = "ReadableStreamDefaultReader")]
+#[allow(non_snake_case)]
+mod gen_ReadableStreamDefaultReader;
+#[cfg(feature = "ReadableStreamDefaultReader")]
+pub use gen_ReadableStreamDefaultReader::*;
+
+#[cfg(feature = "ReadableStreamGetReaderOptions")]
+#[allow(non_snake_case)]
+mod gen_ReadableStreamGetReaderOptions;
+#[cfg(feature = "ReadableStreamGetReaderOptions")]
+pub use gen_ReadableStreamGetReaderOptions::*;
+
+#[cfg(feature = "ReadableStreamIteratorOptions")]
+#[allow(non_snake_case)]
+mod gen_ReadableStreamIteratorOptions;
+#[cfg(feature = "ReadableStreamIteratorOptions")]
+pub use gen_ReadableStreamIteratorOptions::*;
+
+#[cfg(feature = "ReadableStreamReadResult")]
+#[allow(non_snake_case)]
+mod gen_ReadableStreamReadResult;
+#[cfg(feature = "ReadableStreamReadResult")]
+pub use gen_ReadableStreamReadResult::*;
+
+#[cfg(feature = "ReadableStreamReaderMode")]
+#[allow(non_snake_case)]
+mod gen_ReadableStreamReaderMode;
+#[cfg(feature = "ReadableStreamReaderMode")]
+pub use gen_ReadableStreamReaderMode::*;
+
+#[cfg(feature = "ReadableStreamType")]
+#[allow(non_snake_case)]
+mod gen_ReadableStreamType;
+#[cfg(feature = "ReadableStreamType")]
+pub use gen_ReadableStreamType::*;
+
+#[cfg(feature = "ReadableWritablePair")]
+#[allow(non_snake_case)]
+mod gen_ReadableWritablePair;
+#[cfg(feature = "ReadableWritablePair")]
+pub use gen_ReadableWritablePair::*;
+
+#[cfg(feature = "RecordingState")]
+#[allow(non_snake_case)]
+mod gen_RecordingState;
+#[cfg(feature = "RecordingState")]
+pub use gen_RecordingState::*;
+
+#[cfg(feature = "ReferrerPolicy")]
+#[allow(non_snake_case)]
+mod gen_ReferrerPolicy;
+#[cfg(feature = "ReferrerPolicy")]
+pub use gen_ReferrerPolicy::*;
+
+#[cfg(feature = "RegisterRequest")]
+#[allow(non_snake_case)]
+mod gen_RegisterRequest;
+#[cfg(feature = "RegisterRequest")]
+pub use gen_RegisterRequest::*;
+
+#[cfg(feature = "RegisterResponse")]
+#[allow(non_snake_case)]
+mod gen_RegisterResponse;
+#[cfg(feature = "RegisterResponse")]
+pub use gen_RegisterResponse::*;
+
+#[cfg(feature = "RegisteredKey")]
+#[allow(non_snake_case)]
+mod gen_RegisteredKey;
+#[cfg(feature = "RegisteredKey")]
+pub use gen_RegisteredKey::*;
+
+#[cfg(feature = "RegistrationOptions")]
+#[allow(non_snake_case)]
+mod gen_RegistrationOptions;
+#[cfg(feature = "RegistrationOptions")]
+pub use gen_RegistrationOptions::*;
+
+#[cfg(feature = "Request")]
+#[allow(non_snake_case)]
+mod gen_Request;
+#[cfg(feature = "Request")]
+pub use gen_Request::*;
+
+#[cfg(feature = "RequestCache")]
+#[allow(non_snake_case)]
+mod gen_RequestCache;
+#[cfg(feature = "RequestCache")]
+pub use gen_RequestCache::*;
+
+#[cfg(feature = "RequestCredentials")]
+#[allow(non_snake_case)]
+mod gen_RequestCredentials;
+#[cfg(feature = "RequestCredentials")]
+pub use gen_RequestCredentials::*;
+
+#[cfg(feature = "RequestDestination")]
+#[allow(non_snake_case)]
+mod gen_RequestDestination;
+#[cfg(feature = "RequestDestination")]
+pub use gen_RequestDestination::*;
+
+#[cfg(feature = "RequestDeviceOptions")]
+#[allow(non_snake_case)]
+mod gen_RequestDeviceOptions;
+#[cfg(feature = "RequestDeviceOptions")]
+pub use gen_RequestDeviceOptions::*;
+
+#[cfg(feature = "RequestInit")]
+#[allow(non_snake_case)]
+mod gen_RequestInit;
+#[cfg(feature = "RequestInit")]
+pub use gen_RequestInit::*;
+
+#[cfg(feature = "RequestMediaKeySystemAccessNotification")]
+#[allow(non_snake_case)]
+mod gen_RequestMediaKeySystemAccessNotification;
+#[cfg(feature = "RequestMediaKeySystemAccessNotification")]
+pub use gen_RequestMediaKeySystemAccessNotification::*;
+
+#[cfg(feature = "RequestMode")]
+#[allow(non_snake_case)]
+mod gen_RequestMode;
+#[cfg(feature = "RequestMode")]
+pub use gen_RequestMode::*;
+
+#[cfg(feature = "RequestRedirect")]
+#[allow(non_snake_case)]
+mod gen_RequestRedirect;
+#[cfg(feature = "RequestRedirect")]
+pub use gen_RequestRedirect::*;
+
+#[cfg(feature = "ResizeObserver")]
+#[allow(non_snake_case)]
+mod gen_ResizeObserver;
+#[cfg(feature = "ResizeObserver")]
+pub use gen_ResizeObserver::*;
+
+#[cfg(feature = "ResizeObserverBoxOptions")]
+#[allow(non_snake_case)]
+mod gen_ResizeObserverBoxOptions;
+#[cfg(feature = "ResizeObserverBoxOptions")]
+pub use gen_ResizeObserverBoxOptions::*;
+
+#[cfg(feature = "ResizeObserverEntry")]
+#[allow(non_snake_case)]
+mod gen_ResizeObserverEntry;
+#[cfg(feature = "ResizeObserverEntry")]
+pub use gen_ResizeObserverEntry::*;
+
+#[cfg(feature = "ResizeObserverOptions")]
+#[allow(non_snake_case)]
+mod gen_ResizeObserverOptions;
+#[cfg(feature = "ResizeObserverOptions")]
+pub use gen_ResizeObserverOptions::*;
+
+#[cfg(feature = "ResizeObserverSize")]
+#[allow(non_snake_case)]
+mod gen_ResizeObserverSize;
+#[cfg(feature = "ResizeObserverSize")]
+pub use gen_ResizeObserverSize::*;
+
+#[cfg(feature = "ResizeQuality")]
+#[allow(non_snake_case)]
+mod gen_ResizeQuality;
+#[cfg(feature = "ResizeQuality")]
+pub use gen_ResizeQuality::*;
+
+#[cfg(feature = "Response")]
+#[allow(non_snake_case)]
+mod gen_Response;
+#[cfg(feature = "Response")]
+pub use gen_Response::*;
+
+#[cfg(feature = "ResponseInit")]
+#[allow(non_snake_case)]
+mod gen_ResponseInit;
+#[cfg(feature = "ResponseInit")]
+pub use gen_ResponseInit::*;
+
+#[cfg(feature = "ResponseType")]
+#[allow(non_snake_case)]
+mod gen_ResponseType;
+#[cfg(feature = "ResponseType")]
+pub use gen_ResponseType::*;
+
+#[cfg(feature = "RsaHashedImportParams")]
+#[allow(non_snake_case)]
+mod gen_RsaHashedImportParams;
+#[cfg(feature = "RsaHashedImportParams")]
+pub use gen_RsaHashedImportParams::*;
+
+#[cfg(feature = "RsaOaepParams")]
+#[allow(non_snake_case)]
+mod gen_RsaOaepParams;
+#[cfg(feature = "RsaOaepParams")]
+pub use gen_RsaOaepParams::*;
+
+#[cfg(feature = "RsaOtherPrimesInfo")]
+#[allow(non_snake_case)]
+mod gen_RsaOtherPrimesInfo;
+#[cfg(feature = "RsaOtherPrimesInfo")]
+pub use gen_RsaOtherPrimesInfo::*;
+
+#[cfg(feature = "RsaPssParams")]
+#[allow(non_snake_case)]
+mod gen_RsaPssParams;
+#[cfg(feature = "RsaPssParams")]
+pub use gen_RsaPssParams::*;
+
+#[cfg(feature = "RtcAnswerOptions")]
+#[allow(non_snake_case)]
+mod gen_RtcAnswerOptions;
+#[cfg(feature = "RtcAnswerOptions")]
+pub use gen_RtcAnswerOptions::*;
+
+#[cfg(feature = "RtcBundlePolicy")]
+#[allow(non_snake_case)]
+mod gen_RtcBundlePolicy;
+#[cfg(feature = "RtcBundlePolicy")]
+pub use gen_RtcBundlePolicy::*;
+
+#[cfg(feature = "RtcCertificate")]
+#[allow(non_snake_case)]
+mod gen_RtcCertificate;
+#[cfg(feature = "RtcCertificate")]
+pub use gen_RtcCertificate::*;
+
+#[cfg(feature = "RtcCertificateExpiration")]
+#[allow(non_snake_case)]
+mod gen_RtcCertificateExpiration;
+#[cfg(feature = "RtcCertificateExpiration")]
+pub use gen_RtcCertificateExpiration::*;
+
+#[cfg(feature = "RtcCodecStats")]
+#[allow(non_snake_case)]
+mod gen_RtcCodecStats;
+#[cfg(feature = "RtcCodecStats")]
+pub use gen_RtcCodecStats::*;
+
+#[cfg(feature = "RtcConfiguration")]
+#[allow(non_snake_case)]
+mod gen_RtcConfiguration;
+#[cfg(feature = "RtcConfiguration")]
+pub use gen_RtcConfiguration::*;
+
+#[cfg(feature = "RtcDataChannel")]
+#[allow(non_snake_case)]
+mod gen_RtcDataChannel;
+#[cfg(feature = "RtcDataChannel")]
+pub use gen_RtcDataChannel::*;
+
+#[cfg(feature = "RtcDataChannelEvent")]
+#[allow(non_snake_case)]
+mod gen_RtcDataChannelEvent;
+#[cfg(feature = "RtcDataChannelEvent")]
+pub use gen_RtcDataChannelEvent::*;
+
+#[cfg(feature = "RtcDataChannelEventInit")]
+#[allow(non_snake_case)]
+mod gen_RtcDataChannelEventInit;
+#[cfg(feature = "RtcDataChannelEventInit")]
+pub use gen_RtcDataChannelEventInit::*;
+
+#[cfg(feature = "RtcDataChannelInit")]
+#[allow(non_snake_case)]
+mod gen_RtcDataChannelInit;
+#[cfg(feature = "RtcDataChannelInit")]
+pub use gen_RtcDataChannelInit::*;
+
+#[cfg(feature = "RtcDataChannelState")]
+#[allow(non_snake_case)]
+mod gen_RtcDataChannelState;
+#[cfg(feature = "RtcDataChannelState")]
+pub use gen_RtcDataChannelState::*;
+
+#[cfg(feature = "RtcDataChannelType")]
+#[allow(non_snake_case)]
+mod gen_RtcDataChannelType;
+#[cfg(feature = "RtcDataChannelType")]
+pub use gen_RtcDataChannelType::*;
+
+#[cfg(feature = "RtcDegradationPreference")]
+#[allow(non_snake_case)]
+mod gen_RtcDegradationPreference;
+#[cfg(feature = "RtcDegradationPreference")]
+pub use gen_RtcDegradationPreference::*;
+
+#[cfg(feature = "RtcFecParameters")]
+#[allow(non_snake_case)]
+mod gen_RtcFecParameters;
+#[cfg(feature = "RtcFecParameters")]
+pub use gen_RtcFecParameters::*;
+
+#[cfg(feature = "RtcIceCandidate")]
+#[allow(non_snake_case)]
+mod gen_RtcIceCandidate;
+#[cfg(feature = "RtcIceCandidate")]
+pub use gen_RtcIceCandidate::*;
+
+#[cfg(feature = "RtcIceCandidateInit")]
+#[allow(non_snake_case)]
+mod gen_RtcIceCandidateInit;
+#[cfg(feature = "RtcIceCandidateInit")]
+pub use gen_RtcIceCandidateInit::*;
+
+#[cfg(feature = "RtcIceCandidatePairStats")]
+#[allow(non_snake_case)]
+mod gen_RtcIceCandidatePairStats;
+#[cfg(feature = "RtcIceCandidatePairStats")]
+pub use gen_RtcIceCandidatePairStats::*;
+
+#[cfg(feature = "RtcIceCandidateStats")]
+#[allow(non_snake_case)]
+mod gen_RtcIceCandidateStats;
+#[cfg(feature = "RtcIceCandidateStats")]
+pub use gen_RtcIceCandidateStats::*;
+
+#[cfg(feature = "RtcIceComponentStats")]
+#[allow(non_snake_case)]
+mod gen_RtcIceComponentStats;
+#[cfg(feature = "RtcIceComponentStats")]
+pub use gen_RtcIceComponentStats::*;
+
+#[cfg(feature = "RtcIceConnectionState")]
+#[allow(non_snake_case)]
+mod gen_RtcIceConnectionState;
+#[cfg(feature = "RtcIceConnectionState")]
+pub use gen_RtcIceConnectionState::*;
+
+#[cfg(feature = "RtcIceCredentialType")]
+#[allow(non_snake_case)]
+mod gen_RtcIceCredentialType;
+#[cfg(feature = "RtcIceCredentialType")]
+pub use gen_RtcIceCredentialType::*;
+
+#[cfg(feature = "RtcIceGatheringState")]
+#[allow(non_snake_case)]
+mod gen_RtcIceGatheringState;
+#[cfg(feature = "RtcIceGatheringState")]
+pub use gen_RtcIceGatheringState::*;
+
+#[cfg(feature = "RtcIceServer")]
+#[allow(non_snake_case)]
+mod gen_RtcIceServer;
+#[cfg(feature = "RtcIceServer")]
+pub use gen_RtcIceServer::*;
+
+#[cfg(feature = "RtcIceTransportPolicy")]
+#[allow(non_snake_case)]
+mod gen_RtcIceTransportPolicy;
+#[cfg(feature = "RtcIceTransportPolicy")]
+pub use gen_RtcIceTransportPolicy::*;
+
+#[cfg(feature = "RtcIdentityAssertion")]
+#[allow(non_snake_case)]
+mod gen_RtcIdentityAssertion;
+#[cfg(feature = "RtcIdentityAssertion")]
+pub use gen_RtcIdentityAssertion::*;
+
+#[cfg(feature = "RtcIdentityAssertionResult")]
+#[allow(non_snake_case)]
+mod gen_RtcIdentityAssertionResult;
+#[cfg(feature = "RtcIdentityAssertionResult")]
+pub use gen_RtcIdentityAssertionResult::*;
+
+#[cfg(feature = "RtcIdentityProvider")]
+#[allow(non_snake_case)]
+mod gen_RtcIdentityProvider;
+#[cfg(feature = "RtcIdentityProvider")]
+pub use gen_RtcIdentityProvider::*;
+
+#[cfg(feature = "RtcIdentityProviderDetails")]
+#[allow(non_snake_case)]
+mod gen_RtcIdentityProviderDetails;
+#[cfg(feature = "RtcIdentityProviderDetails")]
+pub use gen_RtcIdentityProviderDetails::*;
+
+#[cfg(feature = "RtcIdentityProviderOptions")]
+#[allow(non_snake_case)]
+mod gen_RtcIdentityProviderOptions;
+#[cfg(feature = "RtcIdentityProviderOptions")]
+pub use gen_RtcIdentityProviderOptions::*;
+
+#[cfg(feature = "RtcIdentityProviderRegistrar")]
+#[allow(non_snake_case)]
+mod gen_RtcIdentityProviderRegistrar;
+#[cfg(feature = "RtcIdentityProviderRegistrar")]
+pub use gen_RtcIdentityProviderRegistrar::*;
+
+#[cfg(feature = "RtcIdentityValidationResult")]
+#[allow(non_snake_case)]
+mod gen_RtcIdentityValidationResult;
+#[cfg(feature = "RtcIdentityValidationResult")]
+pub use gen_RtcIdentityValidationResult::*;
+
+#[cfg(feature = "RtcInboundRtpStreamStats")]
+#[allow(non_snake_case)]
+mod gen_RtcInboundRtpStreamStats;
+#[cfg(feature = "RtcInboundRtpStreamStats")]
+pub use gen_RtcInboundRtpStreamStats::*;
+
+#[cfg(feature = "RtcLifecycleEvent")]
+#[allow(non_snake_case)]
+mod gen_RtcLifecycleEvent;
+#[cfg(feature = "RtcLifecycleEvent")]
+pub use gen_RtcLifecycleEvent::*;
+
+#[cfg(feature = "RtcMediaStreamStats")]
+#[allow(non_snake_case)]
+mod gen_RtcMediaStreamStats;
+#[cfg(feature = "RtcMediaStreamStats")]
+pub use gen_RtcMediaStreamStats::*;
+
+#[cfg(feature = "RtcMediaStreamTrackStats")]
+#[allow(non_snake_case)]
+mod gen_RtcMediaStreamTrackStats;
+#[cfg(feature = "RtcMediaStreamTrackStats")]
+pub use gen_RtcMediaStreamTrackStats::*;
+
+#[cfg(feature = "RtcOfferAnswerOptions")]
+#[allow(non_snake_case)]
+mod gen_RtcOfferAnswerOptions;
+#[cfg(feature = "RtcOfferAnswerOptions")]
+pub use gen_RtcOfferAnswerOptions::*;
+
+#[cfg(feature = "RtcOfferOptions")]
+#[allow(non_snake_case)]
+mod gen_RtcOfferOptions;
+#[cfg(feature = "RtcOfferOptions")]
+pub use gen_RtcOfferOptions::*;
+
+#[cfg(feature = "RtcOutboundRtpStreamStats")]
+#[allow(non_snake_case)]
+mod gen_RtcOutboundRtpStreamStats;
+#[cfg(feature = "RtcOutboundRtpStreamStats")]
+pub use gen_RtcOutboundRtpStreamStats::*;
+
+#[cfg(feature = "RtcPeerConnection")]
+#[allow(non_snake_case)]
+mod gen_RtcPeerConnection;
+#[cfg(feature = "RtcPeerConnection")]
+pub use gen_RtcPeerConnection::*;
+
+#[cfg(feature = "RtcPeerConnectionIceEvent")]
+#[allow(non_snake_case)]
+mod gen_RtcPeerConnectionIceEvent;
+#[cfg(feature = "RtcPeerConnectionIceEvent")]
+pub use gen_RtcPeerConnectionIceEvent::*;
+
+#[cfg(feature = "RtcPeerConnectionIceEventInit")]
+#[allow(non_snake_case)]
+mod gen_RtcPeerConnectionIceEventInit;
+#[cfg(feature = "RtcPeerConnectionIceEventInit")]
+pub use gen_RtcPeerConnectionIceEventInit::*;
+
+#[cfg(feature = "RtcPriorityType")]
+#[allow(non_snake_case)]
+mod gen_RtcPriorityType;
+#[cfg(feature = "RtcPriorityType")]
+pub use gen_RtcPriorityType::*;
+
+#[cfg(feature = "RtcRtcpParameters")]
+#[allow(non_snake_case)]
+mod gen_RtcRtcpParameters;
+#[cfg(feature = "RtcRtcpParameters")]
+pub use gen_RtcRtcpParameters::*;
+
+#[cfg(feature = "RtcRtpCodecParameters")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpCodecParameters;
+#[cfg(feature = "RtcRtpCodecParameters")]
+pub use gen_RtcRtpCodecParameters::*;
+
+#[cfg(feature = "RtcRtpContributingSource")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpContributingSource;
+#[cfg(feature = "RtcRtpContributingSource")]
+pub use gen_RtcRtpContributingSource::*;
+
+#[cfg(feature = "RtcRtpEncodingParameters")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpEncodingParameters;
+#[cfg(feature = "RtcRtpEncodingParameters")]
+pub use gen_RtcRtpEncodingParameters::*;
+
+#[cfg(feature = "RtcRtpHeaderExtensionParameters")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpHeaderExtensionParameters;
+#[cfg(feature = "RtcRtpHeaderExtensionParameters")]
+pub use gen_RtcRtpHeaderExtensionParameters::*;
+
+#[cfg(feature = "RtcRtpParameters")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpParameters;
+#[cfg(feature = "RtcRtpParameters")]
+pub use gen_RtcRtpParameters::*;
+
+#[cfg(feature = "RtcRtpReceiver")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpReceiver;
+#[cfg(feature = "RtcRtpReceiver")]
+pub use gen_RtcRtpReceiver::*;
+
+#[cfg(feature = "RtcRtpSender")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpSender;
+#[cfg(feature = "RtcRtpSender")]
+pub use gen_RtcRtpSender::*;
+
+#[cfg(feature = "RtcRtpSourceEntry")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpSourceEntry;
+#[cfg(feature = "RtcRtpSourceEntry")]
+pub use gen_RtcRtpSourceEntry::*;
+
+#[cfg(feature = "RtcRtpSourceEntryType")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpSourceEntryType;
+#[cfg(feature = "RtcRtpSourceEntryType")]
+pub use gen_RtcRtpSourceEntryType::*;
+
+#[cfg(feature = "RtcRtpSynchronizationSource")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpSynchronizationSource;
+#[cfg(feature = "RtcRtpSynchronizationSource")]
+pub use gen_RtcRtpSynchronizationSource::*;
+
+#[cfg(feature = "RtcRtpTransceiver")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpTransceiver;
+#[cfg(feature = "RtcRtpTransceiver")]
+pub use gen_RtcRtpTransceiver::*;
+
+#[cfg(feature = "RtcRtpTransceiverDirection")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpTransceiverDirection;
+#[cfg(feature = "RtcRtpTransceiverDirection")]
+pub use gen_RtcRtpTransceiverDirection::*;
+
+#[cfg(feature = "RtcRtpTransceiverInit")]
+#[allow(non_snake_case)]
+mod gen_RtcRtpTransceiverInit;
+#[cfg(feature = "RtcRtpTransceiverInit")]
+pub use gen_RtcRtpTransceiverInit::*;
+
+#[cfg(feature = "RtcRtxParameters")]
+#[allow(non_snake_case)]
+mod gen_RtcRtxParameters;
+#[cfg(feature = "RtcRtxParameters")]
+pub use gen_RtcRtxParameters::*;
+
+#[cfg(feature = "RtcSdpType")]
+#[allow(non_snake_case)]
+mod gen_RtcSdpType;
+#[cfg(feature = "RtcSdpType")]
+pub use gen_RtcSdpType::*;
+
+#[cfg(feature = "RtcSessionDescription")]
+#[allow(non_snake_case)]
+mod gen_RtcSessionDescription;
+#[cfg(feature = "RtcSessionDescription")]
+pub use gen_RtcSessionDescription::*;
+
+#[cfg(feature = "RtcSessionDescriptionInit")]
+#[allow(non_snake_case)]
+mod gen_RtcSessionDescriptionInit;
+#[cfg(feature = "RtcSessionDescriptionInit")]
+pub use gen_RtcSessionDescriptionInit::*;
+
+#[cfg(feature = "RtcSignalingState")]
+#[allow(non_snake_case)]
+mod gen_RtcSignalingState;
+#[cfg(feature = "RtcSignalingState")]
+pub use gen_RtcSignalingState::*;
+
+#[cfg(feature = "RtcStats")]
+#[allow(non_snake_case)]
+mod gen_RtcStats;
+#[cfg(feature = "RtcStats")]
+pub use gen_RtcStats::*;
+
+#[cfg(feature = "RtcStatsIceCandidatePairState")]
+#[allow(non_snake_case)]
+mod gen_RtcStatsIceCandidatePairState;
+#[cfg(feature = "RtcStatsIceCandidatePairState")]
+pub use gen_RtcStatsIceCandidatePairState::*;
+
+#[cfg(feature = "RtcStatsIceCandidateType")]
+#[allow(non_snake_case)]
+mod gen_RtcStatsIceCandidateType;
+#[cfg(feature = "RtcStatsIceCandidateType")]
+pub use gen_RtcStatsIceCandidateType::*;
+
+#[cfg(feature = "RtcStatsReport")]
+#[allow(non_snake_case)]
+mod gen_RtcStatsReport;
+#[cfg(feature = "RtcStatsReport")]
+pub use gen_RtcStatsReport::*;
+
+#[cfg(feature = "RtcStatsReportInternal")]
+#[allow(non_snake_case)]
+mod gen_RtcStatsReportInternal;
+#[cfg(feature = "RtcStatsReportInternal")]
+pub use gen_RtcStatsReportInternal::*;
+
+#[cfg(feature = "RtcStatsType")]
+#[allow(non_snake_case)]
+mod gen_RtcStatsType;
+#[cfg(feature = "RtcStatsType")]
+pub use gen_RtcStatsType::*;
+
+#[cfg(feature = "RtcTrackEvent")]
+#[allow(non_snake_case)]
+mod gen_RtcTrackEvent;
+#[cfg(feature = "RtcTrackEvent")]
+pub use gen_RtcTrackEvent::*;
+
+#[cfg(feature = "RtcTrackEventInit")]
+#[allow(non_snake_case)]
+mod gen_RtcTrackEventInit;
+#[cfg(feature = "RtcTrackEventInit")]
+pub use gen_RtcTrackEventInit::*;
+
+#[cfg(feature = "RtcTransportStats")]
+#[allow(non_snake_case)]
+mod gen_RtcTransportStats;
+#[cfg(feature = "RtcTransportStats")]
+pub use gen_RtcTransportStats::*;
+
+#[cfg(feature = "RtcdtmfSender")]
+#[allow(non_snake_case)]
+mod gen_RtcdtmfSender;
+#[cfg(feature = "RtcdtmfSender")]
+pub use gen_RtcdtmfSender::*;
+
+#[cfg(feature = "RtcdtmfToneChangeEvent")]
+#[allow(non_snake_case)]
+mod gen_RtcdtmfToneChangeEvent;
+#[cfg(feature = "RtcdtmfToneChangeEvent")]
+pub use gen_RtcdtmfToneChangeEvent::*;
+
+#[cfg(feature = "RtcdtmfToneChangeEventInit")]
+#[allow(non_snake_case)]
+mod gen_RtcdtmfToneChangeEventInit;
+#[cfg(feature = "RtcdtmfToneChangeEventInit")]
+pub use gen_RtcdtmfToneChangeEventInit::*;
+
+#[cfg(feature = "RtcrtpContributingSourceStats")]
+#[allow(non_snake_case)]
+mod gen_RtcrtpContributingSourceStats;
+#[cfg(feature = "RtcrtpContributingSourceStats")]
+pub use gen_RtcrtpContributingSourceStats::*;
+
+#[cfg(feature = "RtcrtpStreamStats")]
+#[allow(non_snake_case)]
+mod gen_RtcrtpStreamStats;
+#[cfg(feature = "RtcrtpStreamStats")]
+pub use gen_RtcrtpStreamStats::*;
+
+#[cfg(feature = "Screen")]
+#[allow(non_snake_case)]
+mod gen_Screen;
+#[cfg(feature = "Screen")]
+pub use gen_Screen::*;
+
+#[cfg(feature = "ScreenColorGamut")]
+#[allow(non_snake_case)]
+mod gen_ScreenColorGamut;
+#[cfg(feature = "ScreenColorGamut")]
+pub use gen_ScreenColorGamut::*;
+
+#[cfg(feature = "ScreenLuminance")]
+#[allow(non_snake_case)]
+mod gen_ScreenLuminance;
+#[cfg(feature = "ScreenLuminance")]
+pub use gen_ScreenLuminance::*;
+
+#[cfg(feature = "ScreenOrientation")]
+#[allow(non_snake_case)]
+mod gen_ScreenOrientation;
+#[cfg(feature = "ScreenOrientation")]
+pub use gen_ScreenOrientation::*;
+
+#[cfg(feature = "ScriptProcessorNode")]
+#[allow(non_snake_case)]
+mod gen_ScriptProcessorNode;
+#[cfg(feature = "ScriptProcessorNode")]
+pub use gen_ScriptProcessorNode::*;
+
+#[cfg(feature = "ScrollAreaEvent")]
+#[allow(non_snake_case)]
+mod gen_ScrollAreaEvent;
+#[cfg(feature = "ScrollAreaEvent")]
+pub use gen_ScrollAreaEvent::*;
+
+#[cfg(feature = "ScrollBehavior")]
+#[allow(non_snake_case)]
+mod gen_ScrollBehavior;
+#[cfg(feature = "ScrollBehavior")]
+pub use gen_ScrollBehavior::*;
+
+#[cfg(feature = "ScrollBoxObject")]
+#[allow(non_snake_case)]
+mod gen_ScrollBoxObject;
+#[cfg(feature = "ScrollBoxObject")]
+pub use gen_ScrollBoxObject::*;
+
+#[cfg(feature = "ScrollIntoViewOptions")]
+#[allow(non_snake_case)]
+mod gen_ScrollIntoViewOptions;
+#[cfg(feature = "ScrollIntoViewOptions")]
+pub use gen_ScrollIntoViewOptions::*;
+
+#[cfg(feature = "ScrollLogicalPosition")]
+#[allow(non_snake_case)]
+mod gen_ScrollLogicalPosition;
+#[cfg(feature = "ScrollLogicalPosition")]
+pub use gen_ScrollLogicalPosition::*;
+
+#[cfg(feature = "ScrollOptions")]
+#[allow(non_snake_case)]
+mod gen_ScrollOptions;
+#[cfg(feature = "ScrollOptions")]
+pub use gen_ScrollOptions::*;
+
+#[cfg(feature = "ScrollRestoration")]
+#[allow(non_snake_case)]
+mod gen_ScrollRestoration;
+#[cfg(feature = "ScrollRestoration")]
+pub use gen_ScrollRestoration::*;
+
+#[cfg(feature = "ScrollSetting")]
+#[allow(non_snake_case)]
+mod gen_ScrollSetting;
+#[cfg(feature = "ScrollSetting")]
+pub use gen_ScrollSetting::*;
+
+#[cfg(feature = "ScrollState")]
+#[allow(non_snake_case)]
+mod gen_ScrollState;
+#[cfg(feature = "ScrollState")]
+pub use gen_ScrollState::*;
+
+#[cfg(feature = "ScrollToOptions")]
+#[allow(non_snake_case)]
+mod gen_ScrollToOptions;
+#[cfg(feature = "ScrollToOptions")]
+pub use gen_ScrollToOptions::*;
+
+#[cfg(feature = "ScrollViewChangeEventInit")]
+#[allow(non_snake_case)]
+mod gen_ScrollViewChangeEventInit;
+#[cfg(feature = "ScrollViewChangeEventInit")]
+pub use gen_ScrollViewChangeEventInit::*;
+
+#[cfg(feature = "SecurityPolicyViolationEvent")]
+#[allow(non_snake_case)]
+mod gen_SecurityPolicyViolationEvent;
+#[cfg(feature = "SecurityPolicyViolationEvent")]
+pub use gen_SecurityPolicyViolationEvent::*;
+
+#[cfg(feature = "SecurityPolicyViolationEventDisposition")]
+#[allow(non_snake_case)]
+mod gen_SecurityPolicyViolationEventDisposition;
+#[cfg(feature = "SecurityPolicyViolationEventDisposition")]
+pub use gen_SecurityPolicyViolationEventDisposition::*;
+
+#[cfg(feature = "SecurityPolicyViolationEventInit")]
+#[allow(non_snake_case)]
+mod gen_SecurityPolicyViolationEventInit;
+#[cfg(feature = "SecurityPolicyViolationEventInit")]
+pub use gen_SecurityPolicyViolationEventInit::*;
+
+#[cfg(feature = "Selection")]
+#[allow(non_snake_case)]
+mod gen_Selection;
+#[cfg(feature = "Selection")]
+pub use gen_Selection::*;
+
+#[cfg(feature = "Serial")]
+#[allow(non_snake_case)]
+mod gen_Serial;
+#[cfg(feature = "Serial")]
+pub use gen_Serial::*;
+
+#[cfg(feature = "SerialInputSignals")]
+#[allow(non_snake_case)]
+mod gen_SerialInputSignals;
+#[cfg(feature = "SerialInputSignals")]
+pub use gen_SerialInputSignals::*;
+
+#[cfg(feature = "SerialOptions")]
+#[allow(non_snake_case)]
+mod gen_SerialOptions;
+#[cfg(feature = "SerialOptions")]
+pub use gen_SerialOptions::*;
+
+#[cfg(feature = "SerialOutputSignals")]
+#[allow(non_snake_case)]
+mod gen_SerialOutputSignals;
+#[cfg(feature = "SerialOutputSignals")]
+pub use gen_SerialOutputSignals::*;
+
+#[cfg(feature = "SerialPort")]
+#[allow(non_snake_case)]
+mod gen_SerialPort;
+#[cfg(feature = "SerialPort")]
+pub use gen_SerialPort::*;
+
+#[cfg(feature = "SerialPortFilter")]
+#[allow(non_snake_case)]
+mod gen_SerialPortFilter;
+#[cfg(feature = "SerialPortFilter")]
+pub use gen_SerialPortFilter::*;
+
+#[cfg(feature = "SerialPortInfo")]
+#[allow(non_snake_case)]
+mod gen_SerialPortInfo;
+#[cfg(feature = "SerialPortInfo")]
+pub use gen_SerialPortInfo::*;
+
+#[cfg(feature = "SerialPortRequestOptions")]
+#[allow(non_snake_case)]
+mod gen_SerialPortRequestOptions;
+#[cfg(feature = "SerialPortRequestOptions")]
+pub use gen_SerialPortRequestOptions::*;
+
+#[cfg(feature = "ServerSocketOptions")]
+#[allow(non_snake_case)]
+mod gen_ServerSocketOptions;
+#[cfg(feature = "ServerSocketOptions")]
+pub use gen_ServerSocketOptions::*;
+
+#[cfg(feature = "ServiceWorker")]
+#[allow(non_snake_case)]
+mod gen_ServiceWorker;
+#[cfg(feature = "ServiceWorker")]
+pub use gen_ServiceWorker::*;
+
+#[cfg(feature = "ServiceWorkerContainer")]
+#[allow(non_snake_case)]
+mod gen_ServiceWorkerContainer;
+#[cfg(feature = "ServiceWorkerContainer")]
+pub use gen_ServiceWorkerContainer::*;
+
+#[cfg(feature = "ServiceWorkerGlobalScope")]
+#[allow(non_snake_case)]
+mod gen_ServiceWorkerGlobalScope;
+#[cfg(feature = "ServiceWorkerGlobalScope")]
+pub use gen_ServiceWorkerGlobalScope::*;
+
+#[cfg(feature = "ServiceWorkerRegistration")]
+#[allow(non_snake_case)]
+mod gen_ServiceWorkerRegistration;
+#[cfg(feature = "ServiceWorkerRegistration")]
+pub use gen_ServiceWorkerRegistration::*;
+
+#[cfg(feature = "ServiceWorkerState")]
+#[allow(non_snake_case)]
+mod gen_ServiceWorkerState;
+#[cfg(feature = "ServiceWorkerState")]
+pub use gen_ServiceWorkerState::*;
+
+#[cfg(feature = "ServiceWorkerUpdateViaCache")]
+#[allow(non_snake_case)]
+mod gen_ServiceWorkerUpdateViaCache;
+#[cfg(feature = "ServiceWorkerUpdateViaCache")]
+pub use gen_ServiceWorkerUpdateViaCache::*;
+
+#[cfg(feature = "ShadowRoot")]
+#[allow(non_snake_case)]
+mod gen_ShadowRoot;
+#[cfg(feature = "ShadowRoot")]
+pub use gen_ShadowRoot::*;
+
+#[cfg(feature = "ShadowRootInit")]
+#[allow(non_snake_case)]
+mod gen_ShadowRootInit;
+#[cfg(feature = "ShadowRootInit")]
+pub use gen_ShadowRootInit::*;
+
+#[cfg(feature = "ShadowRootMode")]
+#[allow(non_snake_case)]
+mod gen_ShadowRootMode;
+#[cfg(feature = "ShadowRootMode")]
+pub use gen_ShadowRootMode::*;
+
+#[cfg(feature = "ShareData")]
+#[allow(non_snake_case)]
+mod gen_ShareData;
+#[cfg(feature = "ShareData")]
+pub use gen_ShareData::*;
+
+#[cfg(feature = "SharedWorker")]
+#[allow(non_snake_case)]
+mod gen_SharedWorker;
+#[cfg(feature = "SharedWorker")]
+pub use gen_SharedWorker::*;
+
+#[cfg(feature = "SharedWorkerGlobalScope")]
+#[allow(non_snake_case)]
+mod gen_SharedWorkerGlobalScope;
+#[cfg(feature = "SharedWorkerGlobalScope")]
+pub use gen_SharedWorkerGlobalScope::*;
+
+#[cfg(feature = "SignResponse")]
+#[allow(non_snake_case)]
+mod gen_SignResponse;
+#[cfg(feature = "SignResponse")]
+pub use gen_SignResponse::*;
+
+#[cfg(feature = "SocketElement")]
+#[allow(non_snake_case)]
+mod gen_SocketElement;
+#[cfg(feature = "SocketElement")]
+pub use gen_SocketElement::*;
+
+#[cfg(feature = "SocketOptions")]
+#[allow(non_snake_case)]
+mod gen_SocketOptions;
+#[cfg(feature = "SocketOptions")]
+pub use gen_SocketOptions::*;
+
+#[cfg(feature = "SocketReadyState")]
+#[allow(non_snake_case)]
+mod gen_SocketReadyState;
+#[cfg(feature = "SocketReadyState")]
+pub use gen_SocketReadyState::*;
+
+#[cfg(feature = "SocketsDict")]
+#[allow(non_snake_case)]
+mod gen_SocketsDict;
+#[cfg(feature = "SocketsDict")]
+pub use gen_SocketsDict::*;
+
+#[cfg(feature = "SourceBuffer")]
+#[allow(non_snake_case)]
+mod gen_SourceBuffer;
+#[cfg(feature = "SourceBuffer")]
+pub use gen_SourceBuffer::*;
+
+#[cfg(feature = "SourceBufferAppendMode")]
+#[allow(non_snake_case)]
+mod gen_SourceBufferAppendMode;
+#[cfg(feature = "SourceBufferAppendMode")]
+pub use gen_SourceBufferAppendMode::*;
+
+#[cfg(feature = "SourceBufferList")]
+#[allow(non_snake_case)]
+mod gen_SourceBufferList;
+#[cfg(feature = "SourceBufferList")]
+pub use gen_SourceBufferList::*;
+
+#[cfg(feature = "SpeechGrammar")]
+#[allow(non_snake_case)]
+mod gen_SpeechGrammar;
+#[cfg(feature = "SpeechGrammar")]
+pub use gen_SpeechGrammar::*;
+
+#[cfg(feature = "SpeechGrammarList")]
+#[allow(non_snake_case)]
+mod gen_SpeechGrammarList;
+#[cfg(feature = "SpeechGrammarList")]
+pub use gen_SpeechGrammarList::*;
+
+#[cfg(feature = "SpeechRecognition")]
+#[allow(non_snake_case)]
+mod gen_SpeechRecognition;
+#[cfg(feature = "SpeechRecognition")]
+pub use gen_SpeechRecognition::*;
+
+#[cfg(feature = "SpeechRecognitionAlternative")]
+#[allow(non_snake_case)]
+mod gen_SpeechRecognitionAlternative;
+#[cfg(feature = "SpeechRecognitionAlternative")]
+pub use gen_SpeechRecognitionAlternative::*;
+
+#[cfg(feature = "SpeechRecognitionError")]
+#[allow(non_snake_case)]
+mod gen_SpeechRecognitionError;
+#[cfg(feature = "SpeechRecognitionError")]
+pub use gen_SpeechRecognitionError::*;
+
+#[cfg(feature = "SpeechRecognitionErrorCode")]
+#[allow(non_snake_case)]
+mod gen_SpeechRecognitionErrorCode;
+#[cfg(feature = "SpeechRecognitionErrorCode")]
+pub use gen_SpeechRecognitionErrorCode::*;
+
+#[cfg(feature = "SpeechRecognitionErrorInit")]
+#[allow(non_snake_case)]
+mod gen_SpeechRecognitionErrorInit;
+#[cfg(feature = "SpeechRecognitionErrorInit")]
+pub use gen_SpeechRecognitionErrorInit::*;
+
+#[cfg(feature = "SpeechRecognitionEvent")]
+#[allow(non_snake_case)]
+mod gen_SpeechRecognitionEvent;
+#[cfg(feature = "SpeechRecognitionEvent")]
+pub use gen_SpeechRecognitionEvent::*;
+
+#[cfg(feature = "SpeechRecognitionEventInit")]
+#[allow(non_snake_case)]
+mod gen_SpeechRecognitionEventInit;
+#[cfg(feature = "SpeechRecognitionEventInit")]
+pub use gen_SpeechRecognitionEventInit::*;
+
+#[cfg(feature = "SpeechRecognitionResult")]
+#[allow(non_snake_case)]
+mod gen_SpeechRecognitionResult;
+#[cfg(feature = "SpeechRecognitionResult")]
+pub use gen_SpeechRecognitionResult::*;
+
+#[cfg(feature = "SpeechRecognitionResultList")]
+#[allow(non_snake_case)]
+mod gen_SpeechRecognitionResultList;
+#[cfg(feature = "SpeechRecognitionResultList")]
+pub use gen_SpeechRecognitionResultList::*;
+
+#[cfg(feature = "SpeechSynthesis")]
+#[allow(non_snake_case)]
+mod gen_SpeechSynthesis;
+#[cfg(feature = "SpeechSynthesis")]
+pub use gen_SpeechSynthesis::*;
+
+#[cfg(feature = "SpeechSynthesisErrorCode")]
+#[allow(non_snake_case)]
+mod gen_SpeechSynthesisErrorCode;
+#[cfg(feature = "SpeechSynthesisErrorCode")]
+pub use gen_SpeechSynthesisErrorCode::*;
+
+#[cfg(feature = "SpeechSynthesisErrorEvent")]
+#[allow(non_snake_case)]
+mod gen_SpeechSynthesisErrorEvent;
+#[cfg(feature = "SpeechSynthesisErrorEvent")]
+pub use gen_SpeechSynthesisErrorEvent::*;
+
+#[cfg(feature = "SpeechSynthesisErrorEventInit")]
+#[allow(non_snake_case)]
+mod gen_SpeechSynthesisErrorEventInit;
+#[cfg(feature = "SpeechSynthesisErrorEventInit")]
+pub use gen_SpeechSynthesisErrorEventInit::*;
+
+#[cfg(feature = "SpeechSynthesisEvent")]
+#[allow(non_snake_case)]
+mod gen_SpeechSynthesisEvent;
+#[cfg(feature = "SpeechSynthesisEvent")]
+pub use gen_SpeechSynthesisEvent::*;
+
+#[cfg(feature = "SpeechSynthesisEventInit")]
+#[allow(non_snake_case)]
+mod gen_SpeechSynthesisEventInit;
+#[cfg(feature = "SpeechSynthesisEventInit")]
+pub use gen_SpeechSynthesisEventInit::*;
+
+#[cfg(feature = "SpeechSynthesisUtterance")]
+#[allow(non_snake_case)]
+mod gen_SpeechSynthesisUtterance;
+#[cfg(feature = "SpeechSynthesisUtterance")]
+pub use gen_SpeechSynthesisUtterance::*;
+
+#[cfg(feature = "SpeechSynthesisVoice")]
+#[allow(non_snake_case)]
+mod gen_SpeechSynthesisVoice;
+#[cfg(feature = "SpeechSynthesisVoice")]
+pub use gen_SpeechSynthesisVoice::*;
+
+#[cfg(feature = "StereoPannerNode")]
+#[allow(non_snake_case)]
+mod gen_StereoPannerNode;
+#[cfg(feature = "StereoPannerNode")]
+pub use gen_StereoPannerNode::*;
+
+#[cfg(feature = "StereoPannerOptions")]
+#[allow(non_snake_case)]
+mod gen_StereoPannerOptions;
+#[cfg(feature = "StereoPannerOptions")]
+pub use gen_StereoPannerOptions::*;
+
+#[cfg(feature = "Storage")]
+#[allow(non_snake_case)]
+mod gen_Storage;
+#[cfg(feature = "Storage")]
+pub use gen_Storage::*;
+
+#[cfg(feature = "StorageEstimate")]
+#[allow(non_snake_case)]
+mod gen_StorageEstimate;
+#[cfg(feature = "StorageEstimate")]
+pub use gen_StorageEstimate::*;
+
+#[cfg(feature = "StorageEvent")]
+#[allow(non_snake_case)]
+mod gen_StorageEvent;
+#[cfg(feature = "StorageEvent")]
+pub use gen_StorageEvent::*;
+
+#[cfg(feature = "StorageEventInit")]
+#[allow(non_snake_case)]
+mod gen_StorageEventInit;
+#[cfg(feature = "StorageEventInit")]
+pub use gen_StorageEventInit::*;
+
+#[cfg(feature = "StorageManager")]
+#[allow(non_snake_case)]
+mod gen_StorageManager;
+#[cfg(feature = "StorageManager")]
+pub use gen_StorageManager::*;
+
+#[cfg(feature = "StorageType")]
+#[allow(non_snake_case)]
+mod gen_StorageType;
+#[cfg(feature = "StorageType")]
+pub use gen_StorageType::*;
+
+#[cfg(feature = "StreamPipeOptions")]
+#[allow(non_snake_case)]
+mod gen_StreamPipeOptions;
+#[cfg(feature = "StreamPipeOptions")]
+pub use gen_StreamPipeOptions::*;
+
+#[cfg(feature = "StyleRuleChangeEventInit")]
+#[allow(non_snake_case)]
+mod gen_StyleRuleChangeEventInit;
+#[cfg(feature = "StyleRuleChangeEventInit")]
+pub use gen_StyleRuleChangeEventInit::*;
+
+#[cfg(feature = "StyleSheet")]
+#[allow(non_snake_case)]
+mod gen_StyleSheet;
+#[cfg(feature = "StyleSheet")]
+pub use gen_StyleSheet::*;
+
+#[cfg(feature = "StyleSheetApplicableStateChangeEventInit")]
+#[allow(non_snake_case)]
+mod gen_StyleSheetApplicableStateChangeEventInit;
+#[cfg(feature = "StyleSheetApplicableStateChangeEventInit")]
+pub use gen_StyleSheetApplicableStateChangeEventInit::*;
+
+#[cfg(feature = "StyleSheetChangeEventInit")]
+#[allow(non_snake_case)]
+mod gen_StyleSheetChangeEventInit;
+#[cfg(feature = "StyleSheetChangeEventInit")]
+pub use gen_StyleSheetChangeEventInit::*;
+
+#[cfg(feature = "StyleSheetList")]
+#[allow(non_snake_case)]
+mod gen_StyleSheetList;
+#[cfg(feature = "StyleSheetList")]
+pub use gen_StyleSheetList::*;
+
+#[cfg(feature = "SubmitEvent")]
+#[allow(non_snake_case)]
+mod gen_SubmitEvent;
+#[cfg(feature = "SubmitEvent")]
+pub use gen_SubmitEvent::*;
+
+#[cfg(feature = "SubmitEventInit")]
+#[allow(non_snake_case)]
+mod gen_SubmitEventInit;
+#[cfg(feature = "SubmitEventInit")]
+pub use gen_SubmitEventInit::*;
+
+#[cfg(feature = "SubtleCrypto")]
+#[allow(non_snake_case)]
+mod gen_SubtleCrypto;
+#[cfg(feature = "SubtleCrypto")]
+pub use gen_SubtleCrypto::*;
+
+#[cfg(feature = "SupportedType")]
+#[allow(non_snake_case)]
+mod gen_SupportedType;
+#[cfg(feature = "SupportedType")]
+pub use gen_SupportedType::*;
+
+#[cfg(feature = "SvcOutputMetadata")]
+#[allow(non_snake_case)]
+mod gen_SvcOutputMetadata;
+#[cfg(feature = "SvcOutputMetadata")]
+pub use gen_SvcOutputMetadata::*;
+
+#[cfg(feature = "SvgAngle")]
+#[allow(non_snake_case)]
+mod gen_SvgAngle;
+#[cfg(feature = "SvgAngle")]
+pub use gen_SvgAngle::*;
+
+#[cfg(feature = "SvgAnimateElement")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimateElement;
+#[cfg(feature = "SvgAnimateElement")]
+pub use gen_SvgAnimateElement::*;
+
+#[cfg(feature = "SvgAnimateMotionElement")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimateMotionElement;
+#[cfg(feature = "SvgAnimateMotionElement")]
+pub use gen_SvgAnimateMotionElement::*;
+
+#[cfg(feature = "SvgAnimateTransformElement")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimateTransformElement;
+#[cfg(feature = "SvgAnimateTransformElement")]
+pub use gen_SvgAnimateTransformElement::*;
+
+#[cfg(feature = "SvgAnimatedAngle")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimatedAngle;
+#[cfg(feature = "SvgAnimatedAngle")]
+pub use gen_SvgAnimatedAngle::*;
+
+#[cfg(feature = "SvgAnimatedBoolean")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimatedBoolean;
+#[cfg(feature = "SvgAnimatedBoolean")]
+pub use gen_SvgAnimatedBoolean::*;
+
+#[cfg(feature = "SvgAnimatedEnumeration")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimatedEnumeration;
+#[cfg(feature = "SvgAnimatedEnumeration")]
+pub use gen_SvgAnimatedEnumeration::*;
+
+#[cfg(feature = "SvgAnimatedInteger")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimatedInteger;
+#[cfg(feature = "SvgAnimatedInteger")]
+pub use gen_SvgAnimatedInteger::*;
+
+#[cfg(feature = "SvgAnimatedLength")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimatedLength;
+#[cfg(feature = "SvgAnimatedLength")]
+pub use gen_SvgAnimatedLength::*;
+
+#[cfg(feature = "SvgAnimatedLengthList")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimatedLengthList;
+#[cfg(feature = "SvgAnimatedLengthList")]
+pub use gen_SvgAnimatedLengthList::*;
+
+#[cfg(feature = "SvgAnimatedNumber")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimatedNumber;
+#[cfg(feature = "SvgAnimatedNumber")]
+pub use gen_SvgAnimatedNumber::*;
+
+#[cfg(feature = "SvgAnimatedNumberList")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimatedNumberList;
+#[cfg(feature = "SvgAnimatedNumberList")]
+pub use gen_SvgAnimatedNumberList::*;
+
+#[cfg(feature = "SvgAnimatedPreserveAspectRatio")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimatedPreserveAspectRatio;
+#[cfg(feature = "SvgAnimatedPreserveAspectRatio")]
+pub use gen_SvgAnimatedPreserveAspectRatio::*;
+
+#[cfg(feature = "SvgAnimatedRect")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimatedRect;
+#[cfg(feature = "SvgAnimatedRect")]
+pub use gen_SvgAnimatedRect::*;
+
+#[cfg(feature = "SvgAnimatedString")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimatedString;
+#[cfg(feature = "SvgAnimatedString")]
+pub use gen_SvgAnimatedString::*;
+
+#[cfg(feature = "SvgAnimatedTransformList")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimatedTransformList;
+#[cfg(feature = "SvgAnimatedTransformList")]
+pub use gen_SvgAnimatedTransformList::*;
+
+#[cfg(feature = "SvgAnimationElement")]
+#[allow(non_snake_case)]
+mod gen_SvgAnimationElement;
+#[cfg(feature = "SvgAnimationElement")]
+pub use gen_SvgAnimationElement::*;
+
+#[cfg(feature = "SvgBoundingBoxOptions")]
+#[allow(non_snake_case)]
+mod gen_SvgBoundingBoxOptions;
+#[cfg(feature = "SvgBoundingBoxOptions")]
+pub use gen_SvgBoundingBoxOptions::*;
+
+#[cfg(feature = "SvgCircleElement")]
+#[allow(non_snake_case)]
+mod gen_SvgCircleElement;
+#[cfg(feature = "SvgCircleElement")]
+pub use gen_SvgCircleElement::*;
+
+#[cfg(feature = "SvgClipPathElement")]
+#[allow(non_snake_case)]
+mod gen_SvgClipPathElement;
+#[cfg(feature = "SvgClipPathElement")]
+pub use gen_SvgClipPathElement::*;
+
+#[cfg(feature = "SvgComponentTransferFunctionElement")]
+#[allow(non_snake_case)]
+mod gen_SvgComponentTransferFunctionElement;
+#[cfg(feature = "SvgComponentTransferFunctionElement")]
+pub use gen_SvgComponentTransferFunctionElement::*;
+
+#[cfg(feature = "SvgDefsElement")]
+#[allow(non_snake_case)]
+mod gen_SvgDefsElement;
+#[cfg(feature = "SvgDefsElement")]
+pub use gen_SvgDefsElement::*;
+
+#[cfg(feature = "SvgDescElement")]
+#[allow(non_snake_case)]
+mod gen_SvgDescElement;
+#[cfg(feature = "SvgDescElement")]
+pub use gen_SvgDescElement::*;
+
+#[cfg(feature = "SvgElement")]
+#[allow(non_snake_case)]
+mod gen_SvgElement;
+#[cfg(feature = "SvgElement")]
+pub use gen_SvgElement::*;
+
+#[cfg(feature = "SvgEllipseElement")]
+#[allow(non_snake_case)]
+mod gen_SvgEllipseElement;
+#[cfg(feature = "SvgEllipseElement")]
+pub use gen_SvgEllipseElement::*;
+
+#[cfg(feature = "SvgFilterElement")]
+#[allow(non_snake_case)]
+mod gen_SvgFilterElement;
+#[cfg(feature = "SvgFilterElement")]
+pub use gen_SvgFilterElement::*;
+
+#[cfg(feature = "SvgForeignObjectElement")]
+#[allow(non_snake_case)]
+mod gen_SvgForeignObjectElement;
+#[cfg(feature = "SvgForeignObjectElement")]
+pub use gen_SvgForeignObjectElement::*;
+
+#[cfg(feature = "SvgGeometryElement")]
+#[allow(non_snake_case)]
+mod gen_SvgGeometryElement;
+#[cfg(feature = "SvgGeometryElement")]
+pub use gen_SvgGeometryElement::*;
+
+#[cfg(feature = "SvgGradientElement")]
+#[allow(non_snake_case)]
+mod gen_SvgGradientElement;
+#[cfg(feature = "SvgGradientElement")]
+pub use gen_SvgGradientElement::*;
+
+#[cfg(feature = "SvgGraphicsElement")]
+#[allow(non_snake_case)]
+mod gen_SvgGraphicsElement;
+#[cfg(feature = "SvgGraphicsElement")]
+pub use gen_SvgGraphicsElement::*;
+
+#[cfg(feature = "SvgImageElement")]
+#[allow(non_snake_case)]
+mod gen_SvgImageElement;
+#[cfg(feature = "SvgImageElement")]
+pub use gen_SvgImageElement::*;
+
+#[cfg(feature = "SvgLength")]
+#[allow(non_snake_case)]
+mod gen_SvgLength;
+#[cfg(feature = "SvgLength")]
+pub use gen_SvgLength::*;
+
+#[cfg(feature = "SvgLengthList")]
+#[allow(non_snake_case)]
+mod gen_SvgLengthList;
+#[cfg(feature = "SvgLengthList")]
+pub use gen_SvgLengthList::*;
+
+#[cfg(feature = "SvgLineElement")]
+#[allow(non_snake_case)]
+mod gen_SvgLineElement;
+#[cfg(feature = "SvgLineElement")]
+pub use gen_SvgLineElement::*;
+
+#[cfg(feature = "SvgLinearGradientElement")]
+#[allow(non_snake_case)]
+mod gen_SvgLinearGradientElement;
+#[cfg(feature = "SvgLinearGradientElement")]
+pub use gen_SvgLinearGradientElement::*;
+
+#[cfg(feature = "SvgMarkerElement")]
+#[allow(non_snake_case)]
+mod gen_SvgMarkerElement;
+#[cfg(feature = "SvgMarkerElement")]
+pub use gen_SvgMarkerElement::*;
+
+#[cfg(feature = "SvgMaskElement")]
+#[allow(non_snake_case)]
+mod gen_SvgMaskElement;
+#[cfg(feature = "SvgMaskElement")]
+pub use gen_SvgMaskElement::*;
+
+#[cfg(feature = "SvgMatrix")]
+#[allow(non_snake_case)]
+mod gen_SvgMatrix;
+#[cfg(feature = "SvgMatrix")]
+pub use gen_SvgMatrix::*;
+
+#[cfg(feature = "SvgMetadataElement")]
+#[allow(non_snake_case)]
+mod gen_SvgMetadataElement;
+#[cfg(feature = "SvgMetadataElement")]
+pub use gen_SvgMetadataElement::*;
+
+#[cfg(feature = "SvgNumber")]
+#[allow(non_snake_case)]
+mod gen_SvgNumber;
+#[cfg(feature = "SvgNumber")]
+pub use gen_SvgNumber::*;
+
+#[cfg(feature = "SvgNumberList")]
+#[allow(non_snake_case)]
+mod gen_SvgNumberList;
+#[cfg(feature = "SvgNumberList")]
+pub use gen_SvgNumberList::*;
+
+#[cfg(feature = "SvgPathElement")]
+#[allow(non_snake_case)]
+mod gen_SvgPathElement;
+#[cfg(feature = "SvgPathElement")]
+pub use gen_SvgPathElement::*;
+
+#[cfg(feature = "SvgPathSeg")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSeg;
+#[cfg(feature = "SvgPathSeg")]
+pub use gen_SvgPathSeg::*;
+
+#[cfg(feature = "SvgPathSegArcAbs")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegArcAbs;
+#[cfg(feature = "SvgPathSegArcAbs")]
+pub use gen_SvgPathSegArcAbs::*;
+
+#[cfg(feature = "SvgPathSegArcRel")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegArcRel;
+#[cfg(feature = "SvgPathSegArcRel")]
+pub use gen_SvgPathSegArcRel::*;
+
+#[cfg(feature = "SvgPathSegClosePath")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegClosePath;
+#[cfg(feature = "SvgPathSegClosePath")]
+pub use gen_SvgPathSegClosePath::*;
+
+#[cfg(feature = "SvgPathSegCurvetoCubicAbs")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegCurvetoCubicAbs;
+#[cfg(feature = "SvgPathSegCurvetoCubicAbs")]
+pub use gen_SvgPathSegCurvetoCubicAbs::*;
+
+#[cfg(feature = "SvgPathSegCurvetoCubicRel")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegCurvetoCubicRel;
+#[cfg(feature = "SvgPathSegCurvetoCubicRel")]
+pub use gen_SvgPathSegCurvetoCubicRel::*;
+
+#[cfg(feature = "SvgPathSegCurvetoCubicSmoothAbs")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegCurvetoCubicSmoothAbs;
+#[cfg(feature = "SvgPathSegCurvetoCubicSmoothAbs")]
+pub use gen_SvgPathSegCurvetoCubicSmoothAbs::*;
+
+#[cfg(feature = "SvgPathSegCurvetoCubicSmoothRel")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegCurvetoCubicSmoothRel;
+#[cfg(feature = "SvgPathSegCurvetoCubicSmoothRel")]
+pub use gen_SvgPathSegCurvetoCubicSmoothRel::*;
+
+#[cfg(feature = "SvgPathSegCurvetoQuadraticAbs")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegCurvetoQuadraticAbs;
+#[cfg(feature = "SvgPathSegCurvetoQuadraticAbs")]
+pub use gen_SvgPathSegCurvetoQuadraticAbs::*;
+
+#[cfg(feature = "SvgPathSegCurvetoQuadraticRel")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegCurvetoQuadraticRel;
+#[cfg(feature = "SvgPathSegCurvetoQuadraticRel")]
+pub use gen_SvgPathSegCurvetoQuadraticRel::*;
+
+#[cfg(feature = "SvgPathSegCurvetoQuadraticSmoothAbs")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegCurvetoQuadraticSmoothAbs;
+#[cfg(feature = "SvgPathSegCurvetoQuadraticSmoothAbs")]
+pub use gen_SvgPathSegCurvetoQuadraticSmoothAbs::*;
+
+#[cfg(feature = "SvgPathSegCurvetoQuadraticSmoothRel")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegCurvetoQuadraticSmoothRel;
+#[cfg(feature = "SvgPathSegCurvetoQuadraticSmoothRel")]
+pub use gen_SvgPathSegCurvetoQuadraticSmoothRel::*;
+
+#[cfg(feature = "SvgPathSegLinetoAbs")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegLinetoAbs;
+#[cfg(feature = "SvgPathSegLinetoAbs")]
+pub use gen_SvgPathSegLinetoAbs::*;
+
+#[cfg(feature = "SvgPathSegLinetoHorizontalAbs")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegLinetoHorizontalAbs;
+#[cfg(feature = "SvgPathSegLinetoHorizontalAbs")]
+pub use gen_SvgPathSegLinetoHorizontalAbs::*;
+
+#[cfg(feature = "SvgPathSegLinetoHorizontalRel")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegLinetoHorizontalRel;
+#[cfg(feature = "SvgPathSegLinetoHorizontalRel")]
+pub use gen_SvgPathSegLinetoHorizontalRel::*;
+
+#[cfg(feature = "SvgPathSegLinetoRel")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegLinetoRel;
+#[cfg(feature = "SvgPathSegLinetoRel")]
+pub use gen_SvgPathSegLinetoRel::*;
+
+#[cfg(feature = "SvgPathSegLinetoVerticalAbs")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegLinetoVerticalAbs;
+#[cfg(feature = "SvgPathSegLinetoVerticalAbs")]
+pub use gen_SvgPathSegLinetoVerticalAbs::*;
+
+#[cfg(feature = "SvgPathSegLinetoVerticalRel")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegLinetoVerticalRel;
+#[cfg(feature = "SvgPathSegLinetoVerticalRel")]
+pub use gen_SvgPathSegLinetoVerticalRel::*;
+
+#[cfg(feature = "SvgPathSegList")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegList;
+#[cfg(feature = "SvgPathSegList")]
+pub use gen_SvgPathSegList::*;
+
+#[cfg(feature = "SvgPathSegMovetoAbs")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegMovetoAbs;
+#[cfg(feature = "SvgPathSegMovetoAbs")]
+pub use gen_SvgPathSegMovetoAbs::*;
+
+#[cfg(feature = "SvgPathSegMovetoRel")]
+#[allow(non_snake_case)]
+mod gen_SvgPathSegMovetoRel;
+#[cfg(feature = "SvgPathSegMovetoRel")]
+pub use gen_SvgPathSegMovetoRel::*;
+
+#[cfg(feature = "SvgPatternElement")]
+#[allow(non_snake_case)]
+mod gen_SvgPatternElement;
+#[cfg(feature = "SvgPatternElement")]
+pub use gen_SvgPatternElement::*;
+
+#[cfg(feature = "SvgPoint")]
+#[allow(non_snake_case)]
+mod gen_SvgPoint;
+#[cfg(feature = "SvgPoint")]
+pub use gen_SvgPoint::*;
+
+#[cfg(feature = "SvgPointList")]
+#[allow(non_snake_case)]
+mod gen_SvgPointList;
+#[cfg(feature = "SvgPointList")]
+pub use gen_SvgPointList::*;
+
+#[cfg(feature = "SvgPolygonElement")]
+#[allow(non_snake_case)]
+mod gen_SvgPolygonElement;
+#[cfg(feature = "SvgPolygonElement")]
+pub use gen_SvgPolygonElement::*;
+
+#[cfg(feature = "SvgPolylineElement")]
+#[allow(non_snake_case)]
+mod gen_SvgPolylineElement;
+#[cfg(feature = "SvgPolylineElement")]
+pub use gen_SvgPolylineElement::*;
+
+#[cfg(feature = "SvgPreserveAspectRatio")]
+#[allow(non_snake_case)]
+mod gen_SvgPreserveAspectRatio;
+#[cfg(feature = "SvgPreserveAspectRatio")]
+pub use gen_SvgPreserveAspectRatio::*;
+
+#[cfg(feature = "SvgRadialGradientElement")]
+#[allow(non_snake_case)]
+mod gen_SvgRadialGradientElement;
+#[cfg(feature = "SvgRadialGradientElement")]
+pub use gen_SvgRadialGradientElement::*;
+
+#[cfg(feature = "SvgRect")]
+#[allow(non_snake_case)]
+mod gen_SvgRect;
+#[cfg(feature = "SvgRect")]
+pub use gen_SvgRect::*;
+
+#[cfg(feature = "SvgRectElement")]
+#[allow(non_snake_case)]
+mod gen_SvgRectElement;
+#[cfg(feature = "SvgRectElement")]
+pub use gen_SvgRectElement::*;
+
+#[cfg(feature = "SvgScriptElement")]
+#[allow(non_snake_case)]
+mod gen_SvgScriptElement;
+#[cfg(feature = "SvgScriptElement")]
+pub use gen_SvgScriptElement::*;
+
+#[cfg(feature = "SvgSetElement")]
+#[allow(non_snake_case)]
+mod gen_SvgSetElement;
+#[cfg(feature = "SvgSetElement")]
+pub use gen_SvgSetElement::*;
+
+#[cfg(feature = "SvgStopElement")]
+#[allow(non_snake_case)]
+mod gen_SvgStopElement;
+#[cfg(feature = "SvgStopElement")]
+pub use gen_SvgStopElement::*;
+
+#[cfg(feature = "SvgStringList")]
+#[allow(non_snake_case)]
+mod gen_SvgStringList;
+#[cfg(feature = "SvgStringList")]
+pub use gen_SvgStringList::*;
+
+#[cfg(feature = "SvgStyleElement")]
+#[allow(non_snake_case)]
+mod gen_SvgStyleElement;
+#[cfg(feature = "SvgStyleElement")]
+pub use gen_SvgStyleElement::*;
+
+#[cfg(feature = "SvgSwitchElement")]
+#[allow(non_snake_case)]
+mod gen_SvgSwitchElement;
+#[cfg(feature = "SvgSwitchElement")]
+pub use gen_SvgSwitchElement::*;
+
+#[cfg(feature = "SvgSymbolElement")]
+#[allow(non_snake_case)]
+mod gen_SvgSymbolElement;
+#[cfg(feature = "SvgSymbolElement")]
+pub use gen_SvgSymbolElement::*;
+
+#[cfg(feature = "SvgTextContentElement")]
+#[allow(non_snake_case)]
+mod gen_SvgTextContentElement;
+#[cfg(feature = "SvgTextContentElement")]
+pub use gen_SvgTextContentElement::*;
+
+#[cfg(feature = "SvgTextElement")]
+#[allow(non_snake_case)]
+mod gen_SvgTextElement;
+#[cfg(feature = "SvgTextElement")]
+pub use gen_SvgTextElement::*;
+
+#[cfg(feature = "SvgTextPathElement")]
+#[allow(non_snake_case)]
+mod gen_SvgTextPathElement;
+#[cfg(feature = "SvgTextPathElement")]
+pub use gen_SvgTextPathElement::*;
+
+#[cfg(feature = "SvgTextPositioningElement")]
+#[allow(non_snake_case)]
+mod gen_SvgTextPositioningElement;
+#[cfg(feature = "SvgTextPositioningElement")]
+pub use gen_SvgTextPositioningElement::*;
+
+#[cfg(feature = "SvgTitleElement")]
+#[allow(non_snake_case)]
+mod gen_SvgTitleElement;
+#[cfg(feature = "SvgTitleElement")]
+pub use gen_SvgTitleElement::*;
+
+#[cfg(feature = "SvgTransform")]
+#[allow(non_snake_case)]
+mod gen_SvgTransform;
+#[cfg(feature = "SvgTransform")]
+pub use gen_SvgTransform::*;
+
+#[cfg(feature = "SvgTransformList")]
+#[allow(non_snake_case)]
+mod gen_SvgTransformList;
+#[cfg(feature = "SvgTransformList")]
+pub use gen_SvgTransformList::*;
+
+#[cfg(feature = "SvgUnitTypes")]
+#[allow(non_snake_case)]
+mod gen_SvgUnitTypes;
+#[cfg(feature = "SvgUnitTypes")]
+pub use gen_SvgUnitTypes::*;
+
+#[cfg(feature = "SvgUseElement")]
+#[allow(non_snake_case)]
+mod gen_SvgUseElement;
+#[cfg(feature = "SvgUseElement")]
+pub use gen_SvgUseElement::*;
+
+#[cfg(feature = "SvgViewElement")]
+#[allow(non_snake_case)]
+mod gen_SvgViewElement;
+#[cfg(feature = "SvgViewElement")]
+pub use gen_SvgViewElement::*;
+
+#[cfg(feature = "SvgZoomAndPan")]
+#[allow(non_snake_case)]
+mod gen_SvgZoomAndPan;
+#[cfg(feature = "SvgZoomAndPan")]
+pub use gen_SvgZoomAndPan::*;
+
+#[cfg(feature = "SvgaElement")]
+#[allow(non_snake_case)]
+mod gen_SvgaElement;
+#[cfg(feature = "SvgaElement")]
+pub use gen_SvgaElement::*;
+
+#[cfg(feature = "SvgfeBlendElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeBlendElement;
+#[cfg(feature = "SvgfeBlendElement")]
+pub use gen_SvgfeBlendElement::*;
+
+#[cfg(feature = "SvgfeColorMatrixElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeColorMatrixElement;
+#[cfg(feature = "SvgfeColorMatrixElement")]
+pub use gen_SvgfeColorMatrixElement::*;
+
+#[cfg(feature = "SvgfeComponentTransferElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeComponentTransferElement;
+#[cfg(feature = "SvgfeComponentTransferElement")]
+pub use gen_SvgfeComponentTransferElement::*;
+
+#[cfg(feature = "SvgfeCompositeElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeCompositeElement;
+#[cfg(feature = "SvgfeCompositeElement")]
+pub use gen_SvgfeCompositeElement::*;
+
+#[cfg(feature = "SvgfeConvolveMatrixElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeConvolveMatrixElement;
+#[cfg(feature = "SvgfeConvolveMatrixElement")]
+pub use gen_SvgfeConvolveMatrixElement::*;
+
+#[cfg(feature = "SvgfeDiffuseLightingElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeDiffuseLightingElement;
+#[cfg(feature = "SvgfeDiffuseLightingElement")]
+pub use gen_SvgfeDiffuseLightingElement::*;
+
+#[cfg(feature = "SvgfeDisplacementMapElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeDisplacementMapElement;
+#[cfg(feature = "SvgfeDisplacementMapElement")]
+pub use gen_SvgfeDisplacementMapElement::*;
+
+#[cfg(feature = "SvgfeDistantLightElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeDistantLightElement;
+#[cfg(feature = "SvgfeDistantLightElement")]
+pub use gen_SvgfeDistantLightElement::*;
+
+#[cfg(feature = "SvgfeDropShadowElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeDropShadowElement;
+#[cfg(feature = "SvgfeDropShadowElement")]
+pub use gen_SvgfeDropShadowElement::*;
+
+#[cfg(feature = "SvgfeFloodElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeFloodElement;
+#[cfg(feature = "SvgfeFloodElement")]
+pub use gen_SvgfeFloodElement::*;
+
+#[cfg(feature = "SvgfeFuncAElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeFuncAElement;
+#[cfg(feature = "SvgfeFuncAElement")]
+pub use gen_SvgfeFuncAElement::*;
+
+#[cfg(feature = "SvgfeFuncBElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeFuncBElement;
+#[cfg(feature = "SvgfeFuncBElement")]
+pub use gen_SvgfeFuncBElement::*;
+
+#[cfg(feature = "SvgfeFuncGElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeFuncGElement;
+#[cfg(feature = "SvgfeFuncGElement")]
+pub use gen_SvgfeFuncGElement::*;
+
+#[cfg(feature = "SvgfeFuncRElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeFuncRElement;
+#[cfg(feature = "SvgfeFuncRElement")]
+pub use gen_SvgfeFuncRElement::*;
+
+#[cfg(feature = "SvgfeGaussianBlurElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeGaussianBlurElement;
+#[cfg(feature = "SvgfeGaussianBlurElement")]
+pub use gen_SvgfeGaussianBlurElement::*;
+
+#[cfg(feature = "SvgfeImageElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeImageElement;
+#[cfg(feature = "SvgfeImageElement")]
+pub use gen_SvgfeImageElement::*;
+
+#[cfg(feature = "SvgfeMergeElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeMergeElement;
+#[cfg(feature = "SvgfeMergeElement")]
+pub use gen_SvgfeMergeElement::*;
+
+#[cfg(feature = "SvgfeMergeNodeElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeMergeNodeElement;
+#[cfg(feature = "SvgfeMergeNodeElement")]
+pub use gen_SvgfeMergeNodeElement::*;
+
+#[cfg(feature = "SvgfeMorphologyElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeMorphologyElement;
+#[cfg(feature = "SvgfeMorphologyElement")]
+pub use gen_SvgfeMorphologyElement::*;
+
+#[cfg(feature = "SvgfeOffsetElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeOffsetElement;
+#[cfg(feature = "SvgfeOffsetElement")]
+pub use gen_SvgfeOffsetElement::*;
+
+#[cfg(feature = "SvgfePointLightElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfePointLightElement;
+#[cfg(feature = "SvgfePointLightElement")]
+pub use gen_SvgfePointLightElement::*;
+
+#[cfg(feature = "SvgfeSpecularLightingElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeSpecularLightingElement;
+#[cfg(feature = "SvgfeSpecularLightingElement")]
+pub use gen_SvgfeSpecularLightingElement::*;
+
+#[cfg(feature = "SvgfeSpotLightElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeSpotLightElement;
+#[cfg(feature = "SvgfeSpotLightElement")]
+pub use gen_SvgfeSpotLightElement::*;
+
+#[cfg(feature = "SvgfeTileElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeTileElement;
+#[cfg(feature = "SvgfeTileElement")]
+pub use gen_SvgfeTileElement::*;
+
+#[cfg(feature = "SvgfeTurbulenceElement")]
+#[allow(non_snake_case)]
+mod gen_SvgfeTurbulenceElement;
+#[cfg(feature = "SvgfeTurbulenceElement")]
+pub use gen_SvgfeTurbulenceElement::*;
+
+#[cfg(feature = "SvggElement")]
+#[allow(non_snake_case)]
+mod gen_SvggElement;
+#[cfg(feature = "SvggElement")]
+pub use gen_SvggElement::*;
+
+#[cfg(feature = "SvgmPathElement")]
+#[allow(non_snake_case)]
+mod gen_SvgmPathElement;
+#[cfg(feature = "SvgmPathElement")]
+pub use gen_SvgmPathElement::*;
+
+#[cfg(feature = "SvgsvgElement")]
+#[allow(non_snake_case)]
+mod gen_SvgsvgElement;
+#[cfg(feature = "SvgsvgElement")]
+pub use gen_SvgsvgElement::*;
+
+#[cfg(feature = "SvgtSpanElement")]
+#[allow(non_snake_case)]
+mod gen_SvgtSpanElement;
+#[cfg(feature = "SvgtSpanElement")]
+pub use gen_SvgtSpanElement::*;
+
+#[cfg(feature = "TcpReadyState")]
+#[allow(non_snake_case)]
+mod gen_TcpReadyState;
+#[cfg(feature = "TcpReadyState")]
+pub use gen_TcpReadyState::*;
+
+#[cfg(feature = "TcpServerSocket")]
+#[allow(non_snake_case)]
+mod gen_TcpServerSocket;
+#[cfg(feature = "TcpServerSocket")]
+pub use gen_TcpServerSocket::*;
+
+#[cfg(feature = "TcpServerSocketEvent")]
+#[allow(non_snake_case)]
+mod gen_TcpServerSocketEvent;
+#[cfg(feature = "TcpServerSocketEvent")]
+pub use gen_TcpServerSocketEvent::*;
+
+#[cfg(feature = "TcpServerSocketEventInit")]
+#[allow(non_snake_case)]
+mod gen_TcpServerSocketEventInit;
+#[cfg(feature = "TcpServerSocketEventInit")]
+pub use gen_TcpServerSocketEventInit::*;
+
+#[cfg(feature = "TcpSocket")]
+#[allow(non_snake_case)]
+mod gen_TcpSocket;
+#[cfg(feature = "TcpSocket")]
+pub use gen_TcpSocket::*;
+
+#[cfg(feature = "TcpSocketBinaryType")]
+#[allow(non_snake_case)]
+mod gen_TcpSocketBinaryType;
+#[cfg(feature = "TcpSocketBinaryType")]
+pub use gen_TcpSocketBinaryType::*;
+
+#[cfg(feature = "TcpSocketErrorEvent")]
+#[allow(non_snake_case)]
+mod gen_TcpSocketErrorEvent;
+#[cfg(feature = "TcpSocketErrorEvent")]
+pub use gen_TcpSocketErrorEvent::*;
+
+#[cfg(feature = "TcpSocketErrorEventInit")]
+#[allow(non_snake_case)]
+mod gen_TcpSocketErrorEventInit;
+#[cfg(feature = "TcpSocketErrorEventInit")]
+pub use gen_TcpSocketErrorEventInit::*;
+
+#[cfg(feature = "TcpSocketEvent")]
+#[allow(non_snake_case)]
+mod gen_TcpSocketEvent;
+#[cfg(feature = "TcpSocketEvent")]
+pub use gen_TcpSocketEvent::*;
+
+#[cfg(feature = "TcpSocketEventInit")]
+#[allow(non_snake_case)]
+mod gen_TcpSocketEventInit;
+#[cfg(feature = "TcpSocketEventInit")]
+pub use gen_TcpSocketEventInit::*;
+
+#[cfg(feature = "Text")]
+#[allow(non_snake_case)]
+mod gen_Text;
+#[cfg(feature = "Text")]
+pub use gen_Text::*;
+
+#[cfg(feature = "TextDecodeOptions")]
+#[allow(non_snake_case)]
+mod gen_TextDecodeOptions;
+#[cfg(feature = "TextDecodeOptions")]
+pub use gen_TextDecodeOptions::*;
+
+#[cfg(feature = "TextDecoder")]
+#[allow(non_snake_case)]
+mod gen_TextDecoder;
+#[cfg(feature = "TextDecoder")]
+pub use gen_TextDecoder::*;
+
+#[cfg(feature = "TextDecoderOptions")]
+#[allow(non_snake_case)]
+mod gen_TextDecoderOptions;
+#[cfg(feature = "TextDecoderOptions")]
+pub use gen_TextDecoderOptions::*;
+
+#[cfg(feature = "TextEncoder")]
+#[allow(non_snake_case)]
+mod gen_TextEncoder;
+#[cfg(feature = "TextEncoder")]
+pub use gen_TextEncoder::*;
+
+#[cfg(feature = "TextMetrics")]
+#[allow(non_snake_case)]
+mod gen_TextMetrics;
+#[cfg(feature = "TextMetrics")]
+pub use gen_TextMetrics::*;
+
+#[cfg(feature = "TextTrack")]
+#[allow(non_snake_case)]
+mod gen_TextTrack;
+#[cfg(feature = "TextTrack")]
+pub use gen_TextTrack::*;
+
+#[cfg(feature = "TextTrackCue")]
+#[allow(non_snake_case)]
+mod gen_TextTrackCue;
+#[cfg(feature = "TextTrackCue")]
+pub use gen_TextTrackCue::*;
+
+#[cfg(feature = "TextTrackCueList")]
+#[allow(non_snake_case)]
+mod gen_TextTrackCueList;
+#[cfg(feature = "TextTrackCueList")]
+pub use gen_TextTrackCueList::*;
+
+#[cfg(feature = "TextTrackKind")]
+#[allow(non_snake_case)]
+mod gen_TextTrackKind;
+#[cfg(feature = "TextTrackKind")]
+pub use gen_TextTrackKind::*;
+
+#[cfg(feature = "TextTrackList")]
+#[allow(non_snake_case)]
+mod gen_TextTrackList;
+#[cfg(feature = "TextTrackList")]
+pub use gen_TextTrackList::*;
+
+#[cfg(feature = "TextTrackMode")]
+#[allow(non_snake_case)]
+mod gen_TextTrackMode;
+#[cfg(feature = "TextTrackMode")]
+pub use gen_TextTrackMode::*;
+
+#[cfg(feature = "TimeEvent")]
+#[allow(non_snake_case)]
+mod gen_TimeEvent;
+#[cfg(feature = "TimeEvent")]
+pub use gen_TimeEvent::*;
+
+#[cfg(feature = "TimeRanges")]
+#[allow(non_snake_case)]
+mod gen_TimeRanges;
+#[cfg(feature = "TimeRanges")]
+pub use gen_TimeRanges::*;
+
+#[cfg(feature = "Touch")]
+#[allow(non_snake_case)]
+mod gen_Touch;
+#[cfg(feature = "Touch")]
+pub use gen_Touch::*;
+
+#[cfg(feature = "TouchEvent")]
+#[allow(non_snake_case)]
+mod gen_TouchEvent;
+#[cfg(feature = "TouchEvent")]
+pub use gen_TouchEvent::*;
+
+#[cfg(feature = "TouchEventInit")]
+#[allow(non_snake_case)]
+mod gen_TouchEventInit;
+#[cfg(feature = "TouchEventInit")]
+pub use gen_TouchEventInit::*;
+
+#[cfg(feature = "TouchInit")]
+#[allow(non_snake_case)]
+mod gen_TouchInit;
+#[cfg(feature = "TouchInit")]
+pub use gen_TouchInit::*;
+
+#[cfg(feature = "TouchList")]
+#[allow(non_snake_case)]
+mod gen_TouchList;
+#[cfg(feature = "TouchList")]
+pub use gen_TouchList::*;
+
+#[cfg(feature = "TrackEvent")]
+#[allow(non_snake_case)]
+mod gen_TrackEvent;
+#[cfg(feature = "TrackEvent")]
+pub use gen_TrackEvent::*;
+
+#[cfg(feature = "TrackEventInit")]
+#[allow(non_snake_case)]
+mod gen_TrackEventInit;
+#[cfg(feature = "TrackEventInit")]
+pub use gen_TrackEventInit::*;
+
+#[cfg(feature = "TransformStream")]
+#[allow(non_snake_case)]
+mod gen_TransformStream;
+#[cfg(feature = "TransformStream")]
+pub use gen_TransformStream::*;
+
+#[cfg(feature = "TransformStreamDefaultController")]
+#[allow(non_snake_case)]
+mod gen_TransformStreamDefaultController;
+#[cfg(feature = "TransformStreamDefaultController")]
+pub use gen_TransformStreamDefaultController::*;
+
+#[cfg(feature = "Transformer")]
+#[allow(non_snake_case)]
+mod gen_Transformer;
+#[cfg(feature = "Transformer")]
+pub use gen_Transformer::*;
+
+#[cfg(feature = "TransitionEvent")]
+#[allow(non_snake_case)]
+mod gen_TransitionEvent;
+#[cfg(feature = "TransitionEvent")]
+pub use gen_TransitionEvent::*;
+
+#[cfg(feature = "TransitionEventInit")]
+#[allow(non_snake_case)]
+mod gen_TransitionEventInit;
+#[cfg(feature = "TransitionEventInit")]
+pub use gen_TransitionEventInit::*;
+
+#[cfg(feature = "Transport")]
+#[allow(non_snake_case)]
+mod gen_Transport;
+#[cfg(feature = "Transport")]
+pub use gen_Transport::*;
+
+#[cfg(feature = "TreeBoxObject")]
+#[allow(non_snake_case)]
+mod gen_TreeBoxObject;
+#[cfg(feature = "TreeBoxObject")]
+pub use gen_TreeBoxObject::*;
+
+#[cfg(feature = "TreeCellInfo")]
+#[allow(non_snake_case)]
+mod gen_TreeCellInfo;
+#[cfg(feature = "TreeCellInfo")]
+pub use gen_TreeCellInfo::*;
+
+#[cfg(feature = "TreeView")]
+#[allow(non_snake_case)]
+mod gen_TreeView;
+#[cfg(feature = "TreeView")]
+pub use gen_TreeView::*;
+
+#[cfg(feature = "TreeWalker")]
+#[allow(non_snake_case)]
+mod gen_TreeWalker;
+#[cfg(feature = "TreeWalker")]
+pub use gen_TreeWalker::*;
+
+#[cfg(feature = "U2f")]
+#[allow(non_snake_case)]
+mod gen_U2f;
+#[cfg(feature = "U2f")]
+pub use gen_U2f::*;
+
+#[cfg(feature = "U2fClientData")]
+#[allow(non_snake_case)]
+mod gen_U2fClientData;
+#[cfg(feature = "U2fClientData")]
+pub use gen_U2fClientData::*;
+
+#[cfg(feature = "UdpMessageEventInit")]
+#[allow(non_snake_case)]
+mod gen_UdpMessageEventInit;
+#[cfg(feature = "UdpMessageEventInit")]
+pub use gen_UdpMessageEventInit::*;
+
+#[cfg(feature = "UdpOptions")]
+#[allow(non_snake_case)]
+mod gen_UdpOptions;
+#[cfg(feature = "UdpOptions")]
+pub use gen_UdpOptions::*;
+
+#[cfg(feature = "UiEvent")]
+#[allow(non_snake_case)]
+mod gen_UiEvent;
+#[cfg(feature = "UiEvent")]
+pub use gen_UiEvent::*;
+
+#[cfg(feature = "UiEventInit")]
+#[allow(non_snake_case)]
+mod gen_UiEventInit;
+#[cfg(feature = "UiEventInit")]
+pub use gen_UiEventInit::*;
+
+#[cfg(feature = "UnderlyingSink")]
+#[allow(non_snake_case)]
+mod gen_UnderlyingSink;
+#[cfg(feature = "UnderlyingSink")]
+pub use gen_UnderlyingSink::*;
+
+#[cfg(feature = "UnderlyingSource")]
+#[allow(non_snake_case)]
+mod gen_UnderlyingSource;
+#[cfg(feature = "UnderlyingSource")]
+pub use gen_UnderlyingSource::*;
+
+#[cfg(feature = "Url")]
+#[allow(non_snake_case)]
+mod gen_Url;
+#[cfg(feature = "Url")]
+pub use gen_Url::*;
+
+#[cfg(feature = "UrlSearchParams")]
+#[allow(non_snake_case)]
+mod gen_UrlSearchParams;
+#[cfg(feature = "UrlSearchParams")]
+pub use gen_UrlSearchParams::*;
+
+#[cfg(feature = "Usb")]
+#[allow(non_snake_case)]
+mod gen_Usb;
+#[cfg(feature = "Usb")]
+pub use gen_Usb::*;
+
+#[cfg(feature = "UsbAlternateInterface")]
+#[allow(non_snake_case)]
+mod gen_UsbAlternateInterface;
+#[cfg(feature = "UsbAlternateInterface")]
+pub use gen_UsbAlternateInterface::*;
+
+#[cfg(feature = "UsbConfiguration")]
+#[allow(non_snake_case)]
+mod gen_UsbConfiguration;
+#[cfg(feature = "UsbConfiguration")]
+pub use gen_UsbConfiguration::*;
+
+#[cfg(feature = "UsbConnectionEvent")]
+#[allow(non_snake_case)]
+mod gen_UsbConnectionEvent;
+#[cfg(feature = "UsbConnectionEvent")]
+pub use gen_UsbConnectionEvent::*;
+
+#[cfg(feature = "UsbConnectionEventInit")]
+#[allow(non_snake_case)]
+mod gen_UsbConnectionEventInit;
+#[cfg(feature = "UsbConnectionEventInit")]
+pub use gen_UsbConnectionEventInit::*;
+
+#[cfg(feature = "UsbControlTransferParameters")]
+#[allow(non_snake_case)]
+mod gen_UsbControlTransferParameters;
+#[cfg(feature = "UsbControlTransferParameters")]
+pub use gen_UsbControlTransferParameters::*;
+
+#[cfg(feature = "UsbDevice")]
+#[allow(non_snake_case)]
+mod gen_UsbDevice;
+#[cfg(feature = "UsbDevice")]
+pub use gen_UsbDevice::*;
+
+#[cfg(feature = "UsbDeviceFilter")]
+#[allow(non_snake_case)]
+mod gen_UsbDeviceFilter;
+#[cfg(feature = "UsbDeviceFilter")]
+pub use gen_UsbDeviceFilter::*;
+
+#[cfg(feature = "UsbDeviceRequestOptions")]
+#[allow(non_snake_case)]
+mod gen_UsbDeviceRequestOptions;
+#[cfg(feature = "UsbDeviceRequestOptions")]
+pub use gen_UsbDeviceRequestOptions::*;
+
+#[cfg(feature = "UsbDirection")]
+#[allow(non_snake_case)]
+mod gen_UsbDirection;
+#[cfg(feature = "UsbDirection")]
+pub use gen_UsbDirection::*;
+
+#[cfg(feature = "UsbEndpoint")]
+#[allow(non_snake_case)]
+mod gen_UsbEndpoint;
+#[cfg(feature = "UsbEndpoint")]
+pub use gen_UsbEndpoint::*;
+
+#[cfg(feature = "UsbEndpointType")]
+#[allow(non_snake_case)]
+mod gen_UsbEndpointType;
+#[cfg(feature = "UsbEndpointType")]
+pub use gen_UsbEndpointType::*;
+
+#[cfg(feature = "UsbInTransferResult")]
+#[allow(non_snake_case)]
+mod gen_UsbInTransferResult;
+#[cfg(feature = "UsbInTransferResult")]
+pub use gen_UsbInTransferResult::*;
+
+#[cfg(feature = "UsbInterface")]
+#[allow(non_snake_case)]
+mod gen_UsbInterface;
+#[cfg(feature = "UsbInterface")]
+pub use gen_UsbInterface::*;
+
+#[cfg(feature = "UsbIsochronousInTransferPacket")]
+#[allow(non_snake_case)]
+mod gen_UsbIsochronousInTransferPacket;
+#[cfg(feature = "UsbIsochronousInTransferPacket")]
+pub use gen_UsbIsochronousInTransferPacket::*;
+
+#[cfg(feature = "UsbIsochronousInTransferResult")]
+#[allow(non_snake_case)]
+mod gen_UsbIsochronousInTransferResult;
+#[cfg(feature = "UsbIsochronousInTransferResult")]
+pub use gen_UsbIsochronousInTransferResult::*;
+
+#[cfg(feature = "UsbIsochronousOutTransferPacket")]
+#[allow(non_snake_case)]
+mod gen_UsbIsochronousOutTransferPacket;
+#[cfg(feature = "UsbIsochronousOutTransferPacket")]
+pub use gen_UsbIsochronousOutTransferPacket::*;
+
+#[cfg(feature = "UsbIsochronousOutTransferResult")]
+#[allow(non_snake_case)]
+mod gen_UsbIsochronousOutTransferResult;
+#[cfg(feature = "UsbIsochronousOutTransferResult")]
+pub use gen_UsbIsochronousOutTransferResult::*;
+
+#[cfg(feature = "UsbOutTransferResult")]
+#[allow(non_snake_case)]
+mod gen_UsbOutTransferResult;
+#[cfg(feature = "UsbOutTransferResult")]
+pub use gen_UsbOutTransferResult::*;
+
+#[cfg(feature = "UsbPermissionDescriptor")]
+#[allow(non_snake_case)]
+mod gen_UsbPermissionDescriptor;
+#[cfg(feature = "UsbPermissionDescriptor")]
+pub use gen_UsbPermissionDescriptor::*;
+
+#[cfg(feature = "UsbPermissionResult")]
+#[allow(non_snake_case)]
+mod gen_UsbPermissionResult;
+#[cfg(feature = "UsbPermissionResult")]
+pub use gen_UsbPermissionResult::*;
+
+#[cfg(feature = "UsbPermissionStorage")]
+#[allow(non_snake_case)]
+mod gen_UsbPermissionStorage;
+#[cfg(feature = "UsbPermissionStorage")]
+pub use gen_UsbPermissionStorage::*;
+
+#[cfg(feature = "UsbRecipient")]
+#[allow(non_snake_case)]
+mod gen_UsbRecipient;
+#[cfg(feature = "UsbRecipient")]
+pub use gen_UsbRecipient::*;
+
+#[cfg(feature = "UsbRequestType")]
+#[allow(non_snake_case)]
+mod gen_UsbRequestType;
+#[cfg(feature = "UsbRequestType")]
+pub use gen_UsbRequestType::*;
+
+#[cfg(feature = "UsbTransferStatus")]
+#[allow(non_snake_case)]
+mod gen_UsbTransferStatus;
+#[cfg(feature = "UsbTransferStatus")]
+pub use gen_UsbTransferStatus::*;
+
+#[cfg(feature = "UserProximityEvent")]
+#[allow(non_snake_case)]
+mod gen_UserProximityEvent;
+#[cfg(feature = "UserProximityEvent")]
+pub use gen_UserProximityEvent::*;
+
+#[cfg(feature = "UserProximityEventInit")]
+#[allow(non_snake_case)]
+mod gen_UserProximityEventInit;
+#[cfg(feature = "UserProximityEventInit")]
+pub use gen_UserProximityEventInit::*;
+
+#[cfg(feature = "UserVerificationRequirement")]
+#[allow(non_snake_case)]
+mod gen_UserVerificationRequirement;
+#[cfg(feature = "UserVerificationRequirement")]
+pub use gen_UserVerificationRequirement::*;
+
+#[cfg(feature = "ValidityState")]
+#[allow(non_snake_case)]
+mod gen_ValidityState;
+#[cfg(feature = "ValidityState")]
+pub use gen_ValidityState::*;
+
+#[cfg(feature = "ValueEvent")]
+#[allow(non_snake_case)]
+mod gen_ValueEvent;
+#[cfg(feature = "ValueEvent")]
+pub use gen_ValueEvent::*;
+
+#[cfg(feature = "ValueEventInit")]
+#[allow(non_snake_case)]
+mod gen_ValueEventInit;
+#[cfg(feature = "ValueEventInit")]
+pub use gen_ValueEventInit::*;
+
+#[cfg(feature = "VideoColorPrimaries")]
+#[allow(non_snake_case)]
+mod gen_VideoColorPrimaries;
+#[cfg(feature = "VideoColorPrimaries")]
+pub use gen_VideoColorPrimaries::*;
+
+#[cfg(feature = "VideoColorSpace")]
+#[allow(non_snake_case)]
+mod gen_VideoColorSpace;
+#[cfg(feature = "VideoColorSpace")]
+pub use gen_VideoColorSpace::*;
+
+#[cfg(feature = "VideoColorSpaceInit")]
+#[allow(non_snake_case)]
+mod gen_VideoColorSpaceInit;
+#[cfg(feature = "VideoColorSpaceInit")]
+pub use gen_VideoColorSpaceInit::*;
+
+#[cfg(feature = "VideoConfiguration")]
+#[allow(non_snake_case)]
+mod gen_VideoConfiguration;
+#[cfg(feature = "VideoConfiguration")]
+pub use gen_VideoConfiguration::*;
+
+#[cfg(feature = "VideoDecoder")]
+#[allow(non_snake_case)]
+mod gen_VideoDecoder;
+#[cfg(feature = "VideoDecoder")]
+pub use gen_VideoDecoder::*;
+
+#[cfg(feature = "VideoDecoderConfig")]
+#[allow(non_snake_case)]
+mod gen_VideoDecoderConfig;
+#[cfg(feature = "VideoDecoderConfig")]
+pub use gen_VideoDecoderConfig::*;
+
+#[cfg(feature = "VideoDecoderInit")]
+#[allow(non_snake_case)]
+mod gen_VideoDecoderInit;
+#[cfg(feature = "VideoDecoderInit")]
+pub use gen_VideoDecoderInit::*;
+
+#[cfg(feature = "VideoDecoderSupport")]
+#[allow(non_snake_case)]
+mod gen_VideoDecoderSupport;
+#[cfg(feature = "VideoDecoderSupport")]
+pub use gen_VideoDecoderSupport::*;
+
+#[cfg(feature = "VideoEncoder")]
+#[allow(non_snake_case)]
+mod gen_VideoEncoder;
+#[cfg(feature = "VideoEncoder")]
+pub use gen_VideoEncoder::*;
+
+#[cfg(feature = "VideoEncoderConfig")]
+#[allow(non_snake_case)]
+mod gen_VideoEncoderConfig;
+#[cfg(feature = "VideoEncoderConfig")]
+pub use gen_VideoEncoderConfig::*;
+
+#[cfg(feature = "VideoEncoderEncodeOptions")]
+#[allow(non_snake_case)]
+mod gen_VideoEncoderEncodeOptions;
+#[cfg(feature = "VideoEncoderEncodeOptions")]
+pub use gen_VideoEncoderEncodeOptions::*;
+
+#[cfg(feature = "VideoEncoderInit")]
+#[allow(non_snake_case)]
+mod gen_VideoEncoderInit;
+#[cfg(feature = "VideoEncoderInit")]
+pub use gen_VideoEncoderInit::*;
+
+#[cfg(feature = "VideoEncoderSupport")]
+#[allow(non_snake_case)]
+mod gen_VideoEncoderSupport;
+#[cfg(feature = "VideoEncoderSupport")]
+pub use gen_VideoEncoderSupport::*;
+
+#[cfg(feature = "VideoFacingModeEnum")]
+#[allow(non_snake_case)]
+mod gen_VideoFacingModeEnum;
+#[cfg(feature = "VideoFacingModeEnum")]
+pub use gen_VideoFacingModeEnum::*;
+
+#[cfg(feature = "VideoFrame")]
+#[allow(non_snake_case)]
+mod gen_VideoFrame;
+#[cfg(feature = "VideoFrame")]
+pub use gen_VideoFrame::*;
+
+#[cfg(feature = "VideoFrameBufferInit")]
+#[allow(non_snake_case)]
+mod gen_VideoFrameBufferInit;
+#[cfg(feature = "VideoFrameBufferInit")]
+pub use gen_VideoFrameBufferInit::*;
+
+#[cfg(feature = "VideoFrameCopyToOptions")]
+#[allow(non_snake_case)]
+mod gen_VideoFrameCopyToOptions;
+#[cfg(feature = "VideoFrameCopyToOptions")]
+pub use gen_VideoFrameCopyToOptions::*;
+
+#[cfg(feature = "VideoFrameInit")]
+#[allow(non_snake_case)]
+mod gen_VideoFrameInit;
+#[cfg(feature = "VideoFrameInit")]
+pub use gen_VideoFrameInit::*;
+
+#[cfg(feature = "VideoMatrixCoefficients")]
+#[allow(non_snake_case)]
+mod gen_VideoMatrixCoefficients;
+#[cfg(feature = "VideoMatrixCoefficients")]
+pub use gen_VideoMatrixCoefficients::*;
+
+#[cfg(feature = "VideoPixelFormat")]
+#[allow(non_snake_case)]
+mod gen_VideoPixelFormat;
+#[cfg(feature = "VideoPixelFormat")]
+pub use gen_VideoPixelFormat::*;
+
+#[cfg(feature = "VideoPlaybackQuality")]
+#[allow(non_snake_case)]
+mod gen_VideoPlaybackQuality;
+#[cfg(feature = "VideoPlaybackQuality")]
+pub use gen_VideoPlaybackQuality::*;
+
+#[cfg(feature = "VideoStreamTrack")]
+#[allow(non_snake_case)]
+mod gen_VideoStreamTrack;
+#[cfg(feature = "VideoStreamTrack")]
+pub use gen_VideoStreamTrack::*;
+
+#[cfg(feature = "VideoTrack")]
+#[allow(non_snake_case)]
+mod gen_VideoTrack;
+#[cfg(feature = "VideoTrack")]
+pub use gen_VideoTrack::*;
+
+#[cfg(feature = "VideoTrackList")]
+#[allow(non_snake_case)]
+mod gen_VideoTrackList;
+#[cfg(feature = "VideoTrackList")]
+pub use gen_VideoTrackList::*;
+
+#[cfg(feature = "VideoTransferCharacteristics")]
+#[allow(non_snake_case)]
+mod gen_VideoTransferCharacteristics;
+#[cfg(feature = "VideoTransferCharacteristics")]
+pub use gen_VideoTransferCharacteristics::*;
+
+#[cfg(feature = "VisibilityState")]
+#[allow(non_snake_case)]
+mod gen_VisibilityState;
+#[cfg(feature = "VisibilityState")]
+pub use gen_VisibilityState::*;
+
+#[cfg(feature = "VoidCallback")]
+#[allow(non_snake_case)]
+mod gen_VoidCallback;
+#[cfg(feature = "VoidCallback")]
+pub use gen_VoidCallback::*;
+
+#[cfg(feature = "VrDisplay")]
+#[allow(non_snake_case)]
+mod gen_VrDisplay;
+#[cfg(feature = "VrDisplay")]
+pub use gen_VrDisplay::*;
+
+#[cfg(feature = "VrDisplayCapabilities")]
+#[allow(non_snake_case)]
+mod gen_VrDisplayCapabilities;
+#[cfg(feature = "VrDisplayCapabilities")]
+pub use gen_VrDisplayCapabilities::*;
+
+#[cfg(feature = "VrEye")]
+#[allow(non_snake_case)]
+mod gen_VrEye;
+#[cfg(feature = "VrEye")]
+pub use gen_VrEye::*;
+
+#[cfg(feature = "VrEyeParameters")]
+#[allow(non_snake_case)]
+mod gen_VrEyeParameters;
+#[cfg(feature = "VrEyeParameters")]
+pub use gen_VrEyeParameters::*;
+
+#[cfg(feature = "VrFieldOfView")]
+#[allow(non_snake_case)]
+mod gen_VrFieldOfView;
+#[cfg(feature = "VrFieldOfView")]
+pub use gen_VrFieldOfView::*;
+
+#[cfg(feature = "VrFrameData")]
+#[allow(non_snake_case)]
+mod gen_VrFrameData;
+#[cfg(feature = "VrFrameData")]
+pub use gen_VrFrameData::*;
+
+#[cfg(feature = "VrLayer")]
+#[allow(non_snake_case)]
+mod gen_VrLayer;
+#[cfg(feature = "VrLayer")]
+pub use gen_VrLayer::*;
+
+#[cfg(feature = "VrMockController")]
+#[allow(non_snake_case)]
+mod gen_VrMockController;
+#[cfg(feature = "VrMockController")]
+pub use gen_VrMockController::*;
+
+#[cfg(feature = "VrMockDisplay")]
+#[allow(non_snake_case)]
+mod gen_VrMockDisplay;
+#[cfg(feature = "VrMockDisplay")]
+pub use gen_VrMockDisplay::*;
+
+#[cfg(feature = "VrPose")]
+#[allow(non_snake_case)]
+mod gen_VrPose;
+#[cfg(feature = "VrPose")]
+pub use gen_VrPose::*;
+
+#[cfg(feature = "VrServiceTest")]
+#[allow(non_snake_case)]
+mod gen_VrServiceTest;
+#[cfg(feature = "VrServiceTest")]
+pub use gen_VrServiceTest::*;
+
+#[cfg(feature = "VrStageParameters")]
+#[allow(non_snake_case)]
+mod gen_VrStageParameters;
+#[cfg(feature = "VrStageParameters")]
+pub use gen_VrStageParameters::*;
+
+#[cfg(feature = "VrSubmitFrameResult")]
+#[allow(non_snake_case)]
+mod gen_VrSubmitFrameResult;
+#[cfg(feature = "VrSubmitFrameResult")]
+pub use gen_VrSubmitFrameResult::*;
+
+#[cfg(feature = "VttCue")]
+#[allow(non_snake_case)]
+mod gen_VttCue;
+#[cfg(feature = "VttCue")]
+pub use gen_VttCue::*;
+
+#[cfg(feature = "VttRegion")]
+#[allow(non_snake_case)]
+mod gen_VttRegion;
+#[cfg(feature = "VttRegion")]
+pub use gen_VttRegion::*;
+
+#[cfg(feature = "WakeLock")]
+#[allow(non_snake_case)]
+mod gen_WakeLock;
+#[cfg(feature = "WakeLock")]
+pub use gen_WakeLock::*;
+
+#[cfg(feature = "WakeLockSentinel")]
+#[allow(non_snake_case)]
+mod gen_WakeLockSentinel;
+#[cfg(feature = "WakeLockSentinel")]
+pub use gen_WakeLockSentinel::*;
+
+#[cfg(feature = "WakeLockType")]
+#[allow(non_snake_case)]
+mod gen_WakeLockType;
+#[cfg(feature = "WakeLockType")]
+pub use gen_WakeLockType::*;
+
+#[cfg(feature = "WatchAdvertisementsOptions")]
+#[allow(non_snake_case)]
+mod gen_WatchAdvertisementsOptions;
+#[cfg(feature = "WatchAdvertisementsOptions")]
+pub use gen_WatchAdvertisementsOptions::*;
+
+#[cfg(feature = "WaveShaperNode")]
+#[allow(non_snake_case)]
+mod gen_WaveShaperNode;
+#[cfg(feature = "WaveShaperNode")]
+pub use gen_WaveShaperNode::*;
+
+#[cfg(feature = "WaveShaperOptions")]
+#[allow(non_snake_case)]
+mod gen_WaveShaperOptions;
+#[cfg(feature = "WaveShaperOptions")]
+pub use gen_WaveShaperOptions::*;
+
+#[cfg(feature = "WebGl2RenderingContext")]
+#[allow(non_snake_case)]
+mod gen_WebGl2RenderingContext;
+#[cfg(feature = "WebGl2RenderingContext")]
+pub use gen_WebGl2RenderingContext::*;
+
+#[cfg(feature = "WebGlActiveInfo")]
+#[allow(non_snake_case)]
+mod gen_WebGlActiveInfo;
+#[cfg(feature = "WebGlActiveInfo")]
+pub use gen_WebGlActiveInfo::*;
+
+#[cfg(feature = "WebGlBuffer")]
+#[allow(non_snake_case)]
+mod gen_WebGlBuffer;
+#[cfg(feature = "WebGlBuffer")]
+pub use gen_WebGlBuffer::*;
+
+#[cfg(feature = "WebGlContextAttributes")]
+#[allow(non_snake_case)]
+mod gen_WebGlContextAttributes;
+#[cfg(feature = "WebGlContextAttributes")]
+pub use gen_WebGlContextAttributes::*;
+
+#[cfg(feature = "WebGlContextEvent")]
+#[allow(non_snake_case)]
+mod gen_WebGlContextEvent;
+#[cfg(feature = "WebGlContextEvent")]
+pub use gen_WebGlContextEvent::*;
+
+#[cfg(feature = "WebGlContextEventInit")]
+#[allow(non_snake_case)]
+mod gen_WebGlContextEventInit;
+#[cfg(feature = "WebGlContextEventInit")]
+pub use gen_WebGlContextEventInit::*;
+
+#[cfg(feature = "WebGlFramebuffer")]
+#[allow(non_snake_case)]
+mod gen_WebGlFramebuffer;
+#[cfg(feature = "WebGlFramebuffer")]
+pub use gen_WebGlFramebuffer::*;
+
+#[cfg(feature = "WebGlPowerPreference")]
+#[allow(non_snake_case)]
+mod gen_WebGlPowerPreference;
+#[cfg(feature = "WebGlPowerPreference")]
+pub use gen_WebGlPowerPreference::*;
+
+#[cfg(feature = "WebGlProgram")]
+#[allow(non_snake_case)]
+mod gen_WebGlProgram;
+#[cfg(feature = "WebGlProgram")]
+pub use gen_WebGlProgram::*;
+
+#[cfg(feature = "WebGlQuery")]
+#[allow(non_snake_case)]
+mod gen_WebGlQuery;
+#[cfg(feature = "WebGlQuery")]
+pub use gen_WebGlQuery::*;
+
+#[cfg(feature = "WebGlRenderbuffer")]
+#[allow(non_snake_case)]
+mod gen_WebGlRenderbuffer;
+#[cfg(feature = "WebGlRenderbuffer")]
+pub use gen_WebGlRenderbuffer::*;
+
+#[cfg(feature = "WebGlRenderingContext")]
+#[allow(non_snake_case)]
+mod gen_WebGlRenderingContext;
+#[cfg(feature = "WebGlRenderingContext")]
+pub use gen_WebGlRenderingContext::*;
+
+#[cfg(feature = "WebGlSampler")]
+#[allow(non_snake_case)]
+mod gen_WebGlSampler;
+#[cfg(feature = "WebGlSampler")]
+pub use gen_WebGlSampler::*;
+
+#[cfg(feature = "WebGlShader")]
+#[allow(non_snake_case)]
+mod gen_WebGlShader;
+#[cfg(feature = "WebGlShader")]
+pub use gen_WebGlShader::*;
+
+#[cfg(feature = "WebGlShaderPrecisionFormat")]
+#[allow(non_snake_case)]
+mod gen_WebGlShaderPrecisionFormat;
+#[cfg(feature = "WebGlShaderPrecisionFormat")]
+pub use gen_WebGlShaderPrecisionFormat::*;
+
+#[cfg(feature = "WebGlSync")]
+#[allow(non_snake_case)]
+mod gen_WebGlSync;
+#[cfg(feature = "WebGlSync")]
+pub use gen_WebGlSync::*;
+
+#[cfg(feature = "WebGlTexture")]
+#[allow(non_snake_case)]
+mod gen_WebGlTexture;
+#[cfg(feature = "WebGlTexture")]
+pub use gen_WebGlTexture::*;
+
+#[cfg(feature = "WebGlTransformFeedback")]
+#[allow(non_snake_case)]
+mod gen_WebGlTransformFeedback;
+#[cfg(feature = "WebGlTransformFeedback")]
+pub use gen_WebGlTransformFeedback::*;
+
+#[cfg(feature = "WebGlUniformLocation")]
+#[allow(non_snake_case)]
+mod gen_WebGlUniformLocation;
+#[cfg(feature = "WebGlUniformLocation")]
+pub use gen_WebGlUniformLocation::*;
+
+#[cfg(feature = "WebGlVertexArrayObject")]
+#[allow(non_snake_case)]
+mod gen_WebGlVertexArrayObject;
+#[cfg(feature = "WebGlVertexArrayObject")]
+pub use gen_WebGlVertexArrayObject::*;
+
+#[cfg(feature = "WebKitCssMatrix")]
+#[allow(non_snake_case)]
+mod gen_WebKitCssMatrix;
+#[cfg(feature = "WebKitCssMatrix")]
+pub use gen_WebKitCssMatrix::*;
+
+#[cfg(feature = "WebSocket")]
+#[allow(non_snake_case)]
+mod gen_WebSocket;
+#[cfg(feature = "WebSocket")]
+pub use gen_WebSocket::*;
+
+#[cfg(feature = "WebSocketDict")]
+#[allow(non_snake_case)]
+mod gen_WebSocketDict;
+#[cfg(feature = "WebSocketDict")]
+pub use gen_WebSocketDict::*;
+
+#[cfg(feature = "WebSocketElement")]
+#[allow(non_snake_case)]
+mod gen_WebSocketElement;
+#[cfg(feature = "WebSocketElement")]
+pub use gen_WebSocketElement::*;
+
+#[cfg(feature = "WebglColorBufferFloat")]
+#[allow(non_snake_case)]
+mod gen_WebglColorBufferFloat;
+#[cfg(feature = "WebglColorBufferFloat")]
+pub use gen_WebglColorBufferFloat::*;
+
+#[cfg(feature = "WebglCompressedTextureAstc")]
+#[allow(non_snake_case)]
+mod gen_WebglCompressedTextureAstc;
+#[cfg(feature = "WebglCompressedTextureAstc")]
+pub use gen_WebglCompressedTextureAstc::*;
+
+#[cfg(feature = "WebglCompressedTextureAtc")]
+#[allow(non_snake_case)]
+mod gen_WebglCompressedTextureAtc;
+#[cfg(feature = "WebglCompressedTextureAtc")]
+pub use gen_WebglCompressedTextureAtc::*;
+
+#[cfg(feature = "WebglCompressedTextureEtc")]
+#[allow(non_snake_case)]
+mod gen_WebglCompressedTextureEtc;
+#[cfg(feature = "WebglCompressedTextureEtc")]
+pub use gen_WebglCompressedTextureEtc::*;
+
+#[cfg(feature = "WebglCompressedTextureEtc1")]
+#[allow(non_snake_case)]
+mod gen_WebglCompressedTextureEtc1;
+#[cfg(feature = "WebglCompressedTextureEtc1")]
+pub use gen_WebglCompressedTextureEtc1::*;
+
+#[cfg(feature = "WebglCompressedTexturePvrtc")]
+#[allow(non_snake_case)]
+mod gen_WebglCompressedTexturePvrtc;
+#[cfg(feature = "WebglCompressedTexturePvrtc")]
+pub use gen_WebglCompressedTexturePvrtc::*;
+
+#[cfg(feature = "WebglCompressedTextureS3tc")]
+#[allow(non_snake_case)]
+mod gen_WebglCompressedTextureS3tc;
+#[cfg(feature = "WebglCompressedTextureS3tc")]
+pub use gen_WebglCompressedTextureS3tc::*;
+
+#[cfg(feature = "WebglCompressedTextureS3tcSrgb")]
+#[allow(non_snake_case)]
+mod gen_WebglCompressedTextureS3tcSrgb;
+#[cfg(feature = "WebglCompressedTextureS3tcSrgb")]
+pub use gen_WebglCompressedTextureS3tcSrgb::*;
+
+#[cfg(feature = "WebglDebugRendererInfo")]
+#[allow(non_snake_case)]
+mod gen_WebglDebugRendererInfo;
+#[cfg(feature = "WebglDebugRendererInfo")]
+pub use gen_WebglDebugRendererInfo::*;
+
+#[cfg(feature = "WebglDebugShaders")]
+#[allow(non_snake_case)]
+mod gen_WebglDebugShaders;
+#[cfg(feature = "WebglDebugShaders")]
+pub use gen_WebglDebugShaders::*;
+
+#[cfg(feature = "WebglDepthTexture")]
+#[allow(non_snake_case)]
+mod gen_WebglDepthTexture;
+#[cfg(feature = "WebglDepthTexture")]
+pub use gen_WebglDepthTexture::*;
+
+#[cfg(feature = "WebglDrawBuffers")]
+#[allow(non_snake_case)]
+mod gen_WebglDrawBuffers;
+#[cfg(feature = "WebglDrawBuffers")]
+pub use gen_WebglDrawBuffers::*;
+
+#[cfg(feature = "WebglLoseContext")]
+#[allow(non_snake_case)]
+mod gen_WebglLoseContext;
+#[cfg(feature = "WebglLoseContext")]
+pub use gen_WebglLoseContext::*;
+
+#[cfg(feature = "WebglMultiDraw")]
+#[allow(non_snake_case)]
+mod gen_WebglMultiDraw;
+#[cfg(feature = "WebglMultiDraw")]
+pub use gen_WebglMultiDraw::*;
+
+#[cfg(feature = "WebrtcGlobalStatisticsReport")]
+#[allow(non_snake_case)]
+mod gen_WebrtcGlobalStatisticsReport;
+#[cfg(feature = "WebrtcGlobalStatisticsReport")]
+pub use gen_WebrtcGlobalStatisticsReport::*;
+
+#[cfg(feature = "WheelEvent")]
+#[allow(non_snake_case)]
+mod gen_WheelEvent;
+#[cfg(feature = "WheelEvent")]
+pub use gen_WheelEvent::*;
+
+#[cfg(feature = "WheelEventInit")]
+#[allow(non_snake_case)]
+mod gen_WheelEventInit;
+#[cfg(feature = "WheelEventInit")]
+pub use gen_WheelEventInit::*;
+
+#[cfg(feature = "WidevineCdmManifest")]
+#[allow(non_snake_case)]
+mod gen_WidevineCdmManifest;
+#[cfg(feature = "WidevineCdmManifest")]
+pub use gen_WidevineCdmManifest::*;
+
+#[cfg(feature = "Window")]
+#[allow(non_snake_case)]
+mod gen_Window;
+#[cfg(feature = "Window")]
+pub use gen_Window::*;
+
+#[cfg(feature = "WindowClient")]
+#[allow(non_snake_case)]
+mod gen_WindowClient;
+#[cfg(feature = "WindowClient")]
+pub use gen_WindowClient::*;
+
+#[cfg(feature = "Worker")]
+#[allow(non_snake_case)]
+mod gen_Worker;
+#[cfg(feature = "Worker")]
+pub use gen_Worker::*;
+
+#[cfg(feature = "WorkerDebuggerGlobalScope")]
+#[allow(non_snake_case)]
+mod gen_WorkerDebuggerGlobalScope;
+#[cfg(feature = "WorkerDebuggerGlobalScope")]
+pub use gen_WorkerDebuggerGlobalScope::*;
+
+#[cfg(feature = "WorkerGlobalScope")]
+#[allow(non_snake_case)]
+mod gen_WorkerGlobalScope;
+#[cfg(feature = "WorkerGlobalScope")]
+pub use gen_WorkerGlobalScope::*;
+
+#[cfg(feature = "WorkerLocation")]
+#[allow(non_snake_case)]
+mod gen_WorkerLocation;
+#[cfg(feature = "WorkerLocation")]
+pub use gen_WorkerLocation::*;
+
+#[cfg(feature = "WorkerNavigator")]
+#[allow(non_snake_case)]
+mod gen_WorkerNavigator;
+#[cfg(feature = "WorkerNavigator")]
+pub use gen_WorkerNavigator::*;
+
+#[cfg(feature = "WorkerOptions")]
+#[allow(non_snake_case)]
+mod gen_WorkerOptions;
+#[cfg(feature = "WorkerOptions")]
+pub use gen_WorkerOptions::*;
+
+#[cfg(feature = "WorkerType")]
+#[allow(non_snake_case)]
+mod gen_WorkerType;
+#[cfg(feature = "WorkerType")]
+pub use gen_WorkerType::*;
+
+#[cfg(feature = "Worklet")]
+#[allow(non_snake_case)]
+mod gen_Worklet;
+#[cfg(feature = "Worklet")]
+pub use gen_Worklet::*;
+
+#[cfg(feature = "WorkletGlobalScope")]
+#[allow(non_snake_case)]
+mod gen_WorkletGlobalScope;
+#[cfg(feature = "WorkletGlobalScope")]
+pub use gen_WorkletGlobalScope::*;
+
+#[cfg(feature = "WorkletOptions")]
+#[allow(non_snake_case)]
+mod gen_WorkletOptions;
+#[cfg(feature = "WorkletOptions")]
+pub use gen_WorkletOptions::*;
+
+#[cfg(feature = "WritableStream")]
+#[allow(non_snake_case)]
+mod gen_WritableStream;
+#[cfg(feature = "WritableStream")]
+pub use gen_WritableStream::*;
+
+#[cfg(feature = "WritableStreamDefaultController")]
+#[allow(non_snake_case)]
+mod gen_WritableStreamDefaultController;
+#[cfg(feature = "WritableStreamDefaultController")]
+pub use gen_WritableStreamDefaultController::*;
+
+#[cfg(feature = "WritableStreamDefaultWriter")]
+#[allow(non_snake_case)]
+mod gen_WritableStreamDefaultWriter;
+#[cfg(feature = "WritableStreamDefaultWriter")]
+pub use gen_WritableStreamDefaultWriter::*;
+
+#[cfg(feature = "XPathExpression")]
+#[allow(non_snake_case)]
+mod gen_XPathExpression;
+#[cfg(feature = "XPathExpression")]
+pub use gen_XPathExpression::*;
+
+#[cfg(feature = "XPathNsResolver")]
+#[allow(non_snake_case)]
+mod gen_XPathNsResolver;
+#[cfg(feature = "XPathNsResolver")]
+pub use gen_XPathNsResolver::*;
+
+#[cfg(feature = "XPathResult")]
+#[allow(non_snake_case)]
+mod gen_XPathResult;
+#[cfg(feature = "XPathResult")]
+pub use gen_XPathResult::*;
+
+#[cfg(feature = "XmlDocument")]
+#[allow(non_snake_case)]
+mod gen_XmlDocument;
+#[cfg(feature = "XmlDocument")]
+pub use gen_XmlDocument::*;
+
+#[cfg(feature = "XmlHttpRequest")]
+#[allow(non_snake_case)]
+mod gen_XmlHttpRequest;
+#[cfg(feature = "XmlHttpRequest")]
+pub use gen_XmlHttpRequest::*;
+
+#[cfg(feature = "XmlHttpRequestEventTarget")]
+#[allow(non_snake_case)]
+mod gen_XmlHttpRequestEventTarget;
+#[cfg(feature = "XmlHttpRequestEventTarget")]
+pub use gen_XmlHttpRequestEventTarget::*;
+
+#[cfg(feature = "XmlHttpRequestResponseType")]
+#[allow(non_snake_case)]
+mod gen_XmlHttpRequestResponseType;
+#[cfg(feature = "XmlHttpRequestResponseType")]
+pub use gen_XmlHttpRequestResponseType::*;
+
+#[cfg(feature = "XmlHttpRequestUpload")]
+#[allow(non_snake_case)]
+mod gen_XmlHttpRequestUpload;
+#[cfg(feature = "XmlHttpRequestUpload")]
+pub use gen_XmlHttpRequestUpload::*;
+
+#[cfg(feature = "XmlSerializer")]
+#[allow(non_snake_case)]
+mod gen_XmlSerializer;
+#[cfg(feature = "XmlSerializer")]
+pub use gen_XmlSerializer::*;
+
+#[cfg(feature = "XrBoundedReferenceSpace")]
+#[allow(non_snake_case)]
+mod gen_XrBoundedReferenceSpace;
+#[cfg(feature = "XrBoundedReferenceSpace")]
+pub use gen_XrBoundedReferenceSpace::*;
+
+#[cfg(feature = "XrEye")]
+#[allow(non_snake_case)]
+mod gen_XrEye;
+#[cfg(feature = "XrEye")]
+pub use gen_XrEye::*;
+
+#[cfg(feature = "XrFrame")]
+#[allow(non_snake_case)]
+mod gen_XrFrame;
+#[cfg(feature = "XrFrame")]
+pub use gen_XrFrame::*;
+
+#[cfg(feature = "XrHand")]
+#[allow(non_snake_case)]
+mod gen_XrHand;
+#[cfg(feature = "XrHand")]
+pub use gen_XrHand::*;
+
+#[cfg(feature = "XrHandJoint")]
+#[allow(non_snake_case)]
+mod gen_XrHandJoint;
+#[cfg(feature = "XrHandJoint")]
+pub use gen_XrHandJoint::*;
+
+#[cfg(feature = "XrHandedness")]
+#[allow(non_snake_case)]
+mod gen_XrHandedness;
+#[cfg(feature = "XrHandedness")]
+pub use gen_XrHandedness::*;
+
+#[cfg(feature = "XrInputSource")]
+#[allow(non_snake_case)]
+mod gen_XrInputSource;
+#[cfg(feature = "XrInputSource")]
+pub use gen_XrInputSource::*;
+
+#[cfg(feature = "XrInputSourceArray")]
+#[allow(non_snake_case)]
+mod gen_XrInputSourceArray;
+#[cfg(feature = "XrInputSourceArray")]
+pub use gen_XrInputSourceArray::*;
+
+#[cfg(feature = "XrInputSourceEvent")]
+#[allow(non_snake_case)]
+mod gen_XrInputSourceEvent;
+#[cfg(feature = "XrInputSourceEvent")]
+pub use gen_XrInputSourceEvent::*;
+
+#[cfg(feature = "XrInputSourceEventInit")]
+#[allow(non_snake_case)]
+mod gen_XrInputSourceEventInit;
+#[cfg(feature = "XrInputSourceEventInit")]
+pub use gen_XrInputSourceEventInit::*;
+
+#[cfg(feature = "XrInputSourcesChangeEvent")]
+#[allow(non_snake_case)]
+mod gen_XrInputSourcesChangeEvent;
+#[cfg(feature = "XrInputSourcesChangeEvent")]
+pub use gen_XrInputSourcesChangeEvent::*;
+
+#[cfg(feature = "XrInputSourcesChangeEventInit")]
+#[allow(non_snake_case)]
+mod gen_XrInputSourcesChangeEventInit;
+#[cfg(feature = "XrInputSourcesChangeEventInit")]
+pub use gen_XrInputSourcesChangeEventInit::*;
+
+#[cfg(feature = "XrJointPose")]
+#[allow(non_snake_case)]
+mod gen_XrJointPose;
+#[cfg(feature = "XrJointPose")]
+pub use gen_XrJointPose::*;
+
+#[cfg(feature = "XrJointSpace")]
+#[allow(non_snake_case)]
+mod gen_XrJointSpace;
+#[cfg(feature = "XrJointSpace")]
+pub use gen_XrJointSpace::*;
+
+#[cfg(feature = "XrLayer")]
+#[allow(non_snake_case)]
+mod gen_XrLayer;
+#[cfg(feature = "XrLayer")]
+pub use gen_XrLayer::*;
+
+#[cfg(feature = "XrPermissionDescriptor")]
+#[allow(non_snake_case)]
+mod gen_XrPermissionDescriptor;
+#[cfg(feature = "XrPermissionDescriptor")]
+pub use gen_XrPermissionDescriptor::*;
+
+#[cfg(feature = "XrPermissionStatus")]
+#[allow(non_snake_case)]
+mod gen_XrPermissionStatus;
+#[cfg(feature = "XrPermissionStatus")]
+pub use gen_XrPermissionStatus::*;
+
+#[cfg(feature = "XrPose")]
+#[allow(non_snake_case)]
+mod gen_XrPose;
+#[cfg(feature = "XrPose")]
+pub use gen_XrPose::*;
+
+#[cfg(feature = "XrReferenceSpace")]
+#[allow(non_snake_case)]
+mod gen_XrReferenceSpace;
+#[cfg(feature = "XrReferenceSpace")]
+pub use gen_XrReferenceSpace::*;
+
+#[cfg(feature = "XrReferenceSpaceEvent")]
+#[allow(non_snake_case)]
+mod gen_XrReferenceSpaceEvent;
+#[cfg(feature = "XrReferenceSpaceEvent")]
+pub use gen_XrReferenceSpaceEvent::*;
+
+#[cfg(feature = "XrReferenceSpaceEventInit")]
+#[allow(non_snake_case)]
+mod gen_XrReferenceSpaceEventInit;
+#[cfg(feature = "XrReferenceSpaceEventInit")]
+pub use gen_XrReferenceSpaceEventInit::*;
+
+#[cfg(feature = "XrReferenceSpaceType")]
+#[allow(non_snake_case)]
+mod gen_XrReferenceSpaceType;
+#[cfg(feature = "XrReferenceSpaceType")]
+pub use gen_XrReferenceSpaceType::*;
+
+#[cfg(feature = "XrRenderState")]
+#[allow(non_snake_case)]
+mod gen_XrRenderState;
+#[cfg(feature = "XrRenderState")]
+pub use gen_XrRenderState::*;
+
+#[cfg(feature = "XrRenderStateInit")]
+#[allow(non_snake_case)]
+mod gen_XrRenderStateInit;
+#[cfg(feature = "XrRenderStateInit")]
+pub use gen_XrRenderStateInit::*;
+
+#[cfg(feature = "XrRigidTransform")]
+#[allow(non_snake_case)]
+mod gen_XrRigidTransform;
+#[cfg(feature = "XrRigidTransform")]
+pub use gen_XrRigidTransform::*;
+
+#[cfg(feature = "XrSession")]
+#[allow(non_snake_case)]
+mod gen_XrSession;
+#[cfg(feature = "XrSession")]
+pub use gen_XrSession::*;
+
+#[cfg(feature = "XrSessionEvent")]
+#[allow(non_snake_case)]
+mod gen_XrSessionEvent;
+#[cfg(feature = "XrSessionEvent")]
+pub use gen_XrSessionEvent::*;
+
+#[cfg(feature = "XrSessionEventInit")]
+#[allow(non_snake_case)]
+mod gen_XrSessionEventInit;
+#[cfg(feature = "XrSessionEventInit")]
+pub use gen_XrSessionEventInit::*;
+
+#[cfg(feature = "XrSessionInit")]
+#[allow(non_snake_case)]
+mod gen_XrSessionInit;
+#[cfg(feature = "XrSessionInit")]
+pub use gen_XrSessionInit::*;
+
+#[cfg(feature = "XrSessionMode")]
+#[allow(non_snake_case)]
+mod gen_XrSessionMode;
+#[cfg(feature = "XrSessionMode")]
+pub use gen_XrSessionMode::*;
+
+#[cfg(feature = "XrSessionSupportedPermissionDescriptor")]
+#[allow(non_snake_case)]
+mod gen_XrSessionSupportedPermissionDescriptor;
+#[cfg(feature = "XrSessionSupportedPermissionDescriptor")]
+pub use gen_XrSessionSupportedPermissionDescriptor::*;
+
+#[cfg(feature = "XrSpace")]
+#[allow(non_snake_case)]
+mod gen_XrSpace;
+#[cfg(feature = "XrSpace")]
+pub use gen_XrSpace::*;
+
+#[cfg(feature = "XrSystem")]
+#[allow(non_snake_case)]
+mod gen_XrSystem;
+#[cfg(feature = "XrSystem")]
+pub use gen_XrSystem::*;
+
+#[cfg(feature = "XrTargetRayMode")]
+#[allow(non_snake_case)]
+mod gen_XrTargetRayMode;
+#[cfg(feature = "XrTargetRayMode")]
+pub use gen_XrTargetRayMode::*;
+
+#[cfg(feature = "XrView")]
+#[allow(non_snake_case)]
+mod gen_XrView;
+#[cfg(feature = "XrView")]
+pub use gen_XrView::*;
+
+#[cfg(feature = "XrViewerPose")]
+#[allow(non_snake_case)]
+mod gen_XrViewerPose;
+#[cfg(feature = "XrViewerPose")]
+pub use gen_XrViewerPose::*;
+
+#[cfg(feature = "XrViewport")]
+#[allow(non_snake_case)]
+mod gen_XrViewport;
+#[cfg(feature = "XrViewport")]
+pub use gen_XrViewport::*;
+
+#[cfg(feature = "XrVisibilityState")]
+#[allow(non_snake_case)]
+mod gen_XrVisibilityState;
+#[cfg(feature = "XrVisibilityState")]
+pub use gen_XrVisibilityState::*;
+
+#[cfg(feature = "XrWebGlLayer")]
+#[allow(non_snake_case)]
+mod gen_XrWebGlLayer;
+#[cfg(feature = "XrWebGlLayer")]
+pub use gen_XrWebGlLayer::*;
+
+#[cfg(feature = "XrWebGlLayerInit")]
+#[allow(non_snake_case)]
+mod gen_XrWebGlLayerInit;
+#[cfg(feature = "XrWebGlLayerInit")]
+pub use gen_XrWebGlLayerInit::*;
+
+#[cfg(feature = "XsltProcessor")]
+#[allow(non_snake_case)]
+mod gen_XsltProcessor;
+#[cfg(feature = "XsltProcessor")]
+pub use gen_XsltProcessor::*;
+
+#[cfg(feature = "console")]
+#[allow(non_snake_case)]
+mod gen_console;
+#[cfg(feature = "console")]
+pub use gen_console::*;
+
+#[cfg(feature = "css")]
+#[allow(non_snake_case)]
+mod gen_css;
+#[cfg(feature = "css")]
+pub use gen_css::*;
+
+#[cfg(feature = "gpu_buffer_usage")]
+#[allow(non_snake_case)]
+mod gen_gpu_buffer_usage;
+#[cfg(feature = "gpu_buffer_usage")]
+pub use gen_gpu_buffer_usage::*;
+
+#[cfg(feature = "gpu_color_write")]
+#[allow(non_snake_case)]
+mod gen_gpu_color_write;
+#[cfg(feature = "gpu_color_write")]
+pub use gen_gpu_color_write::*;
+
+#[cfg(feature = "gpu_map_mode")]
+#[allow(non_snake_case)]
+mod gen_gpu_map_mode;
+#[cfg(feature = "gpu_map_mode")]
+pub use gen_gpu_map_mode::*;
+
+#[cfg(feature = "gpu_shader_stage")]
+#[allow(non_snake_case)]
+mod gen_gpu_shader_stage;
+#[cfg(feature = "gpu_shader_stage")]
+pub use gen_gpu_shader_stage::*;
+
+#[cfg(feature = "gpu_texture_usage")]
+#[allow(non_snake_case)]
+mod gen_gpu_texture_usage;
+#[cfg(feature = "gpu_texture_usage")]
+pub use gen_gpu_texture_usage::*;
diff --git a/vendor/web-sys/src/lib.rs b/vendor/web-sys/src/lib.rs
new file mode 100644
index 000000000..c057cd9c1
--- /dev/null
+++ b/vendor/web-sys/src/lib.rs
@@ -0,0 +1,32 @@
+//! Raw API bindings for Web APIs
+//!
+//! This is a procedurally generated crate from browser WebIDL which provides a
+//! binding to all APIs that browsers provide on the web.
+//!
+//! This crate by default contains very little when compiled as almost all of
+//! its exposed APIs are gated by Cargo features. The exhaustive list of
+//! features can be found in `crates/web-sys/Cargo.toml`, but the rule of thumb
+//! for `web-sys` is that each type has its own cargo feature (named after the
+//! type). Using an API requires enabling the features for all types used in the
+//! API, and APIs should mention in the documentation what features they
+//! require.
+
+#![doc(html_root_url = "https://docs.rs/web-sys/0.3")]
+#![allow(deprecated)]
+
+mod features;
+pub use features::*;
+
+/// Getter for the `Window` object
+///
+/// [MDN Documentation]
+///
+/// *This API requires the following crate features to be activated: `Window`*
+///
+/// [MDN Documentation]: https://developer.mozilla.org/en-US/docs/Web/API/Window
+#[cfg(feature = "Window")]
+pub fn window() -> Option<Window> {
+ use wasm_bindgen::JsCast;
+
+ js_sys::global().dyn_into::<Window>().ok()
+}